Tick Utilities
#
nearestUsableTickReturns the closest tick that is nearest a given tick and usable for the given tick spacing
#
tickToPriceReturns a price object corresponding to the input tick and the base/quote token. Inputs must be tokens because the address order is used to interpret the price represented by the tick.
#
priceToClosestTickReturns the first tick for which the given price is greater than or equal to the tick price.
#
tickIsBelowSmallestReturns true if the tick index is smaller than all tick indices in the list
#
tickIsAtOrAboveLargestReturns true if the tick index is greater than or equal to all tick indices in the list
#
nextInitializedTickReturns next initialized tick following the input tick
#
tickListIsSortedReturns true if a tick list is sorted by tick index
#
getSqrtRatioAtTickReturns the sqrt ratio as a Q64.96 for the given tick. The sqrt ratio is computed as sqrt(1.0001)^tick
#
getTickAtSqrtRatioReturns the tick corresponding to a given sqrt ratio, such that getSqrtRatioAtTick(tick) <= sqrtRatioX96 and getSqrtRatioAtTick(tick + 1) > sqrtRatioX96