Möbius Exchange
  • 📜Möbius Exchange Overview
    • 🦾How Möbius Innovates with ALM?
    • 📊Key Advantages of Möbius
    • 🏗️Möbius’s Role in the Mantle Ecosystem
  • 🎨Whitepaper
    • 📃A Brief History of StableSwap
    • 🔬Asset Liability Management
    • 🏦Deposit and Withdrawal
    • ↔️Swap formula
    • 💹LP token value and Fee sharing
    • 🎯Benefits of Möbius Exchange’s ALM Approach
  • 👨‍💻How to use Möbius Exchange
  • 💻Smart Contracts
  • 🎒Media Kit
  • 👮Security
  • 📱Social Channels
  • ❓FAQ
Powered by GitBook
On this page
  • Pool Contract
  • StablePool
  • VariantPool
  • Asset Contract
  • Router
  • Timelock
  • MBS
  • veMBS
  • MasterMobius

Smart Contracts

Smart Contract Details

Pool Contract

Möbius Pool contracts are the core smart contracts for managing liquidity pools. These contracts provide an interface for liquidity providers (LPs) to deposit and withdraw tokens while enabling traders to swap assets efficiently. Möbius supports two types of pool contracts StablePool and VariantPool, each designed to optimize liquidity provisioning and trading dynamics.

StablePool

A StablePool is a liquidity pool designed to hold assets that maintain a fixed 1:1 peg. This includes stablecoins or different forms of the same underlying asset that are expected to always retain a 1:1 value ratio. Examples include stablecoins, or tokenized representations of the same asset. These pools are optimized for minimal slippage and efficient swaps between assets of identical value.

VariantPool

A VariantPool extends the concept of a StablePool model by allowing assets to be pegged at a variable but stable ratio instead of strict 1:1 peg. This is particularly useful for assets that are designed to track each other at a predictable but non-equal rate, such as Liquid Staking Tokens (LSTs) like ETH, mETH, and cmETH, which may have slight variations in value due to staking yields or protocol-specific mechanics. VariantPools enable efficient swaps between such assets while maintaining a balanced and predictable exchange rate.

Asset Contract

The Asset Contract follows the ERC-20 interface and serves as the LP token in Möbius. It maintains a record of each user's deposited liquidity, tracking user funds within the pool. Additionally, it keeps account of each asset's liabilities, total assets, and coverage ratio. These metrics are used in determining swap rate, ensuring the protocol favors trades that bring the pool to its equilibrium.

Router

The Router functions as the primary interface for Möbius, providing users and DeFi aggregators with seamless access to pool liquidity. It enables efficient swaps by routing trades optimally within Möbius pools, ensuring minimal slippage and the best possible execution. As the gateway to the protocol, the Router also facilitates integration with external DeFi applications, enhancing composability and usability.

Timelock

To ensure security and transparency, all upgradable contracts within Möbius are owned by a Safe multisig wallet and are managed behind a Timelock contract. This setup prevents unauthorized modifications and introduces a mandatory delay between the proposal and execution of any upgrade. The one-week time buffer allows the community to review and respond to proposed changes before they take effect, ensuring that decisions remain transparent and aligned with the best interests of users. The Möbius team will proactively notify users of any upcoming upgrades to reinforce transparency and trust in the protocol.

MBS

MBS is the governance token of Möbius. Details about the token and its listing will be announced later.

veMBS

veMBS is a non-transferable and non-tradable ERC20 token. veMBS contract serve as the voting escrow mechanism for Möbius which was inspired by Curve Finance's veCRV contract. Users can acquire veMBS by locking their MBS tokens, aligning long-term participation with enhanced benefits.

As loyal members of the Möbius community, veMBS holders gain access to exclusive perks, including:

  • Boosted APR for liquidity providers (LPs), enhancing yield potential.

  • Fee Sharing, distributing trading fees among veMBS stakers.

  • Voting Power, enabling holders to influence emission allocation and Möbius governance as these features are introduced.

Additional details regarding veMBS will be released at a later date.

MasterMobius

MasterMobius, a fork of SushiSwap's MasterChef contract, distributes MBS and other reward tokens to liquidity providers (LPs) who stake their LP tokens. Integrating with veMBS, MasterMobius rewards LPs who are also veMBS holders with a higher proportion of reward.

Additional details regarding MasterMobius and its integration with veMBS will be released at a later date.

\

PreviousHow to use Möbius ExchangeNextMedia Kit

Last updated 1 month ago

💻