For the complete documentation index, see llms.txt. This page is also available as Markdown.

Pool types

Parameter / Type
CPMM v2
Classic (CPMM v1)
Stable-swap

Formula

x·y=k

x·y=k

x³y+y³x=k

LP share

80%

80%

80%

LP rewards

Claimable separately

Autocompound

Autocompound

Lock on DeDust

yes

no

no

Fees token

Can choose one

Both tokens

Both tokens

Available to create

Yes

No (not on frontend)

No

Boosts

Yes

No

No

CPMM v2 pool

  • Claimable fees. Trading fees accumulate separately from your position, so you can claim them anytime without withdrawing liquidity — even when it's locked.

  • Fee tiers from 0.1% to 5%, set at pool creation. Several pools with different tiers can exist for one pair; Router always picks the most profitable one for each trade.

  • Liquidity providers earn 80% of the pool's trading fees.

  • Choose your fee token — one side of the pair, or both.

  • Optional permanent liquidity lock, set during the deposit.

  • Creator fee support — an extra fee on top of the trading fee, collected by the pool creator. Useful for memepads and tax tokens.

  • No LP tokens. Positions are recorded on-chain at the smart contract level, so they can't be moved between wallets or protocols. The pricing formula is the same as CPMM v1.

Classic pool (CPMM v1, legacy)

  • Auto-compounded fees. Fees are added to liquidity positions instantly after each swap, increasing the value of your LP tokens.

  • No separate fee balance. Earned fees aren't shown in the interface — you receive them when you withdraw liquidity.

  • Trading fee from 0.1% to 1%, 0.25% by default.

  • Liquidity providers earn 80% of the pool's trading fees.

  • Fees are withheld in the token the trader sells, so they accrue in both tokens of the pair, alternating by swap direction.

Stable-swap pools

  • Optimized for pairs of near-equal value (USDT/USDC).

  • Fixed trading fee of 0.05% — the lowest on DeDust.

  • Low price impact. A different formula keeps the exchange rate stable across swaps, even large ones.

  • Liquidity providers earn 80% of the pool's trading fees.

  • Auto-compounded fees, same model as CPMM v1: added to positions instantly after each swap, withheld in the token the trader sells.

  • No separate fee balance. Earned fees aren't shown in the interface — you receive them when you withdraw liquidity.

x³ · y + y³ · x = k x — amount of token A in the pool y — amount of token B in the pool k — constant value at any pool state, defining the exchange rate after every swap

Last updated