InflationGovernor class
An inflation governor
- Annotations
-
- @JsonSerializable()
Constructors
- InflationGovernor({required double initial, required double terminal, required double taper, required double foundation, required double foundationTerm})
-
const
-
InflationGovernor.fromJson(Map<
String, dynamic> json) -
factory
Properties
- foundation → double
-
Percentage of total inflation allocated to the foundation.
final
- foundationTerm → double
-
Duration of foundation pool inflation in years.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initial → double
-
The initial inflation percentage from time 0.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taper → double
-
Rate per year at which inflation is lowered.\nRate
reduction is derived using the target slot time in genesis
config.
final
- terminal → double
-
Terminal inflation percentage.
final
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