
Uniswap V3 · Reads onchain state
Reads the positions entry of a Uniswap V3 position. The position manager returns the nonce, operator, both pool tokens, fee tier, tick range, liquidity, fee growth checkpoints, and tokens owed in one tuple, with token0 and token1 tagged as tokens for downstream use. Reach for it when the position is chosen at runtime and later steps need its facts: the concrete addresses to approve for an increase or to swap collected fees, or the range and fee tier it sits in.
On other protocols · 2