DeFi

Concentrated Liquidity

Concentrated liquidity is AMM liquidity provided only within selected price ranges instead of across all possible prices.

Concentrated liquidity lets LPs choose where their liquidity is active.

Concentrated Liquidity Explained in Detail

Concentrated liquidity lets liquidity providers choose a price range where their liquidity is active. If the market price leaves that range, the position may hold only one asset and stop providing active liquidity.

This model is more capital efficient, but its accounting is more complex than simple pool shares.

Smart contract example

active liquidity depends on current tick and position range

Tick movement changes which positions are active.

Concentrated Liquidity in Auditing

Protocols may value concentrated-liquidity positions as collateral or strategy assets. That valuation can be wrong if it ignores ticks, range state, fees, or manipulation.

Auditors check position accounting, fee growth, price ranges, and oracle assumptions.

Red flags in code

  • Pool TVL is treated as usable liquidity at every price.

  • Position valuation ignores whether the position is in range.

  • Fee growth math is wrong around tick crossings.

  • NFT LP positions are valued from manipulable spot state.

  • Rounding errors appear near range boundaries.

How to test or review it

  • Move price across ticks and range boundaries.

  • Test in-range, out-of-range, and edge-of-range positions.

  • Fuzz add, remove, collect, and rebalance flows.

  • Check fee accounting after repeated swaps.

  • Review oracle design for manipulation resistance.

Sources