Claiming Rewards
Claim Process
At the end of each distribution period, addresses that are delegating or designated as Authorized Claimers can claim their rewards.
Claim Execution
Rewards are claimed by calling the 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).If the wallet is already delegating on Base, the newly acquired tokens are automatically delegated to the same operator, conforming to the ERC20Votes specification.
To view the current reward claimable by 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
.Was this page helpful?