StakedCelo
Search
⌃K

StakedCelo

StakedCelo.sol

An ERC-20 token (ticker: stCELO) representing a share of the staked pool of CELO. Over time, a unit of stCELO becomes withdrawable for more and more CELO, as epoch rewards accrue in the pool.

Methods

Initialize
Initializes the contract.
function initialize(address _manager, address _owner) external initializer {
__ERC20_init("Staked CELO", "stCELO");
__Managed_init(_manager);
_transferOwnership(_owner);
}
Mint
Mints new stCELO to an address.
function mint(address to, uint256 amount) external onlyManager {
_mint(to, amount);
}
Burn
Burns stCELO from an address.
function burn(address from, uint256 amount) external onlyManager {
_burn(from, amount);
}