CamelotAdapter
CamelotAdapter
constructor
swapExactInput
swap with exact input
Parameters
Name | Type | Description |
---|---|---|
recipient | address | recipient of amountOut of tokenOut |
tokenIn | address | address of a token to swap on dex |
tokenOut | address | address of a token to receive from dex |
amountIn | uint256 | exact amount of tokenIn to swap |
minAmountOut | uint256 | minimal amount of tokenOut to receive |
data | bytes | data for AdapterCallback |
swapExactOutput
ICamelotPair
getAmountOut
Last updated