ThreeXZapper
Functions:
Events:
Graphs:
Function Definitions:
constructor()
zapIntoBatch()
The amounts in _amounts must align with their index in the ThreePool
Parameter Name | Type | Description |
---|---|---|
| uint256 | Input Amount |
| int128 | Index of inputToken |
| int128 | Index of outputToken |
| uint256 | The min amount of USDC which should be returned by the ThreePool (slippage control) should be taking the decimals of the outputToken into account |
zapOutOfBatch()
Parameter Name | Type | Description |
---|---|---|
| bytes32 | Defines which batch gets withdrawn from |
| uint256 | USDC amount that shall be withdrawn |
| int128 | Index of inputToken |
| int128 | Index of outputToken |
| uint256 | The min amount of USDC which should be returned by the ThreePool (slippage control) should be taking the decimals of the outputToken into account |
claimAndSwapToStable()
Parameter Name | Type | Description |
---|---|---|
| bytes32 | Defines which batch gets withdrawn from |
| int128 | Index of inputToken |
| int128 | Index of outputToken |
| uint256 | The min amount of USDC which should be returned by the ThreePool (slippage control) should be taking the decimals of the outputToken into account |
setApprovals()
Events
ZappedIntoBatch
ZappedOutOfBatch
ClaimedIntoStable
Graphs
Dependency Graph
Inheritance Graph
Last updated