Mento Protocol
  • Overview
    • Getting Started
      • What Is Mento?
      • Quick Start Guides
      • Analytics & Dashboards
    • Core Concepts
      • Stability Mechanisms
      • The Reserve
      • Oracles & Price Feeds
      • Trading Limits & Circuit Breakers
      • The Broker & Virtual AMMs
      • Fixed-Price Market Makers (FPMMs)
      • Research & Economics
    • Governance & the MENTO Token
      • Understanding Mento Governance
      • Participating in Governance
        • veMENTO & Voting Power
        • Creating Proposals
        • Voting Process
      • MENTO Tokenomics
      • Watchdogs & Safety
    • Security & Risk
      • Overview
      • Audit Reports
  • Build On Mento
    • Integration Overview
      • Integrate Stables
      • Integrate the Broker
      • Integrate Oracles
    • Mento SDK
      • Installation
      • Guides
        • Getting Exchange Pairs
        • Getting a Quote
        • Initiating a Swap
    • Smart Contracts
      • Broker
      • TradingLimits
      • BiPoolManager
      • Pricing Modules
      • SortedOracles
      • BreakerBox
      • Reserve
      • StableToken
      • Audits
    • Deployments
      • Addresses
      • Verification
  • Use Mento
    • Getting Mento Stables
      • On Celo
      • On Mobile
      • From Other Chains
      • Via Centralized Exchanges
Powered by GitBook
On this page
Edit on GitHub
  1. Protocol Concepts
  2. Asset exchanges

Broker

Last updated 1 year ago

CtrlK

The Broker is responsible for orchestrating swaps in the Mento protocol. It does that by fulfilling three main responsibilities:

  • Discoverability: It maintains a list of all exchange providers registered in the system.

  • Treasury management: It has spending rights on the Mento Reserve and can mint and burn any stable asset in the system, thus it is responsible for moving around assets during a trade.

  • Safety: In service of stability, it enforces trading limits in the protocol, constraining the volume of assets that can be traded over time.

While it is responsible for moving around assets during a swap, it doesn't know how to price swaps. For that, it relies on exchange providers. These abstract components implement a unified interface and can be plugged into the Broker to provide exchanges between two or more assets. The first exchange provider implemented is the BiPoolManager.