Coffer Docs
For Liquidity Providers

How Yield Is Generated

How LP fees accumulate and what the displayed annualized rate means

LPs earn part of the base swap fee. These fees compound automatically: they stay in the pool's LP-owned reserves and participate in future trades. Your LP tokens represent this reinvested capital; no staking, fee claim, or redeposit is required.

Fee income does not guarantee profit: token prices and the changing reserve basket can still reduce your position's value. See LP Risks.

A simple example

If a trade pays a $10 base fee and the configured protocol share is 20%, the protocol receives $2 and LPs retain $8. Holding 10% of the LP token supply gives you a claim on 10% of that retained fee.

The percentage is an example; use the pool's current settings. An optional dynamic fee belongs entirely to the protocol, not LPs.

How fees become part of your position

LP capital is accounted for separately from protocol fees:

LP claim per token = actual_balance × your_lp_tokens / total_lp_tokens

actual_balance is already net of protocol fees. Retained fees increase capital relative to the same trades without fees; future fee income depends on trading volume and rates. Read Fees for the charges and Pricing Model for exact accounting.

What the displayed APY means

Fees are reinvested automatically, and the displayed percentage reflects that: it is a compounded annualization of recent LP fee income. The app computes a daily yield from the LP share of base fees over a trailing window, divided by the pool's current TVL, and compounds it over a year:

daily_rate_24h = LP_fees_USD_last_24h / current_TVL_USD
daily_rate_7d  = LP_fees_USD_last_7d  / current_TVL_USD / 7
APY = ((1 + daily_rate) ^ 365 − 1) × 100

The pool card and pool list show the 24-hour figure (apy in the API); the pool page chart uses the 7-day one by default (apy7d), which is smoother. Both are recomputed every few minutes. Pools whose TVL is too small for the ratio to mean anything report 0 and apyUnreliable: true instead of a number.

These historical estimates exclude token price gains/losses and do not predict your return. The 24-hour figure reacts to single trades: one large swap raises it, a quiet day drops it to zero. Missing prices, recent deposits or withdrawals (the divisor is today's TVL, not the average over the window), small TVL, or a brief volume spike can materially distort the number.

Fees and rewards are different

Coffer XP and referrals are separate application features. Do not add them to fee yield as though they were withdrawable pool assets.

On this page