Launchpad Sale Contract
IFAllocationSale.sol
Events
event Fund(address indexed sender, uint256 amount);
event SetMinTotalPayment(uint256 indexed minTotalPayment);
event SetSaleTokenAllocationOverride(
uint256 indexed saleTokenAllocationOverride
);
event SetCasher(address indexed casher);
event SetWhitelistSetter(address indexed whitelistSetter);
event SetWhitelist(bytes32 indexed whitelistRootHash);
event SetWithdrawDelay(uint24 indexed withdrawDelay);
event Purchase(address indexed sender, uint256 indexed paymentAmount);
event Withdraw(address indexed sender, uint256 indexed amount);
event Cash(
address indexed sender,
uint256 paymentTokenBalance,
uint256 saleTokenBalance
);
event EmergencyTokenRetrieve(address indexed sender, uint256 amount);Public variables
saleAmount
paymentReceived
hasWithdrawn
purchaserCount
withdrawerCount
salePrice
funder
casher (optional)
whitelistSetter (optional)
paymentToken
saleToken
allocationMaster
trackId
allocSnapshotBlock
startBlock
endBlock
minTotalPayment (optional)
maxTotalPayment
saleTokenAllocationOverride (optional)
Non Internal Functions
constructor
fund
setMinTotalPayment
setSaleTokenAllocationOverride
setCasher
setWhitelistSetter
setWhitelist
setWithdrawDelay
checkWhitelist
getTotalPaymentAllocation
getMaxPayment
purchase
whitelistedPurchase
withdraw
withdrawGiveaway
cash
emergencyTokenRetrieve
Other useful notes
Computing remaining
Last updated