Cauldron V3_2
An update to the V3 cauldron changing the way swappers work
The Cauldron V3_2 is an incremental update to the V3 cauldron enabling the use of more powerful swappers, compatible with aggregators, like 0x.
The new SwapperV2
need calldata given by the aggregator to work and therefore ask this as an input on the liquidate function, which uses a swapper.
✨ liquidate | Updated in V3_2
Parameters
Name | Type | |
---|---|---|
users |
| Array of user addresses |
maxBorrowParts |
| A one-to-one mapping to |
to |
| Address of the receiver in open liquidations if |
swapper |
| Address of the swapper, conforming to ISwapperV2. |
swapperData |
| CallData to be passed to the swapper. |
\
Last updated