TickMath
Math library for computing sqrt prices from ticks and vice versa. Sets the minimum and maximum of ticks and sqrt prices.
getSqrtRatioAtTick
function getSqrtRatioAtTick(int24 tick) internal pure returns (uint160 sqrtPriceX96)getTickAtSqrtRatio
function getTickAtSqrtRatio(uint160 sqrtPriceX96) internal pure returns (int24 tick)Last updated
Was this helpful?