Vessel
  • βš“Introducing Vessel
    • Why Vessel Is The Exchange Crypto Needs?
    • Vessel's Roadmap for the Future of DeFi
  • βš™οΈTechnical Deep Dive
    • Sequencer
    • Prover
    • Contract
    • Data Availability
  • πŸ’°VAELOB
    • Terminology
    • Order Book and AMM: Can We Have the Best of Both?
    • A Typical Trade in Vessel
    • Liquidity Pool Math
    • Concentrated Liquidity
    • Fee Calculation
    • Multi-Pool with Different Tick Spacing
  • 🎁Vessel Voyage
    • Vessel Mileage for Liquidity Providing
    • Vessel Coins for Referral
  • πŸ›³οΈMainnet User Guide
    • Set up a Wallet
    • Deposit
    • Provide Liquidity to Vessel’s VAELOB
      • Access the Liquidity Pools
      • Add Liquidity
      • View Positions
      • Manage Positions
    • Trade
      • Order Types
      • Place Order
      • Cancel Order
      • Modify Order
      • Trading History
    • Internal Transfer - Send to Vessel's User
    • Withdraw Your Assets
    • Fees
      • Trading Fee
      • Gas Fee
      • AMM Fee
    • Trading Settings
  • πŸ›₯️Testnet User Guide
    • Log in with Invitation Code
    • Setting up a Wallet
    • Switching Network
    • Funding Your Wallet
    • How to Deposit
    • How to Trade
    • How to Withdraw
    • Community Contribution
    • Vessel’s Referral Program
    • FAQs
  • πŸ—ΊοΈSmart Contract Deployments
  • 🐚Vessel Community Hub
    • Vessel Community Update: Q1 2024
    • Vessel Community Update: Q2 2024
    • Vessel Community Update: Q3 2024
  • 🎨Brand Kit
Powered by GitBook
On this page
  1. VAELOB

Terminology

PreviousVAELOBNextOrder Book and AMM: Can We Have the Best of Both?

Last updated 11 months ago

  • 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><Tick_0, TotalTicks, TickSpacing><Tick0​,TotalTicks,TickSpacing>:

    β–ͺ Tick0=MinPriceTick_0=MinPriceTick0​=MinPrice

    β–ͺ Ticki=Tick0+TickSpacingΓ—(iβˆ’1),0≀i<TotalTicksTick_i=Tick_0+TickSpacing \times (i-1), 0 \le i < TotalTicksTicki​=Tick0​+TickSpacingΓ—(iβˆ’1),0≀i<TotalTicks

  • Interval: An interval is the minimal divisible price range in the AMM pool. IntervaliInterval_iIntervali​ covers the price range [Ticki,Ticki+1][Tick_i, Tick_{i+1}][Ticki​,Ticki+1​], managing buy orders at TickiTick_iTicki​ and sell orders at Ticki+1Tick_{i+1}Ticki+1​.

  • Liquidity: Liquidity is the total size in base asset of orders managed by the AMM within a specific range. The liquidity of IntervaliInterval_iIntervali​ is the sum of buy order sizes at TickiTick_iTicki​ and sell order sizes at Ticki+1Tick_{i+1}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><Tick_L, Tick_R,L><TickL​,TickR​,L>, covering [TickL,TickR][Tick_L, Tick_R][TickL​,TickR​], with LLL liquidity in each interval.

πŸ’°