Tick
Tick
TickLibrary
InvalidTick
error InvalidTick()
InvalidPrice
error InvalidPrice()
TickOverflow
error TickOverflow()
MAX_TICK
int24 MAX_TICK
MIN_TICK
int24 MIN_TICK
MIN_PRICE
uint256 MIN_PRICE
MAX_PRICE
uint256 MAX_PRICE
validateTick
function validateTick(Tick tick) internal pure
validatePrice
modifier validatePrice(uint256 price)
fromPrice
function fromPrice(uint256 price) internal pure returns (Tick)
toPrice
function toPrice(Tick tick) internal pure returns (uint256 price)
gt
function gt(Tick a, Tick b) internal pure returns (bool)
baseToQuote
function baseToQuote(Tick tick, uint256 base, bool roundingUp) internal pure returns (uint256)
quoteToBase
function quoteToBase(Tick tick, uint256 quote, bool roundingUp) internal pure returns (uint256)