Skip to content

Instantly share code, notes, and snippets.

@MichalZalecki
Created July 3, 2018 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MichalZalecki/1caee64b657f70194c21467a3aca8ee4 to your computer and use it in GitHub Desktop.
Save MichalZalecki/1caee64b657f70194c21467a3aca8ee4 to your computer and use it in GitHub Desktop.
pragma solidity 0.4.24;
import "openzeppelin-solidity/contracts/crowdsale/Crowdsale.sol";
import "openzeppelin-solidity/contracts/crowdsale/emission/AllowanceCrowdsale.sol";
import "openzeppelin-solidity/contracts/crowdsale/validation/WhitelistedCrowdsale.sol";
contract PresaleCrowdsale is AllowanceCrowdsale, WhitelistedCrowdsale {
constructor(
uint256 _rate,
address _wallet,
ERC20 _token,
address _tokenWallet
)
Crowdsale(_rate, _wallet, _token)
AllowanceCrowdsale(_tokenWallet)
public
{}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment