Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Reference: sushi/evm Pool

The pool module exposes local V2 and V3 pool math.

Pool classes do not fetch reserves, ticks, pool state, or liquidity. They compute from state you provide.

AreaDocsUse for
V2 poolsV2 PoolPair address computation, reserve math, price, liquidity value.
V3 poolsV3 PoolV3 pool state, swap math, positions, tick/liquidity math.

Use RPC, subgraphs, or an indexer to obtain live pool state before constructing these classes.