VoteOption

VoteOption enumerates the valid vote options for a given governance proposal.
Protobuf enum TW.Cosmos.Proto.Message.VoteOption

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
open fun internalGetValueMap(): EnumLiteMap<VoteOption>
Link copied to clipboard
open fun internalGetVerifier(): EnumVerifier
Link copied to clipboard

Returns the enum constant of this type with the specified name.
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
_UNSPECIFIED defines a no-op vote option.
_UNSPECIFIED = 0;
Link copied to clipboard
ABSTAIN defines an abstain vote option.
ABSTAIN = 2;
Link copied to clipboard
val NO_VALUE: Int = 3
NO defines a no vote option.
NO = 3;
Link copied to clipboard
NO_WITH_VETO defines a no with veto vote option.
NO_WITH_VETO = 4;
Link copied to clipboard
val YES_VALUE: Int = 1
YES defines a yes vote option.
YES = 1;