SqrtPriceMath
Functionsβ
getNextSqrtPriceFromAmount0RoundingUpβ
function getNextSqrtPriceFromAmount0RoundingUp(
uint160 sqrtPX96,
uint128 liquidity,
uint256 amount,
bool add
) internal pure returns (uint160)Name
Type
Description
Type
Description
getNextSqrtPriceFromAmount1RoundingDownβ
Name
Type
Description
Type
Description
getNextSqrtPriceFromInputβ
Name
Type
Description
Name
Type
Description
getNextSqrtPriceFromOutputβ
Name
Type
Description
Name
Type
Description
getAmount0Deltaβ
Name
Type
Description
Name
Type
Description
getAmount1Deltaβ
Name
Type
Description
Name
Type
Description
getAmount0Deltaβ
Name
Type
Description
Name
Type
Description
getAmount1Deltaβ
Name
Type
Description
Name
Type
Description
Last updated