Jump to content
deep cut

Stablecoins Liquidity Pool Mechanics: StableSwap and Depegs

Why stablecoin pools run on StableSwap, where LP fees really come from, and how a depeg leaves liquidity providers holding the weakest coin.

PolyCasino Chain Pulse · 5 min read

A white porcelain trough with a flat middle holds four matching beads while one teal glass bead has rolled up the steep side.
pass it on

A stablecoins liquidity pool holds coins that all aim for one dollar, such as DAI, USDC and USDT, and prices swaps on a curve built for assets that should trade at par. Liquidity providers earn the swap fees, impermanent loss stays small while every coin holds its peg, and the real risk sits in the scenario most exchange explainers skip: a depeg.

How a liquidity pool prices a swap

A liquidity pool replaces the order book with a formula. Traders swap against the tokens held in a smart contract, the formula sets the price from the pool's balances, and every trade nudges that price.

Uniswap's docs on the v2 DAI/USDC pair put its capital used for trades between $0.99 and $1.01 at about 0.50% (docs read October 2026). The rest sat on prices the pair rarely visits, earning nothing.

What StableSwap changes in a stablecoin liquidity pool

StableSwap, the curve behind Curve Finance, keeps prices nearly flat around par so traders get very low slippage there, and only behaves like a constant-product pool when balances drift far apart. The flat zone is where the extra fee capacity comes from.

Michael Egorov tunes that flatness with an amplification parameter, A. His whitepaper describes a practical A=100 setting as comparable to using Uniswap with 100x leverage: the same deposit, much deeper liquidity near par.

The design spread past Curve. Balancer stable pools run Stable Math, its own build of StableSwap, and Balancer caps those pools at a safe maximum of 5 tokens (docs read October 2026). Every extra coin is another issuer sharing the same pool, so the cap doubles as a risk limit.

Where the yield comes from

The yield is swap fees. Traders pay a small fee each time they route through the pool, and that fee is split across liquidity providers (LPs) by their share of the deposits. Nothing else in the pool generates return.

That makes fee level and trading volume the whole story. Egorov's backtest on DAI, USDC and USDT price feeds from 2019 found an optimal fee of 0.06% per trade. At those optimal parameters the same simulation showed LP profit at 312% APR. Read that figure as a backtest on 2019 data with a small assumed pool, not as a forecast: more liquidity chasing the same volume splits the fees thinner.

The contrast is the useful part. For a plain constant-product pool holding DAI and USDC, the paper says the returns will be tiny, a few percent a year. Tighter liquidity turns the same order flow into more fees per dollar deposited.

Impermanent loss and what a depeg does

Impermanent loss is what an LP gives up versus simply holding when prices inside the pool move apart. Between coins pinned to par that movement is small, so the loss is small, right up until one coin stops being worth a dollar.

Walk the mechanism through. When one coin slips, traders sell it into the pool and pull out the coins still at par. The pool's balances shift toward the weak coin, and every LP's share shifts with them. The flat curve that gave low slippage near par also means the pool keeps absorbing the weak coin at close to par until the balance is lopsided enough to bend the price.

Concentrated liquidity makes this sharper, not softer. On Uniswap, once price leaves a position's range the position stops earning fees and converts until it holds a single asset. For a stablecoin range, that asset is the coin that broke.

So an LP does not hold an average of the pool. After a depeg the LP is effectively long the weakest issuer, which is why the choice of coins matters more than the advertised yield.

Benefits of decentralized exchanges, and the risks LPs carry

Decentralized exchanges (DEXs) let anyone supply liquidity and earn fees without an intermediary, and stable pools let traders move between dollar tokens cheaply. The cost of that openness is that the risks sit with the LP:

RiskWhat it does to a stable-pool LP
DepegThe pool rebalances you into the failing coin
Smart contract bugDeposits can be lost whatever the peg does
Fee compressionMore deposits split the same swap fees thinner
Out-of-range positionConcentrated liquidity stops earning and sits in one coin

None of these show up in an APR number. They show up in which coins you agreed to hold.

Pool questions

What is a cryptocurrency liquidity pool?

It is a smart contract holding two or more tokens that traders swap against, priced by a formula instead of an order book. Liquidity providers deposit the tokens and earn the swap fees. A stablecoin pool is the same idea with coins built to trade at one dollar, which lets the formula run much tighter.

What is impermanent loss?

It is the gap between keeping your tokens in a pool and simply holding them in a wallet, created when prices inside the pool move apart. In a stablecoin pool the coins barely move against each other, so the gap stays small. A depeg is the exception: the pool rebalances you toward the coin that broke.

How risky are liquidity pools?

The main risks are smart contract bugs, a token losing its peg, and yield that falls when more deposits chase the same trading volume. A stablecoin pool trims price risk between the coins but adds exposure to every issuer in it. You carry the weakest coin's risk, not the average.

More from PolyCasino

203 pulses by PolyCasino Chain Pulse

Up next

pulses that share a track with this one