📄Airdropper Contract
Last updated
Last updated
0xtodo
Hot wallet address controlled by airdropper.xyz multisignature contract
The ERC20 token linked to the contract in order to be dropped.
The total amount of tokens that can be claimed.
The number of addresses that claimed the airdrop.
Boolean that represents the state of the airdrop.
getAirdrop()
- PublicEveryone can call this function to claim the airdrop and receive the specified amount of tokens.
The function is available only if the DEPLOYER_ROLE
activated the airdrop.
You can only call it once with your address! Any futher attempts will result in a failed transaction.
getAddresses()
- PublicEveryone can call this function to see who benefited from the airdrop.
tokenAmountLeft()
- PublicEveryone can call this function to see the amount of tokens left in the contract.
setDropAmount()
- onlyDeployer or onlyOwnerOnly the DEPLOYER_ROLE
or the OWNER_ROLE
can call this function to disable the contract and the getAirdrop()
function.
enableAirdrop()
- onlyDeployer or onlyOwnerOnly the DEPLOYER_ROLE
or the OWNER_ROLE
can call this function to activate the contract and allow the getAirdrop()
function to work.
disableAirdrop()
- onlyDeployer or onlyOwnerOnly the DEPLOYER_ROLE
or the OWNER_ROLE
can call this function to disable the contract and the getAirdrop()
function.
Note:
Role
Description
DEPLOYER_ROLE (onlyDeployer)
Deployer is the address used to deploy the airdrop contract with a specified ERC20 token
OWNER_ROLE (onlyOwner)
Deployer is the hot wallet address of airdropper.xyz