Trader Joe AMM Info

Info from

Concentrated Liquidity


Liquidity in classic AMM (Joe-V1, Uniswap-V2) is distributed uniformly in the entire price range from 0 to infinity.

We can improve capital efficiency, especially for certain pairs where you can expect trades to occur within a tight range. Take USDC/USDT for example, where most trading happens between $0.99 and $1.01. In this case, liquidity outside of this range is largely untouched and would be better off used elsewhere.

With the Liquidity Book (LB), liquidity providers can instead provide liquidity within a specified price range of their choice - this is called concentrated liquidity. Using the USDC/USDT pair as an example again, if an LP chooses to provide liquidity between $0.99 and $1.01 then the LP will earn trading fees so long price is within that range.

Bin Pricing

Liquidity Book allows liquidity to be distributed across discrete bins with fixed width. Liquidity can be exchanged at fixed price within each bin. Each bin represents a single price point and the difference between two consecutive bins is the bin step.

Take for example USDC/USDT again. If the current price is $1 and the bin step is 1 basis point (i.e. 0.0001 or 0.01%), then the next consecutive bins up are 1∗1.0001=$1.00011∗1.0001=$1.0001, 1.0001∗1.0001=$1.000200011.0001∗1.0001=$1.00020001, etc. Note that this is the geometric sequence 1.00011.0001n1.0001�1.0001n.

Bin steps are configurable parameters set by the pool creator. There can be multiple markets of the same pair but varying only in their bin step. Liquidity Pools or Markets in Liquidity Book are uniquely identified by its tuple (X, Y, s) of pooled assets $X, Y�Y and bin step s�s.

Liquidity Book vs Uniswap V3

  • Uniswap V3 concentrate liquidity within a fixed bound with continuous X * Y = k curve.

  • Liquidity Book discretizes liquidity into fixed width bins, with fixed price X + Y = k within each bin.

  • tldr; Uni-V3 is constant product between ticks, LB is constant sum within bins.

Example of TJ Floor Bin LP from $LOTUS Launch


Onyx Lily tokens are released via a Trader Joe v2.1 Liquidity Pool. The purchase of Onyx Lily tokens does not constitute an investment contract or any form of investment advice.

Onyx Lily no guarantees or promises about the future value or performance of the token, and the value of the token may fluctuate significantly.

Also note that it might be illegal for you to own Onyx Lily depending on your jurisdiction, check with your local laws.

Last updated