QuickswapSwapBridge
Swaps from ERC20 token to ERC20 token.
Input Name | Description |
amountInPercentage | Percentage of the balance of the input ERC20 token that will be swapped |
amountOutMin | Minimum amount of the output token required to execute swap |
path | The swap route determined by the path. The first element of path is the input token, the last is the output token, and any intermediate elements represent intermediate pairs to trade through (if, for example, a direct pair does not exist). |
function swapTokenToToken(
uint256 amountInPercentage,
uint256 amountOutMin,
address[] calldata path
) external;
Last modified 1yr ago