πŸ“œ Smart Contracts

πŸ“œ Smart Contracts

Roots utilizes a series of smart contracts to manage its operations. This section provides detailed information on these smart contracts, their functions, and how they interact.

Contract List

  • MEADToken: 0xf042c01ee84b73c1ba72957bfb54929393b6410d
    • Manages the $MEAD token, which is used within the Roots protocol for borrowing and redemption.
  • BorrowerOperations: 0xe8361788d71675F20e8154aB927521e447EB9E5c
    • Handles operations related to borrowing within the Roots protocol.
  • BGTStaking: 0x79a7D70Ea01567d825f5ccf7Fb1Dd84d59ac4A95
    • Manages the staking of $BGT tokens, which are used for governance and securing the network.
  • TroveManager: 0x1202613711f02A7FF9dC698537F4C05678F4bB49
    • Oversees the management of troves, which are collateralized debt positions within the Roots protocol.
  • StabilityPool: 0xE966410Bf1ec86a524f79360512Fc453C601D478
    • Manages the stability pool where users can stake $MEAD to earn rewards and participate in liquidations.
  • PriceFeed: 0xe08557E7968BA5f7Eea218949Bc5c3312Aa6fA04
    • Provides price feed data to the Roots protocol for accurate valuation of assets.

Interactions

The smart contracts within the Roots protocol interact in the following ways:

  • MEADToken interacts with BorrowerOperations to facilitate the minting and redemption of $MEAD.
  • BorrowerOperations interacts with TroveManager to manage collateralized debt positions.
  • TroveManager interacts with StabilityPool to handle liquidations and distribute collateral.
  • BGTStaking manages the staking and delegation of $BGT tokens, which are used for governance and securing the network.
  • PriceFeed provides real-time price data to TroveManager and BorrowerOperations to ensure accurate valuation of assets.

By understanding these interactions, users can gain a deeper insight into how the Roots protocol operates and how different components work together to maintain stability and efficiency.