Skip to main content

Reference

Interfaces, signatures, parameters, and generated references.

Lookup friendly
TOC available

TickMathTest

Functions​

getSqrtPriceAtTick​

function getSqrtPriceAtTick(int24 tick) external pure returns (uint160);

getGasCostOfGetSqrtPriceAtTick​

function getGasCostOfGetSqrtPriceAtTick(int24 tick) external view returns (uint256);

getTickAtSqrtPrice​

function getTickAtSqrtPrice(uint160 sqrtPriceX96) external pure returns (int24);

getGasCostOfGetTickAtSqrtPrice​

function getGasCostOfGetTickAtSqrtPrice(uint160 sqrtPriceX96) external view returns (uint256);

MIN_SQRT_PRICE​

function MIN_SQRT_PRICE() external pure returns (uint160);

MAX_SQRT_PRICE​

function MAX_SQRT_PRICE() external pure returns (uint160);

MIN_TICK​

function MIN_TICK() external pure returns (int24);

MAX_TICK​

function MAX_TICK() external pure returns (int24);