V2 Liquidity

V2 Liquidity, the base of AMM

In decentralized finance (DeFi), V2 liquidity represents a system where users (liquidity providers) deposit an equal value of two tokens (e.g., ETH and USDC) into a liquidity pool, enabling decentralized trading.

Key Aspects of V2 Liquidity:

  1. Constant Product Formula (x*y=k): Liquidity pools use the constant product formula to facilitate trades. The total pool value remains constant, ensuring all trades adjust token prices based on demand.

  2. Price Discovery: The token prices in the pool automatically adjust as users swap tokens, ensuring an efficient process for price discovery without relying on centralized order books.

  3. Liquidity Providers (LPs):

    • LPs earn a portion of the transaction fees (e.g., 0.3% per trade) as a reward for providing liquidity.

    • In exchange, LPs receive LP tokens, representing their share in the pool.

  4. Impermanent Loss (IL): LPs may experience impermanent loss if the token prices diverge significantly during trading. This is when holding the tokens directly could yield higher returns than providing liquidity.

  5. Pair-Based Pools: V2 requires liquidity providers to supply liquidity in specific token pairs (e.g., ETH/DAI, BTC/USDC). Each trading pair operates independently, with its own pool.

  6. Composability: V2 liquidity is compatible with other DeFi protocols. LP tokens (representing the liquidity position) are composable and can be staked, used in lending protocols, or traded.


While V2 liquidity was revolutionary and widely adopted, newer AMM versions (e.g., Uniswap V3, PancakeSwap V3, DackieSwap V3...) have introduced innovations like concentrated liquidity for improved efficiency. However, V2 remains a cornerstone in DeFi history, offering simplicity and reliability for liquidity provision and decentralized trading.

Last updated