stUsdcLite

Overview

stUsdcLite is a minimal implementation of stUsdc that will be deployed on all blockchains except for Arbitrum. It will still accrue the same yield and rebase just like the full instance on Arbitrum. The only difference is that liquidity is not stored within this instance and to deposit and redeem users must either bridge back to Arbitrum or interact with one of our partnered chain abstraction providers. (More details on this to come).

Contract API

transferShares

function transferShares(address recipient, uint256 sharesAmount) external returns (uint256);

Transfers sharesAmount of stUsdc from msg.sender to the recipient.

transferSharesFrom

function transferSharesFrom(address sender, address recipient, uint256 sharesAmount) external returns (uint256);

Transfers sharesAmount of stUsdc from sender to the recipient.

totalUsd

function totalUsd() external view returns (uint256);

Returns the total usd value allocated for the given deployment instance of stUsdc.

totalShares

function totalShares() external view returns (uint256);

Returns the total number of shares for the instance of stUsdc.

sharesOf

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

Returns the amount of shares owned by an account.

sharesByUsd

function sharesByUsd(uint256 usdAmount) external view returns (uint256);

Returns the number of shares corresponding with a given usdAmount.

usdByShares

function usdByShares(uint256 sharesAmount) external view returns (uint256);

Returns the amount of USD that corresponds with a given sharesAmount.

rewardPerSecond

function rewardPerSecond() external view returns (uint256);

Returns the rewardPerSecond of yield that is being distributed to token holders over the 24 hour duration following rate updates.

lastRateUpdate

function lastRateUpdate() external view returns (uint256);

Returns the last time that the rate was updated

lastUsdPerShare

function lastUsdPerShare() external view returns (uint256);

Returns the usdPerShare value at the time of the last rate update

totalUsdFloor

function totalUsdFloor() external view returns (uint256);

Returns the total USD value of the protocol, not including any yield that is set to drip out with rewardPerSecond.

keeper

function keeper() external view returns (StakeUpKeeper);

Returns the instance of the StakeUpKeeper contract, which is a LayerZero OApp that relays rate updates from the liquidity hub chain to all other blockchain instances.

Last updated