Assessment reports>Alkimiya>Threat Model>maxCollateralRefund

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 in poolParams.

Negative behavior

  • Reverts if this function is called within a reentrant call.

Zellic © 2024Back to top ↑