Delegation via validator shares
Technical specification:
uint256 public validatorId; // Delegation contract for validator
uint256 public validatorRewards; // accumulated rewards for validator
uint256 public commissionRate; // validator's cut %
uint256 public validatorDelegatorRatio = 10; // to be implemented/used
uint256 public totalStake;
uint256 public rewards; // rewards for pool of delegation stake
uint256 public activeAmount; // # of tokens delegated which are part of active stake
ExchangeRate = (totalDelegatedPower + delegatorRewardPool) / totalDelegatorSharesMethods and variables:
buyVoucher:
sellVoucher:
withdrawRewards:
reStake:
unStakeClaimTokens:
updateCommissionRate:
updateRewards:
Last updated