AMM Design

Automated market maker (AMM) design is the pricing rule and liquidity model a pool uses to quote swaps and update its token balances. Different designs distribute liquidity and respond to trades in different ways, so the best fit depends on the assets, pool configuration, and risks providers are willing to manage.

How AMM Designs Work

Design family How it works Where it can fit Main trade-off
Constant product A two-asset pool follows a reserve-product rule, commonly written x * y = k before fees. A trade changes the reserve ratio and therefore the marginal price; fees and other pool operations affect the exact invariant over time. General token pairs Liquidity spans a broad price range, so much of it may sit far from the current price.
Concentrated liquidity Providers choose a price interval in which their capital is active. Uniswap v3 and v4 use this model. Pairs expected to trade within a useful range Capital can be more concentrated, but a position outside its range becomes inactive and earns no swap fees until price returns.
StableSwap A hybrid invariant is designed to keep price impact low near the expected relative value of correlated assets, while retaining a curve that can handle larger price deviations. Some stablecoin or similarly correlated-asset pools The benefit depends on assets staying near their expected relationship; a depeg can leave the pool imbalanced and trades more expensive.
Weighted pools A weighted invariant uses token balances and chosen weights to determine pool prices. It can support several assets or allocations other than an equal split. Multi-asset pools or deliberate exposure ratios The pool’s weights shape the provider’s inventory exposure; a custom ratio does not remove market or smart-contract risk.

Other pools combine these ideas or add custom logic. A label such as “AMM” does not identify a single formula, and pool versions can differ even when they belong to the same protocol.

What to Compare

  • Price impact: How much a trade of a given size moves the pool’s price. Pool depth, the curve, and the trade size all matter.
  • Liquidity distribution: Whether capital is available across a wide range or concentrated in selected ranges.
  • Provider exposure: Fees are only one part of an LP result. Compare them with changes in the value and composition of the deposited assets, including impermanent loss.
  • Management and implementation: Range monitoring, rebalancing costs, pool parameters, oracle dependencies, and smart-contract design vary by implementation.

Price impact on a swap and impermanent loss for a liquidity provider are different concepts. A curve that gives traders lower price impact for a particular pair does not guarantee that LPs earn a profit.

History

The Uniswap v2 paper, dated March 2020, describes a constant-product design with direct ERC-20 pairs. The Uniswap v3 paper, dated March 2021, describes provider-selected price ranges. These examples show a shift from shared full-range liquidity toward configurable positions; they are not a complete history of automated market making.

Common Misconceptions

“Higher capital efficiency guarantees higher LP returns.”

Capital efficiency describes how much liquidity is available around selected prices. Realized LP results also depend on trading volume, fee settings, asset-price movement, time in range, rebalancing costs, and contract risk.

“StableSwap prevents stablecoins from losing their peg.”

The curve is designed for assets expected to remain near a target relationship; it does not enforce that relationship in external markets. If an asset depegs, the pool can become heavily weighted toward it and execution can worsen.

“Concentrated liquidity is always better than full-range liquidity.”

A narrower range can make more liquidity active near a chosen price, but it can also leave a position inactive sooner and require more monitoring. The outcome depends on the position and market path, not the design label alone.

Criticisms

A common criticism is that improving quoted liquidity can shift more management work onto providers. Narrow ranges may require monitoring and paid transactions to reposition, while full-range pools can leave much capital far from the market price. Providers also bear asset-price and contract risks: a pricing curve cannot repair a failed asset or guarantee that fees exceed losses. The useful comparison is the complete pool and position, rather than one advertised efficiency figure.

Social Media Sentiment

  • r/DeFi: A discussion debated whether out-of-range concentrated liquidity is wasted capital. Replies disagreed: some favored simpler, wider-range positions, while others noted that inactive liquidity can be intentional. The thread also repeated a numerical claim attributed to a Dune report; that figure is not treated here as verified research. This is an anecdotal sample, not a measure of community-wide opinion. Read the discussion.

Last updated: 2026-10

Related Terms

See Also

Sources