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