ClankerAirdrop
Documentation of Clanker v4.0.0's Airdrop Extension
struct AirdropExtensionData {
bytes32 merkleRoot; // the merkle root of the airdrop
uint256 lockupDuration; // the duration of the lockup period
uint256 vestingDuration; // the duration of the vesting period
}// callable by anyone, transfers the available tokens to the recipient
function claim(address token, address recipient, uint256 allocatedAmount, bytes32[] calldata proof) external;
// helper function to surface the amount available to claim for a user,
// assumes that there exists a proof for the allocated amount
function amountAvailableToClaim(address token, address recipient, uint256 allocatedAmount) external view returns (uint256);Last updated