CappedCrowdsale
Reference
Functions
CappedCrowdsale
function CappedCrowdsale(uint256 _cap) public
Constructor, takes maximum amount of wei accepted in the crowdsale.
- Parameters:
_cap
- Max amount of wei to be contributed
_preValidatePurchase
function _preValidatePurchase(address _beneficiary, uint256 _weiAmount) internal
Extend parent behavior requiring purchase to respect the funding cap.
- Parameters:
_beneficiary
- Token purchaser_weiAmount
- Amount of wei contributed
capReached
function capReached() public view returns (bool)
Checks whether the cap has been reached.
- Returns:
- Whether the cap was reached