Liquidity Book

Liquidity Book is an AMM similar to Uniswap V3, but the AMM algorithm of Tick in Uniswap V3 is modified from X*Y=K to X+Y=K. Since X+Y=K is the CSMM formula, the AMM formula in each Bin of the Liquidity Book is PiX+Y=L,Pi=1.0001iP_{i}*X+Y=L,P_i=1.0001^i.It can be seen that Liquidity Book is a set of AMM version OrderBook built on the chain through the combination of Bin and CSMM. LPs can provide liquidity in the chosen price range and the trader can trade at a fixed exchange ratePiP_i

Last updated