Function: setTreasuryAddress(address newTreasury)
This function updates the destination address for treasury operations — only callable by ADMIN_ROLE holders.
Inputs
newTreasuryControl: N/A.
Constraints: Must be nonzero.
Impact: Updates the
_treasuryAddressstate variable.
Branches and code coverage
Intended branches
Update the
_treasuryAddresswith the new treasury address.
Negative behavior
Non-admin callers revert.
Function call analysis
None.