-
-
Save MichalZalecki/1caee64b657f70194c21467a3aca8ee4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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