ButterBatchProcessingZapper
Functions:
Events:
Graphs:
Function Definitions:
constructor()
zapIntoBatch()
The amounts in _amounts must align with their index in the curve three-pool
Parameter Name | Type | Description |
---|---|---|
| uint256[3] | An array of amounts in stablecoins the user wants to deposit |
| uint256 | The min amount of 3CRV which should be minted by the curve three-pool (slippage control) |
zapOutOfBatch()
The _stableCoinIndex must align with the index in the curve three-pool
Parameter Name | Type | Description |
---|---|---|
| bytes32 | Defines which batch gets withdrawn from |
| uint256 | 3CRV amount that shall be withdrawn |
| uint256 | Defines which stablecoin the user wants to receive |
| uint256 | The min amount of stables which should be returned by the curve three-pool (slippage control) |
claimAndSwapToStable()
The _stableCoinIndex must align with the index in the curve three-pool
Parameter Name | Type | Description |
---|---|---|
| bytes32 | Defines which batch gets withdrawn from |
| uint8 | Defines which stablecoin the user wants to receive |
| uint256 | The min amount of stables which should be returned by the curve three-pool (slippage control) |
setApprovals()
Events
ZappedIntoBatch
ZappedOutOfBatch
ClaimedIntoStable
Graphs
Dependency Graph
Inheritance Graph
Last updated