Assessment reports>Blackwing>Threat Model>setMinBlocksSinceLastDeposit

Function: setMinBlocksSinceLastDeposit(uint256 _minBlocksSinceLastDeposit)

This function is used to set the minimum number of blocks since last deposit.

Inputs

  • _minBlocksSinceLastDeposit

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Value of the minimum number of blocks since last deposit.

Branches and code coverage

Intended branches

  • Update the minBlocksSinceLastDeposit to the provided value.

Negative behavior

  • Reverts if caller is not the owner.

Zellic © 2025Back to top ↑