Terminology
Pool: Vessel’s AMM pool consists of two assets, the base asset and the quote asset, aligning with trading pair terminology. For example, in an ETH/USDT pool, ETH is the base asset while USDT is the quote asset.
Tick: A tick represents discrete prices used in the AMM pool. Each pool is instantiated with a predefined set of ticks that remain unchanged throughout its lifecycle. In Vessel, ticks are defined in an arithmetic sequence, represented as a tuple <Tick0,TotalTicks,TickSpacing>:
▪ Tick0=MinPrice
▪ Ticki=Tick0+TickSpacing×(i−1),0≤i<TotalTicks
Interval: An interval is the minimal divisible price range in the AMM pool. Intervali covers the price range [Ticki,Ticki+1], managing buy orders at Ticki and sell orders at Ticki+1.
Liquidity: Liquidity is the total size in base asset of orders managed by the AMM within a specific range. The liquidity of Intervali is the sum of buy order sizes at Ticki and sell order sizes at Ticki+1. The pool's total liquidity is the sum across all intervals.
Position: A position indicates how an LP provides liquidity within a specific range, defined by <TickL,TickR,L>, covering [TickL,TickR], with L liquidity in each interval.
Last updated