ISeawaterExecutorQuoteB
Functions
quote2A9EFFCC6
reverts with the expected amount of tokenOut for a 2-token swap with the given parameters
always revert with Error(string(amountOut))
function quote2A9EFFCC6(address from, address to, uint256 amount, uint256 minOut) external;
Parameters
Name | Type | Description |
---|---|---|
from | address | the input token |
to | address | the output token |
amount | uint256 | the amount of the input token to use |
minOut | uint256 | the minimum valid amount of the output token, reverts if not reached |