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
  • depositTby
  • depositAsset
  • redeemStUsdc
  • poke
  • wstUsdc
  • asset
  • stakeUpStaking
  • performanceBps
  • lastRedeemedTbyId
  • globalShares
  1. Technical Docs
  2. Smart Contracts
  3. Tokens

stUsdc

Overview

Staked USDC is an rebasing auto-compounding LST for Circle's USDC and Bloom TBYs. The interface below is only available for the Arbitrum deployment of the protocol.

Contract API

depositTby

function depositTby(uint256 id, uint256 amount) external returns (uint256 amountMinted);

Deposit a specified amount of TBYs to mint stUsdc.

depositAsset

function depositAsset(uint256 amount) external returns (uint256 amountMinted);

Deposit a specified amount of underlyingToken to mint stUsdc.

redeemStUsdc

function redeemStUsdc(uint256 amount) external returns (uint256 underlyingAmount);

Redeem stUsdc in exchange for underlyingTokens

poke

function poke(LzSettings calldata settings) external;

Invokes the auto stake feature as well as updates the value accrual.

wstUsdc

function wstUsdc() external view returns (IWstUsdc);

Returns the wstUsdc contract instance.

asset

function asset() external view returns (IERC20);

Returns the underlyingToken contract instance.

stakeUpStaking

function stakeUpStaking() external view returns (IStakeUpStaking);

Returns the StakeUpStaking contract instance.

performanceBps

function performanceBps() external view returns (uint256);

Returns the performance Bps variable.

lastRedeemedTbyId

function lastRedeemedTbyId() external view returns (uint256);

Returns the last redeemed tbyId.

globalShares

function globalShares() external view returns (uint256);

The total shares of stUSDC tokens in circulation on all chains.

PreviousTokensNextstUsdcLite

Last updated 7 months ago