OsmosisValidatorPreferenceMsgDelegateToValidatorSet class
MsgDelegateToValidatorSet allows users to delegate to an existing validator-set
- Inheritance
-
- Object
- CosmosProtocolBuffer
- CosmosMessage
- OsmosisValidatorPreferenceMsgDelegateToValidatorSet
- Mixed in types
Constructors
- OsmosisValidatorPreferenceMsgDelegateToValidatorSet({String? delegator, required Coin coin})
-
const
-
OsmosisValidatorPreferenceMsgDelegateToValidatorSet.deserialize(List<
int> bytes) -
factory
Properties
- coin → Coin
-
the amount of tokens the user is trying to delegate.
For ex: delegate 10osmo with validator-set {ValA -> 0.5, ValB -> 0.3, ValC
-> 0.2} our staking logic would attempt to delegate 5osmo to A , 3osmo to
B, 2osmo to C.
final
- delegator → String?
-
delegator is the user who is trying to delegate.
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
- service → String
-
no setteroverride
-
signers
→ List<
String?> -
no setteroverride
- 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
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onResponse(
List< int> bytes) → EmptyServiceRequestResponse -
override
-
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