Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Overview

The MinterGateway contract is the central component within the M0 Protocol responsible for orchestrating the entire lifecycle of $M. It governs the processes for minting and burning, manages the offchain collateral system that backs the supply, and tracks the debt obligations of Minters. This contract acts as the primary interface for Minters and Validators, ensuring that issuance is always securely collateralized and transparently managed according to protocol rules defined by M0 Governance.

Its key responsibilities include:

  • Managing Minter activation, deactivation, and operational states.
  • Overseeing the collateral update process, including verification of offchain assets by Validators.
  • Enforcing the structured minting and burning procedures.
  • Calculating and applying interest, debt, and penalties for Minters.
  • Facilitating the collateral retrieval process for Minters.
  • Synchronizing its interest index with the MToken contract to maintain system-wide consistency.