ClankerVault
Documentation of Clanker v4.0.0's Vault Extension
struct VaultExtensionData {
address admin; // the address to receive the tokens, can update itself
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 `admin`
function claim(address token) external;
// callable by the token's admin, updates the vault admin to a new address
function editAllocationAdmin(address token, address newAdmin) external;
// view function to return the amount of `token` available to claim
function amountAvailableToClaim(address token) external view returns (uint256);Last updated