Choosing Your M0 Extension Model
M0 provides powerful, pre-built templates to get you to market faster. These models are audited, battle-tested starting points for the most common use cases. Each one offers a different approach to handling the underlying $M
yield, giving you the flexibility to build the exact product you need.
In-Depth Look at Each Model
Explore the deep-dive documentation for each model to understand its architecture, security model, and key functions before choosing one and moving to the implementation guides.
MYieldToOne
: The Treasury Model
This is the most straightforward extension. It creates a stable, non-rebasing token for users, while automatically collecting all yield in one place. It's incredibly secure and simple to manage.
- Use Cases: Protocol-owned stablecoins, ecosystem development funds, corporate treasuries.
- Key Feature: Simplicity. Set the recipient and you're done.
MYieldFee
: The User-Facing Yield Model
This model allows you to create a branded, yield-bearing stablecoin for your application's users. You can decide how generous to be, splitting the yield between your users and your protocol's treasury.
- Use Cases: DeFi protocols, GameFi economies, digital wallets offering a yield savings account.
- Key Feature: Shared value. Incentivize users to hold your stablecoin by passing through most of the yield.
MEarnerManager
: The Institutional Model
For when you need precise, per-user control. This extension is designed for environments where access is permissioned and each client might have a different fee arrangement. Only whitelisted accounts can hold or transact the token.
- Use Cases: Treasury management for DAOs, enterprise payment solutions, prime brokerage services.
- Key Feature: Granular control. Manage whitelists and individual fee rates.