This is a wrapper token (ticker: rstCELO) around stCELO that, instead of accruing value to each token as staking rewards accrue in the pool, rebases balances, such that an account's balance always represents the amount of CELO that could be withdrawn for the underlying stCELO. Thus, the value of one unit of rstCELO and one unit of CELO should be approximately equivalent.
Deposit stCELO in return for rstCELO. Although rstCELO is never minted to any account, the rstCELO balance is calculated based on the account's deposited stCELO. See `balanceOf()` function below.
Withdraw
Withdraws stCELO. This function transfers back some or all of the sender's. previously deposited stCELO.
totalSupply
Used to query the total supply of rstCELO. The calculated total supply of rstCELO.
balanceOf
Used to query the rstCELO balance of an address.
toStakedCelo
Computes the amount of stCELO that is represented by an amount of rstCELO.
toRebasedStakedCelo
Computes the amount of rstCELO that is represented by an amount of stCELO.
_transfer
Moves `amount` of rstCELO from `sender` to `recipient`.