Assessment reports>Plaza>Threat Model>_checkCap

Function: _checkCap(address[] tokens, uint256[] amounts)

This function is used to check if the deposit cap is reached.

Inputs

  • tokens

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Array of tokens to check.

  • amounts

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Array of amounts to withdraw.

Branches and code coverage

Intended branches

Negative behavior

Zellic © 2025Back to top ↑