ISeawaterExecutorQuoteB

Git Source

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

NameTypeDescription
fromaddressthe input token
toaddressthe output token
amountuint256the amount of the input token to use
minOutuint256the minimum valid amount of the output token, reverts if not reached