Builder

class Builder
cosmos-sdk/MsgVote defines a message to cast a vote.
Protobuf type TW.Cosmos.Proto.Message.MsgVote

Functions

Link copied to clipboard
.TW.Cosmos.Proto.Message.VoteOption option = 3;
Link copied to clipboard
uint64 proposal_id = 1;
Link copied to clipboard
string voter = 2;
Link copied to clipboard
open fun getOption(): VoteOption
.TW.Cosmos.Proto.Message.VoteOption option = 3;
Link copied to clipboard
open fun getOptionValue(): Int
.TW.Cosmos.Proto.Message.VoteOption option = 3;
Link copied to clipboard
open fun getProposalId(): Long
uint64 proposal_id = 1;
Link copied to clipboard
open fun getVoter(): String
string voter = 2;
Link copied to clipboard
open fun getVoterBytes(): ByteString
string voter = 2;
Link copied to clipboard
open fun setOption(value: VoteOption): Cosmos.Message.MsgVote.Builder
.TW.Cosmos.Proto.Message.VoteOption option = 3;
Link copied to clipboard
.TW.Cosmos.Proto.Message.VoteOption option = 3;
Link copied to clipboard
uint64 proposal_id = 1;
Link copied to clipboard
string voter = 2;
Link copied to clipboard
open fun setVoterBytes(value: ByteString): Cosmos.Message.MsgVote.Builder
string voter = 2;