FreezableCrowdfund
contract FreezableCrowdfund
Extension of Crowdfund with where only donators with pre determined token holding can donate.
Reference
Events
FreezedStateChanged
event FreezedStateChanged(address owner, bool freezeState)
Event for when freeze state change.
- Parameters:
owner
- Who freezed the crowdfundfreezeState
- the new state of the crowdfund
Functions
_preValidateFund
function _preValidateFund(address beneficiary, uint256 weiAmount) internal
- Parameters:
beneficiary
- addressweiAmount
- uint256
freezeDonations
isFreezed
function isFreezed() public view returns (bool)
- Returns:
- the number of token holding that needs to donate funds to the cause