Fields relating to rewards,

Implements

Constructors

  • Creates a new BlockRewards object.

    Parameters

    • __namedParameters: {
          feeSink: string;
          rewardsCalculationRound: number | bigint;
          rewardsLevel: number | bigint;
          rewardsPool: string;
          rewardsRate: number | bigint;
          rewardsResidue: number | bigint;
      }
      • feeSink: string
      • rewardsCalculationRound: number | bigint
      • rewardsLevel: number | bigint
      • rewardsPool: string
      • rewardsRate: number | bigint
      • rewardsResidue: number | bigint

    Returns BlockRewards

Properties

feeSink: string

(fees) accepts transaction fees, it can only spend to the incentive pool.

rewardsCalculationRound: bigint

(rwcalr) number of leftover MicroAlgos after the distribution of rewards-rate MicroAlgos for every reward unit in the next round.

rewardsLevel: bigint

(earn) How many rewards, in MicroAlgos, have been distributed to each RewardUnit of MicroAlgos since genesis.

rewardsPool: string

(rwd) accepts periodic injections from the fee-sink and continually redistributes them as rewards.

rewardsRate: bigint

(rate) Number of new MicroAlgos added to the participation stake from rewards at the next round.

rewardsResidue: bigint

(frac) Number of leftover MicroAlgos after the distribution of RewardsRate/rewardUnits MicroAlgos for every reward unit in the next round.

encodingSchemaValue: undefined | Schema

Accessors

Methods

Generated using TypeDoc