Skip to content

Overview

The MinterGateway contract is the central component within the M0 Protocol responsible for orchestrating the entire lifecycle of the $M token. It governs the processes for minting new $M tokens and burning existing ones, manages the offchain collateral system that backs $M, and tracks the debt obligations of Minters. This contract acts as the primary interface for Minters and Validators, ensuring that $M 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 for $M.
  • 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.