prETH
tokens. The tokens are mapped 1 to 1 to ETH. prETH
is the amount that is above the effective balance of all the validators registered for the StakeWise Permissioned Pool. ​ ​psETH
amount has changed. The staker starts earning a bigger or smaller portion of the rewards because he now holds more/less psETH
.prETH
tokens to a different address. The staker will continue earning rewards as usual but his prETH
balance will decrease by the amount of transferred prETH
.rewardPerToken
- the number of earned prETH
tokens per every psETH
tokenreward
- the staker's total prETH
balance calculated based on the rewardPerToken
updateTotalRewards
function in the RewardEthToken contract. When the total rewards are updated, the new value of rewardPerToken
is calculated.rewardPerToken
is smaller than the previous value, it means that the Permissioned Pool's validators have received a penalty. Every staker's current reward gets reduced proportionally to their share of the total supply of psETH
. rewardPerToken
is greater than the previous value, it means that the Permissioned Pool's rewards have increased. The amount of prETH
tokens of every psETH
holder is then increased based on their share of the total supply of psETH
. prETH
tokens for each individual staker is calculated based on the following formula when calling the balanceOf
function:psETH
lands in a contract that does not support the redistribution of prETH
that it begins to accumulate, StakeWise governance (or Admin) can disable the accrual of prETH
to that contract by calling the setRewardsDisabled
function in the RewardEthToken contract. The function will divert all the prETH
that would be accruing (and unclaimable) from the contract with psETH
into the MerkleDistributor contract.