LogoLogo
  • StakeUp
  • Protocol
    • Current Problem
    • Our Solution
    • Underlying Backing
    • Ecosystem Mechanics
      • Mint & Redeem
      • stUSDC
      • Staking
        • SUP
      • Omni-chain Functionality
  • Technical Docs
    • Smart Contracts
      • Tokens
        • stUsdc
          • stUsdcLite
        • wstUsdc
          • wstUsdcLite
        • LayerZero OFT
      • StakeUpStaking
        • SupVesting
      • wstUsdcBridge
      • StakeUpErrors
    • API
    • SDK
    • Deployment Addresses
    • Audits
  • LEGAL
    • TERMS OF SERVICE
    • Privacy Policy
  • FAQs
Powered by GitBook
On this page
  • Overview
  • Contract API
  • getAvailableTokens
  • claimAvailableTokens
  • getCurrentBalance
  1. Technical Docs
  2. Smart Contracts
  3. StakeUpStaking

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

function availableTokens(address account) external view returns (uint256);

Return the amount of tokens currently available to withdraw from the vesting contract.

claimAvailableTokens

function claimAvailableTokens() external returns (uint256);

Claim and withdraw all tokens that have completed vesting.

getCurrentBalance

function 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.

PreviousStakeUpStakingNextwstUsdcBridge

Last updated 7 months ago