Content
@
0 reply
0 recast
2 reactions
sean
@swabbie.eth
anyone know why the uniswapv3 example tries to find the next lower tick (w/ liquidity) as active tick rather than the next higher tick? also, i'm not seeing the interface repo find the next tick - perhaps current tick is good enough? https://github.com/Uniswap/examples/blob/main/v3-sdk/pool-data/src/libs/pool-data.ts
2 replies
0 recast
2 reactions
brendon
@brendon
not sure about the example, but during a swap the next initialized tick will be less than or equal to the current tick if the swap is zero for one (trading token0 for token1).
1 reply
0 recast
1 reaction
iSpeakNerd 🧙♂️
@ispeaknerd.eth
do you know @frogmonkee?
0 reply
0 recast
0 reaction