Request form
Cookbook may introduce a token in the future. Share and contribute to be eligible for future airdrops.
close icon
relevant tag icon
Airdrop over time
copy icon
BNKFreelance
• version 1.0.0
Utility
Airdrop
Timed

Airdrop over time

Token distributor that allows the owner to distribute tokens to a list of users over 300 days. 10% unlocks every 30 days, and users are able to claim 10% of the initially allocated tokens. Users pay to claim their share each month.

*Visit desktop site to download or deploy

Version

1.0.0

Recent Use

🍞 0xA78F saved
🥐 0xA78F saved
🥖 0x760D saved
🥨 0x77eA downloaded

Last Publish

10/17/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
mulScale (uint128) :
This function is an internal pure function that takes in three unsigned integers (x, y, and scale) and returns an unsigned integer. It performs a multiplication of x and y, scaling the result by the value of scale. It does this by first dividing x and y by scale, and then multiplying the quotients and the remainders separately. The result is then added together and returned. (autogenerated documentation)
addWhitelist() :
This function adds a list of addresses to the whitelist of the contract. It requires that the address is not 0 and that it is not already on the whitelist. It then sets the claimReadyByAddress to the current block timestamp plus the cooldownTime, and sets the pendingBalanceByAddress to the rewardAmountPerAddress. (autogenerated documentation)
claimTokens() :
This function allows whitelisted users to claim tokens from the contract. It requires that the user is on the whitelist, that the cooldown time has passed, and that the user has a sufficient pending balance. It then calculates the withdrawable token balance, checks that the contract has sufficient balance, and then transfers the tokens to the user. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i BNKFreelance-Airdrop
copy icon

Recent Use

🍞 0xA78F saved
🥐 0xA78F saved
🥖 0x760D saved
🥨 0x77eA downloaded

Last Publish

10/17/2022

Version

1.0.0

Cookbook is free.
Any contract you deploy is yours.
Your contract is owned and controlled by you.