claimReward(address beneficiary, address recipient) function on the RewardsDistribution contract, which transfers the tokens to the recipient’s wallet.
The claimReward function is called from the claimer address, who is either the beneficiary or an authorized claimer that can claim the reward for the beneficiary.
claimReward function is called from the BaseRegistry contract address (see contracts).claimReward in wei, call currentReward(address beneficiary) on the RewardsDistribution contract from the BaseRegistry diamond contract.
The following example shows how to call currentReward from the BaseRegistry diamond contract with cast:
1e18.