Versions in this module Expand all Collapse all v0 v0.7.6 Jan 31, 2025 Changes in this version + const Msg_Deposit_FullMethodName + const Msg_SubmitProposal_FullMethodName + const Msg_VoteWeighted_FullMethodName + const Msg_Vote_FullMethodName + const Query_Deposit_FullMethodName + const Query_Deposits_FullMethodName + const Query_Params_FullMethodName + const Query_Proposal_FullMethodName + const Query_Proposals_FullMethodName + const Query_TallyResult_FullMethodName + const Query_Vote_FullMethodName + const Query_Votes_FullMethodName + var File_cosmos_gov_v1beta1_genesis_proto protoreflect.FileDescriptor + var File_cosmos_gov_v1beta1_gov_proto protoreflect.FileDescriptor + var File_cosmos_gov_v1beta1_query_proto protoreflect.FileDescriptor + var File_cosmos_gov_v1beta1_tx_proto protoreflect.FileDescriptor + var Msg_ServiceDesc = grpc.ServiceDesc + var ProposalStatus_name = map[int32]string + var ProposalStatus_value = map[string]int32 + var Query_ServiceDesc = grpc.ServiceDesc + var VoteOption_name = map[int32]string + var VoteOption_value = map[string]int32 + func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) + func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) + type Deposit struct + Amount []*v1beta1.Coin + Depositor string + ProposalId uint64 + func (*Deposit) Descriptor() ([]byte, []int) + func (*Deposit) ProtoMessage() + func (x *Deposit) GetAmount() []*v1beta1.Coin + func (x *Deposit) GetDepositor() string + func (x *Deposit) GetProposalId() uint64 + func (x *Deposit) ProtoReflect() protoreflect.Message + func (x *Deposit) Reset() + func (x *Deposit) String() string + type DepositParams struct + MaxDepositPeriod *durationpb.Duration + MinDeposit []*v1beta1.Coin + func (*DepositParams) Descriptor() ([]byte, []int) + func (*DepositParams) ProtoMessage() + func (x *DepositParams) GetMaxDepositPeriod() *durationpb.Duration + func (x *DepositParams) GetMinDeposit() []*v1beta1.Coin + func (x *DepositParams) ProtoReflect() protoreflect.Message + func (x *DepositParams) Reset() + func (x *DepositParams) String() string + type GenesisState struct + DepositParams *DepositParams + Deposits []*Deposit + Proposals []*Proposal + StartingProposalId uint64 + TallyParams *TallyParams + Votes []*Vote + VotingParams *VotingParams + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (x *GenesisState) GetDepositParams() *DepositParams + func (x *GenesisState) GetDeposits() []*Deposit + func (x *GenesisState) GetProposals() []*Proposal + func (x *GenesisState) GetStartingProposalId() uint64 + func (x *GenesisState) GetTallyParams() *TallyParams + func (x *GenesisState) GetVotes() []*Vote + func (x *GenesisState) GetVotingParams() *VotingParams + func (x *GenesisState) ProtoReflect() protoreflect.Message + func (x *GenesisState) Reset() + func (x *GenesisState) String() string + type MsgClient interface + Deposit func(ctx context.Context, in *MsgDeposit, opts ...grpc.CallOption) (*MsgDepositResponse, error) + SubmitProposal func(ctx context.Context, in *MsgSubmitProposal, opts ...grpc.CallOption) (*MsgSubmitProposalResponse, error) + Vote func(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) + VoteWeighted func(ctx context.Context, in *MsgVoteWeighted, opts ...grpc.CallOption) (*MsgVoteWeightedResponse, error) + func NewMsgClient(cc grpc.ClientConnInterface) MsgClient + type MsgDeposit struct + Amount []*v1beta1.Coin + Depositor string + ProposalId uint64 + func (*MsgDeposit) Descriptor() ([]byte, []int) + func (*MsgDeposit) ProtoMessage() + func (x *MsgDeposit) GetAmount() []*v1beta1.Coin + func (x *MsgDeposit) GetDepositor() string + func (x *MsgDeposit) GetProposalId() uint64 + func (x *MsgDeposit) ProtoReflect() protoreflect.Message + func (x *MsgDeposit) Reset() + func (x *MsgDeposit) String() string + type MsgDepositResponse struct + func (*MsgDepositResponse) Descriptor() ([]byte, []int) + func (*MsgDepositResponse) ProtoMessage() + func (x *MsgDepositResponse) ProtoReflect() protoreflect.Message + func (x *MsgDepositResponse) Reset() + func (x *MsgDepositResponse) String() string + type MsgServer interface + Deposit func(context.Context, *MsgDeposit) (*MsgDepositResponse, error) + SubmitProposal func(context.Context, *MsgSubmitProposal) (*MsgSubmitProposalResponse, error) + Vote func(context.Context, *MsgVote) (*MsgVoteResponse, error) + VoteWeighted func(context.Context, *MsgVoteWeighted) (*MsgVoteWeightedResponse, error) + type MsgSubmitProposal struct + Content *anypb.Any + InitialDeposit []*v1beta1.Coin + Proposer string + func (*MsgSubmitProposal) Descriptor() ([]byte, []int) + func (*MsgSubmitProposal) ProtoMessage() + func (x *MsgSubmitProposal) GetContent() *anypb.Any + func (x *MsgSubmitProposal) GetInitialDeposit() []*v1beta1.Coin + func (x *MsgSubmitProposal) GetProposer() string + func (x *MsgSubmitProposal) ProtoReflect() protoreflect.Message + func (x *MsgSubmitProposal) Reset() + func (x *MsgSubmitProposal) String() string + type MsgSubmitProposalResponse struct + ProposalId uint64 + func (*MsgSubmitProposalResponse) Descriptor() ([]byte, []int) + func (*MsgSubmitProposalResponse) ProtoMessage() + func (x *MsgSubmitProposalResponse) GetProposalId() uint64 + func (x *MsgSubmitProposalResponse) ProtoReflect() protoreflect.Message + func (x *MsgSubmitProposalResponse) Reset() + func (x *MsgSubmitProposalResponse) String() string + type MsgVote struct + Option VoteOption + ProposalId uint64 + Voter string + func (*MsgVote) Descriptor() ([]byte, []int) + func (*MsgVote) ProtoMessage() + func (x *MsgVote) GetOption() VoteOption + func (x *MsgVote) GetProposalId() uint64 + func (x *MsgVote) GetVoter() string + func (x *MsgVote) ProtoReflect() protoreflect.Message + func (x *MsgVote) Reset() + func (x *MsgVote) String() string + type MsgVoteResponse struct + func (*MsgVoteResponse) Descriptor() ([]byte, []int) + func (*MsgVoteResponse) ProtoMessage() + func (x *MsgVoteResponse) ProtoReflect() protoreflect.Message + func (x *MsgVoteResponse) Reset() + func (x *MsgVoteResponse) String() string + type MsgVoteWeighted struct + Options []*WeightedVoteOption + ProposalId uint64 + Voter string + func (*MsgVoteWeighted) Descriptor() ([]byte, []int) + func (*MsgVoteWeighted) ProtoMessage() + func (x *MsgVoteWeighted) GetOptions() []*WeightedVoteOption + func (x *MsgVoteWeighted) GetProposalId() uint64 + func (x *MsgVoteWeighted) GetVoter() string + func (x *MsgVoteWeighted) ProtoReflect() protoreflect.Message + func (x *MsgVoteWeighted) Reset() + func (x *MsgVoteWeighted) String() string + type MsgVoteWeightedResponse struct + func (*MsgVoteWeightedResponse) Descriptor() ([]byte, []int) + func (*MsgVoteWeightedResponse) ProtoMessage() + func (x *MsgVoteWeightedResponse) ProtoReflect() protoreflect.Message + func (x *MsgVoteWeightedResponse) Reset() + func (x *MsgVoteWeightedResponse) String() string + type Proposal struct + Content *anypb.Any + DepositEndTime *timestamppb.Timestamp + FinalTallyResult *TallyResult + ProposalId uint64 + Status ProposalStatus + SubmitTime *timestamppb.Timestamp + TotalDeposit []*v1beta1.Coin + VotingEndTime *timestamppb.Timestamp + VotingStartTime *timestamppb.Timestamp + func (*Proposal) Descriptor() ([]byte, []int) + func (*Proposal) ProtoMessage() + func (x *Proposal) GetContent() *anypb.Any + func (x *Proposal) GetDepositEndTime() *timestamppb.Timestamp + func (x *Proposal) GetFinalTallyResult() *TallyResult + func (x *Proposal) GetProposalId() uint64 + func (x *Proposal) GetStatus() ProposalStatus + func (x *Proposal) GetSubmitTime() *timestamppb.Timestamp + func (x *Proposal) GetTotalDeposit() []*v1beta1.Coin + func (x *Proposal) GetVotingEndTime() *timestamppb.Timestamp + func (x *Proposal) GetVotingStartTime() *timestamppb.Timestamp + func (x *Proposal) ProtoReflect() protoreflect.Message + func (x *Proposal) Reset() + func (x *Proposal) String() string + type ProposalStatus int32 + const ProposalStatus_PROPOSAL_STATUS_DEPOSIT_PERIOD + const ProposalStatus_PROPOSAL_STATUS_FAILED + const ProposalStatus_PROPOSAL_STATUS_PASSED + const ProposalStatus_PROPOSAL_STATUS_REJECTED + const ProposalStatus_PROPOSAL_STATUS_UNSPECIFIED + const ProposalStatus_PROPOSAL_STATUS_VOTING_PERIOD + func (ProposalStatus) Descriptor() protoreflect.EnumDescriptor + func (ProposalStatus) EnumDescriptor() ([]byte, []int) + func (ProposalStatus) Type() protoreflect.EnumType + func (x ProposalStatus) Enum() *ProposalStatus + func (x ProposalStatus) Number() protoreflect.EnumNumber + func (x ProposalStatus) String() string + type QueryClient interface + Deposit func(ctx context.Context, in *QueryDepositRequest, opts ...grpc.CallOption) (*QueryDepositResponse, error) + Deposits func(ctx context.Context, in *QueryDepositsRequest, opts ...grpc.CallOption) (*QueryDepositsResponse, error) + Params func(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) + Proposal func(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) + Proposals func(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) + TallyResult func(ctx context.Context, in *QueryTallyResultRequest, opts ...grpc.CallOption) (*QueryTallyResultResponse, error) + Vote func(ctx context.Context, in *QueryVoteRequest, opts ...grpc.CallOption) (*QueryVoteResponse, error) + Votes func(ctx context.Context, in *QueryVotesRequest, opts ...grpc.CallOption) (*QueryVotesResponse, error) + func NewQueryClient(cc grpc.ClientConnInterface) QueryClient + type QueryDepositRequest struct + Depositor string + ProposalId uint64 + func (*QueryDepositRequest) Descriptor() ([]byte, []int) + func (*QueryDepositRequest) ProtoMessage() + func (x *QueryDepositRequest) GetDepositor() string + func (x *QueryDepositRequest) GetProposalId() uint64 + func (x *QueryDepositRequest) ProtoReflect() protoreflect.Message + func (x *QueryDepositRequest) Reset() + func (x *QueryDepositRequest) String() string + type QueryDepositResponse struct + Deposit *Deposit + func (*QueryDepositResponse) Descriptor() ([]byte, []int) + func (*QueryDepositResponse) ProtoMessage() + func (x *QueryDepositResponse) GetDeposit() *Deposit + func (x *QueryDepositResponse) ProtoReflect() protoreflect.Message + func (x *QueryDepositResponse) Reset() + func (x *QueryDepositResponse) String() string + type QueryDepositsRequest struct + Pagination *v1beta1.PageRequest + ProposalId uint64 + func (*QueryDepositsRequest) Descriptor() ([]byte, []int) + func (*QueryDepositsRequest) ProtoMessage() + func (x *QueryDepositsRequest) GetPagination() *v1beta1.PageRequest + func (x *QueryDepositsRequest) GetProposalId() uint64 + func (x *QueryDepositsRequest) ProtoReflect() protoreflect.Message + func (x *QueryDepositsRequest) Reset() + func (x *QueryDepositsRequest) String() string + type QueryDepositsResponse struct + Deposits []*Deposit + Pagination *v1beta1.PageResponse + func (*QueryDepositsResponse) Descriptor() ([]byte, []int) + func (*QueryDepositsResponse) ProtoMessage() + func (x *QueryDepositsResponse) GetDeposits() []*Deposit + func (x *QueryDepositsResponse) GetPagination() *v1beta1.PageResponse + func (x *QueryDepositsResponse) ProtoReflect() protoreflect.Message + func (x *QueryDepositsResponse) Reset() + func (x *QueryDepositsResponse) String() string + type QueryParamsRequest struct + ParamsType string + func (*QueryParamsRequest) Descriptor() ([]byte, []int) + func (*QueryParamsRequest) ProtoMessage() + func (x *QueryParamsRequest) GetParamsType() string + func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message + func (x *QueryParamsRequest) Reset() + func (x *QueryParamsRequest) String() string + type QueryParamsResponse struct + DepositParams *DepositParams + TallyParams *TallyParams + VotingParams *VotingParams + func (*QueryParamsResponse) Descriptor() ([]byte, []int) + func (*QueryParamsResponse) ProtoMessage() + func (x *QueryParamsResponse) GetDepositParams() *DepositParams + func (x *QueryParamsResponse) GetTallyParams() *TallyParams + func (x *QueryParamsResponse) GetVotingParams() *VotingParams + func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message + func (x *QueryParamsResponse) Reset() + func (x *QueryParamsResponse) String() string + type QueryProposalRequest struct + ProposalId uint64 + func (*QueryProposalRequest) Descriptor() ([]byte, []int) + func (*QueryProposalRequest) ProtoMessage() + func (x *QueryProposalRequest) GetProposalId() uint64 + func (x *QueryProposalRequest) ProtoReflect() protoreflect.Message + func (x *QueryProposalRequest) Reset() + func (x *QueryProposalRequest) String() string + type QueryProposalResponse struct + Proposal *Proposal + func (*QueryProposalResponse) Descriptor() ([]byte, []int) + func (*QueryProposalResponse) ProtoMessage() + func (x *QueryProposalResponse) GetProposal() *Proposal + func (x *QueryProposalResponse) ProtoReflect() protoreflect.Message + func (x *QueryProposalResponse) Reset() + func (x *QueryProposalResponse) String() string + type QueryProposalsRequest struct + Depositor string + Pagination *v1beta1.PageRequest + ProposalStatus ProposalStatus + Voter string + func (*QueryProposalsRequest) Descriptor() ([]byte, []int) + func (*QueryProposalsRequest) ProtoMessage() + func (x *QueryProposalsRequest) GetDepositor() string + func (x *QueryProposalsRequest) GetPagination() *v1beta1.PageRequest + func (x *QueryProposalsRequest) GetProposalStatus() ProposalStatus + func (x *QueryProposalsRequest) GetVoter() string + func (x *QueryProposalsRequest) ProtoReflect() protoreflect.Message + func (x *QueryProposalsRequest) Reset() + func (x *QueryProposalsRequest) String() string + type QueryProposalsResponse struct + Pagination *v1beta1.PageResponse + Proposals []*Proposal + func (*QueryProposalsResponse) Descriptor() ([]byte, []int) + func (*QueryProposalsResponse) ProtoMessage() + func (x *QueryProposalsResponse) GetPagination() *v1beta1.PageResponse + func (x *QueryProposalsResponse) GetProposals() []*Proposal + func (x *QueryProposalsResponse) ProtoReflect() protoreflect.Message + func (x *QueryProposalsResponse) Reset() + func (x *QueryProposalsResponse) String() string + type QueryServer interface + Deposit func(context.Context, *QueryDepositRequest) (*QueryDepositResponse, error) + Deposits func(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error) + Params func(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + Proposal func(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error) + Proposals func(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error) + TallyResult func(context.Context, *QueryTallyResultRequest) (*QueryTallyResultResponse, error) + Vote func(context.Context, *QueryVoteRequest) (*QueryVoteResponse, error) + Votes func(context.Context, *QueryVotesRequest) (*QueryVotesResponse, error) + type QueryTallyResultRequest struct + ProposalId uint64 + func (*QueryTallyResultRequest) Descriptor() ([]byte, []int) + func (*QueryTallyResultRequest) ProtoMessage() + func (x *QueryTallyResultRequest) GetProposalId() uint64 + func (x *QueryTallyResultRequest) ProtoReflect() protoreflect.Message + func (x *QueryTallyResultRequest) Reset() + func (x *QueryTallyResultRequest) String() string + type QueryTallyResultResponse struct + Tally *TallyResult + func (*QueryTallyResultResponse) Descriptor() ([]byte, []int) + func (*QueryTallyResultResponse) ProtoMessage() + func (x *QueryTallyResultResponse) GetTally() *TallyResult + func (x *QueryTallyResultResponse) ProtoReflect() protoreflect.Message + func (x *QueryTallyResultResponse) Reset() + func (x *QueryTallyResultResponse) String() string + type QueryVoteRequest struct + ProposalId uint64 + Voter string + func (*QueryVoteRequest) Descriptor() ([]byte, []int) + func (*QueryVoteRequest) ProtoMessage() + func (x *QueryVoteRequest) GetProposalId() uint64 + func (x *QueryVoteRequest) GetVoter() string + func (x *QueryVoteRequest) ProtoReflect() protoreflect.Message + func (x *QueryVoteRequest) Reset() + func (x *QueryVoteRequest) String() string + type QueryVoteResponse struct + Vote *Vote + func (*QueryVoteResponse) Descriptor() ([]byte, []int) + func (*QueryVoteResponse) ProtoMessage() + func (x *QueryVoteResponse) GetVote() *Vote + func (x *QueryVoteResponse) ProtoReflect() protoreflect.Message + func (x *QueryVoteResponse) Reset() + func (x *QueryVoteResponse) String() string + type QueryVotesRequest struct + Pagination *v1beta1.PageRequest + ProposalId uint64 + func (*QueryVotesRequest) Descriptor() ([]byte, []int) + func (*QueryVotesRequest) ProtoMessage() + func (x *QueryVotesRequest) GetPagination() *v1beta1.PageRequest + func (x *QueryVotesRequest) GetProposalId() uint64 + func (x *QueryVotesRequest) ProtoReflect() protoreflect.Message + func (x *QueryVotesRequest) Reset() + func (x *QueryVotesRequest) String() string + type QueryVotesResponse struct + Pagination *v1beta1.PageResponse + Votes []*Vote + func (*QueryVotesResponse) Descriptor() ([]byte, []int) + func (*QueryVotesResponse) ProtoMessage() + func (x *QueryVotesResponse) GetPagination() *v1beta1.PageResponse + func (x *QueryVotesResponse) GetVotes() []*Vote + func (x *QueryVotesResponse) ProtoReflect() protoreflect.Message + func (x *QueryVotesResponse) Reset() + func (x *QueryVotesResponse) String() string + type TallyParams struct + Quorum []byte + Threshold []byte + VetoThreshold []byte + func (*TallyParams) Descriptor() ([]byte, []int) + func (*TallyParams) ProtoMessage() + func (x *TallyParams) GetQuorum() []byte + func (x *TallyParams) GetThreshold() []byte + func (x *TallyParams) GetVetoThreshold() []byte + func (x *TallyParams) ProtoReflect() protoreflect.Message + func (x *TallyParams) Reset() + func (x *TallyParams) String() string + type TallyResult struct + Abstain string + No string + NoWithVeto string + Yes string + func (*TallyResult) Descriptor() ([]byte, []int) + func (*TallyResult) ProtoMessage() + func (x *TallyResult) GetAbstain() string + func (x *TallyResult) GetNo() string + func (x *TallyResult) GetNoWithVeto() string + func (x *TallyResult) GetYes() string + func (x *TallyResult) ProtoReflect() protoreflect.Message + func (x *TallyResult) Reset() + func (x *TallyResult) String() string + type TextProposal struct + Description string + Title string + func (*TextProposal) Descriptor() ([]byte, []int) + func (*TextProposal) ProtoMessage() + func (x *TextProposal) GetDescription() string + func (x *TextProposal) GetTitle() string + func (x *TextProposal) ProtoReflect() protoreflect.Message + func (x *TextProposal) Reset() + func (x *TextProposal) String() string + type UnimplementedMsgServer struct + func (UnimplementedMsgServer) Deposit(context.Context, *MsgDeposit) (*MsgDepositResponse, error) + func (UnimplementedMsgServer) SubmitProposal(context.Context, *MsgSubmitProposal) (*MsgSubmitProposalResponse, error) + func (UnimplementedMsgServer) Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) + func (UnimplementedMsgServer) VoteWeighted(context.Context, *MsgVoteWeighted) (*MsgVoteWeightedResponse, error) + type UnimplementedQueryServer struct + func (UnimplementedQueryServer) Deposit(context.Context, *QueryDepositRequest) (*QueryDepositResponse, error) + func (UnimplementedQueryServer) Deposits(context.Context, *QueryDepositsRequest) (*QueryDepositsResponse, error) + func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) + func (UnimplementedQueryServer) Proposal(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error) + func (UnimplementedQueryServer) Proposals(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error) + func (UnimplementedQueryServer) TallyResult(context.Context, *QueryTallyResultRequest) (*QueryTallyResultResponse, error) + func (UnimplementedQueryServer) Vote(context.Context, *QueryVoteRequest) (*QueryVoteResponse, error) + func (UnimplementedQueryServer) Votes(context.Context, *QueryVotesRequest) (*QueryVotesResponse, error) + type UnsafeMsgServer interface + type UnsafeQueryServer interface + type Vote struct + Option VoteOption + Options []*WeightedVoteOption + ProposalId uint64 + Voter string + func (*Vote) Descriptor() ([]byte, []int) + func (*Vote) ProtoMessage() + func (x *Vote) GetOption() VoteOption + func (x *Vote) GetOptions() []*WeightedVoteOption + func (x *Vote) GetProposalId() uint64 + func (x *Vote) GetVoter() string + func (x *Vote) ProtoReflect() protoreflect.Message + func (x *Vote) Reset() + func (x *Vote) String() string + type VoteOption int32 + const VoteOption_VOTE_OPTION_ABSTAIN + const VoteOption_VOTE_OPTION_NO + const VoteOption_VOTE_OPTION_NO_WITH_VETO + const VoteOption_VOTE_OPTION_UNSPECIFIED + const VoteOption_VOTE_OPTION_YES + func (VoteOption) Descriptor() protoreflect.EnumDescriptor + func (VoteOption) EnumDescriptor() ([]byte, []int) + func (VoteOption) Type() protoreflect.EnumType + func (x VoteOption) Enum() *VoteOption + func (x VoteOption) Number() protoreflect.EnumNumber + func (x VoteOption) String() string + type VotingParams struct + VotingPeriod *durationpb.Duration + func (*VotingParams) Descriptor() ([]byte, []int) + func (*VotingParams) ProtoMessage() + func (x *VotingParams) GetVotingPeriod() *durationpb.Duration + func (x *VotingParams) ProtoReflect() protoreflect.Message + func (x *VotingParams) Reset() + func (x *VotingParams) String() string + type WeightedVoteOption struct + Option VoteOption + Weight string + func (*WeightedVoteOption) Descriptor() ([]byte, []int) + func (*WeightedVoteOption) ProtoMessage() + func (x *WeightedVoteOption) GetOption() VoteOption + func (x *WeightedVoteOption) GetWeight() string + func (x *WeightedVoteOption) ProtoReflect() protoreflect.Message + func (x *WeightedVoteOption) Reset() + func (x *WeightedVoteOption) String() string