How it works
- The Generalized AMM (GAMM) unifies swaps and lending in a single pool, where liquidity is natively lent to borrowers, maximizing capital efficiency.
- Borrowers can take margin positions by choosing collateral and debt tokens within the same pool, with EMA-based pricing for manipulation-resistant valuations.
- The protocol adjusts collateral factors dynamically based on price impact, ensuring large positions cannot borrow more than their collateral can cover in liquidation.
- Each pool operates in isolation — insolvencies in one market do not affect others, enabling safe support for long-tail assets.
- Liquidations use debt write-off with pessimistic pricing, eliminating reliance on external liquidators or oracles.
Getting Started
Choose your path to explore Omnipair:Why Omnipair?
Understand the problems with traditional DeFi money markets and why Omnipair exists.
How It Works
Learn how Omnipair solves permissionless margin trading without oracles.
Start Trading
Get started with swapping, providing liquidity, or taking leveraged positions.
Read the FAQ
Get answers to frequently asked questions about the protocol.
Under the hood
Dive deeper into the technical aspects and advanced features of Omnipair:Protocol Deep Dive
Understand the GAMM model, EMA pricing, collateral factors, and liquidation mechanics.
Security & Audits
Review our security audits, protocol governance, and risk disclosures.
Addresses & Access
Access deployed contract addresses and access control information.
Code Reference
Complete reference for all Omnipair instructions with detailed specifications.