This course is part of BFF Army's structured Bitcoin DeFi learning path.
To achieve concentrated liquidity, the continuous spectrum of price space has been partitioned with price bins. Price bins are the boundaries between discrete areas in price space.
A bin is a container that holds liquidity at a specific price point within a pool. Think of it like a bucket sitting at one spot on a price ladder.
Trades that occur using the tokens in the Active Bins have Zero Slippage or Price Impact.
A bin step is simply the difference in price between 2 consecutive bins. The bin step for any given pool is determined by basis points. Think of it like steps on a staircase — each step takes you to a slightly different price level.
Price bins function as boundaries for liquidity positions. When a position is created, the provider must choose the bins that will represent their position's borders.
The spacing and distribution of bins depends on the selected strategy:
Beyond the three pre-configured strategies, LPs can define custom bin layouts to implement specific market-making strategies. This allows for precise control over liquidity distribution.
When a swap size exceeds the liquidity in a single bin, the trade will consume liquidity from multiple bins sequentially. Each bin crossed may have a different price, resulting in slippage only when crossing bin boundaries.
Each bin maintains:
© 2025 BFF Army. All rights reserved.