Skip to main content

Concepts

This section explains the core mechanisms of MetaFlux: what each one does, how to use it, and how it behaves under stress.

The architecture map gives a one-page overview of every component inside MetaFlux Core. Each component links to its own page.

Read order for integrators​

  1. Agent wallets: hot-key delegation, the standard market-maker setup.
  2. Order types: TIF, STP, triggers, TWAP and scale orders.
  3. Margin modes: Cross, Isolated and Strict-Iso.
  4. Mark prices: the price that drives margin, liquidation and triggers.
  5. Tiered liquidation: the tiers from T0 (yellow card) to T4 (ADL).
  6. Funding rates: a discrete payment between users, per asset.
  7. Fees: maker and taker tiers, and the burn.
  8. Fee schedule: volume, maker-rebate and staking discount tiers.
  9. Broker codes: charge your own fee on the orders you route.
  10. Priority fees: pay for a position inside a block. The page also compares a priority fee with a broker fee.
  11. Sub-accounts: isolate a strategy or its risk.
  12. Portfolio margin: cross-asset margin in the style of SPAN.

The tradeable markets are under Products: Perpetuals, Spot and Spot margin. The lending pool that funds spot-margin borrows is a concept.

  • Earn: testnet preview. A USDC lending pool that funds spot-margin borrows.
  • Spot: active. A token-for-token CLOB with reserved-balance escrow and no leverage.
  • Spot margin: testnet preview. Leveraged spot that the Earn pool funds.
info

Non-leveraged spot is the one Sharia-compliant product. See Sharia compliance.

Advanced​

  • ADL: the T4 auto-deleverage math.
  • Multi-sig: M-of-N control for institutions.
  • Vaults: the MFlux Vault and user vaults.
  • Staking: delegate MTF and earn rewards.
  • RFQ: request for quote, the trade path for options.
  • FBA: frequent batch auction matching.

Reference​

  • System addresses: the reserved keyless addresses of the protocol.
  • Glossary: a definition of every protocol-specific term.