TimedCrowdsale
Reference
Modifiers
onlyWhileOpen
modifier onlyWhileOpen()
Reverts if not in crowdsale time range.
Functions
TimedCrowdsale
function TimedCrowdsale(uint256 _openingTime, uint256 _closingTime) public
Constructor, takes crowdsale opening and closing times.
- Parameters:
_openingTime
- Crowdsale opening time_closingTime
- Crowdsale closing time
_preValidatePurchase
function _preValidatePurchase(address _beneficiary, uint256 _weiAmount) internal
Extend parent behavior requiring to be within contributing period.
- Modifiers:
- onlyWhileOpen
- Parameters:
_beneficiary
- Token purchaser_weiAmount
- Amount of wei contributed
hasClosed
function hasClosed() public view returns (bool)
Checks whether the period in which the crowdsale is open has already elapsed.
- Returns:
- Whether crowdsale period has elapsed