Skip to content
Reading depth

Each view includes the earlier layers; the complete engineer or auditor page is shown by default.

A liquidity provider commits assets to a market-making system and receives a position whose value changes with inventory, fees, prices, and accounting rules.

Opposed arrows category cue

A liquidity provider, or LP, commits assets to a trading system and receives a position whose value changes with inventory, prices, fees, and accounting rules.

Traders need executable inventory. LPs supply that inventory without manually posting every opposing order when a pool or market-making rule handles quotes. In exchange, LPs may receive fees or incentives, while accepting market-making, asset, contract, and operational risk.

A market maker or investor in a market-making fund is a useful analogy. The automated rule can make an LP look passive, but the position still buys and sells inventory as others trade. A pool claim is not a deposit guarantee and may be a fungible share, range-specific NFT, or internal account.

The LP transfers reserve assets to a liquidity pool and receives a claim on the pool or a defined range. Traders pay fees and change the assets behind that claim. Arbitrageurs connect pool prices to other venues. Position managers, hooks, governance, or incentive programs can add control and claim layers.

  1. Select the pool, assets, range or strategy, fee tier, and claim-accounting model.
  2. Transfer reserve assets and mint or increase the LP position under the pool’s deposit rules.
  3. Let trades change inventory and accrue fees while market prices and active ranges change position value.
  4. Reconcile incentives, manager actions, compounding, and any separate fee entitlement.
  5. Reduce or burn the position and settle only the reserves and fees its current claim represents.
  6. Compare the ending result with a stated benchmark after fees, gas, financing, hedging, and realized losses.

For a fungible share model, ownershipFraction = claimUnits / totalClaimUnits. That fraction is unitless. The assets withdrawn still depend on current reserves, fees, locks, and rounding. Concentrated positions require range-specific liquidity and fee accounting.

Capital flow moves provider assets into pool inventory, through trader-driven inventory changes, and back out at collection or withdrawal. Claim flow mints, updates, transfers, and burns the fungible or range-specific LP position plus any separately accrued fee entitlement. Return flow carries trader-paid fees, explicit incentives, and strategy settlement into the provider’s position; inventory appreciation alone is a valuation change. Risk flow reaches the LP through adverse selection, relative-price movement, inactive ranges, token or contract failure, and any downstream manager or integration.

LP outcome
= ending inventory value
+ trader-paid fees
+ explicit incentives
- gas and management costs
- financing and hedging costs

The comparison benchmark matters. Inventory appreciation is not a payment from the AMM. Trading fees are paid by traders. Incentives are paid through a treasury or token issuance. Active strategy profit or loss comes from rebalancing and hedging counterparties. Report each source separately.

LPs can absorb impermanent loss, loss-versus-rebalancing, adverse selection, token collapse, inactive ranges, low fee income, rounding, and smart-contract failure. A protocol reserve, insurance fund, or junior tranche absorbs first loss only when an explicit rule and funded balance say so.

Test initialization, deposit ratios, zero and tiny positions, share or liquidity minting, range activation, tick crossing, fee growth, rounding direction, position transfer, compounding, collection, partial withdrawal, final burn, donations, unusual tokens, callbacks, and privileged controls. Total claims, reserves, and fee entitlements must reconcile after every state change.

Uniswap’s liquidity overview describes current v2, v3, and v4 workflows, while its fee documentation shows that fee accrual and collection differ by version. Those pages were reviewed 2026-08-09 and do not establish profitable LP returns or define other AMM accounting models.

  • “Fees are free yield.” Traders pay fees because LP capital and inventory are exposed to execution and market risk.
  • “The LP still owns the original token amounts.” The position normally claims current pool inventory under the withdrawal rule.
  • “Impermanent loss is the only LP risk.” Total outcomes also include fees, adverse selection, token losses, ranges, gas, contracts, and controls.

Continue with impermanent loss and arbitrage.

Machine-readable model

Key equations

Canonical expressions come from the structured concept record. KaTeX renders the notation, while the plain-text expression and variable table keep its meaning and units inspectable without JavaScript. Read the narrative above for the model's domain, assumptions, and rounding rules.

  1. Equation 1

    Plain-text equation: ownershipFraction = claimUnits / totalClaimUnits

Assurance contract

Security properties

These structured statements define desired behavior. Their stable IDs can bind tests, invariants, specifications, audit findings, or proof results without turning descriptive review advice into an assurance claim.

Desired · not evaluated: No test, audit, or proof result is implied until scoped evidence is linked to this property.

  1. Minted positions correspond to contributed liquidity under the selected accounting model

  2. Withdrawal cannot transfer more reserves or fees than the burned or closed position represents

  3. Ownership, fee growth, range activity, and rounding remain consistent across position changes

  4. Returns distinguish trading fees and incentives from inventory gains or losses

Knowledge check

Quiz

Answer in your own words, then open the model answer.

What problem does Liquidity provider exist to address?

Model answer

Liquidity providers supply the inventory that lets traders execute without waiting for a specific counterparty to post an exactly matching order.