Liquidity Pool (LP)
A liquidity pool is a smart-contract reserve of two assets that enables automated swaps via an AMM and earns fees for providers.
How this mechanic works
Liquidity pools are smart contracts that hold reserves of two assets and enable swaps through an automated market maker (AMM) rather than a traditional order book. Liquidity providers deposit tokens into the pool and receive a claim on a share of the pool, typically represented by LP tokens, which earns them a portion of trading fees as trades occur. Uniswap and similar protocols historically use a constant-function rule (e.g., x*y=k) to set prices, and recent iterations (Uniswap v3) introduce concentrated liquidity to improve capital efficiency by letting providers target specific price ranges. Proponents say pools improve liquidity and reduce slippage, while critics warn about impermanent loss and smart-contract risk, highlighting the need for careful design and risk awareness. (developers.uniswap.org)