Skip to content

Rewards Distribution Period

In Rewards Distribution Period the admin updates the user 's rewards according to the formula:


Formula
  • rewards - rewards already earned by the user, rewards earned from previous staking windows
  • deposited - user's deposits from previous staking windows plus deposit in this staking window during the Staking/Withdrawal Period
  • newDeposit - user's deposit in this staking window
  • totalDeposited - the sum of all deposited and accrued rewards to users in Staking/Withdrawal Period that was before current Rewards Distribution Period
  • totalRewards - how much rewards did the admin promise to deposit in the next staking window in order to distribute them among stakers