BlockRewards class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

BlockRewards({required String feeSink, required int rewardsCalculationRound, required int rewardsLevel, required String rewardsPool, required int rewardsRate, required int 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 int
number of leftover MicroAlgos after the distribution of rewards-rate MicroAlgos for every reward unit in the next round.
final
rewardsLevel int
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 int
Number of new MicroAlgos added to the participation stake from rewards at the next round.
final
rewardsResidue int
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