Assessment reports>warpdotgreen-cli>Threat Model>updateMessageToll

Function: updateMessageToll(uint256 _newValue)

This function is used to update the message toll fee required to send messages. This function is only callable by the contract owner.

Inputs

  • _newValue

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: New toll fee.

Branches and code coverage

Intended branches

  • Update the message toll fee.

Negative behavior

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

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

Zellic © 2024Back to top ↑