Assessment reports>Avantis>Threat Model>setWithdrawThreshold

Function: setWithdrawThreshold(uint256 _withdrawThreshold)

This sets the withdraw threshold for the contract.

Inputs

  • _withdrawThreshold

    • Control: Fully controlled by the caller.

    • Constraints: Should be less than 100 * _PRECISION.

    • Impact: The new withdraw threshold value.

Branches and code coverage

Intended branches

  • Updates the value of withdrawThreshold.

Negative behavior

  • Revert if _withdrawThreshold is greater than 100 * _PRECISION.

Function call analysis

No external function calls found.

Zellic © 2025Back to top ↑