RefundableCrowdsale
contract RefundableCrowdsale
Extension of Crowdsale contract that adds a funding goal, and the possibility of users getting a refund if goal is not met.
Reference
Functions
_forwardFunds
function _forwardFunds() internal
Overrides Crowdsale fund forwarding, sending funds to escrow.
claimRefund
function claimRefund() public
Investors can claim refunds here if crowdsale is unsuccessful.
fallback
function (uint256 _goal) public
Constructor, creates RefundEscrow.
- Parameters:
_goal
- Funding goal
finalization
function finalization() internal
Escrow finalization task, called when owner calls finalize().
goalReached
function goalReached() public view returns (bool)
Checks whether funding goal was reached.
- Returns:
- Whether funding goal was reached