MultiCall struct represents a single call in a multicall sequence, allowing batched operations on credit accounts.
Struct Definition
Fields
The target contract for the call. This is either the credit facade (for account management operations) or an adapter (for protocol interactions).
The encoded function call data to execute on the target contract.
Usage
MultiCall structs are used in arrays to batch multiple operations together:Common Targets
Credit Facade: For account management operations:addCollateralwithdrawCollateralincreaseDebtdecreaseDebtupdateQuota
- Swap tokens on DEXes
- Provide liquidity
- Stake tokens
- Any other whitelisted protocol interaction
Related Structs
FullCheckParams- Parameters for collateral checks during multicallsDebtLimits- Debt limits enforced during multicalls