CrowdfundFee
contract CrowdfundFee
is Crowdfund
CrowdfundFee is adding fee's to each donation in the smartcontract.
Reference
Functions
_processFunds
function _processFunds(address beneficiary, uint256 weiAmount) internal
Adding a fee to the contract.
- Parameters:
beneficiary
- addressweiAmount
- uint256
fallback
function (address wallet) public
- Parameters:
wallet
- Address where collected funds will be forwarded to
feeRaised
function feeRaised() public view returns (uint256)
- Returns:
- the mount of fee wei raised.
feeRate
function feeRate() public view returns (uint256)
- Returns:
- the mount of fee rate.
walletFee
function walletFee() public view returns (address)
- Returns:
- the address where funds are collected.