Versions in this module Expand all Collapse all v1 v1.0.3 Apr 12, 2024 v1.0.2 Apr 3, 2024 v1.0.1 Apr 2, 2024 v1.0.0 Mar 15, 2024 Changes in this version + const Msg_AddGovernor_FullMethodName + const Msg_AnswerPoll_FullMethodName + const Msg_Propose_FullMethodName + const Msg_RemoveGovernor_FullMethodName + const Msg_StartPoll_FullMethodName + const Msg_UpdateParams_FullMethodName + const Msg_Vote_FullMethodName + const Query_Current_FullMethodName + const Query_Government_FullMethodName + const Query_History_FullMethodName + const Query_Params_FullMethodName + const Query_PollHistory_FullMethodName + const Query_Poll_FullMethodName + var Decision_name = map[int32]string + var Decision_value = map[string]int32 + var File_axiome_vote_v1beta1_events_proto protoreflect.FileDescriptor + var File_axiome_vote_v1beta1_genesis_proto protoreflect.FileDescriptor + var File_axiome_vote_v1beta1_params_proto protoreflect.FileDescriptor + var File_axiome_vote_v1beta1_query_proto protoreflect.FileDescriptor + var File_axiome_vote_v1beta1_tx_proto protoreflect.FileDescriptor + var File_axiome_vote_v1beta1_types_proto protoreflect.FileDescriptor + var Msg_ServiceDesc = grpc.ServiceDesc + var Query_ServiceDesc = grpc.ServiceDesc + func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer) + func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer) + type CurrentRequest struct + func (*CurrentRequest) Descriptor() ([]byte, []int) + func (*CurrentRequest) ProtoMessage() + func (x *CurrentRequest) ProtoReflect() protoreflect.Message + func (x *CurrentRequest) Reset() + func (x *CurrentRequest) String() string + type CurrentResponse struct + Agreed []string + Disagreed []string + Government []string + Proposal *Proposal + func (*CurrentResponse) Descriptor() ([]byte, []int) + func (*CurrentResponse) ProtoMessage() + func (x *CurrentResponse) GetAgreed() []string + func (x *CurrentResponse) GetDisagreed() []string + func (x *CurrentResponse) GetGovernment() []string + func (x *CurrentResponse) GetProposal() *Proposal + func (x *CurrentResponse) ProtoReflect() protoreflect.Message + func (x *CurrentResponse) Reset() + func (x *CurrentResponse) String() string + type Decision int32 + const Decision_DECISION_NEGATIVE + const Decision_DECISION_POSITIVE + const Decision_DECISION_UNSPECIFIED + func (Decision) Descriptor() protoreflect.EnumDescriptor + func (Decision) EnumDescriptor() ([]byte, []int) + func (Decision) Type() protoreflect.EnumType + func (x Decision) Enum() *Decision + func (x Decision) Number() protoreflect.EnumNumber + func (x Decision) String() string + type EventPollFinished struct + Decision Decision + Name string + No uint64 + Yes uint64 + func (*EventPollFinished) Descriptor() ([]byte, []int) + func (*EventPollFinished) ProtoMessage() + func (x *EventPollFinished) GetDecision() Decision + func (x *EventPollFinished) GetName() string + func (x *EventPollFinished) GetNo() uint64 + func (x *EventPollFinished) GetYes() uint64 + func (x *EventPollFinished) ProtoReflect() protoreflect.Message + func (x *EventPollFinished) Reset() + func (x *EventPollFinished) String() string + type EventProposalCreated struct + Author string + Name string + func (*EventProposalCreated) Descriptor() ([]byte, []int) + func (*EventProposalCreated) ProtoMessage() + func (x *EventProposalCreated) GetAuthor() string + func (x *EventProposalCreated) GetName() string + func (x *EventProposalCreated) ProtoReflect() protoreflect.Message + func (x *EventProposalCreated) Reset() + func (x *EventProposalCreated) String() string + type EventProposalVote struct + Agreed bool + Voter string + func (*EventProposalVote) Descriptor() ([]byte, []int) + func (*EventProposalVote) ProtoMessage() + func (x *EventProposalVote) GetAgreed() bool + func (x *EventProposalVote) GetVoter() string + func (x *EventProposalVote) ProtoReflect() protoreflect.Message + func (x *EventProposalVote) Reset() + func (x *EventProposalVote) String() string + type EventvoteFinished struct + Agreed bool + Name string + func (*EventvoteFinished) Descriptor() ([]byte, []int) + func (*EventvoteFinished) ProtoMessage() + func (x *EventvoteFinished) GetAgreed() bool + func (x *EventvoteFinished) GetName() string + func (x *EventvoteFinished) ProtoReflect() protoreflect.Message + func (x *EventvoteFinished) Reset() + func (x *EventvoteFinished) String() string + type GenesisState struct + Agreed []string + CurrentPoll *Poll + CurrentProposal *Proposal + Disagreed []string + Government []string + History []*ProposalHistoryRecord + Params *Params + PollAnswers []*PollAnswer + PollHistory []*PollHistoryItem + StartBlock int64 + func (*GenesisState) Descriptor() ([]byte, []int) + func (*GenesisState) ProtoMessage() + func (x *GenesisState) GetAgreed() []string + func (x *GenesisState) GetCurrentPoll() *Poll + func (x *GenesisState) GetCurrentProposal() *Proposal + func (x *GenesisState) GetDisagreed() []string + func (x *GenesisState) GetGovernment() []string + func (x *GenesisState) GetHistory() []*ProposalHistoryRecord + func (x *GenesisState) GetParams() *Params + func (x *GenesisState) GetPollAnswers() []*PollAnswer + func (x *GenesisState) GetPollHistory() []*PollHistoryItem + func (x *GenesisState) GetStartBlock() int64 + func (x *GenesisState) ProtoReflect() protoreflect.Message + func (x *GenesisState) Reset() + func (x *GenesisState) String() string + type Government struct + Members []string + func (*Government) Descriptor() ([]byte, []int) + func (*Government) ProtoMessage() + func (x *Government) GetMembers() []string + func (x *Government) ProtoReflect() protoreflect.Message + func (x *Government) Reset() + func (x *Government) String() string + type GovernmentRequest struct + func (*GovernmentRequest) Descriptor() ([]byte, []int) + func (*GovernmentRequest) ProtoMessage() + func (x *GovernmentRequest) ProtoReflect() protoreflect.Message + func (x *GovernmentRequest) Reset() + func (x *GovernmentRequest) String() string + type GovernmentResponse struct + Members []string + func (*GovernmentResponse) Descriptor() ([]byte, []int) + func (*GovernmentResponse) ProtoMessage() + func (x *GovernmentResponse) GetMembers() []string + func (x *GovernmentResponse) ProtoReflect() protoreflect.Message + func (x *GovernmentResponse) Reset() + func (x *GovernmentResponse) String() string + type HistoryRequest struct + Limit int32 + Page int32 + func (*HistoryRequest) Descriptor() ([]byte, []int) + func (*HistoryRequest) ProtoMessage() + func (x *HistoryRequest) GetLimit() int32 + func (x *HistoryRequest) GetPage() int32 + func (x *HistoryRequest) ProtoReflect() protoreflect.Message + func (x *HistoryRequest) Reset() + func (x *HistoryRequest) String() string + type HistoryResponse struct + History []*ProposalHistoryRecord + func (*HistoryResponse) Descriptor() ([]byte, []int) + func (*HistoryResponse) ProtoMessage() + func (x *HistoryResponse) GetHistory() []*ProposalHistoryRecord + func (x *HistoryResponse) ProtoReflect() protoreflect.Message + func (x *HistoryResponse) Reset() + func (x *HistoryResponse) String() string + type MsgAddGovernor struct + Authority string + Governor string + func (*MsgAddGovernor) Descriptor() ([]byte, []int) + func (*MsgAddGovernor) ProtoMessage() + func (x *MsgAddGovernor) GetAuthority() string + func (x *MsgAddGovernor) GetGovernor() string + func (x *MsgAddGovernor) ProtoReflect() protoreflect.Message + func (x *MsgAddGovernor) Reset() + func (x *MsgAddGovernor) String() string + type MsgAddGovernorResponse struct + func (*MsgAddGovernorResponse) Descriptor() ([]byte, []int) + func (*MsgAddGovernorResponse) ProtoMessage() + func (x *MsgAddGovernorResponse) ProtoReflect() protoreflect.Message + func (x *MsgAddGovernorResponse) Reset() + func (x *MsgAddGovernorResponse) String() string + type MsgAnswerPoll struct + Respondent string + Yes bool + func (*MsgAnswerPoll) Descriptor() ([]byte, []int) + func (*MsgAnswerPoll) ProtoMessage() + func (x *MsgAnswerPoll) GetRespondent() string + func (x *MsgAnswerPoll) GetYes() bool + func (x *MsgAnswerPoll) ProtoReflect() protoreflect.Message + func (x *MsgAnswerPoll) Reset() + func (x *MsgAnswerPoll) String() string + type MsgAnswerPollResponse struct + func (*MsgAnswerPollResponse) Descriptor() ([]byte, []int) + func (*MsgAnswerPollResponse) ProtoMessage() + func (x *MsgAnswerPollResponse) ProtoReflect() protoreflect.Message + func (x *MsgAnswerPollResponse) Reset() + func (x *MsgAnswerPollResponse) String() string + type MsgClient interface + AddGovernor func(ctx context.Context, in *MsgAddGovernor, opts ...grpc.CallOption) (*MsgAddGovernorResponse, error) + AnswerPoll func(ctx context.Context, in *MsgAnswerPoll, opts ...grpc.CallOption) (*MsgAnswerPollResponse, error) + Propose func(ctx context.Context, in *MsgPropose, opts ...grpc.CallOption) (*MsgProposeResponse, error) + RemoveGovernor func(ctx context.Context, in *MsgRemoveGovernor, opts ...grpc.CallOption) (*MsgRemoveGovernorResponse, error) + StartPoll func(ctx context.Context, in *MsgStartPoll, opts ...grpc.CallOption) (*MsgStartPollResponse, error) + UpdateParams func(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) + Vote func(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error) + func NewMsgClient(cc grpc.ClientConnInterface) MsgClient + type MsgPropose struct + Author string + Messages []*anypb.Any + Name string + func (*MsgPropose) Descriptor() ([]byte, []int) + func (*MsgPropose) ProtoMessage() + func (x *MsgPropose) GetAuthor() string + func (x *MsgPropose) GetMessages() []*anypb.Any + func (x *MsgPropose) GetName() string + func (x *MsgPropose) ProtoReflect() protoreflect.Message + func (x *MsgPropose) Reset() + func (x *MsgPropose) String() string + type MsgProposeResponse struct + func (*MsgProposeResponse) Descriptor() ([]byte, []int) + func (*MsgProposeResponse) ProtoMessage() + func (x *MsgProposeResponse) ProtoReflect() protoreflect.Message + func (x *MsgProposeResponse) Reset() + func (x *MsgProposeResponse) String() string + type MsgRemoveGovernor struct + Authority string + Governor string + func (*MsgRemoveGovernor) Descriptor() ([]byte, []int) + func (*MsgRemoveGovernor) ProtoMessage() + func (x *MsgRemoveGovernor) GetAuthority() string + func (x *MsgRemoveGovernor) GetGovernor() string + func (x *MsgRemoveGovernor) ProtoReflect() protoreflect.Message + func (x *MsgRemoveGovernor) Reset() + func (x *MsgRemoveGovernor) String() string + type MsgRemoveGovernorResponse struct + func (*MsgRemoveGovernorResponse) Descriptor() ([]byte, []int) + func (*MsgRemoveGovernorResponse) ProtoMessage() + func (x *MsgRemoveGovernorResponse) ProtoReflect() protoreflect.Message + func (x *MsgRemoveGovernorResponse) Reset() + func (x *MsgRemoveGovernorResponse) String() string + type MsgServer interface + AddGovernor func(context.Context, *MsgAddGovernor) (*MsgAddGovernorResponse, error) + AnswerPoll func(context.Context, *MsgAnswerPoll) (*MsgAnswerPollResponse, error) + Propose func(context.Context, *MsgPropose) (*MsgProposeResponse, error) + RemoveGovernor func(context.Context, *MsgRemoveGovernor) (*MsgRemoveGovernorResponse, error) + StartPoll func(context.Context, *MsgStartPoll) (*MsgStartPollResponse, error) + UpdateParams func(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + Vote func(context.Context, *MsgVote) (*MsgVoteResponse, error) + type MsgStartPoll struct + Author string + Poll *Poll + func (*MsgStartPoll) Descriptor() ([]byte, []int) + func (*MsgStartPoll) ProtoMessage() + func (x *MsgStartPoll) GetAuthor() string + func (x *MsgStartPoll) GetPoll() *Poll + func (x *MsgStartPoll) ProtoReflect() protoreflect.Message + func (x *MsgStartPoll) Reset() + func (x *MsgStartPoll) String() string + type MsgStartPollResponse struct + func (*MsgStartPollResponse) Descriptor() ([]byte, []int) + func (*MsgStartPollResponse) ProtoMessage() + func (x *MsgStartPollResponse) ProtoReflect() protoreflect.Message + func (x *MsgStartPollResponse) Reset() + func (x *MsgStartPollResponse) String() string + type MsgUpdateParams struct + Authority string + Params *Params + func (*MsgUpdateParams) Descriptor() ([]byte, []int) + func (*MsgUpdateParams) ProtoMessage() + func (x *MsgUpdateParams) GetAuthority() string + func (x *MsgUpdateParams) GetParams() *Params + func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message + func (x *MsgUpdateParams) Reset() + func (x *MsgUpdateParams) String() string + type MsgUpdateParamsResponse struct + func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) + func (*MsgUpdateParamsResponse) ProtoMessage() + func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message + func (x *MsgUpdateParamsResponse) Reset() + func (x *MsgUpdateParamsResponse) String() string + type MsgVote struct + Agree bool + Voter string + func (*MsgVote) Descriptor() ([]byte, []int) + func (*MsgVote) ProtoMessage() + func (x *MsgVote) GetAgree() bool + 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 Params struct + PollPeriod int32 + VotePeriod int32 + func (*Params) Descriptor() ([]byte, []int) + func (*Params) ProtoMessage() + func (x *Params) GetPollPeriod() int32 + func (x *Params) GetVotePeriod() int32 + func (x *Params) ProtoReflect() protoreflect.Message + func (x *Params) Reset() + func (x *Params) String() string + type ParamsRequest struct + func (*ParamsRequest) Descriptor() ([]byte, []int) + func (*ParamsRequest) ProtoMessage() + func (x *ParamsRequest) ProtoReflect() protoreflect.Message + func (x *ParamsRequest) Reset() + func (x *ParamsRequest) String() string + type ParamsResponse struct + Params *Params + func (*ParamsResponse) Descriptor() ([]byte, []int) + func (*ParamsResponse) ProtoMessage() + func (x *ParamsResponse) GetParams() *Params + func (x *ParamsResponse) ProtoReflect() protoreflect.Message + func (x *ParamsResponse) Reset() + func (x *ParamsResponse) String() string + type Poll struct + Author string + EndTime *timestamppb.Timestamp + Name string + Question string + Quorum string + Requirements isPoll_Requirements + StartTime *timestamppb.Timestamp + func (*Poll) Descriptor() ([]byte, []int) + func (*Poll) ProtoMessage() + func (x *Poll) GetAuthor() string + func (x *Poll) GetCanValidate() *Poll_Unit + func (x *Poll) GetEndTime() *timestamppb.Timestamp + func (x *Poll) GetMinStatus() v1beta1.Status + func (x *Poll) GetName() string + func (x *Poll) GetQuestion() string + func (x *Poll) GetQuorum() string + func (x *Poll) GetRequirements() isPoll_Requirements + func (x *Poll) GetStartTime() *timestamppb.Timestamp + func (x *Poll) ProtoReflect() protoreflect.Message + func (x *Poll) Reset() + func (x *Poll) String() string + type PollAnswer struct + Acc string + Ans bool + func (*PollAnswer) Descriptor() ([]byte, []int) + func (*PollAnswer) ProtoMessage() + func (x *PollAnswer) GetAcc() string + func (x *PollAnswer) GetAns() bool + func (x *PollAnswer) ProtoReflect() protoreflect.Message + func (x *PollAnswer) Reset() + func (x *PollAnswer) String() string + type PollHistoryItem struct + Decision Decision + No uint64 + Poll *Poll + Yes uint64 + func (*PollHistoryItem) Descriptor() ([]byte, []int) + func (*PollHistoryItem) ProtoMessage() + func (x *PollHistoryItem) GetDecision() Decision + func (x *PollHistoryItem) GetNo() uint64 + func (x *PollHistoryItem) GetPoll() *Poll + func (x *PollHistoryItem) GetYes() uint64 + func (x *PollHistoryItem) ProtoReflect() protoreflect.Message + func (x *PollHistoryItem) Reset() + func (x *PollHistoryItem) String() string + type PollHistoryRequest struct + Limit int32 + Page int32 + func (*PollHistoryRequest) Descriptor() ([]byte, []int) + func (*PollHistoryRequest) ProtoMessage() + func (x *PollHistoryRequest) GetLimit() int32 + func (x *PollHistoryRequest) GetPage() int32 + func (x *PollHistoryRequest) ProtoReflect() protoreflect.Message + func (x *PollHistoryRequest) Reset() + func (x *PollHistoryRequest) String() string + type PollHistoryResponse struct + History []*PollHistoryItem + func (*PollHistoryResponse) Descriptor() ([]byte, []int) + func (*PollHistoryResponse) ProtoMessage() + func (x *PollHistoryResponse) GetHistory() []*PollHistoryItem + func (x *PollHistoryResponse) ProtoReflect() protoreflect.Message + func (x *PollHistoryResponse) Reset() + func (x *PollHistoryResponse) String() string + type PollRequest struct + func (*PollRequest) Descriptor() ([]byte, []int) + func (*PollRequest) ProtoMessage() + func (x *PollRequest) ProtoReflect() protoreflect.Message + func (x *PollRequest) Reset() + func (x *PollRequest) String() string + type PollResponse struct + No uint64 + Poll *Poll + Yes uint64 + func (*PollResponse) Descriptor() ([]byte, []int) + func (*PollResponse) ProtoMessage() + func (x *PollResponse) GetNo() uint64 + func (x *PollResponse) GetPoll() *Poll + func (x *PollResponse) GetYes() uint64 + func (x *PollResponse) ProtoReflect() protoreflect.Message + func (x *PollResponse) Reset() + func (x *PollResponse) String() string + type Poll_CanValidate struct + CanValidate *Poll_Unit + type Poll_MinStatus struct + MinStatus v1beta1.Status + type Poll_Unit struct + func (*Poll_Unit) Descriptor() ([]byte, []int) + func (*Poll_Unit) ProtoMessage() + func (x *Poll_Unit) ProtoReflect() protoreflect.Message + func (x *Poll_Unit) Reset() + func (x *Poll_Unit) String() string + type Proposal struct + Author string + EndTime *timestamppb.Timestamp + Messages []*anypb.Any + Name string + func (*Proposal) Descriptor() ([]byte, []int) + func (*Proposal) ProtoMessage() + func (x *Proposal) GetAuthor() string + func (x *Proposal) GetEndTime() *timestamppb.Timestamp + func (x *Proposal) GetMessages() []*anypb.Any + func (x *Proposal) GetName() string + func (x *Proposal) ProtoReflect() protoreflect.Message + func (x *Proposal) Reset() + func (x *Proposal) String() string + type ProposalHistoryRecord struct + Agreed []string + Disagreed []string + Finished int64 + Government []string + Proposal *Proposal + Started int64 + func (*ProposalHistoryRecord) Descriptor() ([]byte, []int) + func (*ProposalHistoryRecord) ProtoMessage() + func (x *ProposalHistoryRecord) GetAgreed() []string + func (x *ProposalHistoryRecord) GetDisagreed() []string + func (x *ProposalHistoryRecord) GetFinished() int64 + func (x *ProposalHistoryRecord) GetGovernment() []string + func (x *ProposalHistoryRecord) GetProposal() *Proposal + func (x *ProposalHistoryRecord) GetStarted() int64 + func (x *ProposalHistoryRecord) ProtoReflect() protoreflect.Message + func (x *ProposalHistoryRecord) Reset() + func (x *ProposalHistoryRecord) String() string + type QueryClient interface + Current func(ctx context.Context, in *CurrentRequest, opts ...grpc.CallOption) (*CurrentResponse, error) + Government func(ctx context.Context, in *GovernmentRequest, opts ...grpc.CallOption) (*GovernmentResponse, error) + History func(ctx context.Context, in *HistoryRequest, opts ...grpc.CallOption) (*HistoryResponse, error) + Params func(ctx context.Context, in *ParamsRequest, opts ...grpc.CallOption) (*ParamsResponse, error) + Poll func(ctx context.Context, in *PollRequest, opts ...grpc.CallOption) (*PollResponse, error) + PollHistory func(ctx context.Context, in *PollHistoryRequest, opts ...grpc.CallOption) (*PollHistoryResponse, error) + func NewQueryClient(cc grpc.ClientConnInterface) QueryClient + type QueryServer interface + Current func(context.Context, *CurrentRequest) (*CurrentResponse, error) + Government func(context.Context, *GovernmentRequest) (*GovernmentResponse, error) + History func(context.Context, *HistoryRequest) (*HistoryResponse, error) + Params func(context.Context, *ParamsRequest) (*ParamsResponse, error) + Poll func(context.Context, *PollRequest) (*PollResponse, error) + PollHistory func(context.Context, *PollHistoryRequest) (*PollHistoryResponse, error) + type UnimplementedMsgServer struct + func (UnimplementedMsgServer) AddGovernor(context.Context, *MsgAddGovernor) (*MsgAddGovernorResponse, error) + func (UnimplementedMsgServer) AnswerPoll(context.Context, *MsgAnswerPoll) (*MsgAnswerPollResponse, error) + func (UnimplementedMsgServer) Propose(context.Context, *MsgPropose) (*MsgProposeResponse, error) + func (UnimplementedMsgServer) RemoveGovernor(context.Context, *MsgRemoveGovernor) (*MsgRemoveGovernorResponse, error) + func (UnimplementedMsgServer) StartPoll(context.Context, *MsgStartPoll) (*MsgStartPollResponse, error) + func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) + func (UnimplementedMsgServer) Vote(context.Context, *MsgVote) (*MsgVoteResponse, error) + type UnimplementedQueryServer struct + func (UnimplementedQueryServer) Current(context.Context, *CurrentRequest) (*CurrentResponse, error) + func (UnimplementedQueryServer) Government(context.Context, *GovernmentRequest) (*GovernmentResponse, error) + func (UnimplementedQueryServer) History(context.Context, *HistoryRequest) (*HistoryResponse, error) + func (UnimplementedQueryServer) Params(context.Context, *ParamsRequest) (*ParamsResponse, error) + func (UnimplementedQueryServer) Poll(context.Context, *PollRequest) (*PollResponse, error) + func (UnimplementedQueryServer) PollHistory(context.Context, *PollHistoryRequest) (*PollHistoryResponse, error) + type UnsafeMsgServer interface + type UnsafeQueryServer interface