AMM design evolution — Uniswap v1/v2/v3/v4 + variants (Curve / Balancer / TraderJoe)
ConfidenceLikelyUpdated2026-05-19Review by2026-09-22Sources3Machine-translatedOriginal (JA)
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~)On 2024-01-10, the US SEC approved exchange rule changes for 11 spot bitcoin ETPs, opening a route to bitcoin exposure through products traded on registered exchanges. The SEC itself stated...
- Bybit Lazarus $14.6 億 hack detailed analysis (2025-02) — largest crypto-asset outflow in history2025-02-21, approximately $14.6 億 (about 2,200 億円) equivalent of ETH + stETH + mETH and others flowed out of Bybit's ETH cold wallet. This is the largest crypto-asset theft in history, excee...
- CEX API / SDK ecosystem comparison — developer interfaces of domestic / overseas exchangesThe developer interfaces exposed by CEXs are broadly standardized across 3 tiers: (a) REST API (order placement · balance lookup · trade history · KYC settings, etc. — state-changing + snaps...
Links here
- CEX matching engine + cold/hot wallet internal architectureThe core of a CEX = the matching engine (order-book matching engine). Design philosophies broadly fall into 3 categories:
- Jito — Solana liquid staking + MEV redistribution protocol overviewJito is a collective name bundling 2 distinct products on Solana:
- Orca Whirlpools — Solana-based concentrated-liquidity AMM overviewOrca's core product Whirlpools is a CLMM that implements Uniswap v3 's concentrated-liquidity concept on Solana SVM. LPs supply liquidity by specifying a price range and earn fees only when...
- Pendle Finance — yield tokenization protocol (PT/YT) overviewPendle's core design splits a yield-bearing asset (e.g., stETH, sDAI, USDe, sfrxETH) into 2 tokens:
- Raydium — Solana veteran AMM / memecoin liquidity hub overviewRaydium initially differentiated itself with an "AMM-on-orderbook" design that supplied liquidity to the Serum central order book on Solana. This is a mechanism that automates two-way arbitr...