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
transferSharesfunction transferShares(address recipient, uint256 sharesAmount) external returns (uint256);Transfers sharesAmount of stUsdc from msg.sender to the recipient.
transferSharesFrom
transferSharesFromfunction transferSharesFrom(address sender, address recipient, uint256 sharesAmount) external returns (uint256);Transfers sharesAmount of stUsdc from sender to the recipient.
totalUsd
totalUsdfunction totalUsd() external view returns (uint256);Returns the total usd value allocated for the given deployment instance of stUsdc.
totalShares
totalSharesfunction totalShares() external view returns (uint256);Returns the total number of shares for the instance of stUsdc.
sharesOf
sharesOffunction sharesOf(address account) external view returns (uint256);Returns the amount of shares owned by an account.
sharesByUsd
sharesByUsdfunction sharesByUsd(uint256 usdAmount) external view returns (uint256);Returns the number of shares corresponding with a given usdAmount.
usdByShares
usdBySharesfunction usdByShares(uint256 sharesAmount) external view returns (uint256);Returns the amount of USD that corresponds with a given sharesAmount.
rewardPerSecond
rewardPerSecondfunction 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
lastRateUpdatefunction lastRateUpdate() external view returns (uint256);Returns the last time that the rate was updated
lastUsdPerShare
lastUsdPerSharefunction lastUsdPerShare() external view returns (uint256);Returns the usdPerShare value at the time of the last rate update
totalUsdFloor
totalUsdFloorfunction 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
keeperfunction 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