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