DistributionParams class
Params defines the set of params for the distribution module.
- Inheritance
-
- Object
- CosmosProtocolBuffer
- CosmosMessage
- DistributionParams
Constructors
- DistributionParams({required String communityTax, String? baseProposerReward, String? bonusProposerReward, bool? withdrawAddrEnabled})
-
const
-
DistributionParams.deserialize(List<
int> bytes) -
factory
Properties
- baseProposerReward → String?
-
Deprecated: The base_proposer_reward field is deprecated and is no longer used
in the x/distribution module's reward mechanism.
final
- bonusProposerReward → String?
-
Deprecated: The bonus_proposer_reward field is deprecated and is no longer used
in the x/distribution module's reward mechanism.
final
- communityTax → String
-
final
-
fieldIds
→ List<
int> -
List of field IDs corresponding to the values.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- toHex → String
-
Gets the hexadecimal representation of the protocol buffer data.
no setterinherited
- typeUrl → String
-
no setteroverride
- values → List
-
List of dynamic values to be encoded.
no setteroverride
- withdrawAddrEnabled → bool?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toAny(
) → Any -
inherited
-
toBuffer(
) → List< int> -
Converts the protocol buffer data to a byte buffer.
inherited
-
toJson(
) → Map< String, dynamic> -
Converts the data to a JSON representation.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited