IAdaptor
Adaptor - is a smart contract that allows seamless interaction with various protocols by same interface. Its address is usually calculated by its deployer and nonce.
Functions
quote
Parameter
Description
tokenIn
input token for a swap
amountIn
input amount for a swap
data
raw, protocol-specific data, decoded inside of adaptor
swap
Parameters
Description
...
same as for "quote"
recipient
output token receiver
Last updated