VoteMsg class

Vote transactions for proposals.

Read more: Binance Chain Docs / Amino encoding / Vote (https://docs.binance.org/guides/concepts/encoding/amino-example.html#vote) Or Wiki of repo on GitHub

Inheritance

Constructors

VoteMsg(int proposal_id, VoteOption vote_option, Wallet wallet)

Properties

AMINO_MESSAGE_TYPE String
final
hashCode int
The hash code for this object.
no setterinherited
INCLUDE_AMINO_LENGTH_PREFIX bool
getter/setter pairinherited
memo String?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
wallet Wallet?
no setterinherited
wallets List<Wallet?>
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
to_amino([Map<String, dynamic>? withJsonAndSign, Wallet? wallet]) Uint8List
inherited
to_hex_data() String
inherited
to_hex_dataV2([Map<String, dynamic>? withJsonAndSign, Wallet? wallet]) String
inherited
to_map() Map
override
to_protobuf() → Vote
override
to_protobuf_with_sign(Map<String, dynamic> withJsonAndSign, Wallet? wallet) → dynamic
inherited
toString() String
A string representation of this object.
inherited

Operators

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