Last active
March 3, 2018 08:44
-
-
Save artiya4u/484e68078ef04eaaaa01ac59a88b9c09 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.18; | |
import "zeppelin-solidity/contracts/crowdsale/validation/CappedCrowdsale.sol"; | |
import "zeppelin-solidity/contracts/crowdsale/distribution/RefundableCrowdsale.sol"; | |
import "zeppelin-solidity/contracts/crowdsale/emission/MintedCrowdsale.sol"; | |
contract BNK48CoinCrowdSale is CappedCrowdsale, RefundableCrowdsale, MintedCrowdsale { | |
function BNK48CoinCrowdSale(uint256 _openingTime, uint256 _closingTime, uint256 _rate, | |
address _wallet, uint256 _cap, MintableToken _token, uint256 _goal) public | |
Crowdsale(_rate, _wallet, _token) | |
CappedCrowdsale(_cap) | |
TimedCrowdsale(_openingTime, _closingTime) | |
RefundableCrowdsale(_goal) | |
{ | |
require(_goal <= _cap); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment