Reward allocation

In eRon Blockchain, validators are entitled to rewards for transaction execution activities. Each transaction bears an associated execution cost, with 15/16 of this cost directed towards the validator. However, 1/16 of the reward is allocated to the system treasury, earmarked for fulfilling system requisites like bridging cost coverage. It's crucial to note that not the entirety of block rewards accrues to the validator's owner; a portion is also distributed among delegators.

Validator Reward Allocation

Upon the creation of a new validator by its owner, a commission rate must be specified. This rate dictates the percentage of the block reward channeled to the validator owner. Expressed as a uint16 value, the commission rate corresponds to a percentage encoded as N%*100. For instance, 0.01%*100 translates to 1, while 99%*100 equals 9900. Consequently, the commission rate ranges from 0% to 99.99%. However, practical implementation imposes a limit of 30% to curb validators from setting excessively high commission rates.

Delegator Reward Framework

Delegator rewards are contingent upon their total staked amount at a given validator. The computation of delegator rewards adheres to a universal formula:

                        
                          
                            rewardsPerBlock * myDelegatedAmount / totalDelegated
                          
                        
                      

Notably, this calculation pertains to individual validators. Delegators with stakes across multiple validators aggregate their rewards by summing up per-validator rewards.