Aggregation VulpeFI
Derives
Permitable
EthReceiver
Functions
constructor
Parameters:
Name | Type | Description |
---|---|---|
| address | |
| contract IClipperExchangeInterface |
swap
Performs a swap, delegating all calls encoded in data
to caller
. See tests for usage examples
Parameters:
Name | Type | Description |
---|---|---|
| contract IAggregationExecutor | Aggregation executor that executes calls described in |
| struct AggregationRouterV4.SwapDescription | Swap description |
| bytes | Encoded calls that |
Return Values:
Name | Type | Description |
---|---|---|
| uint256 | Resulting token amount |
| uint256 | Gas left |
rescueFunds
Parameters:
Name | Type | Description |
---|---|---|
| contract IERC20 | |
| uint256 |
destroy
Events
Swapped
Parameters:
Name | Type | Description |
---|---|---|
| address | |
| contract IERC20 | |
| contract IERC20 | |
| address | |
| uint256 | |
| uint256 |
Last updated