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
transferShares
Transfers sharesAmount
of stUsdc
from msg.sender
to the recipient
.
transferSharesFrom
transferSharesFrom
Transfers sharesAmount
of stUsdc
from sender
to the recipient
.
totalUsd
totalUsd
Returns the total usd value allocated for the given deployment instance of stUsdc
.
totalShares
totalShares
Returns the total number of shares for the instance of stUsdc
.
sharesOf
sharesOf
Returns the amount of shares owned by an account
.
sharesByUsd
sharesByUsd
Returns the number of shares corresponding with a given usdAmount
.
usdByShares
usdByShares
Returns the amount of USD that corresponds with a given sharesAmount
.
rewardPerSecond
rewardPerSecond
Returns the rewardPerSecond
of yield that is being distributed to token holders over the 24 hour
duration following rate updates.
lastRateUpdate
lastRateUpdate
Returns the last time that the rate was updated
lastUsdPerShare
lastUsdPerShare
Returns the usdPerShare
value at the time of the last rate update
totalUsdFloor
totalUsdFloor
Returns the total USD value of the protocol, not including any yield that is set to drip out with rewardPerSecond
.
keeper
keeper
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