Function: maxCollateralRefund(PoolParams[] poolParams)
This function is used to refund the maximum collateral for multiple pools.
Inputs
poolParamsControl: Arbitrary.
Constraints: None.
Impact: Array of pool parameters.
Branches and code coverage
Intended branches
Invokes
_collateralRefundfor each pool inpoolParams.
Negative behavior
Reverts if this function is called within a reentrant call.