v3-periphery
v3-periphery copied to clipboard
IUniswapV3PoolState.ticks(uint24 tick) always returns zero - why?
IUniswapV3PoolState.ticks(tick) returns zero - why?
https://docs.uniswap.org/protocol/reference/core/interfaces/pool/IUniswapV3PoolState
Hi! We're going to need more information to answer this question I'm afraid - what pool are you trying to look at? This function does not always return 0
WETH/USDC(0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640)always return 0, below is the snapshot
WETH/USDC(0x88e6A0c2dDD26FEEb64F039a2c41296FcB3f5640)always return 0, below is the snapshot
it's returning 0's and false because it's not rounded to the value of the tickSpacing. the tick index supplied to the functions.ticks must be in the multiples of the tickSpacing value