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
Available on both EVM-compatible chains and Solana, each blockchain offers distinct architectural approaches and yield distribution mechanisms tailored to their respective ecosystems.
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.
Model | Core Concept | Yield Distribution | Best For |
---|---|---|---|
MYieldToOne | Simple & Direct. All accrued yield is sent to a single, designated wallet. | 100% of yield is claimable by a single yieldRecipient address. Token holders' balances are non-rebasing (1:1 with wrapped amount). | Protocol Treasuries & Simple Business Models. Ideal for projects that want to capture all protocol-generated yield in a central treasury, ecosystem fund, or operational wallet. |
MYieldFee | Flexible & Shared. Yield is passed through to token holders, with an optional protocol fee taken out. | Yield continuously accrues to all token holders. A configurable fee (0-100%) on the generated yield can be directed to a feeRecipient . | Yield-Bearing Products & dApps. Perfect for creating a yield-bearing stablecoin for your users, while still capturing revenue for the protocol (e.g., 90% to users, 10% to treasury). |
MEarnerManager | Granular & Permissioned. Yield is distributed to individually whitelisted accounts, each with its own custom fee rate. | Yield accrues only to whitelisted addresses. Each address can have a unique fee rate, with fees directed to a central feeRecipient . | Institutional & B2B Platforms. Best for fintechs, prime brokerages, or platforms serving a limited set of institutional clients who require bespoke yield-sharing agreements. |
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.