V2 Fees
All V2 pools charge a fixed 0.3% fee on every swap. This fee is not configurable per pool.How Fees Work
The fee is applied to the input token before the swap calculation:- Trader sends
amountInof token A - The effective input is
amountIn × 0.997(0.3% deducted) - The output amount is calculated using the reduced input
- The fee portion remains in the pool, increasing
k
Fee Accumulation
Fees are not distributed separately — they accumulate directly in the pool reserves. This means:kgrows over time as fees are collected- LP token value increases proportionally
- LPs claim their fees when they withdraw liquidity (burn LP tokens)
Example
A pool with 100,000 A / 100,000 B reserves:
Over time, the pool reserves grow from accumulated fees, benefiting all LP token holders proportionally to their share.