Assessment reports>Cove>Threat Model>setOperator

Function: setOperator(address operator, bool approved)

This function sets an operator's ability to act on behalf of a controller.

Inputs

  • operator

    • Control: Fully controlled by the caller.

    • Constraints: None at this level.

    • Impact: The address of the operator to set the status for.

  • approved

    • Control: Fully controlled by the caller.

    • Constraints: None at this level.

    • Impact: The status of the operator.

Branches and code coverage

Intended branches

  • Set msg.sender's status in isOperator for operator to approved.

Zellic © 2025Back to top ↑