ISeawaterExecutorQuoteA
Functions
quote72E2ADE7
reverts with the expected amount of fUSDC or pool token for a swap with the given parameters
always revert with Error(string(amountOut))
function quote72E2ADE7(address pool, bool zeroForOne, int256 amount, uint256 priceLimit) external;
Parameters
Name | Type | Description |
---|---|---|
pool | address | the pool to swap on |
zeroForOne | bool | true if swapping token->fluid token |
amount | int256 | the amount of token to swap, positive if exactIn, negative if exactOut |
priceLimit | uint256 | the price limit for swaps, encoded as a sqrtX96 price |