What problem does it solve?
This skill helps developers understand the core mechanics of the Uniswap V3 pool, including how price and liquidity are tracked, how pool state transitions occur, and how liquidity is minted, swapped, and collected.
Core Features & Use Cases
- Pool Initialization and State: Explain how the pool is initialized, how slot0 stores price, tick, and observations, and how the per-tick state updates during operations.
- Liquidity Lifecycle: Describe minting and burning liquidity across price ranges, and how fees accrue per-position.
- Trade, Observations, and Oracle: Show swap behavior, how observations enable price oracles, and how to interpret events.
- Use Case: If debugging a pool at a given tick, analyze how slots and ticks reflect price and liquidity.
Quick Start
Use the skill to explain how the UniswapV3Pool initializes the initial sqrtPriceX96 and tick and how a pool's slot0 and observations evolve during the first trades.