StakedCelo
  • Introduction
  • Deposit and Withdrawal Flows
  • Voting for Validator Groups
  • Protocol Upgrades
  • stCELO vs rstCELO
  • Contracts
    • Manager
    • Account
    • StakedCelo
    • RebasedStakedCelo
    • Deployed Contracts
  • Links
  • FAQ
  • Disclaimer
Powered by GitBook
On this page
Export as PDF
  1. Contracts

StakedCelo

PreviousAccountNextRebasedStakedCelo

Last updated 2 years ago

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.

  • Mainnet Deployment:

  • Alfajores Testnet Deployment:

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);
    }
Source Code
0xC668583dcbDc9ae6FA3CE46462758188adfdfC24
0xD22E18556E43cb29D6d6172D4b33Fd2Edb629EF2