Function: setProtocolTreasury(address treasury)
This function is used to set the protocol treasury address.
Inputs
treasuryControl: 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
treasuryis the zero address.