IRouterSwapResolver

Git Source

Functions

calculateSwapAmount

function calculateSwapAmount(
    IArrakisMetaVault vault,
    uint256 amount0In,
    uint256 amount1In,
    uint256 price18Decimals
) external view returns (bool zeroForOne, uint256 swapAmount);

Errors

AddressZero

error AddressZero();