SupVesting
Overview
Within StakeUpStaking contributor and investor token allocations are held allowing users to have their SUP tokens staked and generating rewards while they are in the middle of vesting.
Contract API
getAvailableTokens
getAvailableTokensfunction availableTokens(address account) external view returns (uint256);Return the amount of tokens currently available to withdraw from the vesting contract.
claimAvailableTokens
claimAvailableTokensfunction claimAvailableTokens() external returns (uint256);Claim and withdraw all tokens that have completed vesting.
getCurrentBalance
getCurrentBalancefunction currentBalance(address account) external view returns (uint256);Returns the amount of SUP that are within the vesting portion of StakeUpStaking for a given account, vested and locked.
Last updated