Assessment reports>warpdotgreen-cli>Threat Model>updateSignatureThreshold

Function: updateSignatureThreshold(uint256 _newValue)

This function is used to update the threshold of required signatures for message verification. This function is only callable by the contract owner.

Inputs

  • _newValue

    • Control: Arbitrary.

    • Constraints: Nonzero value.

    • Impact: New number of required signatures.

Branches and code coverage

Intended branches

  • Update the threshold of required signatures.

Negative behavior

  • Revert if the function is not called by the owner.

  • Revert if the value is zero.

  • Revert if the new value is the same as the current value.

Zellic © 2024Back to top ↑