BlockRewards class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

BlockRewards({required String feeSink, required BigInt rewardsCalculationRound, required BigInt rewardsLevel, required String rewardsPool, required BigInt rewardsRate, required BigInt rewardsResidue})
BlockRewards.fromJson(Map<String, dynamic> json)
factory

Properties

feeSink String
accepts transaction fees, it can only spend to the incentive pool.
final
hashCode int
The hash code for this object.
no setterinherited
rewardsCalculationRound BigInt
number of leftover MicroAlgos after the distribution of rewards-rate MicroAlgos for every reward unit in the next round.
final
rewardsLevel BigInt
How many rewards, in MicroAlgos, have been distributed to each RewardUnit of MicroAlgos since genesis.
final
rewardsPool String
accepts periodic injections from the fee-sink and continually redistributes them as rewards.
final
rewardsRate BigInt
Number of new MicroAlgos added to the participation stake from rewards at the next round.
final
rewardsResidue BigInt
Number of leftover MicroAlgos after the distribution of RewardsRate/rewardUnits MicroAlgos for every reward unit in the next round.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited