DEX · MYX

MYX Finance Smart Contracts: MPM Architecture and Zero Slippage

Source code transparency is the bedrock of decentralized finance. MYX Finance is a cutting-edge decentralized perpetual futures exchange (Perp DEX) that delivers a seamless user experience on par with CEXs while retaining full non-custodial control over assets. The platform is deployed across Arbitrum, Linea and BNB Chain and is backed by venture heavyweights including HongShan (formerly Sequoia China), OKX Ventures, Consensys and Hack VC.

This article compiles the official registry of verified smart contracts across the MYX ecosystem. For developers of algorithmic strategies and market makers, this data and these architectural concepts are the key to safe integration with the protocol via Web3 libraries.

1. Official $MYX Token Addresses

The $MYX Token Generation Event (TGE) took place in May 2025. With a maximum supply of 1 billion units, the token powers DAO governance, staking for a share of protocol fees and VIP discounts for traders.

$MYX Token (EVM Omnichain - LayerZero OFT)
0xD82544bf0dfe8385eF8FA34D67e6e4940CC63e16 BscScan ↗ Arbiscan ↗ LineaScan ↗
Networks: BNB Chain (BEP-20), Arbitrum One, Linea, Base, opBNB
Type: An Omnichain Fungible Token (OFT) built on the LayerZero standard. It allows the token to move between EVM chains without bridge fees.
$MYX Token (Solana SPL)
9K5dqnnx3cLcVuhf1FqUKWegY35xDcscKS7et13JhdJc
Note: The Solana smart contract is a wrapped/cross-chain version of the token. Because MYX's trading core is EVM-based, native liquidity on Solana DEXs (Raydium, Orca) may be limited and metadata remains mutable. Use the platform's official cross-chain bridge to move assets.

2. Liquidity Tokens: Why There Is No Single MLP Contract

In the MYX Finance ecosystem, liquidity providers receive MLP (MYX Liquidity Provider Token) in exchange for contributed capital. An important warning for investors: no single global MLP smart contract exists. Any exchange-listed token named "Global MLP" claiming to span the entire protocol is a scam.

MYX uses a pool factory that dynamically deploys a separate ERC-20 smart contract for each isolated trading pool. For example, the BTC-USDC pool has its own independent MLP token, and the ETH-USDC pool has another. They accumulate 40% of trading fees plus a share of the funding rate strictly within their own trading pair.

3. Architecture: Matching Pool Mechanism (MPM) and Asset Isolation

MYX Finance's key technological edge over competitors (GMX, dYdX) is rejecting both the classic Automated Market Maker (AMM) and the order book in favor of the proprietary Matching Pool Mechanism. The full MYX ecosystem overview includes an analysis of the P2Pool2P architecture, $MYX tokenomics and the multichain strategy.

MYX Finance Trading Core Zero Slippage
1. Peer-to-Peer (P2P) + Peer-to-Pool Matching

When a user opens a trade, the smart contract first searches for an opposing order inside the mempool (P2P matching). If longs and shorts offset each other, the trade executes without touching the liquidity pool's (MLP) balance. Only the uncovered delta (net exposure) is passed to the liquidity pool. This allows Open Interest to exceed the pool's own TVL (capital), delivering extreme capital efficiency.

2. Container Architecture of Sub-Accounts (Asset Isolation)

Unlike classic DEXs where all user balances are aggregated in one shared contract, MYX uses isolated container smart contracts (sub-accounts) for each user. This means a liquidation or drawdown on one position is fully contained within that specific sub-account and physically cannot touch your other wallet assets.

3. Chain and Account Abstraction

MYX employs a two-layer account architecture. User assets (USDC) sit on a classic EOA or smart wallet, while the application receives a delegated temporary trading key (delegate-trader key). Thanks to Universal Accounts integration (e.g., from Particle Network), traders can post collateral from more than 20 different blockchains (including Solana) and place gasless trades without constantly signing MetaMask transactions.

4. Oracle Infrastructure: Pyth Network

For a protocol offering leverage of up to 50x (up to 125x on some pairs) with zero slippage, traditional push oracles are critically dangerous due to their latency.

Pyth Oracle Integration (Pull Model)

MYX Finance integrates the decentralized Pyth Network. The oracles operate on a pull model: ultra-low-latency prices are quoted off-chain, and at the moment a trade opens or closes the current cryptographically signed price is broadcast into the smart contract.

Advantages:

  • Sub-second price resolution independent of block time.
  • Trades executed strictly at the market index price.
  • Protection against sandwich attacks (MEV).

Risk Management (Circuit Breaker)

MYX smart contracts ship with built-in dynamic position limit mechanisms and Automated Deleveraging (ADL) algorithms. If a pool faces extreme volatility or oracle price divergence, the protection system kicks in, shielding liquidity providers from depletion. Current TVL and open interest metrics help gauge the health of the MLP pools.

5. Smart Contract Trust Registry (Router & OrderManager)

Developers often try to find static addresses for the Router or OrderManager contracts in block explorers. In the MYX ecosystem, hardcoding contract addresses is unacceptable.

On-chain verification and API integration guide:

  1. Beacon Proxy Pattern: Internal liquidity pools, routers and order managers are deployed dynamically (via the Factory pattern and EIP-1967). They reference a single audited master implementation contract. This shields the system from bugs and allows logic upgrades through multisig DAO voting.
  2. The official developer API: To interact safely with functions (e.g., addLiquidityForAccount in Router.sol), developers must call the MYX REST API to fetch current contract addresses and pair indexes: GET https://api.myx.finance/v2/quote/market/contracts.
  3. Open source: All smart contract technical interfaces are documented in the official GitBook: myxfinance.gitbook.io ↗. You can cross-reference the ABI interfaces from the github.com/myx-protocol/myx-contracts ↗ repository against decompiled bytecode on block scanners.

Security (E-E-A-T): Audits and Monitoring

Trust in DeFi rests on continuous verification. The MYX Protocol's smart contract infrastructure has undergone rigorous whitebox testing:

1. PeckShield: Auditors confirmed the correctness of the engine's numeric logic, reviewed the OrderManager and Router functions, and validated the MPM logic's resilience to anomalies and attacks.

2. SlowMist: Conducted multiple audit phases (Phases 1–4) plus a dedicated review of the HyperVault components and the rewards distribution system. Detailed audit reports with vulnerability breakdowns are available in the archive.

Additionally, the protocol uses multi-signature governance for critical parameter changes, along with continuous on-chain monitoring of assets and liabilities.

Frequently Asked Questions (FAQ)

The single MYX token address (ERC-20/BEP-20) across Arbitrum, BNB Chain, Base and Linea is 0xD82544bf0dfe8385eF8FA34D67e6e4940CC63e16. On Solana (SPL) it is deployed at 9K5dqnnx3cLcVuhf1FqUKWegY35xDcscKS7et13JhdJc. Always cross-check addresses against the official MYX Finance GitBook to avoid counterfeits.

The MLP token has no single address. The protocol generates a separate MLP smart contract for each trading pool (for example, one token for BTC-USDC and a separate one for ETH-USDC). Any exchange-listed asset calling itself a MYX "Global MLP" is fraudulent.

MPM is MYX Finance's proprietary algorithm. Unlike traditional order books or AMM pools, MPM smart contracts first attempt to directly match users' long and short positions (Peer-to-Peer), taking only the uncovered difference from the liquidity pool (Peer-to-Pool). This enables zero-slippage trading with extraordinary capital efficiency.

MYX Finance smart contracts have successfully passed multiple rounds of rigorous audits by leading firms: PeckShield and SlowMist. In addition, the protocol uses multisig governance, isolated container smart contracts (sub-accounts) to protect user assets, and a Circuit Breaker algorithm to prevent oracle manipulation.

---