relevant tag icon
ERC20 Token with Automatic Vesting
copy icon
Aurox
• version 1.0.0
Token
ERC20
Vesting
Audited

ERC20 Token with Automatic Vesting

Audited

When this contract is deployed, vesting contracts are automatically deployed, and tokens are automatically vested in those contracts. This allows the owner to immediately vest marketing/developer/admin tokens, without any manual work.

*Visit desktop site to download or deploy

Version

1.0.0

Creator

Aurox

Recent Use

🍞 0x9FB4 saved
🥐 0x28Ff downloaded
🥖 0x77CA downloaded
🥨 0x77CA downloaded
🥯 0x5B33 downloaded
🥞 0xb6F0 downloaded
🧀 0x70F8 downloaded
🍖 0xcB64 downloaded

Last Publish

9/26/2022
Any contract you deploy is yours.
Fully owned and controlled by your wallet.
Documentation
Source Code
setAllowance(address) :
This function allows the owner of the contract to set an allowance for another address. It does this by calling the _approve function, which approves the allowance address to spend up to 650000 ether from the contract's balance. (autogenerated documentation)
transferAmounts(address,address,address) :
This function is used to transfer amounts from the contract to different addresses. It takes three addresses as parameters: uniSwapAddress, teamRewardAddress, and exchangeListingReserve. It then transfers the specified amounts to each address. The amounts are determined by the uniSwapTransferAmount, teamUnvestedTransferAmount, exchangeListingTransferAmount, and rewardsFundsTransferAmount variables. (autogenerated documentation)
createVestingContracts(address,address) :
This function creates two TokenVesting contracts, one for the reserves address and one for the team reward address. The reserves contract will vest over a period of 183 days, while the team reward contract will vest over a period of 730 days. Both contracts will start vesting from the current block timestamp. The contracts will not be revocable. (autogenerated documentation)
transferVestingAmounts() :
This function is a private function that transfers a specified amount of funds from the contract to two different addresses. The first address is the teamRewardVestingContract, which receives the teamVestedTransferAmount. The second address is the reservesVestingContract, which receives the reservesTransferAmount. This function is used to transfer funds from the contract to the two specified addresses. (autogenerated documentation)

Get Cookin'
share iconShare

copy iconDownload Source
copy iconnpx cookbookdev i erc20-token-with-automatic-vesting
copy icon

Recent Use

🍞 0x9FB4 saved
🥐 0x28Ff downloaded
🥖 0x77CA downloaded
🥨 0x77CA downloaded
🥯 0x5B33 downloaded
🥞 0xb6F0 downloaded
🧀 0x70F8 downloaded
🍖 0xcB64 downloaded

Last Publish

9/26/2022

Version

1.0.0

Creator

Aurox

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