* Added WhitelisterRole. * Added WhitelisteeRole and WhitelistedCrowdsale. * Added WhitelistedCrowdsale tests. * Whitelisters can now remove Whitelistees. * PublicRole.behavior now supports a manager account, added Whitelistee tests. * Rephrased tests, added test for whitelistees doing invalid purchases. * Fixed linter error. * Fixed typos Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Working around JS quirks Co-Authored-By: nventuro <nicolas.venturo@gmail.com> * Update PublicRole.behavior.js * Renamed WhitelisteeRole to WhitelistedRole. * Renamed WhitelistedCrowdsale to WhitelistCrowdsale. * Now using the new test helper. * Added basic documentation.
11 lines
335 B
Solidity
11 lines
335 B
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "../token/ERC20/IERC20.sol";
|
|
import "../crowdsale/validation/WhitelistCrowdsale.sol";
|
|
import "../crowdsale/Crowdsale.sol";
|
|
|
|
|
|
contract WhitelistCrowdsaleImpl is Crowdsale, WhitelistCrowdsale {
|
|
constructor (uint256 _rate, address _wallet, IERC20 _token) Crowdsale(_rate, _wallet, _token) public {}
|
|
}
|