Vote represents a vote for a proposal.

from message cosmos.group.v1.Vote

Hierarchy

Constructors

Properties

metadata: string = ""

metadata is any arbitrary metadata attached to the vote.

from field: string metadata = 4;

option: proto.cosmos.group.v1.VoteOption = VoteOption.UNSPECIFIED

option is the voter's choice on the proposal.

from field: cosmos.group.v1.VoteOption option = 3;

proposalId: bigint = protoInt64.zero

proposal is the unique ID of the proposal.

from field: uint64 proposal_id = 1;

submitTime?: Timestamp

submit_time is the timestamp when the vote was submitted.

from field: google.protobuf.Timestamp submit_time = 5;

voter: string = ""

voter is the account address of the voter.

from field: string voter = 2;

fields: FieldList = ...
runtime: ProtoRuntime = proto3
typeName: "cosmos.group.v1.Vote" = "cosmos.group.v1.Vote"

Methods