WooFiAdapter

WooFiAdapter

constructor

constructor(struct PoolInput[] pools) public

swapExactInput

function swapExactInput(address recipient, address tokenIn, address tokenOut, uint256 amountIn, uint256 minAmountOut, bytes data) external returns (uint256 amountOut)

swap with exact input

Parameters

swapExactOutput

function swapExactOutput(address, address, address, uint256, uint256, bytes) external pure returns (uint256)

IWooPoolV2

swap

function swap(address fromToken, address toToken, uint256 fromAmount, uint256 minToAmount, address to, address rebateTo) external returns (uint256 realToAmount)

Last updated