API reference v1.0
Introduction
periphery
tokenomics
TickLens

TickLens

TickLens

Tick Lens contract

Functions

getPopulatedTicksInWord

getPopulatedTicksInWord(address,int16) view public

Get all the tick data for the populated ticks from a word of the tick bitmap of a pool

NameTypeDescription
pooladdressThe address of the pool for which to fetch populated tick data
tickTableIndexint16The index of the word in the tick bitmap for which to parse the bitmap and fetch all the populated ticks

Returns:

NameTypeDescription
populatedTicksstruct ITickLens.PopulatedTick[]