Function: claim(address _receiver)
Allows claiming of rewards.
Inputs
_receiverControl: Fully controlled by the caller.
Constraints: None.
Impact: The destination for the claimed rewards.
Branches and code coverage (including function calls)
Intended branches
Deletes the
claimableRewardformsg.sender.Transfers the
tokenAmountof reward tokens to the_receiver.
Negative behavior
Should not be callable if
isPrivateClaimingModeistrue.Should not leave any rewards to be claimed again.