IMaverickV2Quoter
Functions
calculateSwap
function calculateSwap(IMaverickV2Pool pool, uint128 amount, bool tokenAIn, bool exactOutput, int32 tickLimit)
external
returns (uint256 amountIn, uint256 amountOut, uint256 gasEstimate);Name
Type
Description
calculateMultiHopSwap
function calculateMultiHopSwap(bytes memory path, uint256 amount, bool exactOutput)
external
returns (uint256 returnAmount, uint256 gasEstimate);Name
Type
Description
calculateAddLiquidity
poolSqrtPrice
Errors
QuoterInvalidSwap
QuoterInvalidAddLiquidity
Last updated