Getting started
How it works.
Ladders, bins and shapes: one deposit becomes a set of Uniswap positions spread across a price range.
A ladder splits your deposit into several bins: small Uniswap positions side by side across a price range. As the price moves through a bin, that bin swaps one token for the other and earns the pool's trading fee.
Three ideas
| Idea | What it means |
|---|---|
| Range | The prices your ladder covers. In the app you set it as a market-cap range around the current price. |
| Bins | The range is cut into 1 to 20 equal slices. Each slice is its own Uniswap position. |
| Shape | How much of your deposit goes to each bin: evenly (Spot), mostly near the price (Curve) or at the edges (Bid-Ask). |
A ladder in motion
Say you deposit ETH only. Every bin below the current price holds ETH, waiting to buy the token. When the price drops into a bin, traders swap into your liquidity: the bin converts ETH to the token, and you earn the swap fee. If the price comes back up, the bin converts back to ETH, earning fees again.
Like limit orders, but earning
A ladder behaves like a grid of limit orders that also earn fees and reverse when the price comes back. Unlike a limit order, a bin that is only partly crossed is only partly converted.
What happens on-chain
You call openLadder
The app sends your tokens (or native ETH) to the ladder manager with the pool, the tick range, the shape, the number of bins and a price guard.
The manager sizes each bin
It reads the pool price, splits the range into bins aligned to the pool's tick spacing and computes the exact liquidity each bin can take with its share of your deposit.
Positions are created on Uniswap
V3: one position NFT per funded bin via the
NonfungiblePositionManager. V4: one position per bin inside thePoolManager, keyed by a unique salt.Leftovers come back
Anything that could not be placed (rounding, bins that need the other token) is refunded in the same transaction.
Next