Validator Execution Rewards
Ethereum validators are rewarded in two ways -
Consensus rewards: All validators get rewards for attesting Ethereum blocks that is distributed directly to their withdrawal address
Execution/Block Proposer rewards: Validators earn this reward as tips paid whenever they get the opportunity to propose a block. The reward address is set by the validator client, and the address can be different from the consensus reward address. The address can be changed by the validator anytime
For Nexus Network, the proposer rewards are directed to the Validator Execution Reward Contract. The contract stores a mapping of rollups and their corresponding validators to determine the rewards generated by each validator. The rollup can claim these rewards whenever their validator proposes a block. The following functions are used for the implementation:
Change Reward Bot Address: Nexus Network uses this function to set a bot address that fetches information about the incoming rewards and updates the allocation of rewards to particular rollups
Update Reward Rollup: The bot registered in the previous step updates the reward details using this function. It contains all the rollup proposer rewards that have been earned by their validators
Claim Reward: Rollups can use this function to claim their pending proposer rewards
Last updated