RefundVault
contract RefundVault
is Ownable
This contract is used for storing funds while a crowdsale is in progress. Supports refunding the money if crowdsale fails, and forwarding it if crowdsale is successful.
Reference
Events
Closed
event Closed()
Refunded
event Refunded(address beneficiary, uint256 weiAmount)
- Parameters:
beneficiary
- addressweiAmount
- uint256
RefundsEnabled
event RefundsEnabled()
Functions
RefundVault
function RefundVault(address _wallet) public
- Parameters:
_wallet
- Vault address
close
deposit
function deposit(address investor) public payable
- Modifiers:
- onlyOwner
- Parameters:
investor
- Investor address
enableRefunds
refund
function refund(address investor) public
- Parameters:
investor
- Investor address