Get Tokenomics

Automated Market Makers (AMM)

How AMMs work, pricing formulas, impermanent loss, protocol tokenomics, and liquidity design for token launches.

How algorithmic protocols replaced the order book with a mathematical formula, why liquidity pools became the foundation of decentralized exchanges, and what a tokenomist needs to know when designing liquidity.

What Is an AMM

AMM (Automated Market Maker) is an algorithmic protocol that replaces the traditional order book with a mathematical formula for swapping tokens. Instead of matching buyers and sellers, an AMM uses liquidity pools and deterministic equations to calculate the price of every trade.

On a centralized exchange, price is determined by matching orders: someone places a limit buy, someone else a limit sell, and the exchange engine matches them. This model requires sufficient order depth and constant presence of market makers. An AMM eliminates this dependency: anyone can swap one token for another at any time, as long as there’s liquidity in the pool.

The first AMM appeared in 2017 (Bancor pioneered the continuous token model), followed by Uniswap V1 in November 2018. The real boom came in 2020–2021 — the so-called DeFi Summer. By 2026, the combined TVL of AMM-based decentralized exchanges exceeds $10 billion, and the model has become the standard for on-chain token trading.

Why this matters for tokenomists
An AMM is not just a swap mechanism. It’s the primary market for most tokens. When designing tokenomics, you must decide upfront: which pool will the token trade in, how much initial liquidity is needed, how to manage impermanent loss for LPs, and what incentives to offer for attracting TVL.

How a Liquidity Pool Works

The AMM mechanism breaks down into four steps:

  1. A liquidity provider (LP) deposits tokens. They add a pair of tokens in a specific ratio — for example, ETH and USDC. In return, they receive an LP token confirming their share of the pool.
  2. The pool holds reserves of both tokens. A smart contract on the blockchain contains the balances of two (or more) tokens. These reserves are the liquidity available to traders.
  3. Price is determined by a formula. With every swap, the protocol recalculates the token ratio in the pool using a mathematical equation. The more of one token is removed from the pool, the more expensive the next unit becomes.
  4. A trader performs a swap. They send one token into the pool and receive another. The amount received is calculated by the formula based on current reserves. Each swap incurs a fee (typically 0.3%), which is distributed among LPs.
Example
A pool contains 100 ETH and 200,000 USDC. A trader wants to buy 1 ETH. The protocol calculates how much USDC must be deposited so that after the trade, the product of reserves remains unchanged (or increases by the fee). The trader deposits ~2,020 USDC and receives 1 ETH. After the trade, the pool holds 99 ETH and 202,020 USDC — the price of ETH has increased.

The Role of LP Tokens

An LP token is a proof of share in the pool. When an LP wants to withdraw their funds, they return (burn) the LP token and receive a proportional share of both tokens from the pool. Important: the token ratio at withdrawal may differ from the ratio at deposit — this is exactly what causes impermanent loss.

Fees and LP Revenue

Every swap generates a fee (trading fee). The standard is 0.3% of the trade amount in Uniswap V2, though V3 offers tiers of 0.01%, 0.05%, 0.3%, and 1%. Fees are automatically added to pool reserves, increasing the value of LP tokens. LP profitability depends on trading volume: the more swaps pass through the pool, the more fees liquidity providers earn.

Pricing Formulas

Constant Product (x * y = k)

The most common AMM formula, used in Uniswap V2, SushiSwap, and PancakeSwap. The product of the two token reserves remains constant after every trade (excluding fees).

x · y = k
  • x, y — reserves of tokens A and B
  • k — invariant (the constant product)

The price of token A in units of token B is determined by the ratio of reserves:

P_A = y / x
  • P_A — instantaneous price of token A in units of B
  • y, x — reserves of tokens B and A

The hyperbola x*y=k provides infinite liquidity in both directions: the price approaches infinity as one reserve approaches zero, but never reaches it. The tradeoff — large trades relative to pool size produce significant slippage.

Constant Sum (x + y = k) and StableSwap

The formula x+y=k enables 1:1 swaps with zero slippage, but the pool can be completely drained. For stablecoins (USDC/USDT, DAI/USDC), a curve is needed that behaves like x+y=k for small deviations and like x*y=k for large ones.

Curve Finance solved this with the StableSwap invariant:

A · n^n · Σx_i + D = A · D · n^n + D^(n+1) / (n^n · Πx_i)
  • A — amplification coefficient
  • n — number of tokens in the pool
  • D — StableSwap invariant
  • x_i — reserves of each token

The parameter A (amplification coefficient) determines how “flat” the curve is near equilibrium. At A=0, the formula degenerates into constant product; as A approaches infinity, it becomes constant sum. Typical values for stablecoin pools: A = 100–2000.

Concentrated Liquidity

Uniswap V3 introduced concentrated liquidity: an LP places liquidity not across the entire price range from 0 to infinity, but only within a chosen interval [P_a, P_b]. This dramatically increases capital efficiency.

L = Δx · (√P_b · √P) / (√P_b − √P)
  • L — position liquidity
  • P_b — upper bound of the range
  • P — current price
  • Δx — position size in token X

If an LP limits the range to +/-5% of the current price, their capital efficiency increases roughly 20x compared to Uniswap V2. However, if the price moves outside the range, the position stops generating fees and fully converts into one of the tokens.

The concentrated liquidity tradeoff
Narrow range = higher fee income but greater impermanent loss and constant rebalancing required. Wide range = less income but less risk. Choosing the range is the key decision for Uniswap V3 LPs.

AMM Types

ProtocolModelFormulaKey features
Uniswap V2Constant Productx*y=kSimplicity, universality, full-range liquidity
Uniswap V3Concentrated Liquidityx*y=k in rangeUp to 4000x capital efficiency, LP chooses price range
Curve FinanceStableSwapSum/product hybridMinimal slippage for stablecoins, amplification parameter A
BalancerWeighted Pools∏(x_i^w_i)=kArbitrary weights (80/20, 60/20/20), up to 8 tokens per pool
BancorSingle-SidedReserve ratioPioneered single-sided LP; IL protection paused since June 2022, pivoted to Carbon DeFi
Aerodromeve(3,3)Weighted + votingDominant DEX on Base (~$1.2B TVL), merging into Aero (2026)
RaydiumConstant Product + CLMMx*y=k + concentratedLargest AMM on Solana, formerly hybrid with OpenBook
PancakeSwapConstant Product + V3x*y=kLargest AMM on BNB Chain, Uniswap analog

Weighted Pools (Balancer)

Unlike Uniswap, where both tokens have 50/50 weight, Balancer allows arbitrary weights. The generalized invariant formula:

V = ∏(B_i^w_i) = const
  • B_i — balance of token i in the pool
  • w_i — weight of token i (weights sum to 1)
  • V — Balancer invariant

An 80/20 pool (e.g., 80% project token and 20% ETH) requires the LP to deposit less ETH, lowering the entry barrier and reducing impermanent loss for the project token. This approach is widely used when launching new tokens via Liquidity Bootstrapping Pools (LBP).

Impermanent Loss

Impermanent loss (IL) is the difference between the value of an LP’s assets in the pool and the value of the same assets if they had simply held them without providing liquidity. The loss is called “impermanent” because it disappears if the price returns to the original ratio.

Where the Loss Comes From

When the price of one token rises relative to the other, arbitrageurs equalize the pool price with the market price, taking the underpriced asset and adding the overpriced one. As a result, the LP ends up with more of the depreciated token and less of the appreciated one — worse than simply holding both assets.

The Impermanent Loss Formula

For the constant product model (x*y=k, Uniswap V2):

IL = 2 · √r / (1 + r) − 1
  • IL — impermanent loss
  • r = P₁/P₀ — ratio of current price to initial price
  • Applicable to AMMs with the x·y=k invariant (Uniswap V2, SushiSwap, PancakeSwap)

Reference points:

Price changePrice ratio (r)Impermanent loss
No change1.0x0%
+25%1.25x−0.6%
+50%1.50x−2.0%
+100% (2x)2.0x−5.7%
+200% (3x)3.0x−13.4%
+400% (5x)5.0x−25.5%
−50%0.5x−5.7%
−75%0.25x−20.0%
−90%0.1x−42.5%

r is the ratio of the new token price to the initial price. r=2 means the price doubled; r=0.5 means it halved.

Key insight

Impermanent loss is symmetric: a 2x price increase and a 2x decrease produce the same IL (−5.7%). Losses accelerate nonlinearly at extreme deviations. At a 10x price change, the LP loses ~42% compared to simply holding.

This formula and table apply to AMMs with the x*y=k invariant (constant product). For other models — Curve StableSwap, Uniswap V3 concentrated liquidity, Balancer weighted pools — the IL calculation differs and depends on additional parameters (amplification coefficient A, range width, token weights).

When Fees Offset Impermanent Loss

An LP earns fees from every swap. If the annualized fee yield exceeds impermanent loss over the same period, the liquidity provider profits. This requires:

  • High trading volume relative to pool size (high capital turnover)
  • Moderate volatility of the token pair (IL grows with volatility)
  • Additional incentives via governance token rewards (liquidity mining)

AMM Protocol Tokenomics

AMM protocols are themselves tokenomic systems. Here’s how they generate revenue and distribute value.

Revenue Streams

The primary revenue source is trading fees. Every swap generates a fee distributed among participants:

Fee distribution (typical model):

Trader pays fee (0.3%)
  ├── 0.25% → Liquidity providers (LP)
  └── 0.05% → Protocol treasury / token holders

Additional revenue sources:
  ├── Flash loan fees
  ├── Pool creation fees
  └── Protocol-Owned MEV revenue

Governance Token and Incentives

Most AMM protocols issue a governance token: UNI for Uniswap, CRV for Curve, BAL for Balancer. These tokens serve several functions:

  • Voting — holders decide on protocol parameters (fee levels, reward distribution, new pools)
  • Liquidity incentives (liquidity mining) — protocol distributes governance tokens to LPs to attract TVL
  • Value capture — a portion of fees goes to token holders (fee switch)

The ve-Token Model (Vote-Escrowed)

Curve Finance pioneered the ve-token model, which has become the standard for AMM protocols. The mechanics:

  1. User locks CRV for a period from 1 week to 4 years, receiving veCRV
  2. Longer lock = more votes and larger share of fees
  3. veCRV holders vote on CRV reward distribution across pools (gauge voting)
  4. Protocols “bribe” veCRV holders to direct rewards to their pools — hence the term “Curve Wars”
Why ve-model works
The ve-model aligns interests: long-term holders get more influence and revenue, short-term speculators get less. This reduces sell pressure on the token and creates a sustainable incentive ecosystem around liquidity. See veTokenomics for a deep dive.

The Mercenary Capital Problem

Liquidity mining attracts capital, but this capital often leaves as soon as rewards end. Protocols lose TVL, and the governance token depreciates due to constant emissions. Solutions:

  • Ve-model — token locking reduces circulating supply and sell pressure
  • Protocol Owned Liquidity (POL) — the protocol itself owns liquidity instead of renting it
  • Real yield — rewards paid from fees, not from emissions
  • Performance-linked incentives — rewards proportional to trading volume, not just position size

Liquidity Design

For a tokenomist, an AMM is not a given — it’s a tool whose parameters must be designed. Key decisions at token launch:

Choosing the AMM and Pair

  • Which blockchain? Ethereum (Uniswap, Curve), BNB Chain (PancakeSwap), Solana (Raydium), or multichain
  • Which pair? TOKEN/ETH, TOKEN/USDC, or TOKEN/stablecoin — depends on the target audience
  • Which model? Constant product for standard tokens, StableSwap for stablecoins, Weighted pool for launches via LBP
  • Which fee tier? Uniswap V3 offers 0.01%, 0.05%, 0.3%, and 1% — volatile pairs benefit from higher fees

Initial Liquidity

Initial liquidity size determines market depth and acceptable slippage. Rule of thumb: slippage on a $10,000 trade should not exceed 1–2%.

Slippage ≈ Δx / x
  • Δx — trade size
  • x — total reserve of the corresponding token in the pool

For slippage under 2% on a $10,000 trade, you need a pool with at least $500,000 in reserves per token. This implies initial liquidity of $1,000,000+. For smaller projects, a realistic minimum is $50,000–200,000 with the understanding that large trades will have significant slippage.

Liquidity Incentive Programs

A typical liquidity mining program includes:

Incentive program parameters:

1. Budget:       5–10% of total token supply
2. Duration:     6–12 months with gradually decreasing rewards
3. Distribution: Proportional to LP's share of the pool
4. Decay:        −10 percentage points each quarter
5. Bonus:        Boosted rewards for the first 30 days

Example schedule (12 months, 8M token budget):
  Q1: 3.2M tokens (40%)
  Q2: 2.4M tokens (30%)
  Q3: 1.6M tokens (20%)
  Q4: 0.8M tokens (10%)

Protocol Owned Liquidity (POL)

POL is a model where the protocol itself owns liquidity in the pool rather than renting it from external LPs. Advantages:

  • Sustainability — liquidity won’t leave when rewards end
  • Revenue — protocol earns trading fees
  • Control — can manage market depth and slippage
  • No dilution — no need to emit tokens for incentives

Sources of POL: a portion of token sale proceeds (IDO, LBP), treasury revenue, bond mechanics (buying LP tokens at a discount from users). The ideal balance is POL as the liquidity base combined with an incentive program for additional TVL.

Recommendation
When designing liquidity, first determine the minimum required pool depth (based on expected trade volume), then split it into POL (stable portion, 40–60%) and incentivized liquidity (variable portion, 40–60%). Have a contingency plan for incentivized liquidity outflows.

Concentrated Liquidity as the Standard

After Uniswap V3, concentrated liquidity became the industry standard. PancakeSwap, SushiSwap, and dozens of other AMMs adopted similar models. Automated position managers (Arrakis, Gamma) and yield optimizers (Beefy) emerged to rebalance ranges and auto-compound fees for LPs, lowering the entry barrier.

Uniswap V4 Hook Architecture

Uniswap V4 introduces hooks — custom smart contracts that execute before or after specific pool actions (swap, add/remove liquidity). This turns the AMM into a programmable platform:

  • Dynamic fees — fees change based on volatility or volume
  • TWAMM — execution of large orders at a time-weighted average price
  • On-chain limit orders — automatically execute when the target price is hit
  • Custom curves — any pricing formula, not just x*y=k
  • KYC/permissioned pools — pool access only for verified addresses

The V4 singleton architecture (all pools in one contract, launched January 2025 on 10+ chains) reduces pool creation costs by ~99% and swap costs by ~30% (up to ~50% for multi-hop routes) compared to V3.

Intent-Based Trading

A new approach to decentralized trading: instead of interacting directly with a pool, the trader describes an intent — “I want to swap 1 ETH for the maximum amount of USDC.” A network of solvers then competes to fulfill this intent, finding the optimal route across multiple pools, bridges, and liquidity sources.

UniswapX, CoW Protocol, and 1inch Fusion already operate on this model. For LPs, this means competing not only with other pools but with off-chain market makers.

Cross-Chain AMMs

Liquidity remains fragmented across blockchains. Cross-chain AMMs (Thorchain, Chainflip) enable native asset swaps between networks without bridges, while cross-chain aggregators (Squid Router, Li.Fi) route trades through multiple liquidity sources and bridges.

Takeaway for tokenomists
When designing liquidity in 2026, consider: (1) concentrated liquidity as the baseline model, (2) hooks for dynamic fees and automation, (3) intent-based trading as an additional volume source, (4) a multichain strategy to reach different audiences. The specific AMM choice depends on token type, target market, and available liquidity budget.

Designing liquidity for a token?

We'll select the optimal AMM model, calculate initial liquidity, and design an incentive program.

Get in touch