AMM design evolution — Uniswap v1/v2/v3/v4 + variants (Curve / Balancer / TraderJoe)
Wiki route
This entry sits under exchanges index. Read it against global dex major five comparison for peer / contrast context and FSA crypto-asset exchange registration system — number system / Local Finance Bureau jurisdiction / registration requirements for the broader system / regulatory boundary.
Overview
Since the emergence of 2018 年 Uniswap v1 , AMMs (Automated Market Makers) have evolved through 4 stages, with variants developing in parallel. The core of the design follows the progression constant product (x*y=k) → stable swap → concentrated liquidity → custom hooks, with each stage driving the liquidity efficiency, capital efficiency, and extensibility of the entire DEX ecosystem. It is the foundational technology that made DEXs viable as an alternative to order-book-style CEXs.
Uniswap lineage
- v1 (2018-11): ETH ↔ ERC20 pairs only · constant product (x*y=k) · 1% fixed fee · LP provides at a single ratio
- v2 (2020-05): direct ERC20 ↔ ERC20 pairs · flash swap (borrow → arb → repay in a single transaction) · built-in TWAP oracle · 3 -tier fees
- v3 (2021-05): concentrated liquidity — LPs can concentrate liquidity by choosing any price range · 4 -tier fees (0.01/0.05/0.30/1.00%) · capital efficiency up to 4000x for equivalent liquidity
- v4 (2024-): hooks — arbitrary logic can be injected into swap/LP events (dynamic fee / on-chain limit order / custom oracle) · singleton contract (all pools aggregated into 1 contract) · 50%+ gas reduction + extensibility
Variant AMMs
- Curve (2020-02): stable swap = constant sum + constant product hybrid · specialized for stablecoins / wrapped assets to minimize slippage · emission-allocation competition (curve war) via CRV + veCRV gauges
- Balancer (2020-03): multi-token pools at arbitrary ratios (80/20 etc.) · automatic portfolio rebalancing · index-fund-style operation possible with weighted pools
- TraderJoe Liquidity Book (2022-): bin-based AMM · divides the price range into discrete bins · zero-slippage within a bin (constant sum) · simplifies v3 ‘s concentrated approach via binning
Design trade-offs
- constant product: simple / supports arbitrary token pairs / capital-inefficient in the middle price range
- stable swap: extremely high efficiency for stables / complex design / unsuitable for non-stables
- concentrated: high efficiency / increased impermanent loss / complex LP UX (requires active management)
- hooks (v4): maximum extensibility / security risk of custom logic (rising audit cost)
Practical use
DEX aggregators (global-dex-major-five-comparison‘s 1inch / Paraswap / Matcha) route across multiple AMMs to achieve best execution. Because MEV bots (Flashbots) exploit gaps in AMM design (sandwich / arbitrage), each AMM is evolving toward designs that account for MEV resistance. At present Uniswap V3+V4 is the mainstream general-purpose AMM, but in the stablecoin space Curve is dominant. Perps are a separate lineage; see global-perp-dex-five-comparison.
Related
- global-dex-major-five-comparison — Uniswap / Curve / Aerodrome / PancakeSwap / Hyperliquid
- global-perp-dex-five-comparison — perp family (CLOB / oracle / AMM) vs spot AMM in this article
- native-dex-flip-incumbent-pattern — structure in which chain-native DEXs surpass external entrants
- vetoken-host-protocol-flywheel — details of the veCRV model in the Curve war
- cross-chain-four-poles-overview — cross-chain 4 overview (AMM × bridge)
- cross-chain-bridge-cex-deposit-withdrawal — cross-chain bridge × CEX deposit/withdrawal
- ve33-governance-mechanism — ve(3,3) governance mechanism
Discovery
Keep reading
Read next
- Impact of US approval of Bitcoin spot ETFs on domestic CEXs (2024-01~) This entry sits under exchanges index. Read it against 国内機関カストディ三強構造 — Komainu / Ginco / Fireblocks Japan 比較 for peer / contrast context and FSA 暗号資産交換業登録制度 — 番号体系・財務局管轄・登録要件 for the broader... exchanges/btc-spot-etf-japan-impact
- Bybit Lazarus $14.6 億 hack detailed analysis (2025-02) — largest crypto-asset outflow in history This entry sits under exchanges index. Read it against DMM Bitcoin 流出事件 詳細分析 (2024-05) — Lazarus 帰属 4,502.9 BTC for peer / contrast context and FSA 暗号資産交換業登録制度 — 番号体系・財務局管轄・登録要件 for the broa... exchanges/bybit-lazarus-hack-detailed-analysis
- CEX API / SDK ecosystem comparison — developer interfaces of domestic / overseas exchanges This entry sits under exchanges index. Read it against グローバル CEX top 10 ランキング比較 (2025-2026) for peer / contrast context and FSA 暗号資産交換業登録制度 — 番号体系・財務局管轄・登録要件 for the broader system / regulat... exchanges/cex-api-sdk-ecosystem-comparison
Links here
- CEX matching engine + cold/hot wallet internal architecture This entry sits under exchanges index. Read it against 国内 VASP コールド保管 95% + 分別管理制度 for peer / contrast context and FSA 暗号資産交換業登録制度 — 番号体系・財務局管轄・登録要件 for the broader system / regulatory bound... exchanges/cex-matching-engine-wallet-architecture
- Jito — Solana liquid staking + MEV redistribution protocol overview This entry sits under exchanges index. Read it against Solana エコシステム DEX 群比較 for the Solana ecosystem context, Raydium / Orca for adjacent DEX peer context, and AMM 設計進化系譜 for the broader sy... exchanges/dex-jito-solana
- Orca Whirlpools — Solana-based concentrated-liquidity AMM overview This entry sits under exchanges index. Read it against Raydium for the Solana AMM peer comparison, Solana エコシステム DEX 群比較 for the broader Solana DEX layer, and AMM 設計進化系譜 for the system / des... exchanges/dex-orca-solana
- Pendle Finance — yield tokenization protocol (PT/YT) overview This entry sits under exchanges index. Read it against global DEX major five comparison for adjacent DEX peer context, AMM 設計進化系譜 for the broader system / design boundary, and CEX native tok... exchanges/dex-pendle
- Raydium — Solana veteran AMM / memecoin liquidity hub overview This entry sits under exchanges index. Read it against Solana エコシステム DEX 群比較 for the Solana peer context, global DEX major five comparison for the EVM contrast, and AMM 設計進化系譜 for the broade... exchanges/dex-raydium-solana