title: Truffle, 2_deploy_contract (constructor parameter)
body: <p>I am trying to create the SampleCrowdsale contract (<a href="https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/examples/SampleCrowdsale.sol" rel="nofollow noreferrer">https://github.com/OpenZeppelin/zeppelin-solidity/blob/master/contracts/examples/SampleCrowdsale.sol</a>) in Truffle but how can i give the constructor the right parameter?</p>
  
  <pre><code>var SampleCrowdsaleToken = artifacts.require("./SampleCrowdsaleToken.sol");
  var startTime = 1513728000;
  var endTime = 1514592000;
  var rate = 1;
  var goal = 20;
  var cap = 40;
  var address = "0x...";
  module.exports = function(deployer) {
    deployer.deploy(SampleCrowdsaleToken, startTime, endTime, rate , goal, cap, address);
  };
  </code></pre>
  
  <p>Migrate works but he contract doesn't take the right parameter.</p>
  
  <p>What's the problem?</p>