Coffer Docs
Overview

Core Concepts: LMMM

Weighted multi-token pools with concentrated liquidity

Coffer's LMMM pools use a concentration factor. Virtual balances concentrate shared multi-token liquidity into price ranges.

A ten-token pool connects 45 pairs through shared reserves. Liquidity can serve every pair containing its token; other pairs can keep trading when one reaches a boundary, provided their reserves and controls permit it.

Inside one LMMM pool

+ Concentration factor

B / BASE

C / BASE

D / BASE

Four tokens, six pairs. Each pair has its own price range, shown by a different shaded band.

From weighted pools to concentrated liquidity

Classic Balancer

Multiple tokens share one pool, with weights shaping their prices.

Uniswap v3

Liquidity is concentrated within a selected price range for a token pair.

Coffer LMMM

The concentration factor concentrates liquidity in a shared multi-token pool, so the same capital serves multiple trading pairs.

Coffer uses no ticks or individual NFT positions. LPs share a pool's configuration and hold fungible LP tokens.

Core concepts behind Coffer

  1. Pool tokens are 2–10 assets sharing reserves; their mint list is fixed at creation.
  2. Weights shape prices, not a fixed asset allocation; an enabled range manager can change them.
  3. Virtual balances add pricing depth and can reduce impact; actual balances fund payouts. Virtual depth adds no spendable tokens.
  4. Concentration factor is virtual balance divided by actual balance, concentrating liquidity without borrowing or LP debt.
  5. A price range ends at inventory exhaustion: the pool cannot pay out the depleted asset; reverse trades can replenish it.
  6. An LP token represents LP-owned assets; deposits mint shares and withdrawals burn them for the current basket.
  7. Max sell-off caps sales into a pool over time; trades exceeding available capacity fail.
  8. Within an enabled sell-off window, a dynamic fee charges output as sales of the input token fill that window.
  9. A range manager updates weights and virtual balances within limits; active management needs an enabled role and a service submitting updates.
  10. Direct swap calculation computes output from virtual balances, weights, and input, without calculating or storing a separate invariant.

On this page