Function: setClaimManager(address _newClaimManager)
This function is used to set the address of the contract, which is allowed to claim points or withdraw tokens on behalf of users.
Inputs
_newClaimManager
Control: Arbitrary.
Constraints: Not zero address.
Impact: Address of the
claimManager
.
Branches and code coverage
Intended branches
Updates the
claimManager
variable.
Negative behavior
Reverts if the new claim-manager address is zero.
Reverts if the caller is not the owner.