Assessment reports>Cove>Threat Model>setProtocolTreasury

Function: setProtocolTreasury(address treasury)

This function is used to set the protocol treasury address.

Inputs

  • treasury

    • Control: Fully controlled by the caller.

    • Constraints: Checked that it is not the zero address.

    • Impact: The new treasury address.

Branches and code coverage

Intended branches

  • Update the protocol treasury address.

Negative behavior

  • Revert if treasury is the zero address.

Zellic © 2025Back to top ↑