SwapMath
#
Methods#
computeSwapStep▸ Static
computeSwapStep(sqrtRatioCurrentX96
: default, sqrtRatioTargetX96
: default, liquidity
: default, amountRemaining
: default, feePips
: FeeAmount): [default, default, default, default]
#
ParametersName | Type |
---|---|
sqrtRatioCurrentX96 | default |
sqrtRatioTargetX96 | default |
liquidity | default |
amountRemaining | default |
feePips | FeeAmount |
Returns: [default, default, default, default]
Defined in: utils/swapMath.ts:15