Function: setTreasuryAddress(address newTreasury)
This function is used to set the treasury address.
Inputs
newTreasury
Control: Arbitrary.
Constraints: None.
Impact: Address of the new treasury.
Branches and code coverage
Intended branches
Updates
sAlkimiyaTreasury
withnewTreasury
.
Negative behavior
Reverts if the caller is not the owner.
Reverts if
newTreasury
is the zero address.