Function: changeGuardian(address newGuardian)
This function is used to change the guardian of the contract. It is called only by the current guardian.
Inputs
newGuardian
Control: Arbitrary.
Constraints: The new guardian cannot be the zero address.
Impact: The new guardian of the contract.
Branches and code coverage
Intended branches
Update the guardian with the new address.
Negative behavior
Revert if the caller is not the guardian.
Revert if the new guardian is the zero address.