Documentation
¶
Overview ¶
Package group is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisterTypes(registry cdctypes.InterfaceRegistry)
- func VerifyAggregateSignature(msgs [][]byte, msgCheck bool, sig []byte, pkss [][]cryptotypes.PubKey) error
- type AccAddresses
- type Choice
- type DecisionPolicy
- type DecisionPolicyResult
- type EventCreateGroup
- func (*EventCreateGroup) Descriptor() ([]byte, []int)
- func (m *EventCreateGroup) GetGroupId() uint64
- func (m *EventCreateGroup) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGroup) ProtoMessage()
- func (m *EventCreateGroup) Reset()
- func (m *EventCreateGroup) Size() (n int)
- func (m *EventCreateGroup) String() string
- func (m *EventCreateGroup) Unmarshal(dAtA []byte) error
- func (m *EventCreateGroup) XXX_DiscardUnknown()
- func (m *EventCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGroup) XXX_Merge(src proto.Message)
- func (m *EventCreateGroup) XXX_Size() int
- func (m *EventCreateGroup) XXX_Unmarshal(b []byte) error
- type EventCreateGroupAccount
- func (*EventCreateGroupAccount) Descriptor() ([]byte, []int)
- func (m *EventCreateGroupAccount) GetAddress() string
- func (m *EventCreateGroupAccount) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGroupAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGroupAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGroupAccount) ProtoMessage()
- func (m *EventCreateGroupAccount) Reset()
- func (m *EventCreateGroupAccount) Size() (n int)
- func (m *EventCreateGroupAccount) String() string
- func (m *EventCreateGroupAccount) Unmarshal(dAtA []byte) error
- func (m *EventCreateGroupAccount) XXX_DiscardUnknown()
- func (m *EventCreateGroupAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGroupAccount) XXX_Merge(src proto.Message)
- func (m *EventCreateGroupAccount) XXX_Size() int
- func (m *EventCreateGroupAccount) XXX_Unmarshal(b []byte) error
- type EventCreatePoll
- func (*EventCreatePoll) Descriptor() ([]byte, []int)
- func (m *EventCreatePoll) GetPollId() uint64
- func (m *EventCreatePoll) Marshal() (dAtA []byte, err error)
- func (m *EventCreatePoll) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreatePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreatePoll) ProtoMessage()
- func (m *EventCreatePoll) Reset()
- func (m *EventCreatePoll) Size() (n int)
- func (m *EventCreatePoll) String() string
- func (m *EventCreatePoll) Unmarshal(dAtA []byte) error
- func (m *EventCreatePoll) XXX_DiscardUnknown()
- func (m *EventCreatePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreatePoll) XXX_Merge(src proto.Message)
- func (m *EventCreatePoll) XXX_Size() int
- func (m *EventCreatePoll) XXX_Unmarshal(b []byte) error
- type EventCreateProposal
- func (*EventCreateProposal) Descriptor() ([]byte, []int)
- func (m *EventCreateProposal) GetProposalId() uint64
- func (m *EventCreateProposal) Marshal() (dAtA []byte, err error)
- func (m *EventCreateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateProposal) ProtoMessage()
- func (m *EventCreateProposal) Reset()
- func (m *EventCreateProposal) Size() (n int)
- func (m *EventCreateProposal) String() string
- func (m *EventCreateProposal) Unmarshal(dAtA []byte) error
- func (m *EventCreateProposal) XXX_DiscardUnknown()
- func (m *EventCreateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateProposal) XXX_Merge(src proto.Message)
- func (m *EventCreateProposal) XXX_Size() int
- func (m *EventCreateProposal) XXX_Unmarshal(b []byte) error
- type EventExec
- func (*EventExec) Descriptor() ([]byte, []int)
- func (m *EventExec) GetProposalId() uint64
- func (m *EventExec) Marshal() (dAtA []byte, err error)
- func (m *EventExec) MarshalTo(dAtA []byte) (int, error)
- func (m *EventExec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventExec) ProtoMessage()
- func (m *EventExec) Reset()
- func (m *EventExec) Size() (n int)
- func (m *EventExec) String() string
- func (m *EventExec) Unmarshal(dAtA []byte) error
- func (m *EventExec) XXX_DiscardUnknown()
- func (m *EventExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventExec) XXX_Merge(src proto.Message)
- func (m *EventExec) XXX_Size() int
- func (m *EventExec) XXX_Unmarshal(b []byte) error
- type EventUpdateGroup
- func (*EventUpdateGroup) Descriptor() ([]byte, []int)
- func (m *EventUpdateGroup) GetGroupId() uint64
- func (m *EventUpdateGroup) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateGroup) ProtoMessage()
- func (m *EventUpdateGroup) Reset()
- func (m *EventUpdateGroup) Size() (n int)
- func (m *EventUpdateGroup) String() string
- func (m *EventUpdateGroup) Unmarshal(dAtA []byte) error
- func (m *EventUpdateGroup) XXX_DiscardUnknown()
- func (m *EventUpdateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateGroup) XXX_Merge(src proto.Message)
- func (m *EventUpdateGroup) XXX_Size() int
- func (m *EventUpdateGroup) XXX_Unmarshal(b []byte) error
- type EventUpdateGroupAccount
- func (*EventUpdateGroupAccount) Descriptor() ([]byte, []int)
- func (m *EventUpdateGroupAccount) GetAddress() string
- func (m *EventUpdateGroupAccount) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateGroupAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateGroupAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateGroupAccount) ProtoMessage()
- func (m *EventUpdateGroupAccount) Reset()
- func (m *EventUpdateGroupAccount) Size() (n int)
- func (m *EventUpdateGroupAccount) String() string
- func (m *EventUpdateGroupAccount) Unmarshal(dAtA []byte) error
- func (m *EventUpdateGroupAccount) XXX_DiscardUnknown()
- func (m *EventUpdateGroupAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateGroupAccount) XXX_Merge(src proto.Message)
- func (m *EventUpdateGroupAccount) XXX_Size() int
- func (m *EventUpdateGroupAccount) XXX_Unmarshal(b []byte) error
- type EventVote
- func (*EventVote) Descriptor() ([]byte, []int)
- func (m *EventVote) GetProposalId() uint64
- func (m *EventVote) Marshal() (dAtA []byte, err error)
- func (m *EventVote) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVote) ProtoMessage()
- func (m *EventVote) Reset()
- func (m *EventVote) Size() (n int)
- func (m *EventVote) String() string
- func (m *EventVote) Unmarshal(dAtA []byte) error
- func (m *EventVote) XXX_DiscardUnknown()
- func (m *EventVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVote) XXX_Merge(src proto.Message)
- func (m *EventVote) XXX_Size() int
- func (m *EventVote) XXX_Unmarshal(b []byte) error
- type EventVotePoll
- func (*EventVotePoll) Descriptor() ([]byte, []int)
- func (m *EventVotePoll) GetPollId() uint64
- func (m *EventVotePoll) Marshal() (dAtA []byte, err error)
- func (m *EventVotePoll) MarshalTo(dAtA []byte) (int, error)
- func (m *EventVotePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventVotePoll) ProtoMessage()
- func (m *EventVotePoll) Reset()
- func (m *EventVotePoll) Size() (n int)
- func (m *EventVotePoll) String() string
- func (m *EventVotePoll) Unmarshal(dAtA []byte) error
- func (m *EventVotePoll) XXX_DiscardUnknown()
- func (m *EventVotePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventVotePoll) XXX_Merge(src proto.Message)
- func (m *EventVotePoll) XXX_Size() int
- func (m *EventVotePoll) XXX_Unmarshal(b []byte) error
- type Exec
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetGroupAccountSeq() uint64
- func (m *GenesisState) GetGroupAccounts() []*GroupAccountInfo
- func (m *GenesisState) GetGroupMembers() []*GroupMember
- func (m *GenesisState) GetGroupSeq() uint64
- func (m *GenesisState) GetGroups() []*GroupInfo
- func (m *GenesisState) GetPollSeq() uint64
- func (m *GenesisState) GetPolls() []*Poll
- func (m *GenesisState) GetProposalSeq() uint64
- func (m *GenesisState) GetProposals() []*Proposal
- func (m *GenesisState) GetVotes() []*Vote
- func (m *GenesisState) GetVotesForPoll() []*VotePoll
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (s GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (s GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GroupAccountInfo
- func (*GroupAccountInfo) Descriptor() ([]byte, []int)
- func (this *GroupAccountInfo) Equal(that interface{}) bool
- func (g GroupAccountInfo) GetDecisionPolicy() DecisionPolicy
- func (m *GroupAccountInfo) Marshal() (dAtA []byte, err error)
- func (m *GroupAccountInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupAccountInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (g GroupAccountInfo) PrimaryKeyFields() []interface{}
- func (*GroupAccountInfo) ProtoMessage()
- func (m *GroupAccountInfo) Reset()
- func (g *GroupAccountInfo) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
- func (m *GroupAccountInfo) Size() (n int)
- func (m *GroupAccountInfo) String() string
- func (m *GroupAccountInfo) Unmarshal(dAtA []byte) error
- func (g GroupAccountInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (g GroupAccountInfo) ValidateBasic() error
- func (m *GroupAccountInfo) XXX_DiscardUnknown()
- func (m *GroupAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupAccountInfo) XXX_Merge(src proto.Message)
- func (m *GroupAccountInfo) XXX_Size() int
- func (m *GroupAccountInfo) XXX_Unmarshal(b []byte) error
- type GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)
- func (m *GroupInfo) GetAdmin() string
- func (m *GroupInfo) GetBlsOnly() bool
- func (m *GroupInfo) GetGroupId() uint64
- func (m *GroupInfo) GetMetadata() []byte
- func (m *GroupInfo) GetTotalWeight() string
- func (m *GroupInfo) GetVersion() uint64
- func (m *GroupInfo) Marshal() (dAtA []byte, err error)
- func (m *GroupInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (g GroupInfo) PrimaryKeyFields() []interface{}
- func (*GroupInfo) ProtoMessage()
- func (m *GroupInfo) Reset()
- func (m *GroupInfo) Size() (n int)
- func (m *GroupInfo) String() string
- func (m *GroupInfo) Unmarshal(dAtA []byte) error
- func (g GroupInfo) ValidateBasic() error
- func (m *GroupInfo) XXX_DiscardUnknown()
- func (m *GroupInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupInfo) XXX_Merge(src proto.Message)
- func (m *GroupInfo) XXX_Size() int
- func (m *GroupInfo) XXX_Unmarshal(b []byte) error
- type GroupMember
- func (*GroupMember) Descriptor() ([]byte, []int)
- func (m *GroupMember) GetGroupId() uint64
- func (m *GroupMember) GetMember() *Member
- func (m *GroupMember) Marshal() (dAtA []byte, err error)
- func (m *GroupMember) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (g GroupMember) PrimaryKeyFields() []interface{}
- func (*GroupMember) ProtoMessage()
- func (m *GroupMember) Reset()
- func (m *GroupMember) Size() (n int)
- func (m *GroupMember) String() string
- func (m *GroupMember) Unmarshal(dAtA []byte) error
- func (g GroupMember) ValidateBasic() error
- func (m *GroupMember) XXX_DiscardUnknown()
- func (m *GroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupMember) XXX_Merge(src proto.Message)
- func (m *GroupMember) XXX_Size() int
- func (m *GroupMember) XXX_Unmarshal(b []byte) error
- type ID
- type Member
- func (*Member) Descriptor() ([]byte, []int)
- func (m *Member) GetAddress() string
- func (m *Member) GetMetadata() []byte
- func (m *Member) GetWeight() string
- func (m *Member) Marshal() (dAtA []byte, err error)
- func (m *Member) MarshalTo(dAtA []byte) (int, error)
- func (m *Member) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Member) ProtoMessage()
- func (m *Member) Reset()
- func (m *Member) Size() (n int)
- func (m *Member) String() string
- func (m *Member) Unmarshal(dAtA []byte) error
- func (m Member) ValidateBasic() error
- func (m *Member) XXX_DiscardUnknown()
- func (m *Member) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Member) XXX_Merge(src proto.Message)
- func (m *Member) XXX_Size() int
- func (m *Member) XXX_Unmarshal(b []byte) error
- type Members
- func (*Members) Descriptor() ([]byte, []int)
- func (m *Members) GetMembers() []Member
- func (m *Members) Marshal() (dAtA []byte, err error)
- func (m *Members) MarshalTo(dAtA []byte) (int, error)
- func (m *Members) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Members) ProtoMessage()
- func (m *Members) Reset()
- func (m *Members) Size() (n int)
- func (m *Members) String() string
- func (m *Members) Unmarshal(dAtA []byte) error
- func (ms Members) ValidateBasic() error
- func (m *Members) XXX_DiscardUnknown()
- func (m *Members) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Members) XXX_Merge(src proto.Message)
- func (m *Members) XXX_Size() int
- func (m *Members) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgCreateGroup
- func (*MsgCreateGroup) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroup) GetAdmin() string
- func (m *MsgCreateGroup) GetBlsOnly() bool
- func (m *MsgCreateGroup) GetMembers() []Member
- func (m *MsgCreateGroup) GetMetadata() []byte
- func (m MsgCreateGroup) GetSignBytes() []byte
- func (m MsgCreateGroup) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGroup) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroup) ProtoMessage()
- func (m *MsgCreateGroup) Reset()
- func (m MsgCreateGroup) Route() string
- func (m *MsgCreateGroup) Size() (n int)
- func (m *MsgCreateGroup) String() string
- func (m MsgCreateGroup) Type() string
- func (m *MsgCreateGroup) Unmarshal(dAtA []byte) error
- func (m MsgCreateGroup) ValidateBasic() error
- func (m *MsgCreateGroup) XXX_DiscardUnknown()
- func (m *MsgCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroup) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroup) XXX_Size() int
- func (m *MsgCreateGroup) XXX_Unmarshal(b []byte) error
- type MsgCreateGroupAccount
- func (*MsgCreateGroupAccount) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupAccount) GetAdmin() string
- func (m *MsgCreateGroupAccount) GetDecisionPolicy() DecisionPolicy
- func (m *MsgCreateGroupAccount) GetGroupID() uint64
- func (m *MsgCreateGroupAccount) GetMetadata() []byte
- func (m MsgCreateGroupAccount) GetSignBytes() []byte
- func (m MsgCreateGroupAccount) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGroupAccount) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupAccount) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupAccount) ProtoMessage()
- func (m *MsgCreateGroupAccount) Reset()
- func (m MsgCreateGroupAccount) Route() string
- func (m *MsgCreateGroupAccount) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
- func (m *MsgCreateGroupAccount) Size() (n int)
- func (m *MsgCreateGroupAccount) String() string
- func (m MsgCreateGroupAccount) Type() string
- func (m *MsgCreateGroupAccount) Unmarshal(dAtA []byte) error
- func (m MsgCreateGroupAccount) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgCreateGroupAccount) ValidateBasic() error
- func (m *MsgCreateGroupAccount) XXX_DiscardUnknown()
- func (m *MsgCreateGroupAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupAccount) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupAccount) XXX_Size() int
- func (m *MsgCreateGroupAccount) XXX_Unmarshal(b []byte) error
- type MsgCreateGroupAccountResponse
- func (*MsgCreateGroupAccountResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupAccountResponse) GetAddress() string
- func (m *MsgCreateGroupAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupAccountResponse) ProtoMessage()
- func (m *MsgCreateGroupAccountResponse) Reset()
- func (m *MsgCreateGroupAccountResponse) Size() (n int)
- func (m *MsgCreateGroupAccountResponse) String() string
- func (m *MsgCreateGroupAccountResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGroupAccountResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGroupAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupAccountResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupAccountResponse) XXX_Size() int
- func (m *MsgCreateGroupAccountResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateGroupResponse
- func (*MsgCreateGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupResponse) GetGroupId() uint64
- func (m *MsgCreateGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupResponse) ProtoMessage()
- func (m *MsgCreateGroupResponse) Reset()
- func (m *MsgCreateGroupResponse) Size() (n int)
- func (m *MsgCreateGroupResponse) String() string
- func (m *MsgCreateGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupResponse) XXX_Size() int
- func (m *MsgCreateGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgCreatePoll
- func (*MsgCreatePoll) Descriptor() ([]byte, []int)
- func (m MsgCreatePoll) GetSignBytes() []byte
- func (m MsgCreatePoll) GetSigners() []sdk.AccAddress
- func (m *MsgCreatePoll) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePoll) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePoll) ProtoMessage()
- func (m *MsgCreatePoll) Reset()
- func (m MsgCreatePoll) Route() string
- func (m *MsgCreatePoll) Size() (n int)
- func (m *MsgCreatePoll) String() string
- func (m MsgCreatePoll) Type() string
- func (m *MsgCreatePoll) Unmarshal(dAtA []byte) error
- func (m MsgCreatePoll) ValidateBasic() error
- func (m *MsgCreatePoll) XXX_DiscardUnknown()
- func (m *MsgCreatePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePoll) XXX_Merge(src proto.Message)
- func (m *MsgCreatePoll) XXX_Size() int
- func (m *MsgCreatePoll) XXX_Unmarshal(b []byte) error
- type MsgCreatePollResponse
- func (*MsgCreatePollResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreatePollResponse) GetPollId() uint64
- func (m *MsgCreatePollResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreatePollResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreatePollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreatePollResponse) ProtoMessage()
- func (m *MsgCreatePollResponse) Reset()
- func (m *MsgCreatePollResponse) Size() (n int)
- func (m *MsgCreatePollResponse) String() string
- func (m *MsgCreatePollResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreatePollResponse) XXX_DiscardUnknown()
- func (m *MsgCreatePollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreatePollResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreatePollResponse) XXX_Size() int
- func (m *MsgCreatePollResponse) XXX_Unmarshal(b []byte) error
- type MsgCreateProposal
- func (*MsgCreateProposal) Descriptor() ([]byte, []int)
- func (m MsgCreateProposal) GetMsgs() []sdk.Msg
- func (m MsgCreateProposal) GetSignBytes() []byte
- func (m MsgCreateProposal) GetSigners() []sdk.AccAddress
- func (m *MsgCreateProposal) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProposal) ProtoMessage()
- func (m *MsgCreateProposal) Reset()
- func (m MsgCreateProposal) Route() string
- func (m *MsgCreateProposal) SetMsgs(msgs []sdk.Msg) error
- func (m *MsgCreateProposal) Size() (n int)
- func (m *MsgCreateProposal) String() string
- func (m MsgCreateProposal) Type() string
- func (m *MsgCreateProposal) Unmarshal(dAtA []byte) error
- func (m MsgCreateProposal) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgCreateProposal) ValidateBasic() error
- func (m *MsgCreateProposal) XXX_DiscardUnknown()
- func (m *MsgCreateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProposal) XXX_Merge(src proto.Message)
- func (m *MsgCreateProposal) XXX_Size() int
- func (m *MsgCreateProposal) XXX_Unmarshal(b []byte) error
- type MsgCreateProposalResponse
- func (*MsgCreateProposalResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateProposalResponse) GetProposalId() uint64
- func (m *MsgCreateProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateProposalResponse) ProtoMessage()
- func (m *MsgCreateProposalResponse) Reset()
- func (m *MsgCreateProposalResponse) Size() (n int)
- func (m *MsgCreateProposalResponse) String() string
- func (m *MsgCreateProposalResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateProposalResponse) XXX_DiscardUnknown()
- func (m *MsgCreateProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateProposalResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateProposalResponse) XXX_Size() int
- func (m *MsgCreateProposalResponse) XXX_Unmarshal(b []byte) error
- type MsgExec
- func (*MsgExec) Descriptor() ([]byte, []int)
- func (m *MsgExec) GetProposalId() uint64
- func (m MsgExec) GetSignBytes() []byte
- func (m *MsgExec) GetSigner() string
- func (m MsgExec) GetSigners() []sdk.AccAddress
- func (m *MsgExec) Marshal() (dAtA []byte, err error)
- func (m *MsgExec) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExec) ProtoMessage()
- func (m *MsgExec) Reset()
- func (m MsgExec) Route() string
- func (m *MsgExec) Size() (n int)
- func (m *MsgExec) String() string
- func (m MsgExec) Type() string
- func (m *MsgExec) Unmarshal(dAtA []byte) error
- func (m MsgExec) ValidateBasic() error
- func (m *MsgExec) XXX_DiscardUnknown()
- func (m *MsgExec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExec) XXX_Merge(src proto.Message)
- func (m *MsgExec) XXX_Size() int
- func (m *MsgExec) XXX_Unmarshal(b []byte) error
- type MsgExecResponse
- func (*MsgExecResponse) Descriptor() ([]byte, []int)
- func (m *MsgExecResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgExecResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgExecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgExecResponse) ProtoMessage()
- func (m *MsgExecResponse) Reset()
- func (m *MsgExecResponse) Size() (n int)
- func (m *MsgExecResponse) String() string
- func (m *MsgExecResponse) Unmarshal(dAtA []byte) error
- func (m *MsgExecResponse) XXX_DiscardUnknown()
- func (m *MsgExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgExecResponse) XXX_Merge(src proto.Message)
- func (m *MsgExecResponse) XXX_Size() int
- func (m *MsgExecResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgUpdateGroupAccountAdmin
- func (*MsgUpdateGroupAccountAdmin) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAccountAdmin) GetAddress() string
- func (m *MsgUpdateGroupAccountAdmin) GetAdmin() string
- func (m *MsgUpdateGroupAccountAdmin) GetNewAdmin() string
- func (m MsgUpdateGroupAccountAdmin) GetSignBytes() []byte
- func (m MsgUpdateGroupAccountAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupAccountAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAccountAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAccountAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAccountAdmin) ProtoMessage()
- func (m *MsgUpdateGroupAccountAdmin) Reset()
- func (m MsgUpdateGroupAccountAdmin) Route() string
- func (m *MsgUpdateGroupAccountAdmin) Size() (n int)
- func (m *MsgUpdateGroupAccountAdmin) String() string
- func (m MsgUpdateGroupAccountAdmin) Type() string
- func (m *MsgUpdateGroupAccountAdmin) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupAccountAdmin) ValidateBasic() error
- func (m *MsgUpdateGroupAccountAdmin) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAccountAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAccountAdmin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAccountAdmin) XXX_Size() int
- func (m *MsgUpdateGroupAccountAdmin) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAccountAdminResponse
- func (*MsgUpdateGroupAccountAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAccountAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAccountAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAccountAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAccountAdminResponse) ProtoMessage()
- func (m *MsgUpdateGroupAccountAdminResponse) Reset()
- func (m *MsgUpdateGroupAccountAdminResponse) Size() (n int)
- func (m *MsgUpdateGroupAccountAdminResponse) String() string
- func (m *MsgUpdateGroupAccountAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupAccountAdminResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAccountAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAccountAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAccountAdminResponse) XXX_Size() int
- func (m *MsgUpdateGroupAccountAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAccountDecisionPolicy
- func (*MsgUpdateGroupAccountDecisionPolicy) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAccountDecisionPolicy) GetDecisionPolicy() DecisionPolicy
- func (m MsgUpdateGroupAccountDecisionPolicy) GetSignBytes() []byte
- func (m MsgUpdateGroupAccountDecisionPolicy) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupAccountDecisionPolicy) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAccountDecisionPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAccountDecisionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAccountDecisionPolicy) ProtoMessage()
- func (m *MsgUpdateGroupAccountDecisionPolicy) Reset()
- func (m MsgUpdateGroupAccountDecisionPolicy) Route() string
- func (m *MsgUpdateGroupAccountDecisionPolicy) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
- func (m *MsgUpdateGroupAccountDecisionPolicy) Size() (n int)
- func (m *MsgUpdateGroupAccountDecisionPolicy) String() string
- func (m MsgUpdateGroupAccountDecisionPolicy) Type() string
- func (m *MsgUpdateGroupAccountDecisionPolicy) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupAccountDecisionPolicy) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgUpdateGroupAccountDecisionPolicy) ValidateBasic() error
- func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Size() int
- func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAccountDecisionPolicyResponse
- func (*MsgUpdateGroupAccountDecisionPolicyResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAccountDecisionPolicyResponse) ProtoMessage()
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Reset()
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Size() (n int)
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) String() string
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Size() int
- func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAccountMetadata
- func (*MsgUpdateGroupAccountMetadata) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAccountMetadata) GetAddress() string
- func (m *MsgUpdateGroupAccountMetadata) GetAdmin() string
- func (m *MsgUpdateGroupAccountMetadata) GetMetadata() []byte
- func (m MsgUpdateGroupAccountMetadata) GetSignBytes() []byte
- func (m MsgUpdateGroupAccountMetadata) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupAccountMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAccountMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAccountMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAccountMetadata) ProtoMessage()
- func (m *MsgUpdateGroupAccountMetadata) Reset()
- func (m MsgUpdateGroupAccountMetadata) Route() string
- func (m *MsgUpdateGroupAccountMetadata) Size() (n int)
- func (m *MsgUpdateGroupAccountMetadata) String() string
- func (m MsgUpdateGroupAccountMetadata) Type() string
- func (m *MsgUpdateGroupAccountMetadata) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupAccountMetadata) ValidateBasic() error
- func (m *MsgUpdateGroupAccountMetadata) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAccountMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAccountMetadata) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAccountMetadata) XXX_Size() int
- func (m *MsgUpdateGroupAccountMetadata) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAccountMetadataResponse
- func (*MsgUpdateGroupAccountMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAccountMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAccountMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAccountMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAccountMetadataResponse) ProtoMessage()
- func (m *MsgUpdateGroupAccountMetadataResponse) Reset()
- func (m *MsgUpdateGroupAccountMetadataResponse) Size() (n int)
- func (m *MsgUpdateGroupAccountMetadataResponse) String() string
- func (m *MsgUpdateGroupAccountMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupAccountMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Size() int
- func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAdmin
- func (*MsgUpdateGroupAdmin) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAdmin) GetAdmin() string
- func (m *MsgUpdateGroupAdmin) GetGroupID() uint64
- func (m *MsgUpdateGroupAdmin) GetGroupId() uint64
- func (m *MsgUpdateGroupAdmin) GetNewAdmin() string
- func (m MsgUpdateGroupAdmin) GetSignBytes() []byte
- func (m MsgUpdateGroupAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAdmin) ProtoMessage()
- func (m *MsgUpdateGroupAdmin) Reset()
- func (m MsgUpdateGroupAdmin) Route() string
- func (m *MsgUpdateGroupAdmin) Size() (n int)
- func (m *MsgUpdateGroupAdmin) String() string
- func (m MsgUpdateGroupAdmin) Type() string
- func (m *MsgUpdateGroupAdmin) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupAdmin) ValidateBasic() error
- func (m *MsgUpdateGroupAdmin) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAdmin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAdmin) XXX_Size() int
- func (m *MsgUpdateGroupAdmin) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupAdminResponse
- func (*MsgUpdateGroupAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupAdminResponse) ProtoMessage()
- func (m *MsgUpdateGroupAdminResponse) Reset()
- func (m *MsgUpdateGroupAdminResponse) Size() (n int)
- func (m *MsgUpdateGroupAdminResponse) String() string
- func (m *MsgUpdateGroupAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupAdminResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupAdminResponse) XXX_Size() int
- func (m *MsgUpdateGroupAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMembers
- func (*MsgUpdateGroupMembers) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMembers) GetAdmin() string
- func (m *MsgUpdateGroupMembers) GetGroupID() uint64
- func (m *MsgUpdateGroupMembers) GetGroupId() uint64
- func (m *MsgUpdateGroupMembers) GetMemberUpdates() []Member
- func (m MsgUpdateGroupMembers) GetSignBytes() []byte
- func (m MsgUpdateGroupMembers) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupMembers) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMembers) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMembers) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMembers) ProtoMessage()
- func (m *MsgUpdateGroupMembers) Reset()
- func (m MsgUpdateGroupMembers) Route() string
- func (m *MsgUpdateGroupMembers) Size() (n int)
- func (m *MsgUpdateGroupMembers) String() string
- func (m MsgUpdateGroupMembers) Type() string
- func (m *MsgUpdateGroupMembers) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupMembers) ValidateBasic() error
- func (m *MsgUpdateGroupMembers) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMembers) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMembers) XXX_Size() int
- func (m *MsgUpdateGroupMembers) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMembersResponse
- func (*MsgUpdateGroupMembersResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMembersResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMembersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMembersResponse) ProtoMessage()
- func (m *MsgUpdateGroupMembersResponse) Reset()
- func (m *MsgUpdateGroupMembersResponse) Size() (n int)
- func (m *MsgUpdateGroupMembersResponse) String() string
- func (m *MsgUpdateGroupMembersResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupMembersResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMembersResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMembersResponse) XXX_Size() int
- func (m *MsgUpdateGroupMembersResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMetadata
- func (*MsgUpdateGroupMetadata) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMetadata) GetAdmin() string
- func (m *MsgUpdateGroupMetadata) GetGroupID() uint64
- func (m *MsgUpdateGroupMetadata) GetGroupId() uint64
- func (m *MsgUpdateGroupMetadata) GetMetadata() []byte
- func (m MsgUpdateGroupMetadata) GetSignBytes() []byte
- func (m MsgUpdateGroupMetadata) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMetadata) ProtoMessage()
- func (m *MsgUpdateGroupMetadata) Reset()
- func (m MsgUpdateGroupMetadata) Route() string
- func (m *MsgUpdateGroupMetadata) Size() (n int)
- func (m *MsgUpdateGroupMetadata) String() string
- func (m MsgUpdateGroupMetadata) Type() string
- func (m *MsgUpdateGroupMetadata) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupMetadata) ValidateBasic() error
- func (m *MsgUpdateGroupMetadata) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMetadata) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMetadata) XXX_Size() int
- func (m *MsgUpdateGroupMetadata) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupMetadataResponse
- func (*MsgUpdateGroupMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupMetadataResponse) ProtoMessage()
- func (m *MsgUpdateGroupMetadataResponse) Reset()
- func (m *MsgUpdateGroupMetadataResponse) Size() (n int)
- func (m *MsgUpdateGroupMetadataResponse) String() string
- func (m *MsgUpdateGroupMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupMetadataResponse) XXX_Size() int
- func (m *MsgUpdateGroupMetadataResponse) XXX_Unmarshal(b []byte) error
- type MsgVote
- func (*MsgVote) Descriptor() ([]byte, []int)
- func (m *MsgVote) GetChoice() Choice
- func (m *MsgVote) GetExec() Exec
- func (m *MsgVote) GetMetadata() []byte
- func (m *MsgVote) GetProposalId() uint64
- func (m MsgVote) GetSignBytes() []byte
- func (m MsgVote) GetSigners() []sdk.AccAddress
- func (m *MsgVote) GetVoter() string
- func (m *MsgVote) Marshal() (dAtA []byte, err error)
- func (m *MsgVote) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVote) ProtoMessage()
- func (m *MsgVote) Reset()
- func (m MsgVote) Route() string
- func (m *MsgVote) Size() (n int)
- func (m *MsgVote) String() string
- func (m MsgVote) Type() string
- func (m *MsgVote) Unmarshal(dAtA []byte) error
- func (m MsgVote) ValidateBasic() error
- func (m *MsgVote) XXX_DiscardUnknown()
- func (m *MsgVote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVote) XXX_Merge(src proto.Message)
- func (m *MsgVote) XXX_Size() int
- func (m *MsgVote) XXX_Unmarshal(b []byte) error
- type MsgVoteAgg
- func (*MsgVoteAgg) Descriptor() ([]byte, []int)
- func (m *MsgVoteAgg) GetAggSig() []byte
- func (m *MsgVoteAgg) GetExec() Exec
- func (m *MsgVoteAgg) GetExpiry() types1.Timestamp
- func (m *MsgVoteAgg) GetMetadata() []byte
- func (m *MsgVoteAgg) GetProposalId() uint64
- func (m *MsgVoteAgg) GetSender() string
- func (m MsgVoteAgg) GetSignBytes() []byte
- func (m MsgVoteAgg) GetSigners() []sdk.AccAddress
- func (m *MsgVoteAgg) GetVotes() []Choice
- func (m *MsgVoteAgg) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteAgg) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteAgg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteAgg) ProtoMessage()
- func (m *MsgVoteAgg) Reset()
- func (m MsgVoteAgg) Route() string
- func (m *MsgVoteAgg) Size() (n int)
- func (m *MsgVoteAgg) String() string
- func (m MsgVoteAgg) Type() string
- func (m *MsgVoteAgg) Unmarshal(dAtA []byte) error
- func (m MsgVoteAgg) ValidateBasic() error
- func (m *MsgVoteAgg) XXX_DiscardUnknown()
- func (m *MsgVoteAgg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteAgg) XXX_Merge(src proto.Message)
- func (m *MsgVoteAgg) XXX_Size() int
- func (m *MsgVoteAgg) XXX_Unmarshal(b []byte) error
- type MsgVoteAggResponse
- func (*MsgVoteAggResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteAggResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteAggResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteAggResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteAggResponse) ProtoMessage()
- func (m *MsgVoteAggResponse) Reset()
- func (m *MsgVoteAggResponse) Size() (n int)
- func (m *MsgVoteAggResponse) String() string
- func (m *MsgVoteAggResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteAggResponse) XXX_DiscardUnknown()
- func (m *MsgVoteAggResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteAggResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteAggResponse) XXX_Size() int
- func (m *MsgVoteAggResponse) XXX_Unmarshal(b []byte) error
- type MsgVoteBasic
- func (*MsgVoteBasic) Descriptor() ([]byte, []int)
- func (m *MsgVoteBasic) GetChoice() Choice
- func (m *MsgVoteBasic) GetExpiry() types1.Timestamp
- func (m *MsgVoteBasic) GetProposalId() uint64
- func (m MsgVoteBasic) GetSignBytes() []byte
- func (m MsgVoteBasic) GetSigners() []sdk.AccAddress
- func (m *MsgVoteBasic) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteBasic) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteBasic) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteBasic) ProtoMessage()
- func (m *MsgVoteBasic) Reset()
- func (m MsgVoteBasic) Route() string
- func (m *MsgVoteBasic) Size() (n int)
- func (m *MsgVoteBasic) String() string
- func (m MsgVoteBasic) Type() string
- func (m *MsgVoteBasic) Unmarshal(dAtA []byte) error
- func (m MsgVoteBasic) ValidateBasic() error
- func (m *MsgVoteBasic) XXX_DiscardUnknown()
- func (m *MsgVoteBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteBasic) XXX_Merge(src proto.Message)
- func (m *MsgVoteBasic) XXX_Size() int
- func (m *MsgVoteBasic) XXX_Unmarshal(b []byte) error
- type MsgVoteBasicResponse
- func (*MsgVoteBasicResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteBasicResponse) GetChoice() Choice
- func (m *MsgVoteBasicResponse) GetExpiry() types1.Timestamp
- func (m *MsgVoteBasicResponse) GetProposalId() uint64
- func (m *MsgVoteBasicResponse) GetPubKey() *types.Any
- func (m *MsgVoteBasicResponse) GetSig() []byte
- func (m MsgVoteBasicResponse) GetSignBytes() []byte
- func (m MsgVoteBasicResponse) GetSigners() []sdk.AccAddress
- func (m *MsgVoteBasicResponse) GetVoter() string
- func (m *MsgVoteBasicResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteBasicResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteBasicResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteBasicResponse) ProtoMessage()
- func (m *MsgVoteBasicResponse) Reset()
- func (m MsgVoteBasicResponse) Route() string
- func (m *MsgVoteBasicResponse) Size() (n int)
- func (m *MsgVoteBasicResponse) String() string
- func (m MsgVoteBasicResponse) Type() string
- func (m *MsgVoteBasicResponse) Unmarshal(dAtA []byte) error
- func (m MsgVoteBasicResponse) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgVoteBasicResponse) ValidateBasic() error
- func (m MsgVoteBasicResponse) VerifySignature() error
- func (m *MsgVoteBasicResponse) XXX_DiscardUnknown()
- func (m *MsgVoteBasicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteBasicResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteBasicResponse) XXX_Size() int
- func (m *MsgVoteBasicResponse) XXX_Unmarshal(b []byte) error
- type MsgVotePoll
- func (*MsgVotePoll) Descriptor() ([]byte, []int)
- func (m *MsgVotePoll) GetMetadata() []byte
- func (m *MsgVotePoll) GetOptions() Options
- func (m *MsgVotePoll) GetPollId() uint64
- func (m MsgVotePoll) GetSignBytes() []byte
- func (m MsgVotePoll) GetSigners() []sdk.AccAddress
- func (m *MsgVotePoll) GetVoter() string
- func (m *MsgVotePoll) Marshal() (dAtA []byte, err error)
- func (m *MsgVotePoll) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVotePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVotePoll) ProtoMessage()
- func (m *MsgVotePoll) Reset()
- func (m MsgVotePoll) Route() string
- func (m *MsgVotePoll) Size() (n int)
- func (m *MsgVotePoll) String() string
- func (m MsgVotePoll) Type() string
- func (m *MsgVotePoll) Unmarshal(dAtA []byte) error
- func (m MsgVotePoll) ValidateBasic() error
- func (m *MsgVotePoll) XXX_DiscardUnknown()
- func (m *MsgVotePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVotePoll) XXX_Merge(src proto.Message)
- func (m *MsgVotePoll) XXX_Size() int
- func (m *MsgVotePoll) XXX_Unmarshal(b []byte) error
- type MsgVotePollAgg
- func (*MsgVotePollAgg) Descriptor() ([]byte, []int)
- func (m *MsgVotePollAgg) GetAggSig() []byte
- func (m *MsgVotePollAgg) GetExpiry() types1.Timestamp
- func (m *MsgVotePollAgg) GetMetadata() []byte
- func (m *MsgVotePollAgg) GetPollId() uint64
- func (m *MsgVotePollAgg) GetSender() string
- func (m MsgVotePollAgg) GetSignBytes() []byte
- func (m MsgVotePollAgg) GetSigners() []sdk.AccAddress
- func (m *MsgVotePollAgg) GetVotes() []Options
- func (m *MsgVotePollAgg) Marshal() (dAtA []byte, err error)
- func (m *MsgVotePollAgg) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVotePollAgg) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVotePollAgg) ProtoMessage()
- func (m *MsgVotePollAgg) Reset()
- func (m MsgVotePollAgg) Route() string
- func (m *MsgVotePollAgg) Size() (n int)
- func (m *MsgVotePollAgg) String() string
- func (m MsgVotePollAgg) Type() string
- func (m *MsgVotePollAgg) Unmarshal(dAtA []byte) error
- func (m MsgVotePollAgg) ValidateBasic() error
- func (m *MsgVotePollAgg) XXX_DiscardUnknown()
- func (m *MsgVotePollAgg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVotePollAgg) XXX_Merge(src proto.Message)
- func (m *MsgVotePollAgg) XXX_Size() int
- func (m *MsgVotePollAgg) XXX_Unmarshal(b []byte) error
- type MsgVotePollAggResponse
- func (*MsgVotePollAggResponse) Descriptor() ([]byte, []int)
- func (m *MsgVotePollAggResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVotePollAggResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVotePollAggResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVotePollAggResponse) ProtoMessage()
- func (m *MsgVotePollAggResponse) Reset()
- func (m *MsgVotePollAggResponse) Size() (n int)
- func (m *MsgVotePollAggResponse) String() string
- func (m *MsgVotePollAggResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVotePollAggResponse) XXX_DiscardUnknown()
- func (m *MsgVotePollAggResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVotePollAggResponse) XXX_Merge(src proto.Message)
- func (m *MsgVotePollAggResponse) XXX_Size() int
- func (m *MsgVotePollAggResponse) XXX_Unmarshal(b []byte) error
- type MsgVotePollBasic
- func (*MsgVotePollBasic) Descriptor() ([]byte, []int)
- func (m *MsgVotePollBasic) GetExpiry() types1.Timestamp
- func (m *MsgVotePollBasic) GetOption() string
- func (m *MsgVotePollBasic) GetPollId() uint64
- func (m MsgVotePollBasic) GetSignBytes() []byte
- func (m MsgVotePollBasic) GetSigners() []sdk.AccAddress
- func (m *MsgVotePollBasic) Marshal() (dAtA []byte, err error)
- func (m *MsgVotePollBasic) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVotePollBasic) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVotePollBasic) ProtoMessage()
- func (m *MsgVotePollBasic) Reset()
- func (m MsgVotePollBasic) Route() string
- func (m *MsgVotePollBasic) Size() (n int)
- func (m *MsgVotePollBasic) String() string
- func (m MsgVotePollBasic) Type() string
- func (m *MsgVotePollBasic) Unmarshal(dAtA []byte) error
- func (m MsgVotePollBasic) ValidateBasic() error
- func (m *MsgVotePollBasic) XXX_DiscardUnknown()
- func (m *MsgVotePollBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVotePollBasic) XXX_Merge(src proto.Message)
- func (m *MsgVotePollBasic) XXX_Size() int
- func (m *MsgVotePollBasic) XXX_Unmarshal(b []byte) error
- type MsgVotePollBasicResponse
- func (*MsgVotePollBasicResponse) Descriptor() ([]byte, []int)
- func (m *MsgVotePollBasicResponse) GetExpiry() types1.Timestamp
- func (m *MsgVotePollBasicResponse) GetOptions() Options
- func (m *MsgVotePollBasicResponse) GetPollId() uint64
- func (m *MsgVotePollBasicResponse) GetPubKey() *types.Any
- func (m *MsgVotePollBasicResponse) GetSig() []byte
- func (m MsgVotePollBasicResponse) GetSignBytes() []byte
- func (m MsgVotePollBasicResponse) GetSignBytesMany() [][]byte
- func (m MsgVotePollBasicResponse) GetSigners() []sdk.AccAddress
- func (m *MsgVotePollBasicResponse) GetVoter() string
- func (m *MsgVotePollBasicResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVotePollBasicResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVotePollBasicResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVotePollBasicResponse) ProtoMessage()
- func (m *MsgVotePollBasicResponse) Reset()
- func (m MsgVotePollBasicResponse) Route() string
- func (m *MsgVotePollBasicResponse) Size() (n int)
- func (m *MsgVotePollBasicResponse) String() string
- func (m MsgVotePollBasicResponse) Type() string
- func (m *MsgVotePollBasicResponse) Unmarshal(dAtA []byte) error
- func (m MsgVotePollBasicResponse) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgVotePollBasicResponse) ValidateBasic() error
- func (m MsgVotePollBasicResponse) VerifySignature() error
- func (m *MsgVotePollBasicResponse) XXX_DiscardUnknown()
- func (m *MsgVotePollBasicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVotePollBasicResponse) XXX_Merge(src proto.Message)
- func (m *MsgVotePollBasicResponse) XXX_Size() int
- func (m *MsgVotePollBasicResponse) XXX_Unmarshal(b []byte) error
- type MsgVotePollResponse
- func (*MsgVotePollResponse) Descriptor() ([]byte, []int)
- func (m *MsgVotePollResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVotePollResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVotePollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVotePollResponse) ProtoMessage()
- func (m *MsgVotePollResponse) Reset()
- func (m *MsgVotePollResponse) Size() (n int)
- func (m *MsgVotePollResponse) String() string
- func (m *MsgVotePollResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVotePollResponse) XXX_DiscardUnknown()
- func (m *MsgVotePollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVotePollResponse) XXX_Merge(src proto.Message)
- func (m *MsgVotePollResponse) XXX_Size() int
- func (m *MsgVotePollResponse) XXX_Unmarshal(b []byte) error
- type MsgVoteResponse
- func (*MsgVoteResponse) Descriptor() ([]byte, []int)
- func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgVoteResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgVoteResponse) ProtoMessage()
- func (m *MsgVoteResponse) Reset()
- func (m *MsgVoteResponse) Size() (n int)
- func (m *MsgVoteResponse) String() string
- func (m *MsgVoteResponse) Unmarshal(dAtA []byte) error
- func (m *MsgVoteResponse) XXX_DiscardUnknown()
- func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgVoteResponse) XXX_Merge(src proto.Message)
- func (m *MsgVoteResponse) XXX_Size() int
- func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error
- type Options
- func (*Options) Descriptor() ([]byte, []int)
- func (m *Options) Marshal() (dAtA []byte, err error)
- func (m *Options) MarshalTo(dAtA []byte) (int, error)
- func (m *Options) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Options) ProtoMessage()
- func (m *Options) Reset()
- func (m *Options) Size() (n int)
- func (m *Options) String() string
- func (m *Options) Unmarshal(dAtA []byte) error
- func (ops Options) ValidateBasic() error
- func (m *Options) XXX_DiscardUnknown()
- func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Options) XXX_Merge(src proto.Message)
- func (m *Options) XXX_Size() int
- func (m *Options) XXX_Unmarshal(b []byte) error
- type Poll
- func (*Poll) Descriptor() ([]byte, []int)
- func (m *Poll) Marshal() (dAtA []byte, err error)
- func (m *Poll) MarshalTo(dAtA []byte) (int, error)
- func (m *Poll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Poll) ProtoMessage()
- func (m *Poll) Reset()
- func (m *Poll) Size() (n int)
- func (m *Poll) String() string
- func (m *Poll) Unmarshal(dAtA []byte) error
- func (m *Poll) XXX_DiscardUnknown()
- func (m *Poll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Poll) XXX_Merge(src proto.Message)
- func (m *Poll) XXX_Size() int
- func (m *Poll) XXX_Unmarshal(b []byte) error
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)
- func (p *Proposal) GetMsgs() []sdk.Msg
- func (m *Proposal) Marshal() (dAtA []byte, err error)
- func (m *Proposal) MarshalTo(dAtA []byte) (int, error)
- func (m *Proposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p Proposal) PrimaryKeyFields() []interface{}
- func (*Proposal) ProtoMessage()
- func (m *Proposal) Reset()
- func (p *Proposal) SetMsgs(msgs []sdk.Msg) error
- func (m *Proposal) Size() (n int)
- func (m *Proposal) String() string
- func (m *Proposal) Unmarshal(dAtA []byte) error
- func (p Proposal) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (p Proposal) ValidateBasic() error
- func (m *Proposal) XXX_DiscardUnknown()
- func (m *Proposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Proposal) XXX_Merge(src proto.Message)
- func (m *Proposal) XXX_Size() int
- func (m *Proposal) XXX_Unmarshal(b []byte) error
- type ProposalID
- type Proposal_ExecutorResult
- type Proposal_Result
- type Proposal_Status
- type QueryClient
- type QueryGroupAccountInfoRequest
- func (*QueryGroupAccountInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupAccountInfoRequest) GetAddress() string
- func (m *QueryGroupAccountInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAccountInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAccountInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAccountInfoRequest) ProtoMessage()
- func (m *QueryGroupAccountInfoRequest) Reset()
- func (m *QueryGroupAccountInfoRequest) Size() (n int)
- func (m *QueryGroupAccountInfoRequest) String() string
- func (m *QueryGroupAccountInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupAccountInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGroupAccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAccountInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupAccountInfoRequest) XXX_Size() int
- func (m *QueryGroupAccountInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupAccountInfoResponse
- func (*QueryGroupAccountInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupAccountInfoResponse) GetInfo() *GroupAccountInfo
- func (m *QueryGroupAccountInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAccountInfoResponse) ProtoMessage()
- func (m *QueryGroupAccountInfoResponse) Reset()
- func (m *QueryGroupAccountInfoResponse) Size() (n int)
- func (m *QueryGroupAccountInfoResponse) String() string
- func (m *QueryGroupAccountInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupAccountInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGroupAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAccountInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupAccountInfoResponse) XXX_Size() int
- func (m *QueryGroupAccountInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupAccountsByAdminRequest
- func (*QueryGroupAccountsByAdminRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupAccountsByAdminRequest) GetAdmin() string
- func (m *QueryGroupAccountsByAdminRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupAccountsByAdminRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAccountsByAdminRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAccountsByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAccountsByAdminRequest) ProtoMessage()
- func (m *QueryGroupAccountsByAdminRequest) Reset()
- func (m *QueryGroupAccountsByAdminRequest) Size() (n int)
- func (m *QueryGroupAccountsByAdminRequest) String() string
- func (m *QueryGroupAccountsByAdminRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupAccountsByAdminRequest) XXX_DiscardUnknown()
- func (m *QueryGroupAccountsByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAccountsByAdminRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupAccountsByAdminRequest) XXX_Size() int
- func (m *QueryGroupAccountsByAdminRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupAccountsByAdminResponse
- func (*QueryGroupAccountsByAdminResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupAccountsByAdminResponse) GetGroupAccounts() []*GroupAccountInfo
- func (m *QueryGroupAccountsByAdminResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupAccountsByAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAccountsByAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAccountsByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAccountsByAdminResponse) ProtoMessage()
- func (m *QueryGroupAccountsByAdminResponse) Reset()
- func (m *QueryGroupAccountsByAdminResponse) Size() (n int)
- func (m *QueryGroupAccountsByAdminResponse) String() string
- func (m *QueryGroupAccountsByAdminResponse) Unmarshal(dAtA []byte) error
- func (q QueryGroupAccountsByAdminResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryGroupAccountsByAdminResponse) XXX_DiscardUnknown()
- func (m *QueryGroupAccountsByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAccountsByAdminResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupAccountsByAdminResponse) XXX_Size() int
- func (m *QueryGroupAccountsByAdminResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupAccountsByGroupRequest
- func (*QueryGroupAccountsByGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupAccountsByGroupRequest) GetGroupId() uint64
- func (m *QueryGroupAccountsByGroupRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupAccountsByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAccountsByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAccountsByGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAccountsByGroupRequest) ProtoMessage()
- func (m *QueryGroupAccountsByGroupRequest) Reset()
- func (m *QueryGroupAccountsByGroupRequest) Size() (n int)
- func (m *QueryGroupAccountsByGroupRequest) String() string
- func (m *QueryGroupAccountsByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupAccountsByGroupRequest) XXX_DiscardUnknown()
- func (m *QueryGroupAccountsByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAccountsByGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupAccountsByGroupRequest) XXX_Size() int
- func (m *QueryGroupAccountsByGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupAccountsByGroupResponse
- func (*QueryGroupAccountsByGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupAccountsByGroupResponse) GetGroupAccounts() []*GroupAccountInfo
- func (m *QueryGroupAccountsByGroupResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupAccountsByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupAccountsByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupAccountsByGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupAccountsByGroupResponse) ProtoMessage()
- func (m *QueryGroupAccountsByGroupResponse) Reset()
- func (m *QueryGroupAccountsByGroupResponse) Size() (n int)
- func (m *QueryGroupAccountsByGroupResponse) String() string
- func (m *QueryGroupAccountsByGroupResponse) Unmarshal(dAtA []byte) error
- func (q QueryGroupAccountsByGroupResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryGroupAccountsByGroupResponse) XXX_DiscardUnknown()
- func (m *QueryGroupAccountsByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupAccountsByGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupAccountsByGroupResponse) XXX_Size() int
- func (m *QueryGroupAccountsByGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupInfoRequest
- func (*QueryGroupInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupInfoRequest) GetGroupId() uint64
- func (m *QueryGroupInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupInfoRequest) ProtoMessage()
- func (m *QueryGroupInfoRequest) Reset()
- func (m *QueryGroupInfoRequest) Size() (n int)
- func (m *QueryGroupInfoRequest) String() string
- func (m *QueryGroupInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGroupInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupInfoRequest) XXX_Size() int
- func (m *QueryGroupInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupInfoResponse
- func (*QueryGroupInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupInfoResponse) GetInfo() *GroupInfo
- func (m *QueryGroupInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupInfoResponse) ProtoMessage()
- func (m *QueryGroupInfoResponse) Reset()
- func (m *QueryGroupInfoResponse) Size() (n int)
- func (m *QueryGroupInfoResponse) String() string
- func (m *QueryGroupInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGroupInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupInfoResponse) XXX_Size() int
- func (m *QueryGroupInfoResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupMembersRequest
- func (*QueryGroupMembersRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupMembersRequest) GetGroupId() uint64
- func (m *QueryGroupMembersRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupMembersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupMembersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupMembersRequest) ProtoMessage()
- func (m *QueryGroupMembersRequest) Reset()
- func (m *QueryGroupMembersRequest) Size() (n int)
- func (m *QueryGroupMembersRequest) String() string
- func (m *QueryGroupMembersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupMembersRequest) XXX_DiscardUnknown()
- func (m *QueryGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupMembersRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupMembersRequest) XXX_Size() int
- func (m *QueryGroupMembersRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupMembersResponse
- func (*QueryGroupMembersResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupMembersResponse) GetMembers() []*GroupMember
- func (m *QueryGroupMembersResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupMembersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupMembersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupMembersResponse) ProtoMessage()
- func (m *QueryGroupMembersResponse) Reset()
- func (m *QueryGroupMembersResponse) Size() (n int)
- func (m *QueryGroupMembersResponse) String() string
- func (m *QueryGroupMembersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupMembersResponse) XXX_DiscardUnknown()
- func (m *QueryGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupMembersResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupMembersResponse) XXX_Size() int
- func (m *QueryGroupMembersResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupsByAdminRequest
- func (*QueryGroupsByAdminRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupsByAdminRequest) GetAdmin() string
- func (m *QueryGroupsByAdminRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupsByAdminRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupsByAdminRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupsByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupsByAdminRequest) ProtoMessage()
- func (m *QueryGroupsByAdminRequest) Reset()
- func (m *QueryGroupsByAdminRequest) Size() (n int)
- func (m *QueryGroupsByAdminRequest) String() string
- func (m *QueryGroupsByAdminRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupsByAdminRequest) XXX_DiscardUnknown()
- func (m *QueryGroupsByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupsByAdminRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupsByAdminRequest) XXX_Size() int
- func (m *QueryGroupsByAdminRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupsByAdminResponse
- func (*QueryGroupsByAdminResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupsByAdminResponse) GetGroups() []*GroupInfo
- func (m *QueryGroupsByAdminResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupsByAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupsByAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupsByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupsByAdminResponse) ProtoMessage()
- func (m *QueryGroupsByAdminResponse) Reset()
- func (m *QueryGroupsByAdminResponse) Size() (n int)
- func (m *QueryGroupsByAdminResponse) String() string
- func (m *QueryGroupsByAdminResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupsByAdminResponse) XXX_DiscardUnknown()
- func (m *QueryGroupsByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupsByAdminResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupsByAdminResponse) XXX_Size() int
- func (m *QueryGroupsByAdminResponse) XXX_Unmarshal(b []byte) error
- type QueryPollRequest
- func (*QueryPollRequest) Descriptor() ([]byte, []int)
- func (m *QueryPollRequest) GetPollId() uint64
- func (m *QueryPollRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPollRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPollRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPollRequest) ProtoMessage()
- func (m *QueryPollRequest) Reset()
- func (m *QueryPollRequest) Size() (n int)
- func (m *QueryPollRequest) String() string
- func (m *QueryPollRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPollRequest) XXX_DiscardUnknown()
- func (m *QueryPollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPollRequest) XXX_Merge(src proto.Message)
- func (m *QueryPollRequest) XXX_Size() int
- func (m *QueryPollRequest) XXX_Unmarshal(b []byte) error
- type QueryPollResponse
- func (*QueryPollResponse) Descriptor() ([]byte, []int)
- func (m *QueryPollResponse) GetPoll() *Poll
- func (m *QueryPollResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPollResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPollResponse) ProtoMessage()
- func (m *QueryPollResponse) Reset()
- func (m *QueryPollResponse) Size() (n int)
- func (m *QueryPollResponse) String() string
- func (m *QueryPollResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPollResponse) XXX_DiscardUnknown()
- func (m *QueryPollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPollResponse) XXX_Merge(src proto.Message)
- func (m *QueryPollResponse) XXX_Size() int
- func (m *QueryPollResponse) XXX_Unmarshal(b []byte) error
- type QueryPollsByCreatorRequest
- func (*QueryPollsByCreatorRequest) Descriptor() ([]byte, []int)
- func (m *QueryPollsByCreatorRequest) GetCreator() string
- func (m *QueryPollsByCreatorRequest) GetPagination() *query.PageRequest
- func (m *QueryPollsByCreatorRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPollsByCreatorRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPollsByCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPollsByCreatorRequest) ProtoMessage()
- func (m *QueryPollsByCreatorRequest) Reset()
- func (m *QueryPollsByCreatorRequest) Size() (n int)
- func (m *QueryPollsByCreatorRequest) String() string
- func (m *QueryPollsByCreatorRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPollsByCreatorRequest) XXX_DiscardUnknown()
- func (m *QueryPollsByCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPollsByCreatorRequest) XXX_Merge(src proto.Message)
- func (m *QueryPollsByCreatorRequest) XXX_Size() int
- func (m *QueryPollsByCreatorRequest) XXX_Unmarshal(b []byte) error
- type QueryPollsByCreatorResponse
- func (*QueryPollsByCreatorResponse) Descriptor() ([]byte, []int)
- func (m *QueryPollsByCreatorResponse) GetPagination() *query.PageResponse
- func (m *QueryPollsByCreatorResponse) GetPolls() []*Poll
- func (m *QueryPollsByCreatorResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPollsByCreatorResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPollsByCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPollsByCreatorResponse) ProtoMessage()
- func (m *QueryPollsByCreatorResponse) Reset()
- func (m *QueryPollsByCreatorResponse) Size() (n int)
- func (m *QueryPollsByCreatorResponse) String() string
- func (m *QueryPollsByCreatorResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPollsByCreatorResponse) XXX_DiscardUnknown()
- func (m *QueryPollsByCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPollsByCreatorResponse) XXX_Merge(src proto.Message)
- func (m *QueryPollsByCreatorResponse) XXX_Size() int
- func (m *QueryPollsByCreatorResponse) XXX_Unmarshal(b []byte) error
- type QueryPollsByGroupRequest
- func (*QueryPollsByGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryPollsByGroupRequest) GetGroupId() uint64
- func (m *QueryPollsByGroupRequest) GetPagination() *query.PageRequest
- func (m *QueryPollsByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryPollsByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPollsByGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPollsByGroupRequest) ProtoMessage()
- func (m *QueryPollsByGroupRequest) Reset()
- func (m *QueryPollsByGroupRequest) Size() (n int)
- func (m *QueryPollsByGroupRequest) String() string
- func (m *QueryPollsByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryPollsByGroupRequest) XXX_DiscardUnknown()
- func (m *QueryPollsByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPollsByGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryPollsByGroupRequest) XXX_Size() int
- func (m *QueryPollsByGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryPollsByGroupResponse
- func (*QueryPollsByGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryPollsByGroupResponse) GetPagination() *query.PageResponse
- func (m *QueryPollsByGroupResponse) GetPolls() []*Poll
- func (m *QueryPollsByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryPollsByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryPollsByGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryPollsByGroupResponse) ProtoMessage()
- func (m *QueryPollsByGroupResponse) Reset()
- func (m *QueryPollsByGroupResponse) Size() (n int)
- func (m *QueryPollsByGroupResponse) String() string
- func (m *QueryPollsByGroupResponse) Unmarshal(dAtA []byte) error
- func (m *QueryPollsByGroupResponse) XXX_DiscardUnknown()
- func (m *QueryPollsByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryPollsByGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryPollsByGroupResponse) XXX_Size() int
- func (m *QueryPollsByGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryProposalRequest
- func (*QueryProposalRequest) Descriptor() ([]byte, []int)
- func (m *QueryProposalRequest) GetProposalId() uint64
- func (m *QueryProposalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalRequest) ProtoMessage()
- func (m *QueryProposalRequest) Reset()
- func (m *QueryProposalRequest) Size() (n int)
- func (m *QueryProposalRequest) String() string
- func (m *QueryProposalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProposalRequest) XXX_DiscardUnknown()
- func (m *QueryProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalRequest) XXX_Merge(src proto.Message)
- func (m *QueryProposalRequest) XXX_Size() int
- func (m *QueryProposalRequest) XXX_Unmarshal(b []byte) error
- type QueryProposalResponse
- func (*QueryProposalResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposalResponse) GetProposal() *Proposal
- func (m *QueryProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalResponse) ProtoMessage()
- func (m *QueryProposalResponse) Reset()
- func (m *QueryProposalResponse) Size() (n int)
- func (m *QueryProposalResponse) String() string
- func (m *QueryProposalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposalResponse) XXX_DiscardUnknown()
- func (m *QueryProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposalResponse) XXX_Size() int
- func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error
- type QueryProposalsByGroupAccountRequest
- func (*QueryProposalsByGroupAccountRequest) Descriptor() ([]byte, []int)
- func (m *QueryProposalsByGroupAccountRequest) GetAddress() string
- func (m *QueryProposalsByGroupAccountRequest) GetPagination() *query.PageRequest
- func (m *QueryProposalsByGroupAccountRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalsByGroupAccountRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalsByGroupAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalsByGroupAccountRequest) ProtoMessage()
- func (m *QueryProposalsByGroupAccountRequest) Reset()
- func (m *QueryProposalsByGroupAccountRequest) Size() (n int)
- func (m *QueryProposalsByGroupAccountRequest) String() string
- func (m *QueryProposalsByGroupAccountRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProposalsByGroupAccountRequest) XXX_DiscardUnknown()
- func (m *QueryProposalsByGroupAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalsByGroupAccountRequest) XXX_Merge(src proto.Message)
- func (m *QueryProposalsByGroupAccountRequest) XXX_Size() int
- func (m *QueryProposalsByGroupAccountRequest) XXX_Unmarshal(b []byte) error
- type QueryProposalsByGroupAccountResponse
- func (*QueryProposalsByGroupAccountResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposalsByGroupAccountResponse) GetPagination() *query.PageResponse
- func (m *QueryProposalsByGroupAccountResponse) GetProposals() []*Proposal
- func (m *QueryProposalsByGroupAccountResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalsByGroupAccountResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalsByGroupAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalsByGroupAccountResponse) ProtoMessage()
- func (m *QueryProposalsByGroupAccountResponse) Reset()
- func (m *QueryProposalsByGroupAccountResponse) Size() (n int)
- func (m *QueryProposalsByGroupAccountResponse) String() string
- func (m *QueryProposalsByGroupAccountResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposalsByGroupAccountResponse) XXX_DiscardUnknown()
- func (m *QueryProposalsByGroupAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalsByGroupAccountResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposalsByGroupAccountResponse) XXX_Size() int
- func (m *QueryProposalsByGroupAccountResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryVoteByProposalVoterRequest
- func (*QueryVoteByProposalVoterRequest) Descriptor() ([]byte, []int)
- func (m *QueryVoteByProposalVoterRequest) GetProposalId() uint64
- func (m *QueryVoteByProposalVoterRequest) GetVoter() string
- func (m *QueryVoteByProposalVoterRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVoteByProposalVoterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVoteByProposalVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVoteByProposalVoterRequest) ProtoMessage()
- func (m *QueryVoteByProposalVoterRequest) Reset()
- func (m *QueryVoteByProposalVoterRequest) Size() (n int)
- func (m *QueryVoteByProposalVoterRequest) String() string
- func (m *QueryVoteByProposalVoterRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVoteByProposalVoterRequest) XXX_DiscardUnknown()
- func (m *QueryVoteByProposalVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVoteByProposalVoterRequest) XXX_Merge(src proto.Message)
- func (m *QueryVoteByProposalVoterRequest) XXX_Size() int
- func (m *QueryVoteByProposalVoterRequest) XXX_Unmarshal(b []byte) error
- type QueryVoteByProposalVoterResponse
- func (*QueryVoteByProposalVoterResponse) Descriptor() ([]byte, []int)
- func (m *QueryVoteByProposalVoterResponse) GetVote() *Vote
- func (m *QueryVoteByProposalVoterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVoteByProposalVoterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVoteByProposalVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVoteByProposalVoterResponse) ProtoMessage()
- func (m *QueryVoteByProposalVoterResponse) Reset()
- func (m *QueryVoteByProposalVoterResponse) Size() (n int)
- func (m *QueryVoteByProposalVoterResponse) String() string
- func (m *QueryVoteByProposalVoterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVoteByProposalVoterResponse) XXX_DiscardUnknown()
- func (m *QueryVoteByProposalVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVoteByProposalVoterResponse) XXX_Merge(src proto.Message)
- func (m *QueryVoteByProposalVoterResponse) XXX_Size() int
- func (m *QueryVoteByProposalVoterResponse) XXX_Unmarshal(b []byte) error
- type QueryVoteForPollByPollVoterRequest
- func (*QueryVoteForPollByPollVoterRequest) Descriptor() ([]byte, []int)
- func (m *QueryVoteForPollByPollVoterRequest) GetPollId() uint64
- func (m *QueryVoteForPollByPollVoterRequest) GetVoter() string
- func (m *QueryVoteForPollByPollVoterRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVoteForPollByPollVoterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVoteForPollByPollVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVoteForPollByPollVoterRequest) ProtoMessage()
- func (m *QueryVoteForPollByPollVoterRequest) Reset()
- func (m *QueryVoteForPollByPollVoterRequest) Size() (n int)
- func (m *QueryVoteForPollByPollVoterRequest) String() string
- func (m *QueryVoteForPollByPollVoterRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVoteForPollByPollVoterRequest) XXX_DiscardUnknown()
- func (m *QueryVoteForPollByPollVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVoteForPollByPollVoterRequest) XXX_Merge(src proto.Message)
- func (m *QueryVoteForPollByPollVoterRequest) XXX_Size() int
- func (m *QueryVoteForPollByPollVoterRequest) XXX_Unmarshal(b []byte) error
- type QueryVoteForPollByPollVoterResponse
- func (*QueryVoteForPollByPollVoterResponse) Descriptor() ([]byte, []int)
- func (m *QueryVoteForPollByPollVoterResponse) GetVote() *VotePoll
- func (m *QueryVoteForPollByPollVoterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVoteForPollByPollVoterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVoteForPollByPollVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVoteForPollByPollVoterResponse) ProtoMessage()
- func (m *QueryVoteForPollByPollVoterResponse) Reset()
- func (m *QueryVoteForPollByPollVoterResponse) Size() (n int)
- func (m *QueryVoteForPollByPollVoterResponse) String() string
- func (m *QueryVoteForPollByPollVoterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVoteForPollByPollVoterResponse) XXX_DiscardUnknown()
- func (m *QueryVoteForPollByPollVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVoteForPollByPollVoterResponse) XXX_Merge(src proto.Message)
- func (m *QueryVoteForPollByPollVoterResponse) XXX_Size() int
- func (m *QueryVoteForPollByPollVoterResponse) XXX_Unmarshal(b []byte) error
- type QueryVotesByProposalRequest
- func (*QueryVotesByProposalRequest) Descriptor() ([]byte, []int)
- func (m *QueryVotesByProposalRequest) GetPagination() *query.PageRequest
- func (m *QueryVotesByProposalRequest) GetProposalId() uint64
- func (m *QueryVotesByProposalRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesByProposalRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesByProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesByProposalRequest) ProtoMessage()
- func (m *QueryVotesByProposalRequest) Reset()
- func (m *QueryVotesByProposalRequest) Size() (n int)
- func (m *QueryVotesByProposalRequest) String() string
- func (m *QueryVotesByProposalRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVotesByProposalRequest) XXX_DiscardUnknown()
- func (m *QueryVotesByProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesByProposalRequest) XXX_Merge(src proto.Message)
- func (m *QueryVotesByProposalRequest) XXX_Size() int
- func (m *QueryVotesByProposalRequest) XXX_Unmarshal(b []byte) error
- type QueryVotesByProposalResponse
- func (*QueryVotesByProposalResponse) Descriptor() ([]byte, []int)
- func (m *QueryVotesByProposalResponse) GetPagination() *query.PageResponse
- func (m *QueryVotesByProposalResponse) GetVotes() []*Vote
- func (m *QueryVotesByProposalResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesByProposalResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesByProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesByProposalResponse) ProtoMessage()
- func (m *QueryVotesByProposalResponse) Reset()
- func (m *QueryVotesByProposalResponse) Size() (n int)
- func (m *QueryVotesByProposalResponse) String() string
- func (m *QueryVotesByProposalResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVotesByProposalResponse) XXX_DiscardUnknown()
- func (m *QueryVotesByProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesByProposalResponse) XXX_Merge(src proto.Message)
- func (m *QueryVotesByProposalResponse) XXX_Size() int
- func (m *QueryVotesByProposalResponse) XXX_Unmarshal(b []byte) error
- type QueryVotesByVoterRequest
- func (*QueryVotesByVoterRequest) Descriptor() ([]byte, []int)
- func (m *QueryVotesByVoterRequest) GetPagination() *query.PageRequest
- func (m *QueryVotesByVoterRequest) GetVoter() string
- func (m *QueryVotesByVoterRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesByVoterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesByVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesByVoterRequest) ProtoMessage()
- func (m *QueryVotesByVoterRequest) Reset()
- func (m *QueryVotesByVoterRequest) Size() (n int)
- func (m *QueryVotesByVoterRequest) String() string
- func (m *QueryVotesByVoterRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVotesByVoterRequest) XXX_DiscardUnknown()
- func (m *QueryVotesByVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesByVoterRequest) XXX_Merge(src proto.Message)
- func (m *QueryVotesByVoterRequest) XXX_Size() int
- func (m *QueryVotesByVoterRequest) XXX_Unmarshal(b []byte) error
- type QueryVotesByVoterResponse
- func (*QueryVotesByVoterResponse) Descriptor() ([]byte, []int)
- func (m *QueryVotesByVoterResponse) GetPagination() *query.PageResponse
- func (m *QueryVotesByVoterResponse) GetVotes() []*Vote
- func (m *QueryVotesByVoterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesByVoterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesByVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesByVoterResponse) ProtoMessage()
- func (m *QueryVotesByVoterResponse) Reset()
- func (m *QueryVotesByVoterResponse) Size() (n int)
- func (m *QueryVotesByVoterResponse) String() string
- func (m *QueryVotesByVoterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVotesByVoterResponse) XXX_DiscardUnknown()
- func (m *QueryVotesByVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesByVoterResponse) XXX_Merge(src proto.Message)
- func (m *QueryVotesByVoterResponse) XXX_Size() int
- func (m *QueryVotesByVoterResponse) XXX_Unmarshal(b []byte) error
- type QueryVotesForPollByPollRequest
- func (*QueryVotesForPollByPollRequest) Descriptor() ([]byte, []int)
- func (m *QueryVotesForPollByPollRequest) GetPagination() *query.PageRequest
- func (m *QueryVotesForPollByPollRequest) GetPollId() uint64
- func (m *QueryVotesForPollByPollRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesForPollByPollRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesForPollByPollRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesForPollByPollRequest) ProtoMessage()
- func (m *QueryVotesForPollByPollRequest) Reset()
- func (m *QueryVotesForPollByPollRequest) Size() (n int)
- func (m *QueryVotesForPollByPollRequest) String() string
- func (m *QueryVotesForPollByPollRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVotesForPollByPollRequest) XXX_DiscardUnknown()
- func (m *QueryVotesForPollByPollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesForPollByPollRequest) XXX_Merge(src proto.Message)
- func (m *QueryVotesForPollByPollRequest) XXX_Size() int
- func (m *QueryVotesForPollByPollRequest) XXX_Unmarshal(b []byte) error
- type QueryVotesForPollByPollResponse
- func (*QueryVotesForPollByPollResponse) Descriptor() ([]byte, []int)
- func (m *QueryVotesForPollByPollResponse) GetPagination() *query.PageResponse
- func (m *QueryVotesForPollByPollResponse) GetVotes() []*VotePoll
- func (m *QueryVotesForPollByPollResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesForPollByPollResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesForPollByPollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesForPollByPollResponse) ProtoMessage()
- func (m *QueryVotesForPollByPollResponse) Reset()
- func (m *QueryVotesForPollByPollResponse) Size() (n int)
- func (m *QueryVotesForPollByPollResponse) String() string
- func (m *QueryVotesForPollByPollResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVotesForPollByPollResponse) XXX_DiscardUnknown()
- func (m *QueryVotesForPollByPollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesForPollByPollResponse) XXX_Merge(src proto.Message)
- func (m *QueryVotesForPollByPollResponse) XXX_Size() int
- func (m *QueryVotesForPollByPollResponse) XXX_Unmarshal(b []byte) error
- type QueryVotesForPollByVoterRequest
- func (*QueryVotesForPollByVoterRequest) Descriptor() ([]byte, []int)
- func (m *QueryVotesForPollByVoterRequest) GetPagination() *query.PageRequest
- func (m *QueryVotesForPollByVoterRequest) GetVoter() string
- func (m *QueryVotesForPollByVoterRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesForPollByVoterRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesForPollByVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesForPollByVoterRequest) ProtoMessage()
- func (m *QueryVotesForPollByVoterRequest) Reset()
- func (m *QueryVotesForPollByVoterRequest) Size() (n int)
- func (m *QueryVotesForPollByVoterRequest) String() string
- func (m *QueryVotesForPollByVoterRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVotesForPollByVoterRequest) XXX_DiscardUnknown()
- func (m *QueryVotesForPollByVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesForPollByVoterRequest) XXX_Merge(src proto.Message)
- func (m *QueryVotesForPollByVoterRequest) XXX_Size() int
- func (m *QueryVotesForPollByVoterRequest) XXX_Unmarshal(b []byte) error
- type QueryVotesForPollByVoterResponse
- func (*QueryVotesForPollByVoterResponse) Descriptor() ([]byte, []int)
- func (m *QueryVotesForPollByVoterResponse) GetPagination() *query.PageResponse
- func (m *QueryVotesForPollByVoterResponse) GetVotes() []*VotePoll
- func (m *QueryVotesForPollByVoterResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVotesForPollByVoterResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVotesForPollByVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVotesForPollByVoterResponse) ProtoMessage()
- func (m *QueryVotesForPollByVoterResponse) Reset()
- func (m *QueryVotesForPollByVoterResponse) Size() (n int)
- func (m *QueryVotesForPollByVoterResponse) String() string
- func (m *QueryVotesForPollByVoterResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVotesForPollByVoterResponse) XXX_DiscardUnknown()
- func (m *QueryVotesForPollByVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVotesForPollByVoterResponse) XXX_Merge(src proto.Message)
- func (m *QueryVotesForPollByVoterResponse) XXX_Size() int
- func (m *QueryVotesForPollByVoterResponse) XXX_Unmarshal(b []byte) error
- type Tally
- func (t *Tally) Add(vote Vote, weight string) error
- func (*Tally) Descriptor() ([]byte, []int)
- func (t Tally) GetAbstainCount() (math.Dec, error)
- func (t Tally) GetNoCount() (math.Dec, error)
- func (t Tally) GetVetoCount() (math.Dec, error)
- func (t Tally) GetYesCount() (math.Dec, error)
- func (m *Tally) Marshal() (dAtA []byte, err error)
- func (m *Tally) MarshalTo(dAtA []byte) (int, error)
- func (m *Tally) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tally) ProtoMessage()
- func (m *Tally) Reset()
- func (m *Tally) Size() (n int)
- func (m *Tally) String() string
- func (t *Tally) Sub(vote Vote, weight string) error
- func (t Tally) TotalCounts() (math.Dec, error)
- func (m *Tally) Unmarshal(dAtA []byte) error
- func (t Tally) ValidateBasic() error
- func (m *Tally) XXX_DiscardUnknown()
- func (m *Tally) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tally) XXX_Merge(src proto.Message)
- func (m *Tally) XXX_Size() int
- func (m *Tally) XXX_Unmarshal(b []byte) error
- type TallyPoll
- func (t *TallyPoll) Add(vote VotePoll, weight string) error
- func (*TallyPoll) Descriptor() ([]byte, []int)
- func (m *TallyPoll) Marshal() (dAtA []byte, err error)
- func (m *TallyPoll) MarshalTo(dAtA []byte) (int, error)
- func (m *TallyPoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TallyPoll) ProtoMessage()
- func (m *TallyPoll) Reset()
- func (m *TallyPoll) Size() (n int)
- func (m *TallyPoll) String() string
- func (t *TallyPoll) Sub(vote VotePoll, weight string) error
- func (m *TallyPoll) Unmarshal(dAtA []byte) error
- func (m *TallyPoll) XXX_DiscardUnknown()
- func (m *TallyPoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TallyPoll) XXX_Merge(src proto.Message)
- func (m *TallyPoll) XXX_Size() int
- func (m *TallyPoll) XXX_Unmarshal(b []byte) error
- type TallyPollEntry
- func (*TallyPollEntry) Descriptor() ([]byte, []int)
- func (m *TallyPollEntry) Marshal() (dAtA []byte, err error)
- func (m *TallyPollEntry) MarshalTo(dAtA []byte) (int, error)
- func (m *TallyPollEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TallyPollEntry) ProtoMessage()
- func (m *TallyPollEntry) Reset()
- func (m *TallyPollEntry) Size() (n int)
- func (m *TallyPollEntry) String() string
- func (m *TallyPollEntry) Unmarshal(dAtA []byte) error
- func (m *TallyPollEntry) XXX_DiscardUnknown()
- func (m *TallyPollEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TallyPollEntry) XXX_Merge(src proto.Message)
- func (m *TallyPollEntry) XXX_Size() int
- func (m *TallyPollEntry) XXX_Unmarshal(b []byte) error
- type ThresholdDecisionPolicy
- func (p ThresholdDecisionPolicy) Allow(tally Tally, totalPower string, votingDuration time.Duration) (DecisionPolicyResult, error)
- func (*ThresholdDecisionPolicy) Descriptor() ([]byte, []int)
- func (m *ThresholdDecisionPolicy) GetThreshold() string
- func (m *ThresholdDecisionPolicy) GetTimeout() types.Duration
- func (m *ThresholdDecisionPolicy) Marshal() (dAtA []byte, err error)
- func (m *ThresholdDecisionPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *ThresholdDecisionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ThresholdDecisionPolicy) ProtoMessage()
- func (m *ThresholdDecisionPolicy) Reset()
- func (m *ThresholdDecisionPolicy) Size() (n int)
- func (m *ThresholdDecisionPolicy) String() string
- func (m *ThresholdDecisionPolicy) Unmarshal(dAtA []byte) error
- func (p *ThresholdDecisionPolicy) Validate(g GroupInfo) error
- func (p ThresholdDecisionPolicy) ValidateBasic() error
- func (m *ThresholdDecisionPolicy) XXX_DiscardUnknown()
- func (m *ThresholdDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ThresholdDecisionPolicy) XXX_Merge(src proto.Message)
- func (m *ThresholdDecisionPolicy) XXX_Size() int
- func (m *ThresholdDecisionPolicy) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) CreateGroup(ctx context.Context, req *MsgCreateGroup) (*MsgCreateGroupResponse, error)
- func (*UnimplementedMsgServer) CreateGroupAccount(ctx context.Context, req *MsgCreateGroupAccount) (*MsgCreateGroupAccountResponse, error)
- func (*UnimplementedMsgServer) CreatePoll(ctx context.Context, req *MsgCreatePoll) (*MsgCreatePollResponse, error)
- func (*UnimplementedMsgServer) CreateProposal(ctx context.Context, req *MsgCreateProposal) (*MsgCreateProposalResponse, error)
- func (*UnimplementedMsgServer) Exec(ctx context.Context, req *MsgExec) (*MsgExecResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupAccountAdmin(ctx context.Context, req *MsgUpdateGroupAccountAdmin) (*MsgUpdateGroupAccountAdminResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupAccountDecisionPolicy(ctx context.Context, req *MsgUpdateGroupAccountDecisionPolicy) (*MsgUpdateGroupAccountDecisionPolicyResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupAccountMetadata(ctx context.Context, req *MsgUpdateGroupAccountMetadata) (*MsgUpdateGroupAccountMetadataResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupAdmin(ctx context.Context, req *MsgUpdateGroupAdmin) (*MsgUpdateGroupAdminResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupMembers(ctx context.Context, req *MsgUpdateGroupMembers) (*MsgUpdateGroupMembersResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupMetadata(ctx context.Context, req *MsgUpdateGroupMetadata) (*MsgUpdateGroupMetadataResponse, error)
- func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
- func (*UnimplementedMsgServer) VoteAgg(ctx context.Context, req *MsgVoteAgg) (*MsgVoteAggResponse, error)
- func (*UnimplementedMsgServer) VotePoll(ctx context.Context, req *MsgVotePoll) (*MsgVotePollResponse, error)
- func (*UnimplementedMsgServer) VotePollAgg(ctx context.Context, req *MsgVotePollAgg) (*MsgVotePollAggResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GroupAccountInfo(ctx context.Context, req *QueryGroupAccountInfoRequest) (*QueryGroupAccountInfoResponse, error)
- func (*UnimplementedQueryServer) GroupAccountsByAdmin(ctx context.Context, req *QueryGroupAccountsByAdminRequest) (*QueryGroupAccountsByAdminResponse, error)
- func (*UnimplementedQueryServer) GroupAccountsByGroup(ctx context.Context, req *QueryGroupAccountsByGroupRequest) (*QueryGroupAccountsByGroupResponse, error)
- func (*UnimplementedQueryServer) GroupInfo(ctx context.Context, req *QueryGroupInfoRequest) (*QueryGroupInfoResponse, error)
- func (*UnimplementedQueryServer) GroupMembers(ctx context.Context, req *QueryGroupMembersRequest) (*QueryGroupMembersResponse, error)
- func (*UnimplementedQueryServer) GroupsByAdmin(ctx context.Context, req *QueryGroupsByAdminRequest) (*QueryGroupsByAdminResponse, error)
- func (*UnimplementedQueryServer) Poll(ctx context.Context, req *QueryPollRequest) (*QueryPollResponse, error)
- func (*UnimplementedQueryServer) PollsByCreator(ctx context.Context, req *QueryPollsByCreatorRequest) (*QueryPollsByCreatorResponse, error)
- func (*UnimplementedQueryServer) PollsByGroup(ctx context.Context, req *QueryPollsByGroupRequest) (*QueryPollsByGroupResponse, error)
- func (*UnimplementedQueryServer) Proposal(ctx context.Context, req *QueryProposalRequest) (*QueryProposalResponse, error)
- func (*UnimplementedQueryServer) ProposalsByGroupAccount(ctx context.Context, req *QueryProposalsByGroupAccountRequest) (*QueryProposalsByGroupAccountResponse, error)
- func (*UnimplementedQueryServer) VoteByProposalVoter(ctx context.Context, req *QueryVoteByProposalVoterRequest) (*QueryVoteByProposalVoterResponse, error)
- func (*UnimplementedQueryServer) VoteForPollByPollVoter(ctx context.Context, req *QueryVoteForPollByPollVoterRequest) (*QueryVoteForPollByPollVoterResponse, error)
- func (*UnimplementedQueryServer) VotesByProposal(ctx context.Context, req *QueryVotesByProposalRequest) (*QueryVotesByProposalResponse, error)
- func (*UnimplementedQueryServer) VotesByVoter(ctx context.Context, req *QueryVotesByVoterRequest) (*QueryVotesByVoterResponse, error)
- func (*UnimplementedQueryServer) VotesForPollByPoll(ctx context.Context, req *QueryVotesForPollByPollRequest) (*QueryVotesForPollByPollResponse, error)
- func (*UnimplementedQueryServer) VotesForPollByVoter(ctx context.Context, req *QueryVotesForPollByVoterRequest) (*QueryVotesForPollByVoterResponse, error)
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)
- func (m *Vote) GetChoice() Choice
- func (m *Vote) GetMetadata() []byte
- func (m *Vote) GetProposalId() uint64
- func (m *Vote) GetSubmittedAt() types.Timestamp
- func (m *Vote) GetVoter() string
- func (m *Vote) Marshal() (dAtA []byte, err error)
- func (m *Vote) MarshalTo(dAtA []byte) (int, error)
- func (m *Vote) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (v Vote) PrimaryKeyFields() []interface{}
- func (*Vote) ProtoMessage()
- func (m *Vote) Reset()
- func (m *Vote) Size() (n int)
- func (m *Vote) String() string
- func (m *Vote) Unmarshal(dAtA []byte) error
- func (v Vote) ValidateBasic() error
- func (m *Vote) XXX_DiscardUnknown()
- func (m *Vote) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Vote) XXX_Merge(src proto.Message)
- func (m *Vote) XXX_Size() int
- func (m *Vote) XXX_Unmarshal(b []byte) error
- type VotePoll
- func (*VotePoll) Descriptor() ([]byte, []int)
- func (m *VotePoll) GetMetadata() []byte
- func (m *VotePoll) GetOptions() Options
- func (m *VotePoll) GetPollId() uint64
- func (m *VotePoll) GetSubmittedAt() types.Timestamp
- func (m *VotePoll) GetVoter() string
- func (m *VotePoll) Marshal() (dAtA []byte, err error)
- func (m *VotePoll) MarshalTo(dAtA []byte) (int, error)
- func (m *VotePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (v VotePoll) PrimaryKeyFields() []interface{}
- func (*VotePoll) ProtoMessage()
- func (m *VotePoll) Reset()
- func (m *VotePoll) Size() (n int)
- func (m *VotePoll) String() string
- func (m *VotePoll) Unmarshal(dAtA []byte) error
- func (v VotePoll) ValidateBasic() error
- func (m *VotePoll) XXX_DiscardUnknown()
- func (m *VotePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VotePoll) XXX_Merge(src proto.Message)
- func (m *VotePoll) XXX_Size() int
- func (m *VotePoll) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "group" // StoreKey defines the primary module store key StoreKey = ModuleName DefaultParamspace = ModuleName )
const MaxMetadataLength = 255
MaxMetadataLength defines the max length of the metadata bytes field for various entities within the group module TODO: This could be used as params once x/params is upgraded to use protobuf
const MaxOptionLength = 127
const MaxTitleLength = 255
Variables ¶
var ( ErrEmpty = sdkerrors.Register(ModuleName, 202, "value is empty") ErrDuplicate = sdkerrors.Register(ModuleName, 203, "duplicate value") ErrMaxLimit = sdkerrors.Register(ModuleName, 204, "limit exceeded") ErrType = sdkerrors.Register(ModuleName, 205, "invalid type") ErrInvalid = sdkerrors.Register(ModuleName, 206, "invalid value") ErrModified = sdkerrors.Register(ModuleName, 208, "modified") ErrExpired = sdkerrors.Register(ModuleName, 209, "expired") ErrBlsRequired = sdkerrors.Register(ModuleName, 210, "bls required") )
var ( ErrInvalidLengthEvents = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEvents = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEvents = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
var Choice_name = map[int32]string{
0: "CHOICE_UNSPECIFIED",
1: "CHOICE_NO",
2: "CHOICE_YES",
3: "CHOICE_ABSTAIN",
4: "CHOICE_VETO",
}
var Choice_value = map[string]int32{
"CHOICE_UNSPECIFIED": 0,
"CHOICE_NO": 1,
"CHOICE_YES": 2,
"CHOICE_ABSTAIN": 3,
"CHOICE_VETO": 4,
}
var Exec_name = map[int32]string{
0: "EXEC_UNSPECIFIED",
1: "EXEC_TRY",
}
var Exec_value = map[string]int32{
"EXEC_UNSPECIFIED": 0,
"EXEC_TRY": 1,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
var Proposal_ExecutorResult_name = map[int32]string{
0: "EXECUTOR_RESULT_UNSPECIFIED",
1: "EXECUTOR_RESULT_NOT_RUN",
2: "EXECUTOR_RESULT_SUCCESS",
3: "EXECUTOR_RESULT_FAILURE",
}
var Proposal_ExecutorResult_value = map[string]int32{
"EXECUTOR_RESULT_UNSPECIFIED": 0,
"EXECUTOR_RESULT_NOT_RUN": 1,
"EXECUTOR_RESULT_SUCCESS": 2,
"EXECUTOR_RESULT_FAILURE": 3,
}
var Proposal_Result_name = map[int32]string{
0: "RESULT_UNSPECIFIED",
1: "RESULT_UNFINALIZED",
2: "RESULT_ACCEPTED",
3: "RESULT_REJECTED",
}
var Proposal_Result_value = map[string]int32{
"RESULT_UNSPECIFIED": 0,
"RESULT_UNFINALIZED": 1,
"RESULT_ACCEPTED": 2,
"RESULT_REJECTED": 3,
}
var Proposal_Status_name = map[int32]string{
0: "STATUS_UNSPECIFIED",
1: "STATUS_SUBMITTED",
2: "STATUS_CLOSED",
3: "STATUS_ABORTED",
}
var Proposal_Status_value = map[string]int32{
"STATUS_UNSPECIFIED": 0,
"STATUS_SUBMITTED": 1,
"STATUS_CLOSED": 2,
"STATUS_ABORTED": 3,
}
Functions ¶
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers all the necessary group module concrete types and interfaces with the provided codec reference. These types are used for Amino JSON serialization.
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RegisterTypes ¶
func RegisterTypes(registry cdctypes.InterfaceRegistry)
Types ¶
type AccAddresses ¶
type AccAddresses []sdk.AccAddress
func (AccAddresses) ValidateBasic ¶
func (a AccAddresses) ValidateBasic() error
ValidateBasic verifies that there's no duplicate address. Individual account address validation has to be done separately.
type Choice ¶
type Choice int32
Choice defines available types of choices for voting.
const ( // CHOICE_UNSPECIFIED defines a no-op voting choice. Choice_CHOICE_UNSPECIFIED Choice = 0 // CHOICE_NO defines a no voting choice. Choice_CHOICE_NO Choice = 1 // CHOICE_YES defines a yes voting choice. Choice_CHOICE_YES Choice = 2 // CHOICE_ABSTAIN defines an abstaining voting choice. Choice_CHOICE_ABSTAIN Choice = 3 // CHOICE_VETO defines a voting choice with veto. Choice_CHOICE_VETO Choice = 4 )
func ChoiceFromString ¶
ChoiceFromString returns a Choice from a string. It returns an error if the string is invalid.
func (Choice) EnumDescriptor ¶
type DecisionPolicy ¶
type DecisionPolicy interface {
codec.ProtoMarshaler
orm.Validateable
GetTimeout() types.Duration
Allow(tally Tally, totalPower string, votingDuration time.Duration) (DecisionPolicyResult, error)
Validate(g GroupInfo) error
}
DecisionPolicy is the persistent set of rules to determine the result of election on a proposal.
func NewThresholdDecisionPolicy ¶
func NewThresholdDecisionPolicy(threshold string, timeout types.Duration) DecisionPolicy
NewThresholdDecisionPolicy creates a threshold DecisionPolicy
type DecisionPolicyResult ¶
type EventCreateGroup ¶
type EventCreateGroup struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
EventCreateGroup is an event emitted when a group is created.
func (*EventCreateGroup) Descriptor ¶
func (*EventCreateGroup) Descriptor() ([]byte, []int)
func (*EventCreateGroup) GetGroupId ¶
func (m *EventCreateGroup) GetGroupId() uint64
func (*EventCreateGroup) Marshal ¶
func (m *EventCreateGroup) Marshal() (dAtA []byte, err error)
func (*EventCreateGroup) MarshalToSizedBuffer ¶
func (m *EventCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGroup) ProtoMessage ¶
func (*EventCreateGroup) ProtoMessage()
func (*EventCreateGroup) Reset ¶
func (m *EventCreateGroup) Reset()
func (*EventCreateGroup) Size ¶
func (m *EventCreateGroup) Size() (n int)
func (*EventCreateGroup) String ¶
func (m *EventCreateGroup) String() string
func (*EventCreateGroup) Unmarshal ¶
func (m *EventCreateGroup) Unmarshal(dAtA []byte) error
func (*EventCreateGroup) XXX_DiscardUnknown ¶
func (m *EventCreateGroup) XXX_DiscardUnknown()
func (*EventCreateGroup) XXX_Marshal ¶
func (m *EventCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGroup) XXX_Merge ¶
func (m *EventCreateGroup) XXX_Merge(src proto.Message)
func (*EventCreateGroup) XXX_Size ¶
func (m *EventCreateGroup) XXX_Size() int
func (*EventCreateGroup) XXX_Unmarshal ¶
func (m *EventCreateGroup) XXX_Unmarshal(b []byte) error
type EventCreateGroupAccount ¶
type EventCreateGroupAccount struct {
// address is the address of the group account.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
EventCreateGroupAccount is an event emitted when a group account is created.
func (*EventCreateGroupAccount) Descriptor ¶
func (*EventCreateGroupAccount) Descriptor() ([]byte, []int)
func (*EventCreateGroupAccount) GetAddress ¶
func (m *EventCreateGroupAccount) GetAddress() string
func (*EventCreateGroupAccount) Marshal ¶
func (m *EventCreateGroupAccount) Marshal() (dAtA []byte, err error)
func (*EventCreateGroupAccount) MarshalTo ¶
func (m *EventCreateGroupAccount) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateGroupAccount) MarshalToSizedBuffer ¶
func (m *EventCreateGroupAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGroupAccount) ProtoMessage ¶
func (*EventCreateGroupAccount) ProtoMessage()
func (*EventCreateGroupAccount) Reset ¶
func (m *EventCreateGroupAccount) Reset()
func (*EventCreateGroupAccount) Size ¶
func (m *EventCreateGroupAccount) Size() (n int)
func (*EventCreateGroupAccount) String ¶
func (m *EventCreateGroupAccount) String() string
func (*EventCreateGroupAccount) Unmarshal ¶
func (m *EventCreateGroupAccount) Unmarshal(dAtA []byte) error
func (*EventCreateGroupAccount) XXX_DiscardUnknown ¶
func (m *EventCreateGroupAccount) XXX_DiscardUnknown()
func (*EventCreateGroupAccount) XXX_Marshal ¶
func (m *EventCreateGroupAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGroupAccount) XXX_Merge ¶
func (m *EventCreateGroupAccount) XXX_Merge(src proto.Message)
func (*EventCreateGroupAccount) XXX_Size ¶
func (m *EventCreateGroupAccount) XXX_Size() int
func (*EventCreateGroupAccount) XXX_Unmarshal ¶
func (m *EventCreateGroupAccount) XXX_Unmarshal(b []byte) error
type EventCreatePoll ¶
type EventCreatePoll struct {
// poll_id is the unique ID of the poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
}
EventCreateProposal is an event emitted when a proposal is created.
func (*EventCreatePoll) Descriptor ¶
func (*EventCreatePoll) Descriptor() ([]byte, []int)
func (*EventCreatePoll) GetPollId ¶
func (m *EventCreatePoll) GetPollId() uint64
func (*EventCreatePoll) Marshal ¶
func (m *EventCreatePoll) Marshal() (dAtA []byte, err error)
func (*EventCreatePoll) MarshalToSizedBuffer ¶
func (m *EventCreatePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreatePoll) ProtoMessage ¶
func (*EventCreatePoll) ProtoMessage()
func (*EventCreatePoll) Reset ¶
func (m *EventCreatePoll) Reset()
func (*EventCreatePoll) Size ¶
func (m *EventCreatePoll) Size() (n int)
func (*EventCreatePoll) String ¶
func (m *EventCreatePoll) String() string
func (*EventCreatePoll) Unmarshal ¶
func (m *EventCreatePoll) Unmarshal(dAtA []byte) error
func (*EventCreatePoll) XXX_DiscardUnknown ¶
func (m *EventCreatePoll) XXX_DiscardUnknown()
func (*EventCreatePoll) XXX_Marshal ¶
func (m *EventCreatePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreatePoll) XXX_Merge ¶
func (m *EventCreatePoll) XXX_Merge(src proto.Message)
func (*EventCreatePoll) XXX_Size ¶
func (m *EventCreatePoll) XXX_Size() int
func (*EventCreatePoll) XXX_Unmarshal ¶
func (m *EventCreatePoll) XXX_Unmarshal(b []byte) error
type EventCreateProposal ¶
type EventCreateProposal struct {
// proposal_id is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
EventCreateProposal is an event emitted when a proposal is created.
func (*EventCreateProposal) Descriptor ¶
func (*EventCreateProposal) Descriptor() ([]byte, []int)
func (*EventCreateProposal) GetProposalId ¶
func (m *EventCreateProposal) GetProposalId() uint64
func (*EventCreateProposal) Marshal ¶
func (m *EventCreateProposal) Marshal() (dAtA []byte, err error)
func (*EventCreateProposal) MarshalTo ¶
func (m *EventCreateProposal) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateProposal) MarshalToSizedBuffer ¶
func (m *EventCreateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateProposal) ProtoMessage ¶
func (*EventCreateProposal) ProtoMessage()
func (*EventCreateProposal) Reset ¶
func (m *EventCreateProposal) Reset()
func (*EventCreateProposal) Size ¶
func (m *EventCreateProposal) Size() (n int)
func (*EventCreateProposal) String ¶
func (m *EventCreateProposal) String() string
func (*EventCreateProposal) Unmarshal ¶
func (m *EventCreateProposal) Unmarshal(dAtA []byte) error
func (*EventCreateProposal) XXX_DiscardUnknown ¶
func (m *EventCreateProposal) XXX_DiscardUnknown()
func (*EventCreateProposal) XXX_Marshal ¶
func (m *EventCreateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateProposal) XXX_Merge ¶
func (m *EventCreateProposal) XXX_Merge(src proto.Message)
func (*EventCreateProposal) XXX_Size ¶
func (m *EventCreateProposal) XXX_Size() int
func (*EventCreateProposal) XXX_Unmarshal ¶
func (m *EventCreateProposal) XXX_Unmarshal(b []byte) error
type EventExec ¶
type EventExec struct {
// proposal_id is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
EventExec is an event emitted when a proposal is executed.
func (*EventExec) Descriptor ¶
func (*EventExec) GetProposalId ¶
func (*EventExec) MarshalToSizedBuffer ¶
func (*EventExec) ProtoMessage ¶
func (*EventExec) ProtoMessage()
func (*EventExec) XXX_DiscardUnknown ¶
func (m *EventExec) XXX_DiscardUnknown()
func (*EventExec) XXX_Marshal ¶
func (*EventExec) XXX_Unmarshal ¶
type EventUpdateGroup ¶
type EventUpdateGroup struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
EventUpdateGroup is an event emitted when a group is updated.
func (*EventUpdateGroup) Descriptor ¶
func (*EventUpdateGroup) Descriptor() ([]byte, []int)
func (*EventUpdateGroup) GetGroupId ¶
func (m *EventUpdateGroup) GetGroupId() uint64
func (*EventUpdateGroup) Marshal ¶
func (m *EventUpdateGroup) Marshal() (dAtA []byte, err error)
func (*EventUpdateGroup) MarshalToSizedBuffer ¶
func (m *EventUpdateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGroup) ProtoMessage ¶
func (*EventUpdateGroup) ProtoMessage()
func (*EventUpdateGroup) Reset ¶
func (m *EventUpdateGroup) Reset()
func (*EventUpdateGroup) Size ¶
func (m *EventUpdateGroup) Size() (n int)
func (*EventUpdateGroup) String ¶
func (m *EventUpdateGroup) String() string
func (*EventUpdateGroup) Unmarshal ¶
func (m *EventUpdateGroup) Unmarshal(dAtA []byte) error
func (*EventUpdateGroup) XXX_DiscardUnknown ¶
func (m *EventUpdateGroup) XXX_DiscardUnknown()
func (*EventUpdateGroup) XXX_Marshal ¶
func (m *EventUpdateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGroup) XXX_Merge ¶
func (m *EventUpdateGroup) XXX_Merge(src proto.Message)
func (*EventUpdateGroup) XXX_Size ¶
func (m *EventUpdateGroup) XXX_Size() int
func (*EventUpdateGroup) XXX_Unmarshal ¶
func (m *EventUpdateGroup) XXX_Unmarshal(b []byte) error
type EventUpdateGroupAccount ¶
type EventUpdateGroupAccount struct {
// address is the address of the group account.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
EventUpdateGroupAccount is an event emitted when a group account is updated.
func (*EventUpdateGroupAccount) Descriptor ¶
func (*EventUpdateGroupAccount) Descriptor() ([]byte, []int)
func (*EventUpdateGroupAccount) GetAddress ¶
func (m *EventUpdateGroupAccount) GetAddress() string
func (*EventUpdateGroupAccount) Marshal ¶
func (m *EventUpdateGroupAccount) Marshal() (dAtA []byte, err error)
func (*EventUpdateGroupAccount) MarshalTo ¶
func (m *EventUpdateGroupAccount) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateGroupAccount) MarshalToSizedBuffer ¶
func (m *EventUpdateGroupAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGroupAccount) ProtoMessage ¶
func (*EventUpdateGroupAccount) ProtoMessage()
func (*EventUpdateGroupAccount) Reset ¶
func (m *EventUpdateGroupAccount) Reset()
func (*EventUpdateGroupAccount) Size ¶
func (m *EventUpdateGroupAccount) Size() (n int)
func (*EventUpdateGroupAccount) String ¶
func (m *EventUpdateGroupAccount) String() string
func (*EventUpdateGroupAccount) Unmarshal ¶
func (m *EventUpdateGroupAccount) Unmarshal(dAtA []byte) error
func (*EventUpdateGroupAccount) XXX_DiscardUnknown ¶
func (m *EventUpdateGroupAccount) XXX_DiscardUnknown()
func (*EventUpdateGroupAccount) XXX_Marshal ¶
func (m *EventUpdateGroupAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGroupAccount) XXX_Merge ¶
func (m *EventUpdateGroupAccount) XXX_Merge(src proto.Message)
func (*EventUpdateGroupAccount) XXX_Size ¶
func (m *EventUpdateGroupAccount) XXX_Size() int
func (*EventUpdateGroupAccount) XXX_Unmarshal ¶
func (m *EventUpdateGroupAccount) XXX_Unmarshal(b []byte) error
type EventVote ¶
type EventVote struct {
// proposal_id is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
EventVote is an event emitted when a voter votes on a proposal.
func (*EventVote) Descriptor ¶
func (*EventVote) GetProposalId ¶
func (*EventVote) MarshalToSizedBuffer ¶
func (*EventVote) ProtoMessage ¶
func (*EventVote) ProtoMessage()
func (*EventVote) XXX_DiscardUnknown ¶
func (m *EventVote) XXX_DiscardUnknown()
func (*EventVote) XXX_Marshal ¶
func (*EventVote) XXX_Unmarshal ¶
type EventVotePoll ¶
type EventVotePoll struct {
// poll_id is the unique ID of the proposal.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
}
EventVotePoll is an event emitted when a voter votes on a proposal.
func (*EventVotePoll) Descriptor ¶
func (*EventVotePoll) Descriptor() ([]byte, []int)
func (*EventVotePoll) GetPollId ¶
func (m *EventVotePoll) GetPollId() uint64
func (*EventVotePoll) Marshal ¶
func (m *EventVotePoll) Marshal() (dAtA []byte, err error)
func (*EventVotePoll) MarshalToSizedBuffer ¶
func (m *EventVotePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventVotePoll) ProtoMessage ¶
func (*EventVotePoll) ProtoMessage()
func (*EventVotePoll) Reset ¶
func (m *EventVotePoll) Reset()
func (*EventVotePoll) Size ¶
func (m *EventVotePoll) Size() (n int)
func (*EventVotePoll) String ¶
func (m *EventVotePoll) String() string
func (*EventVotePoll) Unmarshal ¶
func (m *EventVotePoll) Unmarshal(dAtA []byte) error
func (*EventVotePoll) XXX_DiscardUnknown ¶
func (m *EventVotePoll) XXX_DiscardUnknown()
func (*EventVotePoll) XXX_Marshal ¶
func (m *EventVotePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventVotePoll) XXX_Merge ¶
func (m *EventVotePoll) XXX_Merge(src proto.Message)
func (*EventVotePoll) XXX_Size ¶
func (m *EventVotePoll) XXX_Size() int
func (*EventVotePoll) XXX_Unmarshal ¶
func (m *EventVotePoll) XXX_Unmarshal(b []byte) error
type Exec ¶
type Exec int32
Exec defines modes of execution of a proposal on creation or on new vote.
const ( // An empty value means that there should be a separate // MsgExec request for the proposal to execute. Exec_EXEC_UNSPECIFIED Exec = 0 // Try to execute the proposal immediately. // If the proposal is not allowed per the DecisionPolicy, // the proposal will still be open and could // be executed at a later point. Exec_EXEC_TRY Exec = 1 )
func (Exec) EnumDescriptor ¶
type GenesisState ¶
type GenesisState struct {
// group_seq is the group table orm.Sequence,
// it is used to get the next group ID.
GroupSeq uint64 `protobuf:"varint,1,opt,name=group_seq,json=groupSeq,proto3" json:"group_seq,omitempty"`
// groups is the list of groups info.
Groups []*GroupInfo `protobuf:"bytes,2,rep,name=groups,proto3" json:"groups,omitempty"`
// group_members is the list of groups members.
GroupMembers []*GroupMember `protobuf:"bytes,3,rep,name=group_members,json=groupMembers,proto3" json:"group_members,omitempty"`
// group_account_seq is the group account table orm.Sequence,
// it is used to generate the next group account address.
GroupAccountSeq uint64 `protobuf:"varint,4,opt,name=group_account_seq,json=groupAccountSeq,proto3" json:"group_account_seq,omitempty"`
// group_accounts is the list of group accounts info.
GroupAccounts []*GroupAccountInfo `protobuf:"bytes,5,rep,name=group_accounts,json=groupAccounts,proto3" json:"group_accounts,omitempty"`
// proposal_seq is the proposal table orm.Sequence,
// it is used to get the next proposal ID.
ProposalSeq uint64 `protobuf:"varint,6,opt,name=proposal_seq,json=proposalSeq,proto3" json:"proposal_seq,omitempty"`
// proposals is the list of proposals.
Proposals []*Proposal `protobuf:"bytes,7,rep,name=proposals,proto3" json:"proposals,omitempty"`
// votes is the list of votes.
Votes []*Vote `protobuf:"bytes,8,rep,name=votes,proto3" json:"votes,omitempty"`
// polls is the list of polls.
Polls []*Poll `protobuf:"bytes,9,rep,name=polls,proto3" json:"polls,omitempty"`
// poll_seq is the poll table orm.Sequence,
// it is used to get the next poll ID.
PollSeq uint64 `protobuf:"varint,10,opt,name=poll_seq,json=pollSeq,proto3" json:"poll_seq,omitempty"`
// votes is the list of votes for poll.
VotesForPoll []*VotePoll `protobuf:"bytes,11,rep,name=votes_for_poll,json=votesForPoll,proto3" json:"votes_for_poll,omitempty"`
}
GenesisState defines the group module's genesis state.
func NewGenesisState ¶
func NewGenesisState() *GenesisState
NewGenesisState creates a new genesis state with default values.
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetGroupAccountSeq ¶
func (m *GenesisState) GetGroupAccountSeq() uint64
func (*GenesisState) GetGroupAccounts ¶
func (m *GenesisState) GetGroupAccounts() []*GroupAccountInfo
func (*GenesisState) GetGroupMembers ¶
func (m *GenesisState) GetGroupMembers() []*GroupMember
func (*GenesisState) GetGroupSeq ¶
func (m *GenesisState) GetGroupSeq() uint64
func (*GenesisState) GetGroups ¶
func (m *GenesisState) GetGroups() []*GroupInfo
func (*GenesisState) GetPollSeq ¶
func (m *GenesisState) GetPollSeq() uint64
func (*GenesisState) GetPolls ¶
func (m *GenesisState) GetPolls() []*Poll
func (*GenesisState) GetProposalSeq ¶
func (m *GenesisState) GetProposalSeq() uint64
func (*GenesisState) GetProposals ¶
func (m *GenesisState) GetProposals() []*Proposal
func (*GenesisState) GetVotes ¶
func (m *GenesisState) GetVotes() []*Vote
func (*GenesisState) GetVotesForPoll ¶
func (m *GenesisState) GetVotesForPoll() []*VotePoll
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) UnpackInterfaces ¶
func (s GenesisState) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (GenesisState) Validate ¶
func (s GenesisState) Validate() error
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GroupAccountInfo ¶
type GroupAccountInfo struct {
// address is the group account address.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,3,opt,name=admin,proto3" json:"admin,omitempty"`
// metadata is any arbitrary metadata to attached to the group account.
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// version is used to track changes to a group's GroupAccountInfo structure that
// would create a different result on a running proposal.
Version uint64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
// decision_policy specifies the group account's decision policy.
DecisionPolicy *types1.Any `protobuf:"bytes,6,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"`
// derivation_key is the "derivation" key of the group account,
// which is needed to derive the group root module key and execute proposals.
DerivationKey []byte `protobuf:"bytes,7,opt,name=derivation_key,json=derivationKey,proto3" json:"derivation_key,omitempty"`
}
GroupAccountInfo represents the high-level on-chain information for a group account.
func NewGroupAccountInfo ¶
func NewGroupAccountInfo(address sdk.AccAddress, group uint64, admin sdk.AccAddress, metadata []byte, version uint64, decisionPolicy DecisionPolicy, derivationKey []byte) (GroupAccountInfo, error)
NewGroupAccountInfo creates a new GroupAccountInfo instance
func (*GroupAccountInfo) Descriptor ¶
func (*GroupAccountInfo) Descriptor() ([]byte, []int)
func (*GroupAccountInfo) Equal ¶
func (this *GroupAccountInfo) Equal(that interface{}) bool
func (GroupAccountInfo) GetDecisionPolicy ¶
func (g GroupAccountInfo) GetDecisionPolicy() DecisionPolicy
func (*GroupAccountInfo) Marshal ¶
func (m *GroupAccountInfo) Marshal() (dAtA []byte, err error)
func (*GroupAccountInfo) MarshalToSizedBuffer ¶
func (m *GroupAccountInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (GroupAccountInfo) PrimaryKeyFields ¶
func (g GroupAccountInfo) PrimaryKeyFields() []interface{}
func (*GroupAccountInfo) ProtoMessage ¶
func (*GroupAccountInfo) ProtoMessage()
func (*GroupAccountInfo) Reset ¶
func (m *GroupAccountInfo) Reset()
func (*GroupAccountInfo) SetDecisionPolicy ¶
func (g *GroupAccountInfo) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
func (*GroupAccountInfo) Size ¶
func (m *GroupAccountInfo) Size() (n int)
func (*GroupAccountInfo) String ¶
func (m *GroupAccountInfo) String() string
func (*GroupAccountInfo) Unmarshal ¶
func (m *GroupAccountInfo) Unmarshal(dAtA []byte) error
func (GroupAccountInfo) UnpackInterfaces ¶
func (g GroupAccountInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (GroupAccountInfo) ValidateBasic ¶
func (g GroupAccountInfo) ValidateBasic() error
func (*GroupAccountInfo) XXX_DiscardUnknown ¶
func (m *GroupAccountInfo) XXX_DiscardUnknown()
func (*GroupAccountInfo) XXX_Marshal ¶
func (m *GroupAccountInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupAccountInfo) XXX_Merge ¶
func (m *GroupAccountInfo) XXX_Merge(src proto.Message)
func (*GroupAccountInfo) XXX_Size ¶
func (m *GroupAccountInfo) XXX_Size() int
func (*GroupAccountInfo) XXX_Unmarshal ¶
func (m *GroupAccountInfo) XXX_Unmarshal(b []byte) error
type GroupInfo ¶
type GroupInfo struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// admin is the account address of the group's admin.
Admin string `protobuf:"bytes,2,opt,name=admin,proto3" json:"admin,omitempty"`
// metadata is any arbitrary metadata to attached to the group.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// version is used to track changes to a group's membership structure that
// would break existing proposals. Whenever any members weight is changed,
// or any member is added or removed this version is incremented and will
// cause proposals based on older versions of this group to fail
Version uint64 `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
// total_weight is the sum of the group members' weights.
TotalWeight string `protobuf:"bytes,5,opt,name=total_weight,json=totalWeight,proto3" json:"total_weight,omitempty"`
// bls_only requires all the group members to use bls public keys so their votes can be aggregated together
BlsOnly bool `protobuf:"varint,6,opt,name=bls_only,json=blsOnly,proto3" json:"bls_only,omitempty"`
}
GroupInfo represents the high-level on-chain information for a group.
func (*GroupInfo) Descriptor ¶
func (*GroupInfo) GetBlsOnly ¶
func (*GroupInfo) GetGroupId ¶
func (*GroupInfo) GetMetadata ¶
func (*GroupInfo) GetTotalWeight ¶
func (*GroupInfo) GetVersion ¶
func (*GroupInfo) MarshalToSizedBuffer ¶
func (GroupInfo) PrimaryKeyFields ¶
func (g GroupInfo) PrimaryKeyFields() []interface{}
func (*GroupInfo) ProtoMessage ¶
func (*GroupInfo) ProtoMessage()
func (GroupInfo) ValidateBasic ¶
func (*GroupInfo) XXX_DiscardUnknown ¶
func (m *GroupInfo) XXX_DiscardUnknown()
func (*GroupInfo) XXX_Marshal ¶
func (*GroupInfo) XXX_Unmarshal ¶
type GroupMember ¶
type GroupMember struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// member is the member data.
Member *Member `protobuf:"bytes,2,opt,name=member,proto3" json:"member,omitempty"`
}
GroupMember represents the relationship between a group and a member.
func (*GroupMember) Descriptor ¶
func (*GroupMember) Descriptor() ([]byte, []int)
func (*GroupMember) GetGroupId ¶
func (m *GroupMember) GetGroupId() uint64
func (*GroupMember) GetMember ¶
func (m *GroupMember) GetMember() *Member
func (*GroupMember) Marshal ¶
func (m *GroupMember) Marshal() (dAtA []byte, err error)
func (*GroupMember) MarshalToSizedBuffer ¶
func (m *GroupMember) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (GroupMember) PrimaryKeyFields ¶
func (g GroupMember) PrimaryKeyFields() []interface{}
func (*GroupMember) ProtoMessage ¶
func (*GroupMember) ProtoMessage()
func (*GroupMember) Reset ¶
func (m *GroupMember) Reset()
func (*GroupMember) Size ¶
func (m *GroupMember) Size() (n int)
func (*GroupMember) String ¶
func (m *GroupMember) String() string
func (*GroupMember) Unmarshal ¶
func (m *GroupMember) Unmarshal(dAtA []byte) error
func (GroupMember) ValidateBasic ¶
func (g GroupMember) ValidateBasic() error
func (*GroupMember) XXX_DiscardUnknown ¶
func (m *GroupMember) XXX_DiscardUnknown()
func (*GroupMember) XXX_Marshal ¶
func (m *GroupMember) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupMember) XXX_Merge ¶
func (m *GroupMember) XXX_Merge(src proto.Message)
func (*GroupMember) XXX_Size ¶
func (m *GroupMember) XXX_Size() int
func (*GroupMember) XXX_Unmarshal ¶
func (m *GroupMember) XXX_Unmarshal(b []byte) error
type Member ¶
type Member struct {
// address is the member's account address.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// weight is the member's voting weight that should be greater than 0.
Weight string `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
// metadata is any arbitrary metadata to attached to the member.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
Member represents a group member with an account address, non-zero weight and metadata.
func (*Member) Descriptor ¶
func (*Member) GetAddress ¶
func (*Member) GetMetadata ¶
func (*Member) MarshalToSizedBuffer ¶
func (*Member) ProtoMessage ¶
func (*Member) ProtoMessage()
func (Member) ValidateBasic ¶
func (*Member) XXX_DiscardUnknown ¶
func (m *Member) XXX_DiscardUnknown()
func (*Member) XXX_Marshal ¶
func (*Member) XXX_Unmarshal ¶
type Members ¶
type Members struct {
// members is the list of members.
Members []Member `protobuf:"bytes,1,rep,name=members,proto3" json:"members"`
}
Members defines a repeated slice of Member objects.
func (*Members) Descriptor ¶
func (*Members) GetMembers ¶
func (*Members) MarshalToSizedBuffer ¶
func (*Members) ProtoMessage ¶
func (*Members) ProtoMessage()
func (Members) ValidateBasic ¶
func (*Members) XXX_DiscardUnknown ¶
func (m *Members) XXX_DiscardUnknown()
func (*Members) XXX_Marshal ¶
func (*Members) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface {
// CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.
CreateGroup(ctx context.Context, in *MsgCreateGroup, opts ...grpc.CallOption) (*MsgCreateGroupResponse, error)
// UpdateGroupMembers updates the group members with given group id and admin address.
UpdateGroupMembers(ctx context.Context, in *MsgUpdateGroupMembers, opts ...grpc.CallOption) (*MsgUpdateGroupMembersResponse, error)
// UpdateGroupAdmin updates the group admin with given group id and previous admin address.
UpdateGroupAdmin(ctx context.Context, in *MsgUpdateGroupAdmin, opts ...grpc.CallOption) (*MsgUpdateGroupAdminResponse, error)
// UpdateGroupMetadata updates the group metadata with given group id and admin address.
UpdateGroupMetadata(ctx context.Context, in *MsgUpdateGroupMetadata, opts ...grpc.CallOption) (*MsgUpdateGroupMetadataResponse, error)
// CreateGroupAccount creates a new group account using given DecisionPolicy.
CreateGroupAccount(ctx context.Context, in *MsgCreateGroupAccount, opts ...grpc.CallOption) (*MsgCreateGroupAccountResponse, error)
// UpdateGroupAccountAdmin updates a group account admin.
UpdateGroupAccountAdmin(ctx context.Context, in *MsgUpdateGroupAccountAdmin, opts ...grpc.CallOption) (*MsgUpdateGroupAccountAdminResponse, error)
// UpdateGroupAccountDecisionPolicy allows a group account decision policy to be updated.
UpdateGroupAccountDecisionPolicy(ctx context.Context, in *MsgUpdateGroupAccountDecisionPolicy, opts ...grpc.CallOption) (*MsgUpdateGroupAccountDecisionPolicyResponse, error)
// UpdateGroupAccountMetadata updates a group account metadata.
UpdateGroupAccountMetadata(ctx context.Context, in *MsgUpdateGroupAccountMetadata, opts ...grpc.CallOption) (*MsgUpdateGroupAccountMetadataResponse, error)
// CreateProposal submits a new proposal.
CreateProposal(ctx context.Context, in *MsgCreateProposal, opts ...grpc.CallOption) (*MsgCreateProposalResponse, error)
// Vote allows a voter to vote on a proposal.
Vote(ctx context.Context, in *MsgVote, opts ...grpc.CallOption) (*MsgVoteResponse, error)
// VoteAgg allows a sender to submit a set of votes
VoteAgg(ctx context.Context, in *MsgVoteAgg, opts ...grpc.CallOption) (*MsgVoteAggResponse, error)
// Exec executes a proposal.
Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, error)
// CreatePoll submits a new poll.
CreatePoll(ctx context.Context, in *MsgCreatePoll, opts ...grpc.CallOption) (*MsgCreatePollResponse, error)
// VotePoll allows a voter to vote on a poll.
VotePoll(ctx context.Context, in *MsgVotePoll, opts ...grpc.CallOption) (*MsgVotePollResponse, error)
// VotePollAgg allows a sender to submit a set of votes
VotePollAgg(ctx context.Context, in *MsgVotePollAgg, opts ...grpc.CallOption) (*MsgVotePollAggResponse, error)
}
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgCreateGroup ¶
type MsgCreateGroup struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// members defines the group members.
Members []Member `protobuf:"bytes,2,rep,name=members,proto3" json:"members"`
// metadata is any arbitrary metadata to attached to the group.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// bls_only requires all the group members to use bls public keys so their votes can be aggregated together
BlsOnly bool `protobuf:"varint,4,opt,name=bls_only,json=blsOnly,proto3" json:"bls_only,omitempty"`
}
MsgCreateGroup is the Msg/CreateGroup request type.
func (*MsgCreateGroup) Descriptor ¶
func (*MsgCreateGroup) Descriptor() ([]byte, []int)
func (*MsgCreateGroup) GetAdmin ¶
func (m *MsgCreateGroup) GetAdmin() string
func (*MsgCreateGroup) GetBlsOnly ¶
func (m *MsgCreateGroup) GetBlsOnly() bool
func (*MsgCreateGroup) GetMembers ¶
func (m *MsgCreateGroup) GetMembers() []Member
func (*MsgCreateGroup) GetMetadata ¶
func (m *MsgCreateGroup) GetMetadata() []byte
func (MsgCreateGroup) GetSignBytes ¶
func (m MsgCreateGroup) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCreateGroup) GetSigners ¶
func (m MsgCreateGroup) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateGroup.
func (*MsgCreateGroup) Marshal ¶
func (m *MsgCreateGroup) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroup) MarshalToSizedBuffer ¶
func (m *MsgCreateGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroup) ProtoMessage ¶
func (*MsgCreateGroup) ProtoMessage()
func (*MsgCreateGroup) Reset ¶
func (m *MsgCreateGroup) Reset()
func (*MsgCreateGroup) Size ¶
func (m *MsgCreateGroup) Size() (n int)
func (*MsgCreateGroup) String ¶
func (m *MsgCreateGroup) String() string
func (*MsgCreateGroup) Unmarshal ¶
func (m *MsgCreateGroup) Unmarshal(dAtA []byte) error
func (MsgCreateGroup) ValidateBasic ¶
func (m MsgCreateGroup) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgCreateGroup) XXX_DiscardUnknown ¶
func (m *MsgCreateGroup) XXX_DiscardUnknown()
func (*MsgCreateGroup) XXX_Marshal ¶
func (m *MsgCreateGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroup) XXX_Merge ¶
func (m *MsgCreateGroup) XXX_Merge(src proto.Message)
func (*MsgCreateGroup) XXX_Size ¶
func (m *MsgCreateGroup) XXX_Size() int
func (*MsgCreateGroup) XXX_Unmarshal ¶
func (m *MsgCreateGroup) XXX_Unmarshal(b []byte) error
type MsgCreateGroupAccount ¶
type MsgCreateGroupAccount struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// metadata is any arbitrary metadata to attached to the group account.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// decision_policy specifies the group account's decision policy.
DecisionPolicy *types.Any `protobuf:"bytes,4,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"`
}
MsgCreateGroupAccount is the Msg/CreateGroupAccount request type.
func NewMsgCreateGroupAccount ¶
func NewMsgCreateGroupAccount(admin sdk.AccAddress, group uint64, metadata []byte, decisionPolicy DecisionPolicy) (*MsgCreateGroupAccount, error)
NewMsgCreateGroupAccount creates a new MsgCreateGroupAccount.
func (*MsgCreateGroupAccount) Descriptor ¶
func (*MsgCreateGroupAccount) Descriptor() ([]byte, []int)
func (*MsgCreateGroupAccount) GetAdmin ¶
func (m *MsgCreateGroupAccount) GetAdmin() string
func (*MsgCreateGroupAccount) GetDecisionPolicy ¶
func (m *MsgCreateGroupAccount) GetDecisionPolicy() DecisionPolicy
func (*MsgCreateGroupAccount) GetGroupID ¶
func (m *MsgCreateGroupAccount) GetGroupID() uint64
func (*MsgCreateGroupAccount) GetMetadata ¶
func (m *MsgCreateGroupAccount) GetMetadata() []byte
func (MsgCreateGroupAccount) GetSignBytes ¶
func (m MsgCreateGroupAccount) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCreateGroupAccount) GetSigners ¶
func (m MsgCreateGroupAccount) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateGroupAccount.
func (*MsgCreateGroupAccount) Marshal ¶
func (m *MsgCreateGroupAccount) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroupAccount) MarshalTo ¶
func (m *MsgCreateGroupAccount) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGroupAccount) MarshalToSizedBuffer ¶
func (m *MsgCreateGroupAccount) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroupAccount) ProtoMessage ¶
func (*MsgCreateGroupAccount) ProtoMessage()
func (*MsgCreateGroupAccount) Reset ¶
func (m *MsgCreateGroupAccount) Reset()
func (MsgCreateGroupAccount) Route ¶
func (m MsgCreateGroupAccount) Route() string
Route Implements Msg.
func (*MsgCreateGroupAccount) SetDecisionPolicy ¶
func (m *MsgCreateGroupAccount) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
func (*MsgCreateGroupAccount) Size ¶
func (m *MsgCreateGroupAccount) Size() (n int)
func (*MsgCreateGroupAccount) String ¶
func (m *MsgCreateGroupAccount) String() string
func (MsgCreateGroupAccount) Type ¶
func (m MsgCreateGroupAccount) Type() string
Type Implements Msg.
func (*MsgCreateGroupAccount) Unmarshal ¶
func (m *MsgCreateGroupAccount) Unmarshal(dAtA []byte) error
func (MsgCreateGroupAccount) UnpackInterfaces ¶
func (m MsgCreateGroupAccount) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateGroupAccount) ValidateBasic ¶
func (m MsgCreateGroupAccount) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgCreateGroupAccount) XXX_DiscardUnknown ¶
func (m *MsgCreateGroupAccount) XXX_DiscardUnknown()
func (*MsgCreateGroupAccount) XXX_Marshal ¶
func (m *MsgCreateGroupAccount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroupAccount) XXX_Merge ¶
func (m *MsgCreateGroupAccount) XXX_Merge(src proto.Message)
func (*MsgCreateGroupAccount) XXX_Size ¶
func (m *MsgCreateGroupAccount) XXX_Size() int
func (*MsgCreateGroupAccount) XXX_Unmarshal ¶
func (m *MsgCreateGroupAccount) XXX_Unmarshal(b []byte) error
type MsgCreateGroupAccountResponse ¶
type MsgCreateGroupAccountResponse struct {
// address is the account address of the newly created group account.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
MsgCreateGroupAccountResponse is the Msg/CreateGroupAccount response type.
func (*MsgCreateGroupAccountResponse) Descriptor ¶
func (*MsgCreateGroupAccountResponse) Descriptor() ([]byte, []int)
func (*MsgCreateGroupAccountResponse) GetAddress ¶
func (m *MsgCreateGroupAccountResponse) GetAddress() string
func (*MsgCreateGroupAccountResponse) Marshal ¶
func (m *MsgCreateGroupAccountResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroupAccountResponse) MarshalTo ¶
func (m *MsgCreateGroupAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGroupAccountResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateGroupAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroupAccountResponse) ProtoMessage ¶
func (*MsgCreateGroupAccountResponse) ProtoMessage()
func (*MsgCreateGroupAccountResponse) Reset ¶
func (m *MsgCreateGroupAccountResponse) Reset()
func (*MsgCreateGroupAccountResponse) Size ¶
func (m *MsgCreateGroupAccountResponse) Size() (n int)
func (*MsgCreateGroupAccountResponse) String ¶
func (m *MsgCreateGroupAccountResponse) String() string
func (*MsgCreateGroupAccountResponse) Unmarshal ¶
func (m *MsgCreateGroupAccountResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateGroupAccountResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateGroupAccountResponse) XXX_DiscardUnknown()
func (*MsgCreateGroupAccountResponse) XXX_Marshal ¶
func (m *MsgCreateGroupAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroupAccountResponse) XXX_Merge ¶
func (m *MsgCreateGroupAccountResponse) XXX_Merge(src proto.Message)
func (*MsgCreateGroupAccountResponse) XXX_Size ¶
func (m *MsgCreateGroupAccountResponse) XXX_Size() int
func (*MsgCreateGroupAccountResponse) XXX_Unmarshal ¶
func (m *MsgCreateGroupAccountResponse) XXX_Unmarshal(b []byte) error
type MsgCreateGroupResponse ¶
type MsgCreateGroupResponse struct {
// group_id is the unique ID of the newly created group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
MsgCreateGroupResponse is the Msg/CreateGroup response type.
func (*MsgCreateGroupResponse) Descriptor ¶
func (*MsgCreateGroupResponse) Descriptor() ([]byte, []int)
func (*MsgCreateGroupResponse) GetGroupId ¶
func (m *MsgCreateGroupResponse) GetGroupId() uint64
func (*MsgCreateGroupResponse) Marshal ¶
func (m *MsgCreateGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroupResponse) MarshalTo ¶
func (m *MsgCreateGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroupResponse) ProtoMessage ¶
func (*MsgCreateGroupResponse) ProtoMessage()
func (*MsgCreateGroupResponse) Reset ¶
func (m *MsgCreateGroupResponse) Reset()
func (*MsgCreateGroupResponse) Size ¶
func (m *MsgCreateGroupResponse) Size() (n int)
func (*MsgCreateGroupResponse) String ¶
func (m *MsgCreateGroupResponse) String() string
func (*MsgCreateGroupResponse) Unmarshal ¶
func (m *MsgCreateGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateGroupResponse) XXX_DiscardUnknown()
func (*MsgCreateGroupResponse) XXX_Marshal ¶
func (m *MsgCreateGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroupResponse) XXX_Merge ¶
func (m *MsgCreateGroupResponse) XXX_Merge(src proto.Message)
func (*MsgCreateGroupResponse) XXX_Size ¶
func (m *MsgCreateGroupResponse) XXX_Size() int
func (*MsgCreateGroupResponse) XXX_Unmarshal ¶
func (m *MsgCreateGroupResponse) XXX_Unmarshal(b []byte) error
type MsgCreatePoll ¶
type MsgCreatePoll struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
Options Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options"`
Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
// vote_limit is the number of options each voter can choose.
VoteLimit int32 `protobuf:"varint,5,opt,name=vote_limit,json=voteLimit,proto3" json:"vote_limit,omitempty"`
// metadata is any arbitrary metadata to attached to the proposal.
Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// timeout is the deadline of the poll.
Timeout types1.Timestamp `protobuf:"bytes,7,opt,name=timeout,proto3" json:"timeout"`
}
MsgCreateProposal is the Msg/CreateProposal request type.
func (*MsgCreatePoll) Descriptor ¶
func (*MsgCreatePoll) Descriptor() ([]byte, []int)
func (MsgCreatePoll) GetSignBytes ¶
func (m MsgCreatePoll) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCreatePoll) GetSigners ¶
func (m MsgCreatePoll) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateProposal.
func (*MsgCreatePoll) Marshal ¶
func (m *MsgCreatePoll) Marshal() (dAtA []byte, err error)
func (*MsgCreatePoll) MarshalToSizedBuffer ¶
func (m *MsgCreatePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePoll) ProtoMessage ¶
func (*MsgCreatePoll) ProtoMessage()
func (*MsgCreatePoll) Reset ¶
func (m *MsgCreatePoll) Reset()
func (*MsgCreatePoll) Size ¶
func (m *MsgCreatePoll) Size() (n int)
func (*MsgCreatePoll) String ¶
func (m *MsgCreatePoll) String() string
func (*MsgCreatePoll) Unmarshal ¶
func (m *MsgCreatePoll) Unmarshal(dAtA []byte) error
func (MsgCreatePoll) ValidateBasic ¶
func (m MsgCreatePoll) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgCreatePoll) XXX_DiscardUnknown ¶
func (m *MsgCreatePoll) XXX_DiscardUnknown()
func (*MsgCreatePoll) XXX_Marshal ¶
func (m *MsgCreatePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePoll) XXX_Merge ¶
func (m *MsgCreatePoll) XXX_Merge(src proto.Message)
func (*MsgCreatePoll) XXX_Size ¶
func (m *MsgCreatePoll) XXX_Size() int
func (*MsgCreatePoll) XXX_Unmarshal ¶
func (m *MsgCreatePoll) XXX_Unmarshal(b []byte) error
type MsgCreatePollResponse ¶
type MsgCreatePollResponse struct {
// poll_id is the unique ID of the poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
}
MsgCreateProposalResponse is the Msg/CreateProposal response type.
func (*MsgCreatePollResponse) Descriptor ¶
func (*MsgCreatePollResponse) Descriptor() ([]byte, []int)
func (*MsgCreatePollResponse) GetPollId ¶
func (m *MsgCreatePollResponse) GetPollId() uint64
func (*MsgCreatePollResponse) Marshal ¶
func (m *MsgCreatePollResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreatePollResponse) MarshalTo ¶
func (m *MsgCreatePollResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreatePollResponse) MarshalToSizedBuffer ¶
func (m *MsgCreatePollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreatePollResponse) ProtoMessage ¶
func (*MsgCreatePollResponse) ProtoMessage()
func (*MsgCreatePollResponse) Reset ¶
func (m *MsgCreatePollResponse) Reset()
func (*MsgCreatePollResponse) Size ¶
func (m *MsgCreatePollResponse) Size() (n int)
func (*MsgCreatePollResponse) String ¶
func (m *MsgCreatePollResponse) String() string
func (*MsgCreatePollResponse) Unmarshal ¶
func (m *MsgCreatePollResponse) Unmarshal(dAtA []byte) error
func (*MsgCreatePollResponse) XXX_DiscardUnknown ¶
func (m *MsgCreatePollResponse) XXX_DiscardUnknown()
func (*MsgCreatePollResponse) XXX_Marshal ¶
func (m *MsgCreatePollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreatePollResponse) XXX_Merge ¶
func (m *MsgCreatePollResponse) XXX_Merge(src proto.Message)
func (*MsgCreatePollResponse) XXX_Size ¶
func (m *MsgCreatePollResponse) XXX_Size() int
func (*MsgCreatePollResponse) XXX_Unmarshal ¶
func (m *MsgCreatePollResponse) XXX_Unmarshal(b []byte) error
type MsgCreateProposal ¶
type MsgCreateProposal struct {
// address is the group account address.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// proposers are the account addresses of the proposers.
// Proposers signatures will be counted as yes votes.
Proposers []string `protobuf:"bytes,2,rep,name=proposers,proto3" json:"proposers,omitempty"`
// metadata is any arbitrary metadata to attached to the proposal.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// msgs is a list of Msgs that will be executed if the proposal passes.
Msgs []*types.Any `protobuf:"bytes,4,rep,name=msgs,proto3" json:"msgs,omitempty"`
// exec defines the mode of execution of the proposal,
// whether it should be executed immediately on creation or not.
// If so, proposers signatures are considered as Yes votes.
Exec Exec `protobuf:"varint,5,opt,name=exec,proto3,enum=fetchai.group.v1alpha1.Exec" json:"exec,omitempty"`
}
MsgCreateProposal is the Msg/CreateProposal request type.
func NewMsgCreateProposalRequest ¶
func NewMsgCreateProposalRequest(address string, proposers []string, msgs []sdk.Msg, metadata []byte, exec Exec) (*MsgCreateProposal, error)
NewMsgCreateProposalRequest creates a new MsgCreateProposal.
func (*MsgCreateProposal) Descriptor ¶
func (*MsgCreateProposal) Descriptor() ([]byte, []int)
func (MsgCreateProposal) GetMsgs ¶
func (m MsgCreateProposal) GetMsgs() []sdk.Msg
GetMsgs unpacks m.Msgs Any's into sdk.Msg's
func (MsgCreateProposal) GetSignBytes ¶
func (m MsgCreateProposal) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCreateProposal) GetSigners ¶
func (m MsgCreateProposal) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateProposal.
func (*MsgCreateProposal) Marshal ¶
func (m *MsgCreateProposal) Marshal() (dAtA []byte, err error)
func (*MsgCreateProposal) MarshalTo ¶
func (m *MsgCreateProposal) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProposal) MarshalToSizedBuffer ¶
func (m *MsgCreateProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProposal) ProtoMessage ¶
func (*MsgCreateProposal) ProtoMessage()
func (*MsgCreateProposal) Reset ¶
func (m *MsgCreateProposal) Reset()
func (*MsgCreateProposal) SetMsgs ¶
func (m *MsgCreateProposal) SetMsgs(msgs []sdk.Msg) error
SetMsgs packs msgs into Any's
func (*MsgCreateProposal) Size ¶
func (m *MsgCreateProposal) Size() (n int)
func (*MsgCreateProposal) String ¶
func (m *MsgCreateProposal) String() string
func (*MsgCreateProposal) Unmarshal ¶
func (m *MsgCreateProposal) Unmarshal(dAtA []byte) error
func (MsgCreateProposal) UnpackInterfaces ¶
func (m MsgCreateProposal) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateProposal) ValidateBasic ¶
func (m MsgCreateProposal) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgCreateProposal) XXX_DiscardUnknown ¶
func (m *MsgCreateProposal) XXX_DiscardUnknown()
func (*MsgCreateProposal) XXX_Marshal ¶
func (m *MsgCreateProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProposal) XXX_Merge ¶
func (m *MsgCreateProposal) XXX_Merge(src proto.Message)
func (*MsgCreateProposal) XXX_Size ¶
func (m *MsgCreateProposal) XXX_Size() int
func (*MsgCreateProposal) XXX_Unmarshal ¶
func (m *MsgCreateProposal) XXX_Unmarshal(b []byte) error
type MsgCreateProposalResponse ¶
type MsgCreateProposalResponse struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
MsgCreateProposalResponse is the Msg/CreateProposal response type.
func (*MsgCreateProposalResponse) Descriptor ¶
func (*MsgCreateProposalResponse) Descriptor() ([]byte, []int)
func (*MsgCreateProposalResponse) GetProposalId ¶
func (m *MsgCreateProposalResponse) GetProposalId() uint64
func (*MsgCreateProposalResponse) Marshal ¶
func (m *MsgCreateProposalResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateProposalResponse) MarshalTo ¶
func (m *MsgCreateProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateProposalResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateProposalResponse) ProtoMessage ¶
func (*MsgCreateProposalResponse) ProtoMessage()
func (*MsgCreateProposalResponse) Reset ¶
func (m *MsgCreateProposalResponse) Reset()
func (*MsgCreateProposalResponse) Size ¶
func (m *MsgCreateProposalResponse) Size() (n int)
func (*MsgCreateProposalResponse) String ¶
func (m *MsgCreateProposalResponse) String() string
func (*MsgCreateProposalResponse) Unmarshal ¶
func (m *MsgCreateProposalResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateProposalResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateProposalResponse) XXX_DiscardUnknown()
func (*MsgCreateProposalResponse) XXX_Marshal ¶
func (m *MsgCreateProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateProposalResponse) XXX_Merge ¶
func (m *MsgCreateProposalResponse) XXX_Merge(src proto.Message)
func (*MsgCreateProposalResponse) XXX_Size ¶
func (m *MsgCreateProposalResponse) XXX_Size() int
func (*MsgCreateProposalResponse) XXX_Unmarshal ¶
func (m *MsgCreateProposalResponse) XXX_Unmarshal(b []byte) error
type MsgExec ¶
type MsgExec struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// signer is the account address used to execute the proposal.
Signer string `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
}
MsgExec is the Msg/Exec request type.
func (*MsgExec) Descriptor ¶
func (*MsgExec) GetProposalId ¶
func (MsgExec) GetSigners ¶
func (m MsgExec) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgExec.
func (*MsgExec) MarshalToSizedBuffer ¶
func (*MsgExec) ProtoMessage ¶
func (*MsgExec) ProtoMessage()
func (MsgExec) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data
func (*MsgExec) XXX_DiscardUnknown ¶
func (m *MsgExec) XXX_DiscardUnknown()
func (*MsgExec) XXX_Marshal ¶
func (*MsgExec) XXX_Unmarshal ¶
type MsgExecResponse ¶
type MsgExecResponse struct {
}
MsgExecResponse is the Msg/Exec request type.
func (*MsgExecResponse) Descriptor ¶
func (*MsgExecResponse) Descriptor() ([]byte, []int)
func (*MsgExecResponse) Marshal ¶
func (m *MsgExecResponse) Marshal() (dAtA []byte, err error)
func (*MsgExecResponse) MarshalToSizedBuffer ¶
func (m *MsgExecResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgExecResponse) ProtoMessage ¶
func (*MsgExecResponse) ProtoMessage()
func (*MsgExecResponse) Reset ¶
func (m *MsgExecResponse) Reset()
func (*MsgExecResponse) Size ¶
func (m *MsgExecResponse) Size() (n int)
func (*MsgExecResponse) String ¶
func (m *MsgExecResponse) String() string
func (*MsgExecResponse) Unmarshal ¶
func (m *MsgExecResponse) Unmarshal(dAtA []byte) error
func (*MsgExecResponse) XXX_DiscardUnknown ¶
func (m *MsgExecResponse) XXX_DiscardUnknown()
func (*MsgExecResponse) XXX_Marshal ¶
func (m *MsgExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgExecResponse) XXX_Merge ¶
func (m *MsgExecResponse) XXX_Merge(src proto.Message)
func (*MsgExecResponse) XXX_Size ¶
func (m *MsgExecResponse) XXX_Size() int
func (*MsgExecResponse) XXX_Unmarshal ¶
func (m *MsgExecResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface {
// CreateGroup creates a new group with an admin account address, a list of members and some optional metadata.
CreateGroup(context.Context, *MsgCreateGroup) (*MsgCreateGroupResponse, error)
// UpdateGroupMembers updates the group members with given group id and admin address.
UpdateGroupMembers(context.Context, *MsgUpdateGroupMembers) (*MsgUpdateGroupMembersResponse, error)
// UpdateGroupAdmin updates the group admin with given group id and previous admin address.
UpdateGroupAdmin(context.Context, *MsgUpdateGroupAdmin) (*MsgUpdateGroupAdminResponse, error)
// UpdateGroupMetadata updates the group metadata with given group id and admin address.
UpdateGroupMetadata(context.Context, *MsgUpdateGroupMetadata) (*MsgUpdateGroupMetadataResponse, error)
// CreateGroupAccount creates a new group account using given DecisionPolicy.
CreateGroupAccount(context.Context, *MsgCreateGroupAccount) (*MsgCreateGroupAccountResponse, error)
// UpdateGroupAccountAdmin updates a group account admin.
UpdateGroupAccountAdmin(context.Context, *MsgUpdateGroupAccountAdmin) (*MsgUpdateGroupAccountAdminResponse, error)
// UpdateGroupAccountDecisionPolicy allows a group account decision policy to be updated.
UpdateGroupAccountDecisionPolicy(context.Context, *MsgUpdateGroupAccountDecisionPolicy) (*MsgUpdateGroupAccountDecisionPolicyResponse, error)
// UpdateGroupAccountMetadata updates a group account metadata.
UpdateGroupAccountMetadata(context.Context, *MsgUpdateGroupAccountMetadata) (*MsgUpdateGroupAccountMetadataResponse, error)
// CreateProposal submits a new proposal.
CreateProposal(context.Context, *MsgCreateProposal) (*MsgCreateProposalResponse, error)
// Vote allows a voter to vote on a proposal.
Vote(context.Context, *MsgVote) (*MsgVoteResponse, error)
// VoteAgg allows a sender to submit a set of votes
VoteAgg(context.Context, *MsgVoteAgg) (*MsgVoteAggResponse, error)
// Exec executes a proposal.
Exec(context.Context, *MsgExec) (*MsgExecResponse, error)
// CreatePoll submits a new poll.
CreatePoll(context.Context, *MsgCreatePoll) (*MsgCreatePollResponse, error)
// VotePoll allows a voter to vote on a poll.
VotePoll(context.Context, *MsgVotePoll) (*MsgVotePollResponse, error)
// VotePollAgg allows a sender to submit a set of votes
VotePollAgg(context.Context, *MsgVotePollAgg) (*MsgVotePollAggResponse, error)
}
MsgServer is the server API for Msg service.
type MsgUpdateGroupAccountAdmin ¶
type MsgUpdateGroupAccountAdmin struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// new_admin is the new group account admin.
NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
}
MsgUpdateGroupAccountAdmin is the Msg/UpdateGroupAccountAdmin request type.
func (*MsgUpdateGroupAccountAdmin) Descriptor ¶
func (*MsgUpdateGroupAccountAdmin) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAccountAdmin) GetAddress ¶
func (m *MsgUpdateGroupAccountAdmin) GetAddress() string
func (*MsgUpdateGroupAccountAdmin) GetAdmin ¶
func (m *MsgUpdateGroupAccountAdmin) GetAdmin() string
func (*MsgUpdateGroupAccountAdmin) GetNewAdmin ¶
func (m *MsgUpdateGroupAccountAdmin) GetNewAdmin() string
func (MsgUpdateGroupAccountAdmin) GetSignBytes ¶
func (m MsgUpdateGroupAccountAdmin) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupAccountAdmin) GetSigners ¶
func (m MsgUpdateGroupAccountAdmin) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupAccountAdmin.
func (*MsgUpdateGroupAccountAdmin) Marshal ¶
func (m *MsgUpdateGroupAccountAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAccountAdmin) MarshalTo ¶
func (m *MsgUpdateGroupAccountAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountAdmin) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAccountAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountAdmin) ProtoMessage ¶
func (*MsgUpdateGroupAccountAdmin) ProtoMessage()
func (*MsgUpdateGroupAccountAdmin) Reset ¶
func (m *MsgUpdateGroupAccountAdmin) Reset()
func (MsgUpdateGroupAccountAdmin) Route ¶
func (m MsgUpdateGroupAccountAdmin) Route() string
Route Implements Msg.
func (*MsgUpdateGroupAccountAdmin) Size ¶
func (m *MsgUpdateGroupAccountAdmin) Size() (n int)
func (*MsgUpdateGroupAccountAdmin) String ¶
func (m *MsgUpdateGroupAccountAdmin) String() string
func (MsgUpdateGroupAccountAdmin) Type ¶
func (m MsgUpdateGroupAccountAdmin) Type() string
Type Implements Msg.
func (*MsgUpdateGroupAccountAdmin) Unmarshal ¶
func (m *MsgUpdateGroupAccountAdmin) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupAccountAdmin) ValidateBasic ¶
func (m MsgUpdateGroupAccountAdmin) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupAccountAdmin) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAccountAdmin) XXX_DiscardUnknown()
func (*MsgUpdateGroupAccountAdmin) XXX_Marshal ¶
func (m *MsgUpdateGroupAccountAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAccountAdmin) XXX_Merge ¶
func (m *MsgUpdateGroupAccountAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAccountAdmin) XXX_Size ¶
func (m *MsgUpdateGroupAccountAdmin) XXX_Size() int
func (*MsgUpdateGroupAccountAdmin) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAccountAdmin) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAccountAdminResponse ¶
type MsgUpdateGroupAccountAdminResponse struct {
}
MsgUpdateGroupAccountAdminResponse is the Msg/UpdateGroupAccountAdmin response type.
func (*MsgUpdateGroupAccountAdminResponse) Descriptor ¶
func (*MsgUpdateGroupAccountAdminResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAccountAdminResponse) Marshal ¶
func (m *MsgUpdateGroupAccountAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAccountAdminResponse) MarshalTo ¶
func (m *MsgUpdateGroupAccountAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAccountAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountAdminResponse) ProtoMessage ¶
func (*MsgUpdateGroupAccountAdminResponse) ProtoMessage()
func (*MsgUpdateGroupAccountAdminResponse) Reset ¶
func (m *MsgUpdateGroupAccountAdminResponse) Reset()
func (*MsgUpdateGroupAccountAdminResponse) Size ¶
func (m *MsgUpdateGroupAccountAdminResponse) Size() (n int)
func (*MsgUpdateGroupAccountAdminResponse) String ¶
func (m *MsgUpdateGroupAccountAdminResponse) String() string
func (*MsgUpdateGroupAccountAdminResponse) Unmarshal ¶
func (m *MsgUpdateGroupAccountAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupAccountAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAccountAdminResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupAccountAdminResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAccountAdminResponse) XXX_Merge ¶
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAccountAdminResponse) XXX_Size ¶
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Size() int
func (*MsgUpdateGroupAccountAdminResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAccountAdminResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAccountDecisionPolicy ¶
type MsgUpdateGroupAccountDecisionPolicy struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// decision_policy is the updated group account decision policy.
DecisionPolicy *types.Any `protobuf:"bytes,3,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"`
}
MsgUpdateGroupAccountDecisionPolicy is the Msg/UpdateGroupAccountDecisionPolicy request type.
func NewMsgUpdateGroupAccountDecisionPolicyRequest ¶
func NewMsgUpdateGroupAccountDecisionPolicyRequest(admin sdk.AccAddress, address sdk.AccAddress, decisionPolicy DecisionPolicy) (*MsgUpdateGroupAccountDecisionPolicy, error)
func (*MsgUpdateGroupAccountDecisionPolicy) Descriptor ¶
func (*MsgUpdateGroupAccountDecisionPolicy) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAccountDecisionPolicy) GetDecisionPolicy ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) GetDecisionPolicy() DecisionPolicy
func (MsgUpdateGroupAccountDecisionPolicy) GetSignBytes ¶
func (m MsgUpdateGroupAccountDecisionPolicy) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupAccountDecisionPolicy) GetSigners ¶
func (m MsgUpdateGroupAccountDecisionPolicy) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupAccountDecisionPolicy.
func (*MsgUpdateGroupAccountDecisionPolicy) Marshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAccountDecisionPolicy) MarshalTo ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountDecisionPolicy) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountDecisionPolicy) ProtoMessage ¶
func (*MsgUpdateGroupAccountDecisionPolicy) ProtoMessage()
func (*MsgUpdateGroupAccountDecisionPolicy) Reset ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) Reset()
func (MsgUpdateGroupAccountDecisionPolicy) Route ¶
func (m MsgUpdateGroupAccountDecisionPolicy) Route() string
Route Implements Msg.
func (*MsgUpdateGroupAccountDecisionPolicy) SetDecisionPolicy ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
func (*MsgUpdateGroupAccountDecisionPolicy) Size ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) Size() (n int)
func (*MsgUpdateGroupAccountDecisionPolicy) String ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) String() string
func (MsgUpdateGroupAccountDecisionPolicy) Type ¶
func (m MsgUpdateGroupAccountDecisionPolicy) Type() string
Type Implements Msg.
func (*MsgUpdateGroupAccountDecisionPolicy) Unmarshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupAccountDecisionPolicy) UnpackInterfaces ¶
func (m MsgUpdateGroupAccountDecisionPolicy) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgUpdateGroupAccountDecisionPolicy) ValidateBasic ¶
func (m MsgUpdateGroupAccountDecisionPolicy) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupAccountDecisionPolicy) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_DiscardUnknown()
func (*MsgUpdateGroupAccountDecisionPolicy) XXX_Marshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAccountDecisionPolicy) XXX_Merge ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAccountDecisionPolicy) XXX_Size ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Size() int
func (*MsgUpdateGroupAccountDecisionPolicy) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicy) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAccountDecisionPolicyResponse ¶
type MsgUpdateGroupAccountDecisionPolicyResponse struct {
}
MsgUpdateGroupAccountDecisionPolicyResponse is the Msg/UpdateGroupAccountDecisionPolicy response type.
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Descriptor ¶
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Marshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) MarshalTo ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) ProtoMessage ¶
func (*MsgUpdateGroupAccountDecisionPolicyResponse) ProtoMessage()
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Reset ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Reset()
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Size ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Size() (n int)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) String ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) String() string
func (*MsgUpdateGroupAccountDecisionPolicyResponse) Unmarshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupAccountDecisionPolicyResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Merge ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Size ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Size() int
func (*MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAccountDecisionPolicyResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAccountMetadata ¶
type MsgUpdateGroupAccountMetadata struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// metadata is the updated group account metadata.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
MsgUpdateGroupAccountMetadata is the Msg/UpdateGroupAccountMetadata request type.
func (*MsgUpdateGroupAccountMetadata) Descriptor ¶
func (*MsgUpdateGroupAccountMetadata) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAccountMetadata) GetAddress ¶
func (m *MsgUpdateGroupAccountMetadata) GetAddress() string
func (*MsgUpdateGroupAccountMetadata) GetAdmin ¶
func (m *MsgUpdateGroupAccountMetadata) GetAdmin() string
func (*MsgUpdateGroupAccountMetadata) GetMetadata ¶
func (m *MsgUpdateGroupAccountMetadata) GetMetadata() []byte
func (MsgUpdateGroupAccountMetadata) GetSignBytes ¶
func (m MsgUpdateGroupAccountMetadata) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupAccountMetadata) GetSigners ¶
func (m MsgUpdateGroupAccountMetadata) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupAccountMetadata.
func (*MsgUpdateGroupAccountMetadata) Marshal ¶
func (m *MsgUpdateGroupAccountMetadata) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAccountMetadata) MarshalTo ¶
func (m *MsgUpdateGroupAccountMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountMetadata) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAccountMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountMetadata) ProtoMessage ¶
func (*MsgUpdateGroupAccountMetadata) ProtoMessage()
func (*MsgUpdateGroupAccountMetadata) Reset ¶
func (m *MsgUpdateGroupAccountMetadata) Reset()
func (MsgUpdateGroupAccountMetadata) Route ¶
func (m MsgUpdateGroupAccountMetadata) Route() string
Route Implements Msg.
func (*MsgUpdateGroupAccountMetadata) Size ¶
func (m *MsgUpdateGroupAccountMetadata) Size() (n int)
func (*MsgUpdateGroupAccountMetadata) String ¶
func (m *MsgUpdateGroupAccountMetadata) String() string
func (MsgUpdateGroupAccountMetadata) Type ¶
func (m MsgUpdateGroupAccountMetadata) Type() string
Type Implements Msg.
func (*MsgUpdateGroupAccountMetadata) Unmarshal ¶
func (m *MsgUpdateGroupAccountMetadata) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupAccountMetadata) ValidateBasic ¶
func (m MsgUpdateGroupAccountMetadata) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupAccountMetadata) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAccountMetadata) XXX_DiscardUnknown()
func (*MsgUpdateGroupAccountMetadata) XXX_Marshal ¶
func (m *MsgUpdateGroupAccountMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAccountMetadata) XXX_Merge ¶
func (m *MsgUpdateGroupAccountMetadata) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAccountMetadata) XXX_Size ¶
func (m *MsgUpdateGroupAccountMetadata) XXX_Size() int
func (*MsgUpdateGroupAccountMetadata) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAccountMetadata) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAccountMetadataResponse ¶
type MsgUpdateGroupAccountMetadataResponse struct {
}
MsgUpdateGroupAccountMetadataResponse is the Msg/UpdateGroupAccountMetadata response type.
func (*MsgUpdateGroupAccountMetadataResponse) Descriptor ¶
func (*MsgUpdateGroupAccountMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAccountMetadataResponse) Marshal ¶
func (m *MsgUpdateGroupAccountMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAccountMetadataResponse) MarshalTo ¶
func (m *MsgUpdateGroupAccountMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAccountMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAccountMetadataResponse) ProtoMessage ¶
func (*MsgUpdateGroupAccountMetadataResponse) ProtoMessage()
func (*MsgUpdateGroupAccountMetadataResponse) Reset ¶
func (m *MsgUpdateGroupAccountMetadataResponse) Reset()
func (*MsgUpdateGroupAccountMetadataResponse) Size ¶
func (m *MsgUpdateGroupAccountMetadataResponse) Size() (n int)
func (*MsgUpdateGroupAccountMetadataResponse) String ¶
func (m *MsgUpdateGroupAccountMetadataResponse) String() string
func (*MsgUpdateGroupAccountMetadataResponse) Unmarshal ¶
func (m *MsgUpdateGroupAccountMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupAccountMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupAccountMetadataResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAccountMetadataResponse) XXX_Merge ¶
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAccountMetadataResponse) XXX_Size ¶
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Size() int
func (*MsgUpdateGroupAccountMetadataResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAccountMetadataResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAdmin ¶
type MsgUpdateGroupAdmin struct {
// admin is the current account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// new_admin is the group new admin account address.
NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"`
}
MsgUpdateGroupAdmin is the Msg/UpdateGroupAdmin request type.
func (*MsgUpdateGroupAdmin) Descriptor ¶
func (*MsgUpdateGroupAdmin) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAdmin) GetAdmin ¶
func (m *MsgUpdateGroupAdmin) GetAdmin() string
func (*MsgUpdateGroupAdmin) GetGroupID ¶
func (m *MsgUpdateGroupAdmin) GetGroupID() uint64
func (*MsgUpdateGroupAdmin) GetGroupId ¶
func (m *MsgUpdateGroupAdmin) GetGroupId() uint64
func (*MsgUpdateGroupAdmin) GetNewAdmin ¶
func (m *MsgUpdateGroupAdmin) GetNewAdmin() string
func (MsgUpdateGroupAdmin) GetSignBytes ¶
func (m MsgUpdateGroupAdmin) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupAdmin) GetSigners ¶
func (m MsgUpdateGroupAdmin) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupAdmin.
func (*MsgUpdateGroupAdmin) Marshal ¶
func (m *MsgUpdateGroupAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAdmin) MarshalTo ¶
func (m *MsgUpdateGroupAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAdmin) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAdmin) ProtoMessage ¶
func (*MsgUpdateGroupAdmin) ProtoMessage()
func (*MsgUpdateGroupAdmin) Reset ¶
func (m *MsgUpdateGroupAdmin) Reset()
func (MsgUpdateGroupAdmin) Route ¶
func (m MsgUpdateGroupAdmin) Route() string
Route Implements Msg.
func (*MsgUpdateGroupAdmin) Size ¶
func (m *MsgUpdateGroupAdmin) Size() (n int)
func (*MsgUpdateGroupAdmin) String ¶
func (m *MsgUpdateGroupAdmin) String() string
func (*MsgUpdateGroupAdmin) Unmarshal ¶
func (m *MsgUpdateGroupAdmin) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupAdmin) ValidateBasic ¶
func (m MsgUpdateGroupAdmin) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupAdmin) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAdmin) XXX_DiscardUnknown()
func (*MsgUpdateGroupAdmin) XXX_Marshal ¶
func (m *MsgUpdateGroupAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAdmin) XXX_Merge ¶
func (m *MsgUpdateGroupAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAdmin) XXX_Size ¶
func (m *MsgUpdateGroupAdmin) XXX_Size() int
func (*MsgUpdateGroupAdmin) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAdmin) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupAdminResponse ¶
type MsgUpdateGroupAdminResponse struct {
}
MsgUpdateGroupAdminResponse is the Msg/UpdateGroupAdmin response type.
func (*MsgUpdateGroupAdminResponse) Descriptor ¶
func (*MsgUpdateGroupAdminResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupAdminResponse) Marshal ¶
func (m *MsgUpdateGroupAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupAdminResponse) MarshalTo ¶
func (m *MsgUpdateGroupAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupAdminResponse) ProtoMessage ¶
func (*MsgUpdateGroupAdminResponse) ProtoMessage()
func (*MsgUpdateGroupAdminResponse) Reset ¶
func (m *MsgUpdateGroupAdminResponse) Reset()
func (*MsgUpdateGroupAdminResponse) Size ¶
func (m *MsgUpdateGroupAdminResponse) Size() (n int)
func (*MsgUpdateGroupAdminResponse) String ¶
func (m *MsgUpdateGroupAdminResponse) String() string
func (*MsgUpdateGroupAdminResponse) Unmarshal ¶
func (m *MsgUpdateGroupAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupAdminResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupAdminResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupAdminResponse) XXX_Merge ¶
func (m *MsgUpdateGroupAdminResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupAdminResponse) XXX_Size ¶
func (m *MsgUpdateGroupAdminResponse) XXX_Size() int
func (*MsgUpdateGroupAdminResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupAdminResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMembers ¶
type MsgUpdateGroupMembers struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// member_updates is the list of members to update,
// set weight to 0 to remove a member.
MemberUpdates []Member `protobuf:"bytes,3,rep,name=member_updates,json=memberUpdates,proto3" json:"member_updates"`
}
MsgUpdateGroupMembers is the Msg/UpdateGroupMembers request type.
func (*MsgUpdateGroupMembers) Descriptor ¶
func (*MsgUpdateGroupMembers) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMembers) GetAdmin ¶
func (m *MsgUpdateGroupMembers) GetAdmin() string
func (*MsgUpdateGroupMembers) GetGroupID ¶
func (m *MsgUpdateGroupMembers) GetGroupID() uint64
func (*MsgUpdateGroupMembers) GetGroupId ¶
func (m *MsgUpdateGroupMembers) GetGroupId() uint64
func (*MsgUpdateGroupMembers) GetMemberUpdates ¶
func (m *MsgUpdateGroupMembers) GetMemberUpdates() []Member
func (MsgUpdateGroupMembers) GetSignBytes ¶
func (m MsgUpdateGroupMembers) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupMembers) GetSigners ¶
func (m MsgUpdateGroupMembers) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupMembers.
func (*MsgUpdateGroupMembers) Marshal ¶
func (m *MsgUpdateGroupMembers) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMembers) MarshalTo ¶
func (m *MsgUpdateGroupMembers) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMembers) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMembers) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMembers) ProtoMessage ¶
func (*MsgUpdateGroupMembers) ProtoMessage()
func (*MsgUpdateGroupMembers) Reset ¶
func (m *MsgUpdateGroupMembers) Reset()
func (MsgUpdateGroupMembers) Route ¶
func (m MsgUpdateGroupMembers) Route() string
Route Implements Msg.
func (*MsgUpdateGroupMembers) Size ¶
func (m *MsgUpdateGroupMembers) Size() (n int)
func (*MsgUpdateGroupMembers) String ¶
func (m *MsgUpdateGroupMembers) String() string
func (MsgUpdateGroupMembers) Type ¶
func (m MsgUpdateGroupMembers) Type() string
Type Implements Msg.
func (*MsgUpdateGroupMembers) Unmarshal ¶
func (m *MsgUpdateGroupMembers) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupMembers) ValidateBasic ¶
func (m MsgUpdateGroupMembers) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupMembers) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMembers) XXX_DiscardUnknown()
func (*MsgUpdateGroupMembers) XXX_Marshal ¶
func (m *MsgUpdateGroupMembers) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMembers) XXX_Merge ¶
func (m *MsgUpdateGroupMembers) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMembers) XXX_Size ¶
func (m *MsgUpdateGroupMembers) XXX_Size() int
func (*MsgUpdateGroupMembers) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMembers) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMembersResponse ¶
type MsgUpdateGroupMembersResponse struct {
}
MsgUpdateGroupMembersResponse is the Msg/UpdateGroupMembers response type.
func (*MsgUpdateGroupMembersResponse) Descriptor ¶
func (*MsgUpdateGroupMembersResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMembersResponse) Marshal ¶
func (m *MsgUpdateGroupMembersResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMembersResponse) MarshalTo ¶
func (m *MsgUpdateGroupMembersResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMembersResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMembersResponse) ProtoMessage ¶
func (*MsgUpdateGroupMembersResponse) ProtoMessage()
func (*MsgUpdateGroupMembersResponse) Reset ¶
func (m *MsgUpdateGroupMembersResponse) Reset()
func (*MsgUpdateGroupMembersResponse) Size ¶
func (m *MsgUpdateGroupMembersResponse) Size() (n int)
func (*MsgUpdateGroupMembersResponse) String ¶
func (m *MsgUpdateGroupMembersResponse) String() string
func (*MsgUpdateGroupMembersResponse) Unmarshal ¶
func (m *MsgUpdateGroupMembersResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupMembersResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMembersResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupMembersResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMembersResponse) XXX_Merge ¶
func (m *MsgUpdateGroupMembersResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMembersResponse) XXX_Size ¶
func (m *MsgUpdateGroupMembersResponse) XXX_Size() int
func (*MsgUpdateGroupMembersResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMembersResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMetadata ¶
type MsgUpdateGroupMetadata struct {
// admin is the account address of the group admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// metadata is the updated group's metadata.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
MsgUpdateGroupMetadata is the Msg/UpdateGroupMetadata request type.
func (*MsgUpdateGroupMetadata) Descriptor ¶
func (*MsgUpdateGroupMetadata) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMetadata) GetAdmin ¶
func (m *MsgUpdateGroupMetadata) GetAdmin() string
func (*MsgUpdateGroupMetadata) GetGroupID ¶
func (m *MsgUpdateGroupMetadata) GetGroupID() uint64
func (*MsgUpdateGroupMetadata) GetGroupId ¶
func (m *MsgUpdateGroupMetadata) GetGroupId() uint64
func (*MsgUpdateGroupMetadata) GetMetadata ¶
func (m *MsgUpdateGroupMetadata) GetMetadata() []byte
func (MsgUpdateGroupMetadata) GetSignBytes ¶
func (m MsgUpdateGroupMetadata) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupMetadata) GetSigners ¶
func (m MsgUpdateGroupMetadata) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupMetadata.
func (*MsgUpdateGroupMetadata) Marshal ¶
func (m *MsgUpdateGroupMetadata) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMetadata) MarshalTo ¶
func (m *MsgUpdateGroupMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMetadata) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMetadata) ProtoMessage ¶
func (*MsgUpdateGroupMetadata) ProtoMessage()
func (*MsgUpdateGroupMetadata) Reset ¶
func (m *MsgUpdateGroupMetadata) Reset()
func (MsgUpdateGroupMetadata) Route ¶
func (m MsgUpdateGroupMetadata) Route() string
Route Implements Msg.
func (*MsgUpdateGroupMetadata) Size ¶
func (m *MsgUpdateGroupMetadata) Size() (n int)
func (*MsgUpdateGroupMetadata) String ¶
func (m *MsgUpdateGroupMetadata) String() string
func (MsgUpdateGroupMetadata) Type ¶
func (m MsgUpdateGroupMetadata) Type() string
Type Implements Msg.
func (*MsgUpdateGroupMetadata) Unmarshal ¶
func (m *MsgUpdateGroupMetadata) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupMetadata) ValidateBasic ¶
func (m MsgUpdateGroupMetadata) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupMetadata) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMetadata) XXX_DiscardUnknown()
func (*MsgUpdateGroupMetadata) XXX_Marshal ¶
func (m *MsgUpdateGroupMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMetadata) XXX_Merge ¶
func (m *MsgUpdateGroupMetadata) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMetadata) XXX_Size ¶
func (m *MsgUpdateGroupMetadata) XXX_Size() int
func (*MsgUpdateGroupMetadata) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMetadata) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupMetadataResponse ¶
type MsgUpdateGroupMetadataResponse struct {
}
MsgUpdateGroupMetadataResponse is the Msg/UpdateGroupMetadata response type.
func (*MsgUpdateGroupMetadataResponse) Descriptor ¶
func (*MsgUpdateGroupMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupMetadataResponse) Marshal ¶
func (m *MsgUpdateGroupMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupMetadataResponse) MarshalTo ¶
func (m *MsgUpdateGroupMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupMetadataResponse) ProtoMessage ¶
func (*MsgUpdateGroupMetadataResponse) ProtoMessage()
func (*MsgUpdateGroupMetadataResponse) Reset ¶
func (m *MsgUpdateGroupMetadataResponse) Reset()
func (*MsgUpdateGroupMetadataResponse) Size ¶
func (m *MsgUpdateGroupMetadataResponse) Size() (n int)
func (*MsgUpdateGroupMetadataResponse) String ¶
func (m *MsgUpdateGroupMetadataResponse) String() string
func (*MsgUpdateGroupMetadataResponse) Unmarshal ¶
func (m *MsgUpdateGroupMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupMetadataResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupMetadataResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupMetadataResponse) XXX_Merge ¶
func (m *MsgUpdateGroupMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupMetadataResponse) XXX_Size ¶
func (m *MsgUpdateGroupMetadataResponse) XXX_Size() int
func (*MsgUpdateGroupMetadataResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupMetadataResponse) XXX_Unmarshal(b []byte) error
type MsgVote ¶
type MsgVote struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// voter is the voter account address.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
// choice is the voter's choice on the proposal.
Choice Choice `protobuf:"varint,3,opt,name=choice,proto3,enum=fetchai.group.v1alpha1.Choice" json:"choice,omitempty"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// exec defines whether the proposal should be executed
// immediately after voting or not.
Exec Exec `protobuf:"varint,5,opt,name=exec,proto3,enum=fetchai.group.v1alpha1.Exec" json:"exec,omitempty"`
}
MsgVote is the Msg/Vote request type.
func (*MsgVote) Descriptor ¶
func (*MsgVote) GetMetadata ¶
func (*MsgVote) GetProposalId ¶
func (MsgVote) GetSigners ¶
func (m MsgVote) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVote.
func (*MsgVote) MarshalToSizedBuffer ¶
func (*MsgVote) ProtoMessage ¶
func (*MsgVote) ProtoMessage()
func (MsgVote) ValidateBasic ¶
ValidateBasic does a sanity check on the provided data
func (*MsgVote) XXX_DiscardUnknown ¶
func (m *MsgVote) XXX_DiscardUnknown()
func (*MsgVote) XXX_Marshal ¶
func (*MsgVote) XXX_Unmarshal ¶
type MsgVoteAgg ¶
type MsgVoteAgg struct {
// sender is the person who submits the votes
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,2,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// votes are the list of voters' choices on the proposal.
Votes []Choice `protobuf:"varint,3,rep,packed,name=votes,proto3,enum=fetchai.group.v1alpha1.Choice" json:"votes,omitempty"`
// expiry is the timestamp after which the basic vote expires.
// All the basic votes to be aggregated must have the same expiry.
// Expiry should be set to be before the proposal timeout in order to
// prevent replay attacks and also prevent the aggregator from removing
// some basic votes.
Expiry types1.Timestamp `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry"`
// agg_sig is the bls aggregated signature for all the votes
AggSig []byte `protobuf:"bytes,5,opt,name=agg_sig,json=aggSig,proto3" json:"agg_sig,omitempty"`
// metadata is any arbitrary metadata attached to the vote.
Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
// exec defines whether the proposal should be executed
// immediately after voting or not.
Exec Exec `protobuf:"varint,7,opt,name=exec,proto3,enum=fetchai.group.v1alpha1.Exec" json:"exec,omitempty"`
}
MsgVoteAgg is the Msg/VoteAgg request type.
func (*MsgVoteAgg) Descriptor ¶
func (*MsgVoteAgg) Descriptor() ([]byte, []int)
func (*MsgVoteAgg) GetAggSig ¶
func (m *MsgVoteAgg) GetAggSig() []byte
func (*MsgVoteAgg) GetExec ¶
func (m *MsgVoteAgg) GetExec() Exec
func (*MsgVoteAgg) GetExpiry ¶
func (m *MsgVoteAgg) GetExpiry() types1.Timestamp
func (*MsgVoteAgg) GetMetadata ¶
func (m *MsgVoteAgg) GetMetadata() []byte
func (*MsgVoteAgg) GetProposalId ¶
func (m *MsgVoteAgg) GetProposalId() uint64
func (*MsgVoteAgg) GetSender ¶
func (m *MsgVoteAgg) GetSender() string
func (MsgVoteAgg) GetSignBytes ¶
func (m MsgVoteAgg) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVoteAgg) GetSigners ¶
func (m MsgVoteAgg) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteRequest.
func (*MsgVoteAgg) GetVotes ¶
func (m *MsgVoteAgg) GetVotes() []Choice
func (*MsgVoteAgg) Marshal ¶
func (m *MsgVoteAgg) Marshal() (dAtA []byte, err error)
func (*MsgVoteAgg) MarshalToSizedBuffer ¶
func (m *MsgVoteAgg) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteAgg) ProtoMessage ¶
func (*MsgVoteAgg) ProtoMessage()
func (*MsgVoteAgg) Reset ¶
func (m *MsgVoteAgg) Reset()
func (*MsgVoteAgg) Size ¶
func (m *MsgVoteAgg) Size() (n int)
func (*MsgVoteAgg) String ¶
func (m *MsgVoteAgg) String() string
func (*MsgVoteAgg) Unmarshal ¶
func (m *MsgVoteAgg) Unmarshal(dAtA []byte) error
func (MsgVoteAgg) ValidateBasic ¶
func (m MsgVoteAgg) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgVoteAgg) XXX_DiscardUnknown ¶
func (m *MsgVoteAgg) XXX_DiscardUnknown()
func (*MsgVoteAgg) XXX_Marshal ¶
func (m *MsgVoteAgg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteAgg) XXX_Merge ¶
func (m *MsgVoteAgg) XXX_Merge(src proto.Message)
func (*MsgVoteAgg) XXX_Size ¶
func (m *MsgVoteAgg) XXX_Size() int
func (*MsgVoteAgg) XXX_Unmarshal ¶
func (m *MsgVoteAgg) XXX_Unmarshal(b []byte) error
type MsgVoteAggResponse ¶
type MsgVoteAggResponse struct {
}
MsgVoteResponse is the Msg/Vote response type.
func (*MsgVoteAggResponse) Descriptor ¶
func (*MsgVoteAggResponse) Descriptor() ([]byte, []int)
func (*MsgVoteAggResponse) Marshal ¶
func (m *MsgVoteAggResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteAggResponse) MarshalTo ¶
func (m *MsgVoteAggResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteAggResponse) MarshalToSizedBuffer ¶
func (m *MsgVoteAggResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteAggResponse) ProtoMessage ¶
func (*MsgVoteAggResponse) ProtoMessage()
func (*MsgVoteAggResponse) Reset ¶
func (m *MsgVoteAggResponse) Reset()
func (*MsgVoteAggResponse) Size ¶
func (m *MsgVoteAggResponse) Size() (n int)
func (*MsgVoteAggResponse) String ¶
func (m *MsgVoteAggResponse) String() string
func (*MsgVoteAggResponse) Unmarshal ¶
func (m *MsgVoteAggResponse) Unmarshal(dAtA []byte) error
func (*MsgVoteAggResponse) XXX_DiscardUnknown ¶
func (m *MsgVoteAggResponse) XXX_DiscardUnknown()
func (*MsgVoteAggResponse) XXX_Marshal ¶
func (m *MsgVoteAggResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteAggResponse) XXX_Merge ¶
func (m *MsgVoteAggResponse) XXX_Merge(src proto.Message)
func (*MsgVoteAggResponse) XXX_Size ¶
func (m *MsgVoteAggResponse) XXX_Size() int
func (*MsgVoteAggResponse) XXX_Unmarshal ¶
func (m *MsgVoteAggResponse) XXX_Unmarshal(b []byte) error
type MsgVoteBasic ¶
type MsgVoteBasic struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// choice is the voter's choice on the proposal.
Choice Choice `protobuf:"varint,2,opt,name=choice,proto3,enum=fetchai.group.v1alpha1.Choice" json:"choice,omitempty"`
// expiry is the timestamp after which the basic vote expires.
Expiry types1.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry"`
}
MsgVoteBasicRequest is the Msg/Vote request type.
func (*MsgVoteBasic) Descriptor ¶
func (*MsgVoteBasic) Descriptor() ([]byte, []int)
func (*MsgVoteBasic) GetChoice ¶
func (m *MsgVoteBasic) GetChoice() Choice
func (*MsgVoteBasic) GetExpiry ¶
func (m *MsgVoteBasic) GetExpiry() types1.Timestamp
func (*MsgVoteBasic) GetProposalId ¶
func (m *MsgVoteBasic) GetProposalId() uint64
func (MsgVoteBasic) GetSignBytes ¶
func (m MsgVoteBasic) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVoteBasic) GetSigners ¶
func (m MsgVoteBasic) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteRequest.
func (*MsgVoteBasic) Marshal ¶
func (m *MsgVoteBasic) Marshal() (dAtA []byte, err error)
func (*MsgVoteBasic) MarshalToSizedBuffer ¶
func (m *MsgVoteBasic) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteBasic) ProtoMessage ¶
func (*MsgVoteBasic) ProtoMessage()
func (*MsgVoteBasic) Reset ¶
func (m *MsgVoteBasic) Reset()
func (*MsgVoteBasic) Size ¶
func (m *MsgVoteBasic) Size() (n int)
func (*MsgVoteBasic) String ¶
func (m *MsgVoteBasic) String() string
func (*MsgVoteBasic) Unmarshal ¶
func (m *MsgVoteBasic) Unmarshal(dAtA []byte) error
func (MsgVoteBasic) ValidateBasic ¶
func (m MsgVoteBasic) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgVoteBasic) XXX_DiscardUnknown ¶
func (m *MsgVoteBasic) XXX_DiscardUnknown()
func (*MsgVoteBasic) XXX_Marshal ¶
func (m *MsgVoteBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteBasic) XXX_Merge ¶
func (m *MsgVoteBasic) XXX_Merge(src proto.Message)
func (*MsgVoteBasic) XXX_Size ¶
func (m *MsgVoteBasic) XXX_Size() int
func (*MsgVoteBasic) XXX_Unmarshal ¶
func (m *MsgVoteBasic) XXX_Unmarshal(b []byte) error
type MsgVoteBasicResponse ¶
type MsgVoteBasicResponse struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// choice is the voter's choice on the proposal.
Choice Choice `protobuf:"varint,2,opt,name=choice,proto3,enum=fetchai.group.v1alpha1.Choice" json:"choice,omitempty"`
// expiry is the timestamp after which the basic vote expires.
Expiry types1.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry"`
// voter is the account address of the voter.
Voter string `protobuf:"bytes,4,opt,name=voter,proto3" json:"voter,omitempty"`
// pub_key is the voter's public key
PubKey *types.Any `protobuf:"bytes,5,opt,name=pub_key,json=pubKey,proto3" json:"public_key,omitempty" yaml:"public_key"`
// sig is the individual signature which will be aggregated with other signatures
Sig []byte `protobuf:"bytes,6,opt,name=sig,proto3" json:"sig,omitempty"`
}
MsgVoteResponse is the basic vote that can be aggregated together
func (*MsgVoteBasicResponse) Descriptor ¶
func (*MsgVoteBasicResponse) Descriptor() ([]byte, []int)
func (*MsgVoteBasicResponse) GetChoice ¶
func (m *MsgVoteBasicResponse) GetChoice() Choice
func (*MsgVoteBasicResponse) GetExpiry ¶
func (m *MsgVoteBasicResponse) GetExpiry() types1.Timestamp
func (*MsgVoteBasicResponse) GetProposalId ¶
func (m *MsgVoteBasicResponse) GetProposalId() uint64
func (*MsgVoteBasicResponse) GetPubKey ¶
func (m *MsgVoteBasicResponse) GetPubKey() *types.Any
func (*MsgVoteBasicResponse) GetSig ¶
func (m *MsgVoteBasicResponse) GetSig() []byte
func (MsgVoteBasicResponse) GetSignBytes ¶
func (m MsgVoteBasicResponse) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVoteBasicResponse) GetSigners ¶
func (m MsgVoteBasicResponse) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteRequest.
func (*MsgVoteBasicResponse) GetVoter ¶
func (m *MsgVoteBasicResponse) GetVoter() string
func (*MsgVoteBasicResponse) Marshal ¶
func (m *MsgVoteBasicResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteBasicResponse) MarshalTo ¶
func (m *MsgVoteBasicResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVoteBasicResponse) MarshalToSizedBuffer ¶
func (m *MsgVoteBasicResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteBasicResponse) ProtoMessage ¶
func (*MsgVoteBasicResponse) ProtoMessage()
func (*MsgVoteBasicResponse) Reset ¶
func (m *MsgVoteBasicResponse) Reset()
func (MsgVoteBasicResponse) Route ¶
func (m MsgVoteBasicResponse) Route() string
Route Implements Msg.
func (*MsgVoteBasicResponse) Size ¶
func (m *MsgVoteBasicResponse) Size() (n int)
func (*MsgVoteBasicResponse) String ¶
func (m *MsgVoteBasicResponse) String() string
func (*MsgVoteBasicResponse) Unmarshal ¶
func (m *MsgVoteBasicResponse) Unmarshal(dAtA []byte) error
func (MsgVoteBasicResponse) UnpackInterfaces ¶
func (m MsgVoteBasicResponse) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgVoteBasicResponse) ValidateBasic ¶
func (m MsgVoteBasicResponse) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (MsgVoteBasicResponse) VerifySignature ¶
func (m MsgVoteBasicResponse) VerifySignature() error
func (*MsgVoteBasicResponse) XXX_DiscardUnknown ¶
func (m *MsgVoteBasicResponse) XXX_DiscardUnknown()
func (*MsgVoteBasicResponse) XXX_Marshal ¶
func (m *MsgVoteBasicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteBasicResponse) XXX_Merge ¶
func (m *MsgVoteBasicResponse) XXX_Merge(src proto.Message)
func (*MsgVoteBasicResponse) XXX_Size ¶
func (m *MsgVoteBasicResponse) XXX_Size() int
func (*MsgVoteBasicResponse) XXX_Unmarshal ¶
func (m *MsgVoteBasicResponse) XXX_Unmarshal(b []byte) error
type MsgVotePoll ¶
type MsgVotePoll struct {
// poll_id is the unique ID of the poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// voter is the voter account address.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
// options are the voter's choices on the poll.
Options Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
MsgVotePoll is the Msg/VotePoll request type.
func (*MsgVotePoll) Descriptor ¶
func (*MsgVotePoll) Descriptor() ([]byte, []int)
func (*MsgVotePoll) GetMetadata ¶
func (m *MsgVotePoll) GetMetadata() []byte
func (*MsgVotePoll) GetOptions ¶
func (m *MsgVotePoll) GetOptions() Options
func (*MsgVotePoll) GetPollId ¶
func (m *MsgVotePoll) GetPollId() uint64
func (MsgVotePoll) GetSignBytes ¶
func (m MsgVotePoll) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVotePoll) GetSigners ¶
func (m MsgVotePoll) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateProposal.
func (*MsgVotePoll) GetVoter ¶
func (m *MsgVotePoll) GetVoter() string
func (*MsgVotePoll) Marshal ¶
func (m *MsgVotePoll) Marshal() (dAtA []byte, err error)
func (*MsgVotePoll) MarshalToSizedBuffer ¶
func (m *MsgVotePoll) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVotePoll) ProtoMessage ¶
func (*MsgVotePoll) ProtoMessage()
func (*MsgVotePoll) Reset ¶
func (m *MsgVotePoll) Reset()
func (*MsgVotePoll) Size ¶
func (m *MsgVotePoll) Size() (n int)
func (*MsgVotePoll) String ¶
func (m *MsgVotePoll) String() string
func (*MsgVotePoll) Unmarshal ¶
func (m *MsgVotePoll) Unmarshal(dAtA []byte) error
func (MsgVotePoll) ValidateBasic ¶
func (m MsgVotePoll) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgVotePoll) XXX_DiscardUnknown ¶
func (m *MsgVotePoll) XXX_DiscardUnknown()
func (*MsgVotePoll) XXX_Marshal ¶
func (m *MsgVotePoll) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVotePoll) XXX_Merge ¶
func (m *MsgVotePoll) XXX_Merge(src proto.Message)
func (*MsgVotePoll) XXX_Size ¶
func (m *MsgVotePoll) XXX_Size() int
func (*MsgVotePoll) XXX_Unmarshal ¶
func (m *MsgVotePoll) XXX_Unmarshal(b []byte) error
type MsgVotePollAgg ¶
type MsgVotePollAgg struct {
// sender is the person who submits the votes
Sender string `protobuf:"bytes,1,opt,name=sender,proto3" json:"sender,omitempty"`
// poll_id is the unique ID of the poll.
PollId uint64 `protobuf:"varint,2,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// votes are the full list of voters' choices on the proposal.
Votes []Options `protobuf:"bytes,3,rep,name=votes,proto3" json:"votes"`
// expiry is the timestamp after which the basic vote expires.
// All the basic votes to be aggregated must have the same expiry.
// Expiry should be set to be before the poll timeout in order to
// prevent replay attacks and also prevent the aggregator from removing
// some basic votes.
Expiry types1.Timestamp `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry"`
// agg_sig is the bls aggregated signature for all the votes
AggSig []byte `protobuf:"bytes,5,opt,name=agg_sig,json=aggSig,proto3" json:"agg_sig,omitempty"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata []byte `protobuf:"bytes,6,opt,name=metadata,proto3" json:"metadata,omitempty"`
}
MsgVoteAgg is the Msg/VoteAgg request type.
func (*MsgVotePollAgg) Descriptor ¶
func (*MsgVotePollAgg) Descriptor() ([]byte, []int)
func (*MsgVotePollAgg) GetAggSig ¶
func (m *MsgVotePollAgg) GetAggSig() []byte
func (*MsgVotePollAgg) GetExpiry ¶
func (m *MsgVotePollAgg) GetExpiry() types1.Timestamp
func (*MsgVotePollAgg) GetMetadata ¶
func (m *MsgVotePollAgg) GetMetadata() []byte
func (*MsgVotePollAgg) GetPollId ¶
func (m *MsgVotePollAgg) GetPollId() uint64
func (*MsgVotePollAgg) GetSender ¶
func (m *MsgVotePollAgg) GetSender() string
func (MsgVotePollAgg) GetSignBytes ¶
func (m MsgVotePollAgg) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVotePollAgg) GetSigners ¶
func (m MsgVotePollAgg) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteRequest.
func (*MsgVotePollAgg) GetVotes ¶
func (m *MsgVotePollAgg) GetVotes() []Options
func (*MsgVotePollAgg) Marshal ¶
func (m *MsgVotePollAgg) Marshal() (dAtA []byte, err error)
func (*MsgVotePollAgg) MarshalToSizedBuffer ¶
func (m *MsgVotePollAgg) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVotePollAgg) ProtoMessage ¶
func (*MsgVotePollAgg) ProtoMessage()
func (*MsgVotePollAgg) Reset ¶
func (m *MsgVotePollAgg) Reset()
func (*MsgVotePollAgg) Size ¶
func (m *MsgVotePollAgg) Size() (n int)
func (*MsgVotePollAgg) String ¶
func (m *MsgVotePollAgg) String() string
func (*MsgVotePollAgg) Unmarshal ¶
func (m *MsgVotePollAgg) Unmarshal(dAtA []byte) error
func (MsgVotePollAgg) ValidateBasic ¶
func (m MsgVotePollAgg) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgVotePollAgg) XXX_DiscardUnknown ¶
func (m *MsgVotePollAgg) XXX_DiscardUnknown()
func (*MsgVotePollAgg) XXX_Marshal ¶
func (m *MsgVotePollAgg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVotePollAgg) XXX_Merge ¶
func (m *MsgVotePollAgg) XXX_Merge(src proto.Message)
func (*MsgVotePollAgg) XXX_Size ¶
func (m *MsgVotePollAgg) XXX_Size() int
func (*MsgVotePollAgg) XXX_Unmarshal ¶
func (m *MsgVotePollAgg) XXX_Unmarshal(b []byte) error
type MsgVotePollAggResponse ¶
type MsgVotePollAggResponse struct {
}
MsgVoteResponse is the Msg/Vote response type.
func (*MsgVotePollAggResponse) Descriptor ¶
func (*MsgVotePollAggResponse) Descriptor() ([]byte, []int)
func (*MsgVotePollAggResponse) Marshal ¶
func (m *MsgVotePollAggResponse) Marshal() (dAtA []byte, err error)
func (*MsgVotePollAggResponse) MarshalTo ¶
func (m *MsgVotePollAggResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVotePollAggResponse) MarshalToSizedBuffer ¶
func (m *MsgVotePollAggResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVotePollAggResponse) ProtoMessage ¶
func (*MsgVotePollAggResponse) ProtoMessage()
func (*MsgVotePollAggResponse) Reset ¶
func (m *MsgVotePollAggResponse) Reset()
func (*MsgVotePollAggResponse) Size ¶
func (m *MsgVotePollAggResponse) Size() (n int)
func (*MsgVotePollAggResponse) String ¶
func (m *MsgVotePollAggResponse) String() string
func (*MsgVotePollAggResponse) Unmarshal ¶
func (m *MsgVotePollAggResponse) Unmarshal(dAtA []byte) error
func (*MsgVotePollAggResponse) XXX_DiscardUnknown ¶
func (m *MsgVotePollAggResponse) XXX_DiscardUnknown()
func (*MsgVotePollAggResponse) XXX_Marshal ¶
func (m *MsgVotePollAggResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVotePollAggResponse) XXX_Merge ¶
func (m *MsgVotePollAggResponse) XXX_Merge(src proto.Message)
func (*MsgVotePollAggResponse) XXX_Size ¶
func (m *MsgVotePollAggResponse) XXX_Size() int
func (*MsgVotePollAggResponse) XXX_Unmarshal ¶
func (m *MsgVotePollAggResponse) XXX_Unmarshal(b []byte) error
type MsgVotePollBasic ¶
type MsgVotePollBasic struct {
// poll_id is the unique ID of the poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// option is one of the voter's choices on the poll.
Option string `protobuf:"bytes,2,opt,name=option,proto3" json:"option,omitempty"`
// expiry is the unique timestamp after which the basic vote expires.
Expiry types1.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry"`
}
MsgVoteBasicRequest is the Msg/Vote request type.
func (*MsgVotePollBasic) Descriptor ¶
func (*MsgVotePollBasic) Descriptor() ([]byte, []int)
func (*MsgVotePollBasic) GetExpiry ¶
func (m *MsgVotePollBasic) GetExpiry() types1.Timestamp
func (*MsgVotePollBasic) GetOption ¶
func (m *MsgVotePollBasic) GetOption() string
func (*MsgVotePollBasic) GetPollId ¶
func (m *MsgVotePollBasic) GetPollId() uint64
func (MsgVotePollBasic) GetSignBytes ¶
func (m MsgVotePollBasic) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVotePollBasic) GetSigners ¶
func (m MsgVotePollBasic) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateProposal.
func (*MsgVotePollBasic) Marshal ¶
func (m *MsgVotePollBasic) Marshal() (dAtA []byte, err error)
func (*MsgVotePollBasic) MarshalToSizedBuffer ¶
func (m *MsgVotePollBasic) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVotePollBasic) ProtoMessage ¶
func (*MsgVotePollBasic) ProtoMessage()
func (*MsgVotePollBasic) Reset ¶
func (m *MsgVotePollBasic) Reset()
func (*MsgVotePollBasic) Size ¶
func (m *MsgVotePollBasic) Size() (n int)
func (*MsgVotePollBasic) String ¶
func (m *MsgVotePollBasic) String() string
func (*MsgVotePollBasic) Unmarshal ¶
func (m *MsgVotePollBasic) Unmarshal(dAtA []byte) error
func (MsgVotePollBasic) ValidateBasic ¶
func (m MsgVotePollBasic) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgVotePollBasic) XXX_DiscardUnknown ¶
func (m *MsgVotePollBasic) XXX_DiscardUnknown()
func (*MsgVotePollBasic) XXX_Marshal ¶
func (m *MsgVotePollBasic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVotePollBasic) XXX_Merge ¶
func (m *MsgVotePollBasic) XXX_Merge(src proto.Message)
func (*MsgVotePollBasic) XXX_Size ¶
func (m *MsgVotePollBasic) XXX_Size() int
func (*MsgVotePollBasic) XXX_Unmarshal ¶
func (m *MsgVotePollBasic) XXX_Unmarshal(b []byte) error
type MsgVotePollBasicResponse ¶
type MsgVotePollBasicResponse struct {
// proposal is the unique ID of the proposal.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// options are the voter's choices on the poll.
Options Options `protobuf:"bytes,2,opt,name=options,proto3" json:"options"`
// expiry is the timestamp after which the basic vote expires.
Expiry types1.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry"`
// voter is the account address of the voter.
Voter string `protobuf:"bytes,4,opt,name=voter,proto3" json:"voter,omitempty"`
// pub_key is the voter's public key
PubKey *types.Any `protobuf:"bytes,5,opt,name=pub_key,json=pubKey,proto3" json:"public_key,omitempty" yaml:"public_key"`
// sig is the individual signature which will be aggregated with other voters' signatures
Sig []byte `protobuf:"bytes,6,opt,name=sig,proto3" json:"sig,omitempty"`
}
MsgVoteResponse is the basic vote that can be aggregated together
func (*MsgVotePollBasicResponse) Descriptor ¶
func (*MsgVotePollBasicResponse) Descriptor() ([]byte, []int)
func (*MsgVotePollBasicResponse) GetExpiry ¶
func (m *MsgVotePollBasicResponse) GetExpiry() types1.Timestamp
func (*MsgVotePollBasicResponse) GetOptions ¶
func (m *MsgVotePollBasicResponse) GetOptions() Options
func (*MsgVotePollBasicResponse) GetPollId ¶
func (m *MsgVotePollBasicResponse) GetPollId() uint64
func (*MsgVotePollBasicResponse) GetPubKey ¶
func (m *MsgVotePollBasicResponse) GetPubKey() *types.Any
func (*MsgVotePollBasicResponse) GetSig ¶
func (m *MsgVotePollBasicResponse) GetSig() []byte
func (MsgVotePollBasicResponse) GetSignBytes ¶
func (m MsgVotePollBasicResponse) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgVotePollBasicResponse) GetSignBytesMany ¶
func (m MsgVotePollBasicResponse) GetSignBytesMany() [][]byte
func (MsgVotePollBasicResponse) GetSigners ¶
func (m MsgVotePollBasicResponse) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgVoteRequest.
func (*MsgVotePollBasicResponse) GetVoter ¶
func (m *MsgVotePollBasicResponse) GetVoter() string
func (*MsgVotePollBasicResponse) Marshal ¶
func (m *MsgVotePollBasicResponse) Marshal() (dAtA []byte, err error)
func (*MsgVotePollBasicResponse) MarshalTo ¶
func (m *MsgVotePollBasicResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVotePollBasicResponse) MarshalToSizedBuffer ¶
func (m *MsgVotePollBasicResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVotePollBasicResponse) ProtoMessage ¶
func (*MsgVotePollBasicResponse) ProtoMessage()
func (*MsgVotePollBasicResponse) Reset ¶
func (m *MsgVotePollBasicResponse) Reset()
func (MsgVotePollBasicResponse) Route ¶
func (m MsgVotePollBasicResponse) Route() string
Route Implements Msg.
func (*MsgVotePollBasicResponse) Size ¶
func (m *MsgVotePollBasicResponse) Size() (n int)
func (*MsgVotePollBasicResponse) String ¶
func (m *MsgVotePollBasicResponse) String() string
func (MsgVotePollBasicResponse) Type ¶
func (m MsgVotePollBasicResponse) Type() string
Type Implements Msg.
func (*MsgVotePollBasicResponse) Unmarshal ¶
func (m *MsgVotePollBasicResponse) Unmarshal(dAtA []byte) error
func (MsgVotePollBasicResponse) UnpackInterfaces ¶
func (m MsgVotePollBasicResponse) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgVotePollBasicResponse) ValidateBasic ¶
func (m MsgVotePollBasicResponse) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (MsgVotePollBasicResponse) VerifySignature ¶
func (m MsgVotePollBasicResponse) VerifySignature() error
func (*MsgVotePollBasicResponse) XXX_DiscardUnknown ¶
func (m *MsgVotePollBasicResponse) XXX_DiscardUnknown()
func (*MsgVotePollBasicResponse) XXX_Marshal ¶
func (m *MsgVotePollBasicResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVotePollBasicResponse) XXX_Merge ¶
func (m *MsgVotePollBasicResponse) XXX_Merge(src proto.Message)
func (*MsgVotePollBasicResponse) XXX_Size ¶
func (m *MsgVotePollBasicResponse) XXX_Size() int
func (*MsgVotePollBasicResponse) XXX_Unmarshal ¶
func (m *MsgVotePollBasicResponse) XXX_Unmarshal(b []byte) error
type MsgVotePollResponse ¶
type MsgVotePollResponse struct {
}
MsgVotePollResponse is the Msg/VotePoll response type.
func (*MsgVotePollResponse) Descriptor ¶
func (*MsgVotePollResponse) Descriptor() ([]byte, []int)
func (*MsgVotePollResponse) Marshal ¶
func (m *MsgVotePollResponse) Marshal() (dAtA []byte, err error)
func (*MsgVotePollResponse) MarshalTo ¶
func (m *MsgVotePollResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgVotePollResponse) MarshalToSizedBuffer ¶
func (m *MsgVotePollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVotePollResponse) ProtoMessage ¶
func (*MsgVotePollResponse) ProtoMessage()
func (*MsgVotePollResponse) Reset ¶
func (m *MsgVotePollResponse) Reset()
func (*MsgVotePollResponse) Size ¶
func (m *MsgVotePollResponse) Size() (n int)
func (*MsgVotePollResponse) String ¶
func (m *MsgVotePollResponse) String() string
func (*MsgVotePollResponse) Unmarshal ¶
func (m *MsgVotePollResponse) Unmarshal(dAtA []byte) error
func (*MsgVotePollResponse) XXX_DiscardUnknown ¶
func (m *MsgVotePollResponse) XXX_DiscardUnknown()
func (*MsgVotePollResponse) XXX_Marshal ¶
func (m *MsgVotePollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVotePollResponse) XXX_Merge ¶
func (m *MsgVotePollResponse) XXX_Merge(src proto.Message)
func (*MsgVotePollResponse) XXX_Size ¶
func (m *MsgVotePollResponse) XXX_Size() int
func (*MsgVotePollResponse) XXX_Unmarshal ¶
func (m *MsgVotePollResponse) XXX_Unmarshal(b []byte) error
type MsgVoteResponse ¶
type MsgVoteResponse struct {
}
MsgVoteResponse is the Msg/Vote response type.
func (*MsgVoteResponse) Descriptor ¶
func (*MsgVoteResponse) Descriptor() ([]byte, []int)
func (*MsgVoteResponse) Marshal ¶
func (m *MsgVoteResponse) Marshal() (dAtA []byte, err error)
func (*MsgVoteResponse) MarshalToSizedBuffer ¶
func (m *MsgVoteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgVoteResponse) ProtoMessage ¶
func (*MsgVoteResponse) ProtoMessage()
func (*MsgVoteResponse) Reset ¶
func (m *MsgVoteResponse) Reset()
func (*MsgVoteResponse) Size ¶
func (m *MsgVoteResponse) Size() (n int)
func (*MsgVoteResponse) String ¶
func (m *MsgVoteResponse) String() string
func (*MsgVoteResponse) Unmarshal ¶
func (m *MsgVoteResponse) Unmarshal(dAtA []byte) error
func (*MsgVoteResponse) XXX_DiscardUnknown ¶
func (m *MsgVoteResponse) XXX_DiscardUnknown()
func (*MsgVoteResponse) XXX_Marshal ¶
func (m *MsgVoteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgVoteResponse) XXX_Merge ¶
func (m *MsgVoteResponse) XXX_Merge(src proto.Message)
func (*MsgVoteResponse) XXX_Size ¶
func (m *MsgVoteResponse) XXX_Size() int
func (*MsgVoteResponse) XXX_Unmarshal ¶
func (m *MsgVoteResponse) XXX_Unmarshal(b []byte) error
type Options ¶
type Options struct {
Titles []string `protobuf:"bytes,1,rep,name=titles,proto3" json:"titles,omitempty"`
}
Options represents the choices voters can vote for a poll.
func (*Options) Descriptor ¶
func (*Options) MarshalToSizedBuffer ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (Options) ValidateBasic ¶
ValidateBasic verifies that check the length of options and if there is any duplication.
func (*Options) XXX_DiscardUnknown ¶
func (m *Options) XXX_DiscardUnknown()
func (*Options) XXX_Marshal ¶
func (*Options) XXX_Unmarshal ¶
type Poll ¶
type Poll struct {
// poll_id is the unique id of the poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// title is the title of the poll.
Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"`
// options are the choices of the poll.
Options Options `protobuf:"bytes,4,opt,name=options,proto3" json:"options"`
// creator is the account address of the poll creator.
Creator string `protobuf:"bytes,5,opt,name=creator,proto3" json:"creator,omitempty"`
// vote_limit is the maximum number of options each voter can choose.
VoteLimit int32 `protobuf:"varint,6,opt,name=vote_limit,json=voteLimit,proto3" json:"vote_limit,omitempty"`
// vote_state contains the sums of all weighted votes for this poll.
VoteState TallyPoll `protobuf:"bytes,7,opt,name=vote_state,json=voteState,proto3" json:"vote_state"`
// metadata is any arbitrary metadata to attached to the poll.
Metadata []byte `protobuf:"bytes,8,opt,name=metadata,proto3" json:"metadata,omitempty"`
// submitted_at is a timestamp specifying when a poll was submitted.
SubmittedAt types.Timestamp `protobuf:"bytes,9,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at"`
// group_version tracks the version of the group that this poll corresponds to.
// When group membership is changed, existing polls from previous group versions will become invalid.
GroupVersion uint64 `protobuf:"varint,10,opt,name=group_version,json=groupVersion,proto3" json:"group_version,omitempty"`
// timeout is the timestamp of the block where the poll times out. Header times of the votes
// must be before this end time to be included in the election.
Timeout types.Timestamp `protobuf:"bytes,12,opt,name=timeout,proto3" json:"timeout"`
}
Poll defines a group poll. Any member of a group can submit a poll for a group to decide upon. The options in a poll can be customised by the creator.
func (*Poll) Descriptor ¶
func (*Poll) ProtoMessage ¶
func (*Poll) ProtoMessage()
func (*Poll) XXX_DiscardUnknown ¶
func (m *Poll) XXX_DiscardUnknown()
func (*Poll) XXX_Unmarshal ¶
type Proposal ¶
type Proposal struct {
// proposal_id is the unique id of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// address is the group account address.
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// metadata is any arbitrary metadata to attached to the proposal.
Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"`
// proposers are the account addresses of the proposers.
Proposers []string `protobuf:"bytes,4,rep,name=proposers,proto3" json:"proposers,omitempty"`
// submitted_at is a timestamp specifying when a proposal was submitted.
SubmittedAt types.Timestamp `protobuf:"bytes,5,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at"`
// group_version tracks the version of the group that this proposal corresponds to.
// When group membership is changed, existing proposals from previous group versions will become invalid.
GroupVersion uint64 `protobuf:"varint,6,opt,name=group_version,json=groupVersion,proto3" json:"group_version,omitempty"`
// group_account_version tracks the version of the group account that this proposal corresponds to.
// When a decision policy is changed, existing proposals from previous policy versions will become invalid.
GroupAccountVersion uint64 `protobuf:"varint,7,opt,name=group_account_version,json=groupAccountVersion,proto3" json:"group_account_version,omitempty"`
// Status represents the high level position in the life cycle of the proposal. Initial value is Submitted.
Status Proposal_Status `protobuf:"varint,8,opt,name=status,proto3,enum=fetchai.group.v1alpha1.Proposal_Status" json:"status,omitempty"`
// result is the final result based on the votes and election rule. Initial value is unfinalized.
// The result is persisted so that clients can always rely on this state and not have to replicate the logic.
Result Proposal_Result `protobuf:"varint,9,opt,name=result,proto3,enum=fetchai.group.v1alpha1.Proposal_Result" json:"result,omitempty"`
// vote_state contains the sums of all weighted votes for this proposal.
VoteState Tally `protobuf:"bytes,10,opt,name=vote_state,json=voteState,proto3" json:"vote_state"`
// timeout is the timestamp of the block where the proposal execution times out. Header times of the votes and execution messages
// must be before this end time to be included in the election. After the timeout timestamp the proposal can not be
// executed anymore and should be considered pending delete.
Timeout types.Timestamp `protobuf:"bytes,11,opt,name=timeout,proto3" json:"timeout"`
// executor_result is the final result based on the votes and election rule. Initial value is NotRun.
ExecutorResult Proposal_ExecutorResult `` /* 157-byte string literal not displayed */
// msgs is a list of Msgs that will be executed if the proposal passes.
Msgs []*types1.Any `protobuf:"bytes,13,rep,name=msgs,proto3" json:"msgs,omitempty"`
}
Proposal defines a group proposal. Any member of a group can submit a proposal for a group account to decide upon. A proposal consists of a set of `sdk.Msg`s that will be executed if the proposal passes as well as some optional metadata associated with the proposal.
func (*Proposal) Descriptor ¶
func (*Proposal) MarshalToSizedBuffer ¶
func (Proposal) PrimaryKeyFields ¶
func (p Proposal) PrimaryKeyFields() []interface{}
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (Proposal) UnpackInterfaces ¶
func (p Proposal) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (Proposal) ValidateBasic ¶
func (*Proposal) XXX_DiscardUnknown ¶
func (m *Proposal) XXX_DiscardUnknown()
func (*Proposal) XXX_Marshal ¶
func (*Proposal) XXX_Unmarshal ¶
type ProposalID ¶
type ProposalID uint64
func (ProposalID) Bytes ¶
func (p ProposalID) Bytes() []byte
func (ProposalID) Empty ¶
func (p ProposalID) Empty() bool
func (ProposalID) Uint64 ¶
func (p ProposalID) Uint64() uint64
type Proposal_ExecutorResult ¶
type Proposal_ExecutorResult int32
ExecutorResult defines types of proposal executor results.
const ( // An empty value is not allowed. ProposalExecutorResultInvalid Proposal_ExecutorResult = 0 // We have not yet run the executor. ProposalExecutorResultNotRun Proposal_ExecutorResult = 1 // The executor was successful and proposed action updated state. ProposalExecutorResultSuccess Proposal_ExecutorResult = 2 // The executor returned an error and proposed action didn't update state. ProposalExecutorResultFailure Proposal_ExecutorResult = 3 )
func (Proposal_ExecutorResult) EnumDescriptor ¶
func (Proposal_ExecutorResult) EnumDescriptor() ([]byte, []int)
func (Proposal_ExecutorResult) String ¶
func (x Proposal_ExecutorResult) String() string
type Proposal_Result ¶
type Proposal_Result int32
Result defines types of proposal results.
const ( // An empty value is invalid and not allowed ProposalResultInvalid Proposal_Result = 0 // Until a final tally has happened the status is unfinalized ProposalResultUnfinalized Proposal_Result = 1 // Final result of the tally ProposalResultAccepted Proposal_Result = 2 // Final result of the tally ProposalResultRejected Proposal_Result = 3 )
func (Proposal_Result) EnumDescriptor ¶
func (Proposal_Result) EnumDescriptor() ([]byte, []int)
func (Proposal_Result) String ¶
func (x Proposal_Result) String() string
type Proposal_Status ¶
type Proposal_Status int32
Status defines proposal statuses.
const ( // An empty value is invalid and not allowed. ProposalStatusInvalid Proposal_Status = 0 // Initial status of a proposal when persisted. ProposalStatusSubmitted Proposal_Status = 1 // Final status of a proposal when the final tally was executed. ProposalStatusClosed Proposal_Status = 2 // Final status of a proposal when the group was modified before the final tally. ProposalStatusAborted Proposal_Status = 3 )
func (Proposal_Status) EnumDescriptor ¶
func (Proposal_Status) EnumDescriptor() ([]byte, []int)
func (Proposal_Status) String ¶
func (x Proposal_Status) String() string
type QueryClient ¶
type QueryClient interface {
// GroupInfo queries group info based on group id.
GroupInfo(ctx context.Context, in *QueryGroupInfoRequest, opts ...grpc.CallOption) (*QueryGroupInfoResponse, error)
// GroupAccountInfo queries group account info based on group account address.
GroupAccountInfo(ctx context.Context, in *QueryGroupAccountInfoRequest, opts ...grpc.CallOption) (*QueryGroupAccountInfoResponse, error)
// GroupMembers queries members of a group
GroupMembers(ctx context.Context, in *QueryGroupMembersRequest, opts ...grpc.CallOption) (*QueryGroupMembersResponse, error)
// GroupsByAdmin queries groups by admin address.
GroupsByAdmin(ctx context.Context, in *QueryGroupsByAdminRequest, opts ...grpc.CallOption) (*QueryGroupsByAdminResponse, error)
// GroupAccountsByGroup queries group accounts by group id.
GroupAccountsByGroup(ctx context.Context, in *QueryGroupAccountsByGroupRequest, opts ...grpc.CallOption) (*QueryGroupAccountsByGroupResponse, error)
// GroupsByAdmin queries group accounts by admin address.
GroupAccountsByAdmin(ctx context.Context, in *QueryGroupAccountsByAdminRequest, opts ...grpc.CallOption) (*QueryGroupAccountsByAdminResponse, error)
// Proposal queries a proposal based on proposal id.
Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error)
// ProposalsByGroupAccount queries proposals based on group account address.
ProposalsByGroupAccount(ctx context.Context, in *QueryProposalsByGroupAccountRequest, opts ...grpc.CallOption) (*QueryProposalsByGroupAccountResponse, error)
// VoteByProposalVoter queries a vote by proposal id and voter.
VoteByProposalVoter(ctx context.Context, in *QueryVoteByProposalVoterRequest, opts ...grpc.CallOption) (*QueryVoteByProposalVoterResponse, error)
// VotesByProposal queries a vote by proposal.
VotesByProposal(ctx context.Context, in *QueryVotesByProposalRequest, opts ...grpc.CallOption) (*QueryVotesByProposalResponse, error)
// VotesByVoter queries a vote by voter.
VotesByVoter(ctx context.Context, in *QueryVotesByVoterRequest, opts ...grpc.CallOption) (*QueryVotesByVoterResponse, error)
// Poll queries a poll based on poll id.
Poll(ctx context.Context, in *QueryPollRequest, opts ...grpc.CallOption) (*QueryPollResponse, error)
// PollsByGroup queries polls based on group id.
PollsByGroup(ctx context.Context, in *QueryPollsByGroupRequest, opts ...grpc.CallOption) (*QueryPollsByGroupResponse, error)
// PollsByCreator queries polls by creator address.
PollsByCreator(ctx context.Context, in *QueryPollsByCreatorRequest, opts ...grpc.CallOption) (*QueryPollsByCreatorResponse, error)
// VoteForPollByPollVoter queries a vote by poll id and voter.
VoteForPollByPollVoter(ctx context.Context, in *QueryVoteForPollByPollVoterRequest, opts ...grpc.CallOption) (*QueryVoteForPollByPollVoterResponse, error)
// VotesForPollByPoll queries votes by poll.
VotesForPollByPoll(ctx context.Context, in *QueryVotesForPollByPollRequest, opts ...grpc.CallOption) (*QueryVotesForPollByPollResponse, error)
// VotesForPollByVoter queries votes for poll by voter.
VotesForPollByVoter(ctx context.Context, in *QueryVotesForPollByVoterRequest, opts ...grpc.CallOption) (*QueryVotesForPollByVoterResponse, error)
}
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryGroupAccountInfoRequest ¶
type QueryGroupAccountInfoRequest struct {
// address is the account address of the group account.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
}
QueryGroupAccountInfoRequest is the Query/GroupAccountInfo request type.
func (*QueryGroupAccountInfoRequest) Descriptor ¶
func (*QueryGroupAccountInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGroupAccountInfoRequest) GetAddress ¶
func (m *QueryGroupAccountInfoRequest) GetAddress() string
func (*QueryGroupAccountInfoRequest) Marshal ¶
func (m *QueryGroupAccountInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupAccountInfoRequest) MarshalTo ¶
func (m *QueryGroupAccountInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAccountInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupAccountInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAccountInfoRequest) ProtoMessage ¶
func (*QueryGroupAccountInfoRequest) ProtoMessage()
func (*QueryGroupAccountInfoRequest) Reset ¶
func (m *QueryGroupAccountInfoRequest) Reset()
func (*QueryGroupAccountInfoRequest) Size ¶
func (m *QueryGroupAccountInfoRequest) Size() (n int)
func (*QueryGroupAccountInfoRequest) String ¶
func (m *QueryGroupAccountInfoRequest) String() string
func (*QueryGroupAccountInfoRequest) Unmarshal ¶
func (m *QueryGroupAccountInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupAccountInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupAccountInfoRequest) XXX_DiscardUnknown()
func (*QueryGroupAccountInfoRequest) XXX_Marshal ¶
func (m *QueryGroupAccountInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAccountInfoRequest) XXX_Merge ¶
func (m *QueryGroupAccountInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGroupAccountInfoRequest) XXX_Size ¶
func (m *QueryGroupAccountInfoRequest) XXX_Size() int
func (*QueryGroupAccountInfoRequest) XXX_Unmarshal ¶
func (m *QueryGroupAccountInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGroupAccountInfoResponse ¶
type QueryGroupAccountInfoResponse struct {
// info is the GroupAccountInfo for the group account.
Info *GroupAccountInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
}
QueryGroupAccountInfoResponse is the Query/GroupAccountInfo response type.
func (*QueryGroupAccountInfoResponse) Descriptor ¶
func (*QueryGroupAccountInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGroupAccountInfoResponse) GetInfo ¶
func (m *QueryGroupAccountInfoResponse) GetInfo() *GroupAccountInfo
func (*QueryGroupAccountInfoResponse) Marshal ¶
func (m *QueryGroupAccountInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupAccountInfoResponse) MarshalTo ¶
func (m *QueryGroupAccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAccountInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupAccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAccountInfoResponse) ProtoMessage ¶
func (*QueryGroupAccountInfoResponse) ProtoMessage()
func (*QueryGroupAccountInfoResponse) Reset ¶
func (m *QueryGroupAccountInfoResponse) Reset()
func (*QueryGroupAccountInfoResponse) Size ¶
func (m *QueryGroupAccountInfoResponse) Size() (n int)
func (*QueryGroupAccountInfoResponse) String ¶
func (m *QueryGroupAccountInfoResponse) String() string
func (*QueryGroupAccountInfoResponse) Unmarshal ¶
func (m *QueryGroupAccountInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupAccountInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupAccountInfoResponse) XXX_DiscardUnknown()
func (*QueryGroupAccountInfoResponse) XXX_Marshal ¶
func (m *QueryGroupAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAccountInfoResponse) XXX_Merge ¶
func (m *QueryGroupAccountInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGroupAccountInfoResponse) XXX_Size ¶
func (m *QueryGroupAccountInfoResponse) XXX_Size() int
func (*QueryGroupAccountInfoResponse) XXX_Unmarshal ¶
func (m *QueryGroupAccountInfoResponse) XXX_Unmarshal(b []byte) error
type QueryGroupAccountsByAdminRequest ¶
type QueryGroupAccountsByAdminRequest struct {
// admin is the admin address of the group account.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupAccountsByAdminRequest is the Query/GroupAccountsByAdmin request type.
func (*QueryGroupAccountsByAdminRequest) Descriptor ¶
func (*QueryGroupAccountsByAdminRequest) Descriptor() ([]byte, []int)
func (*QueryGroupAccountsByAdminRequest) GetAdmin ¶
func (m *QueryGroupAccountsByAdminRequest) GetAdmin() string
func (*QueryGroupAccountsByAdminRequest) GetPagination ¶
func (m *QueryGroupAccountsByAdminRequest) GetPagination() *query.PageRequest
func (*QueryGroupAccountsByAdminRequest) Marshal ¶
func (m *QueryGroupAccountsByAdminRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupAccountsByAdminRequest) MarshalTo ¶
func (m *QueryGroupAccountsByAdminRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAccountsByAdminRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupAccountsByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAccountsByAdminRequest) ProtoMessage ¶
func (*QueryGroupAccountsByAdminRequest) ProtoMessage()
func (*QueryGroupAccountsByAdminRequest) Reset ¶
func (m *QueryGroupAccountsByAdminRequest) Reset()
func (*QueryGroupAccountsByAdminRequest) Size ¶
func (m *QueryGroupAccountsByAdminRequest) Size() (n int)
func (*QueryGroupAccountsByAdminRequest) String ¶
func (m *QueryGroupAccountsByAdminRequest) String() string
func (*QueryGroupAccountsByAdminRequest) Unmarshal ¶
func (m *QueryGroupAccountsByAdminRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupAccountsByAdminRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupAccountsByAdminRequest) XXX_DiscardUnknown()
func (*QueryGroupAccountsByAdminRequest) XXX_Marshal ¶
func (m *QueryGroupAccountsByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAccountsByAdminRequest) XXX_Merge ¶
func (m *QueryGroupAccountsByAdminRequest) XXX_Merge(src proto.Message)
func (*QueryGroupAccountsByAdminRequest) XXX_Size ¶
func (m *QueryGroupAccountsByAdminRequest) XXX_Size() int
func (*QueryGroupAccountsByAdminRequest) XXX_Unmarshal ¶
func (m *QueryGroupAccountsByAdminRequest) XXX_Unmarshal(b []byte) error
type QueryGroupAccountsByAdminResponse ¶
type QueryGroupAccountsByAdminResponse struct {
// group_accounts are the group accounts info with provided admin.
GroupAccounts []*GroupAccountInfo `protobuf:"bytes,1,rep,name=group_accounts,json=groupAccounts,proto3" json:"group_accounts,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupAccountsByAdminResponse is the Query/GroupAccountsByAdmin response type.
func (*QueryGroupAccountsByAdminResponse) Descriptor ¶
func (*QueryGroupAccountsByAdminResponse) Descriptor() ([]byte, []int)
func (*QueryGroupAccountsByAdminResponse) GetGroupAccounts ¶
func (m *QueryGroupAccountsByAdminResponse) GetGroupAccounts() []*GroupAccountInfo
func (*QueryGroupAccountsByAdminResponse) GetPagination ¶
func (m *QueryGroupAccountsByAdminResponse) GetPagination() *query.PageResponse
func (*QueryGroupAccountsByAdminResponse) Marshal ¶
func (m *QueryGroupAccountsByAdminResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupAccountsByAdminResponse) MarshalTo ¶
func (m *QueryGroupAccountsByAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAccountsByAdminResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupAccountsByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAccountsByAdminResponse) ProtoMessage ¶
func (*QueryGroupAccountsByAdminResponse) ProtoMessage()
func (*QueryGroupAccountsByAdminResponse) Reset ¶
func (m *QueryGroupAccountsByAdminResponse) Reset()
func (*QueryGroupAccountsByAdminResponse) Size ¶
func (m *QueryGroupAccountsByAdminResponse) Size() (n int)
func (*QueryGroupAccountsByAdminResponse) String ¶
func (m *QueryGroupAccountsByAdminResponse) String() string
func (*QueryGroupAccountsByAdminResponse) Unmarshal ¶
func (m *QueryGroupAccountsByAdminResponse) Unmarshal(dAtA []byte) error
func (QueryGroupAccountsByAdminResponse) UnpackInterfaces ¶
func (q QueryGroupAccountsByAdminResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*QueryGroupAccountsByAdminResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupAccountsByAdminResponse) XXX_DiscardUnknown()
func (*QueryGroupAccountsByAdminResponse) XXX_Marshal ¶
func (m *QueryGroupAccountsByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAccountsByAdminResponse) XXX_Merge ¶
func (m *QueryGroupAccountsByAdminResponse) XXX_Merge(src proto.Message)
func (*QueryGroupAccountsByAdminResponse) XXX_Size ¶
func (m *QueryGroupAccountsByAdminResponse) XXX_Size() int
func (*QueryGroupAccountsByAdminResponse) XXX_Unmarshal ¶
func (m *QueryGroupAccountsByAdminResponse) XXX_Unmarshal(b []byte) error
type QueryGroupAccountsByGroupRequest ¶
type QueryGroupAccountsByGroupRequest struct {
// group_id is the unique ID of the group account's group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupAccountsByGroupRequest is the Query/GroupAccountsByGroup request type.
func (*QueryGroupAccountsByGroupRequest) Descriptor ¶
func (*QueryGroupAccountsByGroupRequest) Descriptor() ([]byte, []int)
func (*QueryGroupAccountsByGroupRequest) GetGroupId ¶
func (m *QueryGroupAccountsByGroupRequest) GetGroupId() uint64
func (*QueryGroupAccountsByGroupRequest) GetPagination ¶
func (m *QueryGroupAccountsByGroupRequest) GetPagination() *query.PageRequest
func (*QueryGroupAccountsByGroupRequest) Marshal ¶
func (m *QueryGroupAccountsByGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupAccountsByGroupRequest) MarshalTo ¶
func (m *QueryGroupAccountsByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAccountsByGroupRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupAccountsByGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAccountsByGroupRequest) ProtoMessage ¶
func (*QueryGroupAccountsByGroupRequest) ProtoMessage()
func (*QueryGroupAccountsByGroupRequest) Reset ¶
func (m *QueryGroupAccountsByGroupRequest) Reset()
func (*QueryGroupAccountsByGroupRequest) Size ¶
func (m *QueryGroupAccountsByGroupRequest) Size() (n int)
func (*QueryGroupAccountsByGroupRequest) String ¶
func (m *QueryGroupAccountsByGroupRequest) String() string
func (*QueryGroupAccountsByGroupRequest) Unmarshal ¶
func (m *QueryGroupAccountsByGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupAccountsByGroupRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupAccountsByGroupRequest) XXX_DiscardUnknown()
func (*QueryGroupAccountsByGroupRequest) XXX_Marshal ¶
func (m *QueryGroupAccountsByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAccountsByGroupRequest) XXX_Merge ¶
func (m *QueryGroupAccountsByGroupRequest) XXX_Merge(src proto.Message)
func (*QueryGroupAccountsByGroupRequest) XXX_Size ¶
func (m *QueryGroupAccountsByGroupRequest) XXX_Size() int
func (*QueryGroupAccountsByGroupRequest) XXX_Unmarshal ¶
func (m *QueryGroupAccountsByGroupRequest) XXX_Unmarshal(b []byte) error
type QueryGroupAccountsByGroupResponse ¶
type QueryGroupAccountsByGroupResponse struct {
// group_accounts are the group accounts info associated with the provided group.
GroupAccounts []*GroupAccountInfo `protobuf:"bytes,1,rep,name=group_accounts,json=groupAccounts,proto3" json:"group_accounts,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupAccountsByGroupResponse is the Query/GroupAccountsByGroup response type.
func (*QueryGroupAccountsByGroupResponse) Descriptor ¶
func (*QueryGroupAccountsByGroupResponse) Descriptor() ([]byte, []int)
func (*QueryGroupAccountsByGroupResponse) GetGroupAccounts ¶
func (m *QueryGroupAccountsByGroupResponse) GetGroupAccounts() []*GroupAccountInfo
func (*QueryGroupAccountsByGroupResponse) GetPagination ¶
func (m *QueryGroupAccountsByGroupResponse) GetPagination() *query.PageResponse
func (*QueryGroupAccountsByGroupResponse) Marshal ¶
func (m *QueryGroupAccountsByGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupAccountsByGroupResponse) MarshalTo ¶
func (m *QueryGroupAccountsByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupAccountsByGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupAccountsByGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupAccountsByGroupResponse) ProtoMessage ¶
func (*QueryGroupAccountsByGroupResponse) ProtoMessage()
func (*QueryGroupAccountsByGroupResponse) Reset ¶
func (m *QueryGroupAccountsByGroupResponse) Reset()
func (*QueryGroupAccountsByGroupResponse) Size ¶
func (m *QueryGroupAccountsByGroupResponse) Size() (n int)
func (*QueryGroupAccountsByGroupResponse) String ¶
func (m *QueryGroupAccountsByGroupResponse) String() string
func (*QueryGroupAccountsByGroupResponse) Unmarshal ¶
func (m *QueryGroupAccountsByGroupResponse) Unmarshal(dAtA []byte) error
func (QueryGroupAccountsByGroupResponse) UnpackInterfaces ¶
func (q QueryGroupAccountsByGroupResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*QueryGroupAccountsByGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupAccountsByGroupResponse) XXX_DiscardUnknown()
func (*QueryGroupAccountsByGroupResponse) XXX_Marshal ¶
func (m *QueryGroupAccountsByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupAccountsByGroupResponse) XXX_Merge ¶
func (m *QueryGroupAccountsByGroupResponse) XXX_Merge(src proto.Message)
func (*QueryGroupAccountsByGroupResponse) XXX_Size ¶
func (m *QueryGroupAccountsByGroupResponse) XXX_Size() int
func (*QueryGroupAccountsByGroupResponse) XXX_Unmarshal ¶
func (m *QueryGroupAccountsByGroupResponse) XXX_Unmarshal(b []byte) error
type QueryGroupInfoRequest ¶
type QueryGroupInfoRequest struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
}
QueryGroupInfoRequest is the Query/GroupInfo request type.
func (*QueryGroupInfoRequest) Descriptor ¶
func (*QueryGroupInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGroupInfoRequest) GetGroupId ¶
func (m *QueryGroupInfoRequest) GetGroupId() uint64
func (*QueryGroupInfoRequest) Marshal ¶
func (m *QueryGroupInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupInfoRequest) MarshalTo ¶
func (m *QueryGroupInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupInfoRequest) ProtoMessage ¶
func (*QueryGroupInfoRequest) ProtoMessage()
func (*QueryGroupInfoRequest) Reset ¶
func (m *QueryGroupInfoRequest) Reset()
func (*QueryGroupInfoRequest) Size ¶
func (m *QueryGroupInfoRequest) Size() (n int)
func (*QueryGroupInfoRequest) String ¶
func (m *QueryGroupInfoRequest) String() string
func (*QueryGroupInfoRequest) Unmarshal ¶
func (m *QueryGroupInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupInfoRequest) XXX_DiscardUnknown()
func (*QueryGroupInfoRequest) XXX_Marshal ¶
func (m *QueryGroupInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupInfoRequest) XXX_Merge ¶
func (m *QueryGroupInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGroupInfoRequest) XXX_Size ¶
func (m *QueryGroupInfoRequest) XXX_Size() int
func (*QueryGroupInfoRequest) XXX_Unmarshal ¶
func (m *QueryGroupInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGroupInfoResponse ¶
type QueryGroupInfoResponse struct {
// info is the GroupInfo for the group.
Info *GroupInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
}
QueryGroupInfoResponse is the Query/GroupInfo response type.
func (*QueryGroupInfoResponse) Descriptor ¶
func (*QueryGroupInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGroupInfoResponse) GetInfo ¶
func (m *QueryGroupInfoResponse) GetInfo() *GroupInfo
func (*QueryGroupInfoResponse) Marshal ¶
func (m *QueryGroupInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupInfoResponse) MarshalTo ¶
func (m *QueryGroupInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupInfoResponse) ProtoMessage ¶
func (*QueryGroupInfoResponse) ProtoMessage()
func (*QueryGroupInfoResponse) Reset ¶
func (m *QueryGroupInfoResponse) Reset()
func (*QueryGroupInfoResponse) Size ¶
func (m *QueryGroupInfoResponse) Size() (n int)
func (*QueryGroupInfoResponse) String ¶
func (m *QueryGroupInfoResponse) String() string
func (*QueryGroupInfoResponse) Unmarshal ¶
func (m *QueryGroupInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupInfoResponse) XXX_DiscardUnknown()
func (*QueryGroupInfoResponse) XXX_Marshal ¶
func (m *QueryGroupInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupInfoResponse) XXX_Merge ¶
func (m *QueryGroupInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGroupInfoResponse) XXX_Size ¶
func (m *QueryGroupInfoResponse) XXX_Size() int
func (*QueryGroupInfoResponse) XXX_Unmarshal ¶
func (m *QueryGroupInfoResponse) XXX_Unmarshal(b []byte) error
type QueryGroupMembersRequest ¶
type QueryGroupMembersRequest struct {
// group_id is the unique ID of the group.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupMembersRequest is the Query/GroupMembersRequest request type.
func (*QueryGroupMembersRequest) Descriptor ¶
func (*QueryGroupMembersRequest) Descriptor() ([]byte, []int)
func (*QueryGroupMembersRequest) GetGroupId ¶
func (m *QueryGroupMembersRequest) GetGroupId() uint64
func (*QueryGroupMembersRequest) GetPagination ¶
func (m *QueryGroupMembersRequest) GetPagination() *query.PageRequest
func (*QueryGroupMembersRequest) Marshal ¶
func (m *QueryGroupMembersRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupMembersRequest) MarshalTo ¶
func (m *QueryGroupMembersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupMembersRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupMembersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupMembersRequest) ProtoMessage ¶
func (*QueryGroupMembersRequest) ProtoMessage()
func (*QueryGroupMembersRequest) Reset ¶
func (m *QueryGroupMembersRequest) Reset()
func (*QueryGroupMembersRequest) Size ¶
func (m *QueryGroupMembersRequest) Size() (n int)
func (*QueryGroupMembersRequest) String ¶
func (m *QueryGroupMembersRequest) String() string
func (*QueryGroupMembersRequest) Unmarshal ¶
func (m *QueryGroupMembersRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupMembersRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupMembersRequest) XXX_DiscardUnknown()
func (*QueryGroupMembersRequest) XXX_Marshal ¶
func (m *QueryGroupMembersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupMembersRequest) XXX_Merge ¶
func (m *QueryGroupMembersRequest) XXX_Merge(src proto.Message)
func (*QueryGroupMembersRequest) XXX_Size ¶
func (m *QueryGroupMembersRequest) XXX_Size() int
func (*QueryGroupMembersRequest) XXX_Unmarshal ¶
func (m *QueryGroupMembersRequest) XXX_Unmarshal(b []byte) error
type QueryGroupMembersResponse ¶
type QueryGroupMembersResponse struct {
// members are the members of the group with given group_id.
Members []*GroupMember `protobuf:"bytes,1,rep,name=members,proto3" json:"members,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupMembersResponse is the Query/GroupMembersResponse response type.
func (*QueryGroupMembersResponse) Descriptor ¶
func (*QueryGroupMembersResponse) Descriptor() ([]byte, []int)
func (*QueryGroupMembersResponse) GetMembers ¶
func (m *QueryGroupMembersResponse) GetMembers() []*GroupMember
func (*QueryGroupMembersResponse) GetPagination ¶
func (m *QueryGroupMembersResponse) GetPagination() *query.PageResponse
func (*QueryGroupMembersResponse) Marshal ¶
func (m *QueryGroupMembersResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupMembersResponse) MarshalTo ¶
func (m *QueryGroupMembersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupMembersResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupMembersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupMembersResponse) ProtoMessage ¶
func (*QueryGroupMembersResponse) ProtoMessage()
func (*QueryGroupMembersResponse) Reset ¶
func (m *QueryGroupMembersResponse) Reset()
func (*QueryGroupMembersResponse) Size ¶
func (m *QueryGroupMembersResponse) Size() (n int)
func (*QueryGroupMembersResponse) String ¶
func (m *QueryGroupMembersResponse) String() string
func (*QueryGroupMembersResponse) Unmarshal ¶
func (m *QueryGroupMembersResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupMembersResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupMembersResponse) XXX_DiscardUnknown()
func (*QueryGroupMembersResponse) XXX_Marshal ¶
func (m *QueryGroupMembersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupMembersResponse) XXX_Merge ¶
func (m *QueryGroupMembersResponse) XXX_Merge(src proto.Message)
func (*QueryGroupMembersResponse) XXX_Size ¶
func (m *QueryGroupMembersResponse) XXX_Size() int
func (*QueryGroupMembersResponse) XXX_Unmarshal ¶
func (m *QueryGroupMembersResponse) XXX_Unmarshal(b []byte) error
type QueryGroupsByAdminRequest ¶
type QueryGroupsByAdminRequest struct {
// admin is the account address of a group's admin.
Admin string `protobuf:"bytes,1,opt,name=admin,proto3" json:"admin,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupsByAdminRequest is the Query/GroupsByAdminRequest request type.
func (*QueryGroupsByAdminRequest) Descriptor ¶
func (*QueryGroupsByAdminRequest) Descriptor() ([]byte, []int)
func (*QueryGroupsByAdminRequest) GetAdmin ¶
func (m *QueryGroupsByAdminRequest) GetAdmin() string
func (*QueryGroupsByAdminRequest) GetPagination ¶
func (m *QueryGroupsByAdminRequest) GetPagination() *query.PageRequest
func (*QueryGroupsByAdminRequest) Marshal ¶
func (m *QueryGroupsByAdminRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupsByAdminRequest) MarshalTo ¶
func (m *QueryGroupsByAdminRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupsByAdminRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupsByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupsByAdminRequest) ProtoMessage ¶
func (*QueryGroupsByAdminRequest) ProtoMessage()
func (*QueryGroupsByAdminRequest) Reset ¶
func (m *QueryGroupsByAdminRequest) Reset()
func (*QueryGroupsByAdminRequest) Size ¶
func (m *QueryGroupsByAdminRequest) Size() (n int)
func (*QueryGroupsByAdminRequest) String ¶
func (m *QueryGroupsByAdminRequest) String() string
func (*QueryGroupsByAdminRequest) Unmarshal ¶
func (m *QueryGroupsByAdminRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupsByAdminRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupsByAdminRequest) XXX_DiscardUnknown()
func (*QueryGroupsByAdminRequest) XXX_Marshal ¶
func (m *QueryGroupsByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupsByAdminRequest) XXX_Merge ¶
func (m *QueryGroupsByAdminRequest) XXX_Merge(src proto.Message)
func (*QueryGroupsByAdminRequest) XXX_Size ¶
func (m *QueryGroupsByAdminRequest) XXX_Size() int
func (*QueryGroupsByAdminRequest) XXX_Unmarshal ¶
func (m *QueryGroupsByAdminRequest) XXX_Unmarshal(b []byte) error
type QueryGroupsByAdminResponse ¶
type QueryGroupsByAdminResponse struct {
// groups are the groups info with the provided admin.
Groups []*GroupInfo `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryGroupsByAdminResponse is the Query/GroupsByAdminResponse response type.
func (*QueryGroupsByAdminResponse) Descriptor ¶
func (*QueryGroupsByAdminResponse) Descriptor() ([]byte, []int)
func (*QueryGroupsByAdminResponse) GetGroups ¶
func (m *QueryGroupsByAdminResponse) GetGroups() []*GroupInfo
func (*QueryGroupsByAdminResponse) GetPagination ¶
func (m *QueryGroupsByAdminResponse) GetPagination() *query.PageResponse
func (*QueryGroupsByAdminResponse) Marshal ¶
func (m *QueryGroupsByAdminResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupsByAdminResponse) MarshalTo ¶
func (m *QueryGroupsByAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupsByAdminResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupsByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupsByAdminResponse) ProtoMessage ¶
func (*QueryGroupsByAdminResponse) ProtoMessage()
func (*QueryGroupsByAdminResponse) Reset ¶
func (m *QueryGroupsByAdminResponse) Reset()
func (*QueryGroupsByAdminResponse) Size ¶
func (m *QueryGroupsByAdminResponse) Size() (n int)
func (*QueryGroupsByAdminResponse) String ¶
func (m *QueryGroupsByAdminResponse) String() string
func (*QueryGroupsByAdminResponse) Unmarshal ¶
func (m *QueryGroupsByAdminResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupsByAdminResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupsByAdminResponse) XXX_DiscardUnknown()
func (*QueryGroupsByAdminResponse) XXX_Marshal ¶
func (m *QueryGroupsByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupsByAdminResponse) XXX_Merge ¶
func (m *QueryGroupsByAdminResponse) XXX_Merge(src proto.Message)
func (*QueryGroupsByAdminResponse) XXX_Size ¶
func (m *QueryGroupsByAdminResponse) XXX_Size() int
func (*QueryGroupsByAdminResponse) XXX_Unmarshal ¶
func (m *QueryGroupsByAdminResponse) XXX_Unmarshal(b []byte) error
type QueryPollRequest ¶
type QueryPollRequest struct {
// poll_id is the unique ID of a poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
}
QueryPollRequest is the Query/Poll request type.
func (*QueryPollRequest) Descriptor ¶
func (*QueryPollRequest) Descriptor() ([]byte, []int)
func (*QueryPollRequest) GetPollId ¶
func (m *QueryPollRequest) GetPollId() uint64
func (*QueryPollRequest) Marshal ¶
func (m *QueryPollRequest) Marshal() (dAtA []byte, err error)
func (*QueryPollRequest) MarshalToSizedBuffer ¶
func (m *QueryPollRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPollRequest) ProtoMessage ¶
func (*QueryPollRequest) ProtoMessage()
func (*QueryPollRequest) Reset ¶
func (m *QueryPollRequest) Reset()
func (*QueryPollRequest) Size ¶
func (m *QueryPollRequest) Size() (n int)
func (*QueryPollRequest) String ¶
func (m *QueryPollRequest) String() string
func (*QueryPollRequest) Unmarshal ¶
func (m *QueryPollRequest) Unmarshal(dAtA []byte) error
func (*QueryPollRequest) XXX_DiscardUnknown ¶
func (m *QueryPollRequest) XXX_DiscardUnknown()
func (*QueryPollRequest) XXX_Marshal ¶
func (m *QueryPollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPollRequest) XXX_Merge ¶
func (m *QueryPollRequest) XXX_Merge(src proto.Message)
func (*QueryPollRequest) XXX_Size ¶
func (m *QueryPollRequest) XXX_Size() int
func (*QueryPollRequest) XXX_Unmarshal ¶
func (m *QueryPollRequest) XXX_Unmarshal(b []byte) error
type QueryPollResponse ¶
type QueryPollResponse struct {
// poll is the poll info.
Poll *Poll `protobuf:"bytes,1,opt,name=poll,proto3" json:"poll,omitempty"`
}
QueryPollResponse is the Query/Poll response type.
func (*QueryPollResponse) Descriptor ¶
func (*QueryPollResponse) Descriptor() ([]byte, []int)
func (*QueryPollResponse) GetPoll ¶
func (m *QueryPollResponse) GetPoll() *Poll
func (*QueryPollResponse) Marshal ¶
func (m *QueryPollResponse) Marshal() (dAtA []byte, err error)
func (*QueryPollResponse) MarshalTo ¶
func (m *QueryPollResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPollResponse) MarshalToSizedBuffer ¶
func (m *QueryPollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPollResponse) ProtoMessage ¶
func (*QueryPollResponse) ProtoMessage()
func (*QueryPollResponse) Reset ¶
func (m *QueryPollResponse) Reset()
func (*QueryPollResponse) Size ¶
func (m *QueryPollResponse) Size() (n int)
func (*QueryPollResponse) String ¶
func (m *QueryPollResponse) String() string
func (*QueryPollResponse) Unmarshal ¶
func (m *QueryPollResponse) Unmarshal(dAtA []byte) error
func (*QueryPollResponse) XXX_DiscardUnknown ¶
func (m *QueryPollResponse) XXX_DiscardUnknown()
func (*QueryPollResponse) XXX_Marshal ¶
func (m *QueryPollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPollResponse) XXX_Merge ¶
func (m *QueryPollResponse) XXX_Merge(src proto.Message)
func (*QueryPollResponse) XXX_Size ¶
func (m *QueryPollResponse) XXX_Size() int
func (*QueryPollResponse) XXX_Unmarshal ¶
func (m *QueryPollResponse) XXX_Unmarshal(b []byte) error
type QueryPollsByCreatorRequest ¶
type QueryPollsByCreatorRequest struct {
// creator is the creator address related to polls.
Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryPollsByCreatorRequest is the Query/PollByCreator request type.
func (*QueryPollsByCreatorRequest) Descriptor ¶
func (*QueryPollsByCreatorRequest) Descriptor() ([]byte, []int)
func (*QueryPollsByCreatorRequest) GetCreator ¶
func (m *QueryPollsByCreatorRequest) GetCreator() string
func (*QueryPollsByCreatorRequest) GetPagination ¶
func (m *QueryPollsByCreatorRequest) GetPagination() *query.PageRequest
func (*QueryPollsByCreatorRequest) Marshal ¶
func (m *QueryPollsByCreatorRequest) Marshal() (dAtA []byte, err error)
func (*QueryPollsByCreatorRequest) MarshalTo ¶
func (m *QueryPollsByCreatorRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPollsByCreatorRequest) MarshalToSizedBuffer ¶
func (m *QueryPollsByCreatorRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPollsByCreatorRequest) ProtoMessage ¶
func (*QueryPollsByCreatorRequest) ProtoMessage()
func (*QueryPollsByCreatorRequest) Reset ¶
func (m *QueryPollsByCreatorRequest) Reset()
func (*QueryPollsByCreatorRequest) Size ¶
func (m *QueryPollsByCreatorRequest) Size() (n int)
func (*QueryPollsByCreatorRequest) String ¶
func (m *QueryPollsByCreatorRequest) String() string
func (*QueryPollsByCreatorRequest) Unmarshal ¶
func (m *QueryPollsByCreatorRequest) Unmarshal(dAtA []byte) error
func (*QueryPollsByCreatorRequest) XXX_DiscardUnknown ¶
func (m *QueryPollsByCreatorRequest) XXX_DiscardUnknown()
func (*QueryPollsByCreatorRequest) XXX_Marshal ¶
func (m *QueryPollsByCreatorRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPollsByCreatorRequest) XXX_Merge ¶
func (m *QueryPollsByCreatorRequest) XXX_Merge(src proto.Message)
func (*QueryPollsByCreatorRequest) XXX_Size ¶
func (m *QueryPollsByCreatorRequest) XXX_Size() int
func (*QueryPollsByCreatorRequest) XXX_Unmarshal ¶
func (m *QueryPollsByCreatorRequest) XXX_Unmarshal(b []byte) error
type QueryPollsByCreatorResponse ¶
type QueryPollsByCreatorResponse struct {
// polls are the polls with given creator.
Polls []*Poll `protobuf:"bytes,1,rep,name=polls,proto3" json:"polls,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryPollsByCreatorResponse is the Query/PollsByCreator response type.
func (*QueryPollsByCreatorResponse) Descriptor ¶
func (*QueryPollsByCreatorResponse) Descriptor() ([]byte, []int)
func (*QueryPollsByCreatorResponse) GetPagination ¶
func (m *QueryPollsByCreatorResponse) GetPagination() *query.PageResponse
func (*QueryPollsByCreatorResponse) GetPolls ¶
func (m *QueryPollsByCreatorResponse) GetPolls() []*Poll
func (*QueryPollsByCreatorResponse) Marshal ¶
func (m *QueryPollsByCreatorResponse) Marshal() (dAtA []byte, err error)
func (*QueryPollsByCreatorResponse) MarshalTo ¶
func (m *QueryPollsByCreatorResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPollsByCreatorResponse) MarshalToSizedBuffer ¶
func (m *QueryPollsByCreatorResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPollsByCreatorResponse) ProtoMessage ¶
func (*QueryPollsByCreatorResponse) ProtoMessage()
func (*QueryPollsByCreatorResponse) Reset ¶
func (m *QueryPollsByCreatorResponse) Reset()
func (*QueryPollsByCreatorResponse) Size ¶
func (m *QueryPollsByCreatorResponse) Size() (n int)
func (*QueryPollsByCreatorResponse) String ¶
func (m *QueryPollsByCreatorResponse) String() string
func (*QueryPollsByCreatorResponse) Unmarshal ¶
func (m *QueryPollsByCreatorResponse) Unmarshal(dAtA []byte) error
func (*QueryPollsByCreatorResponse) XXX_DiscardUnknown ¶
func (m *QueryPollsByCreatorResponse) XXX_DiscardUnknown()
func (*QueryPollsByCreatorResponse) XXX_Marshal ¶
func (m *QueryPollsByCreatorResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPollsByCreatorResponse) XXX_Merge ¶
func (m *QueryPollsByCreatorResponse) XXX_Merge(src proto.Message)
func (*QueryPollsByCreatorResponse) XXX_Size ¶
func (m *QueryPollsByCreatorResponse) XXX_Size() int
func (*QueryPollsByCreatorResponse) XXX_Unmarshal ¶
func (m *QueryPollsByCreatorResponse) XXX_Unmarshal(b []byte) error
type QueryPollsByGroupRequest ¶
type QueryPollsByGroupRequest struct {
// group_id is the group id related to polls.
GroupId uint64 `protobuf:"varint,1,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryPollsByGroupRequest is the Query/PollByGroup request type.
func (*QueryPollsByGroupRequest) Descriptor ¶
func (*QueryPollsByGroupRequest) Descriptor() ([]byte, []int)
func (*QueryPollsByGroupRequest) GetGroupId ¶
func (m *QueryPollsByGroupRequest) GetGroupId() uint64
func (*QueryPollsByGroupRequest) GetPagination ¶
func (m *QueryPollsByGroupRequest) GetPagination() *query.PageRequest
func (*QueryPollsByGroupRequest) Marshal ¶
func (m *QueryPollsByGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryPollsByGroupRequest) MarshalTo ¶
func (m *QueryPollsByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryPollsByGroupRequest) MarshalToSizedBuffer ¶
func (m *QueryPollsByGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPollsByGroupRequest) ProtoMessage ¶
func (*QueryPollsByGroupRequest) ProtoMessage()
func (*QueryPollsByGroupRequest) Reset ¶
func (m *QueryPollsByGroupRequest) Reset()
func (*QueryPollsByGroupRequest) Size ¶
func (m *QueryPollsByGroupRequest) Size() (n int)
func (*QueryPollsByGroupRequest) String ¶
func (m *QueryPollsByGroupRequest) String() string
func (*QueryPollsByGroupRequest) Unmarshal ¶
func (m *QueryPollsByGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryPollsByGroupRequest) XXX_DiscardUnknown ¶
func (m *QueryPollsByGroupRequest) XXX_DiscardUnknown()
func (*QueryPollsByGroupRequest) XXX_Marshal ¶
func (m *QueryPollsByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPollsByGroupRequest) XXX_Merge ¶
func (m *QueryPollsByGroupRequest) XXX_Merge(src proto.Message)
func (*QueryPollsByGroupRequest) XXX_Size ¶
func (m *QueryPollsByGroupRequest) XXX_Size() int
func (*QueryPollsByGroupRequest) XXX_Unmarshal ¶
func (m *QueryPollsByGroupRequest) XXX_Unmarshal(b []byte) error
type QueryPollsByGroupResponse ¶
type QueryPollsByGroupResponse struct {
// polls are the polls with given group id.
Polls []*Poll `protobuf:"bytes,1,rep,name=polls,proto3" json:"polls,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryPollsByGroupResponse is the Query/PollByGroup response type.
func (*QueryPollsByGroupResponse) Descriptor ¶
func (*QueryPollsByGroupResponse) Descriptor() ([]byte, []int)
func (*QueryPollsByGroupResponse) GetPagination ¶
func (m *QueryPollsByGroupResponse) GetPagination() *query.PageResponse
func (*QueryPollsByGroupResponse) GetPolls ¶
func (m *QueryPollsByGroupResponse) GetPolls() []*Poll
func (*QueryPollsByGroupResponse) Marshal ¶
func (m *QueryPollsByGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryPollsByGroupResponse) MarshalTo ¶
func (m *QueryPollsByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryPollsByGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryPollsByGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryPollsByGroupResponse) ProtoMessage ¶
func (*QueryPollsByGroupResponse) ProtoMessage()
func (*QueryPollsByGroupResponse) Reset ¶
func (m *QueryPollsByGroupResponse) Reset()
func (*QueryPollsByGroupResponse) Size ¶
func (m *QueryPollsByGroupResponse) Size() (n int)
func (*QueryPollsByGroupResponse) String ¶
func (m *QueryPollsByGroupResponse) String() string
func (*QueryPollsByGroupResponse) Unmarshal ¶
func (m *QueryPollsByGroupResponse) Unmarshal(dAtA []byte) error
func (*QueryPollsByGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryPollsByGroupResponse) XXX_DiscardUnknown()
func (*QueryPollsByGroupResponse) XXX_Marshal ¶
func (m *QueryPollsByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryPollsByGroupResponse) XXX_Merge ¶
func (m *QueryPollsByGroupResponse) XXX_Merge(src proto.Message)
func (*QueryPollsByGroupResponse) XXX_Size ¶
func (m *QueryPollsByGroupResponse) XXX_Size() int
func (*QueryPollsByGroupResponse) XXX_Unmarshal ¶
func (m *QueryPollsByGroupResponse) XXX_Unmarshal(b []byte) error
type QueryProposalRequest ¶
type QueryProposalRequest struct {
// proposal_id is the unique ID of a proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
}
QueryProposalRequest is the Query/Proposal request type.
func (*QueryProposalRequest) Descriptor ¶
func (*QueryProposalRequest) Descriptor() ([]byte, []int)
func (*QueryProposalRequest) GetProposalId ¶
func (m *QueryProposalRequest) GetProposalId() uint64
func (*QueryProposalRequest) Marshal ¶
func (m *QueryProposalRequest) Marshal() (dAtA []byte, err error)
func (*QueryProposalRequest) MarshalTo ¶
func (m *QueryProposalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalRequest) MarshalToSizedBuffer ¶
func (m *QueryProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalRequest) ProtoMessage ¶
func (*QueryProposalRequest) ProtoMessage()
func (*QueryProposalRequest) Reset ¶
func (m *QueryProposalRequest) Reset()
func (*QueryProposalRequest) Size ¶
func (m *QueryProposalRequest) Size() (n int)
func (*QueryProposalRequest) String ¶
func (m *QueryProposalRequest) String() string
func (*QueryProposalRequest) Unmarshal ¶
func (m *QueryProposalRequest) Unmarshal(dAtA []byte) error
func (*QueryProposalRequest) XXX_DiscardUnknown ¶
func (m *QueryProposalRequest) XXX_DiscardUnknown()
func (*QueryProposalRequest) XXX_Marshal ¶
func (m *QueryProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalRequest) XXX_Merge ¶
func (m *QueryProposalRequest) XXX_Merge(src proto.Message)
func (*QueryProposalRequest) XXX_Size ¶
func (m *QueryProposalRequest) XXX_Size() int
func (*QueryProposalRequest) XXX_Unmarshal ¶
func (m *QueryProposalRequest) XXX_Unmarshal(b []byte) error
type QueryProposalResponse ¶
type QueryProposalResponse struct {
// proposal is the proposal info.
Proposal *Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"`
}
QueryProposalResponse is the Query/Proposal response type.
func (*QueryProposalResponse) Descriptor ¶
func (*QueryProposalResponse) Descriptor() ([]byte, []int)
func (*QueryProposalResponse) GetProposal ¶
func (m *QueryProposalResponse) GetProposal() *Proposal
func (*QueryProposalResponse) Marshal ¶
func (m *QueryProposalResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposalResponse) MarshalTo ¶
func (m *QueryProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalResponse) MarshalToSizedBuffer ¶
func (m *QueryProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalResponse) ProtoMessage ¶
func (*QueryProposalResponse) ProtoMessage()
func (*QueryProposalResponse) Reset ¶
func (m *QueryProposalResponse) Reset()
func (*QueryProposalResponse) Size ¶
func (m *QueryProposalResponse) Size() (n int)
func (*QueryProposalResponse) String ¶
func (m *QueryProposalResponse) String() string
func (*QueryProposalResponse) Unmarshal ¶
func (m *QueryProposalResponse) Unmarshal(dAtA []byte) error
func (*QueryProposalResponse) XXX_DiscardUnknown ¶
func (m *QueryProposalResponse) XXX_DiscardUnknown()
func (*QueryProposalResponse) XXX_Marshal ¶
func (m *QueryProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalResponse) XXX_Merge ¶
func (m *QueryProposalResponse) XXX_Merge(src proto.Message)
func (*QueryProposalResponse) XXX_Size ¶
func (m *QueryProposalResponse) XXX_Size() int
func (*QueryProposalResponse) XXX_Unmarshal ¶
func (m *QueryProposalResponse) XXX_Unmarshal(b []byte) error
type QueryProposalsByGroupAccountRequest ¶
type QueryProposalsByGroupAccountRequest struct {
// address is the group account address related to proposals.
Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryProposalsByGroupAccountRequest is the Query/ProposalByGroupAccount request type.
func (*QueryProposalsByGroupAccountRequest) Descriptor ¶
func (*QueryProposalsByGroupAccountRequest) Descriptor() ([]byte, []int)
func (*QueryProposalsByGroupAccountRequest) GetAddress ¶
func (m *QueryProposalsByGroupAccountRequest) GetAddress() string
func (*QueryProposalsByGroupAccountRequest) GetPagination ¶
func (m *QueryProposalsByGroupAccountRequest) GetPagination() *query.PageRequest
func (*QueryProposalsByGroupAccountRequest) Marshal ¶
func (m *QueryProposalsByGroupAccountRequest) Marshal() (dAtA []byte, err error)
func (*QueryProposalsByGroupAccountRequest) MarshalTo ¶
func (m *QueryProposalsByGroupAccountRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalsByGroupAccountRequest) MarshalToSizedBuffer ¶
func (m *QueryProposalsByGroupAccountRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalsByGroupAccountRequest) ProtoMessage ¶
func (*QueryProposalsByGroupAccountRequest) ProtoMessage()
func (*QueryProposalsByGroupAccountRequest) Reset ¶
func (m *QueryProposalsByGroupAccountRequest) Reset()
func (*QueryProposalsByGroupAccountRequest) Size ¶
func (m *QueryProposalsByGroupAccountRequest) Size() (n int)
func (*QueryProposalsByGroupAccountRequest) String ¶
func (m *QueryProposalsByGroupAccountRequest) String() string
func (*QueryProposalsByGroupAccountRequest) Unmarshal ¶
func (m *QueryProposalsByGroupAccountRequest) Unmarshal(dAtA []byte) error
func (*QueryProposalsByGroupAccountRequest) XXX_DiscardUnknown ¶
func (m *QueryProposalsByGroupAccountRequest) XXX_DiscardUnknown()
func (*QueryProposalsByGroupAccountRequest) XXX_Marshal ¶
func (m *QueryProposalsByGroupAccountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalsByGroupAccountRequest) XXX_Merge ¶
func (m *QueryProposalsByGroupAccountRequest) XXX_Merge(src proto.Message)
func (*QueryProposalsByGroupAccountRequest) XXX_Size ¶
func (m *QueryProposalsByGroupAccountRequest) XXX_Size() int
func (*QueryProposalsByGroupAccountRequest) XXX_Unmarshal ¶
func (m *QueryProposalsByGroupAccountRequest) XXX_Unmarshal(b []byte) error
type QueryProposalsByGroupAccountResponse ¶
type QueryProposalsByGroupAccountResponse struct {
// proposals are the proposals with given group account.
Proposals []*Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryProposalsByGroupAccountResponse is the Query/ProposalByGroupAccount response type.
func (*QueryProposalsByGroupAccountResponse) Descriptor ¶
func (*QueryProposalsByGroupAccountResponse) Descriptor() ([]byte, []int)
func (*QueryProposalsByGroupAccountResponse) GetPagination ¶
func (m *QueryProposalsByGroupAccountResponse) GetPagination() *query.PageResponse
func (*QueryProposalsByGroupAccountResponse) GetProposals ¶
func (m *QueryProposalsByGroupAccountResponse) GetProposals() []*Proposal
func (*QueryProposalsByGroupAccountResponse) Marshal ¶
func (m *QueryProposalsByGroupAccountResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposalsByGroupAccountResponse) MarshalTo ¶
func (m *QueryProposalsByGroupAccountResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalsByGroupAccountResponse) MarshalToSizedBuffer ¶
func (m *QueryProposalsByGroupAccountResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalsByGroupAccountResponse) ProtoMessage ¶
func (*QueryProposalsByGroupAccountResponse) ProtoMessage()
func (*QueryProposalsByGroupAccountResponse) Reset ¶
func (m *QueryProposalsByGroupAccountResponse) Reset()
func (*QueryProposalsByGroupAccountResponse) Size ¶
func (m *QueryProposalsByGroupAccountResponse) Size() (n int)
func (*QueryProposalsByGroupAccountResponse) String ¶
func (m *QueryProposalsByGroupAccountResponse) String() string
func (*QueryProposalsByGroupAccountResponse) Unmarshal ¶
func (m *QueryProposalsByGroupAccountResponse) Unmarshal(dAtA []byte) error
func (*QueryProposalsByGroupAccountResponse) XXX_DiscardUnknown ¶
func (m *QueryProposalsByGroupAccountResponse) XXX_DiscardUnknown()
func (*QueryProposalsByGroupAccountResponse) XXX_Marshal ¶
func (m *QueryProposalsByGroupAccountResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalsByGroupAccountResponse) XXX_Merge ¶
func (m *QueryProposalsByGroupAccountResponse) XXX_Merge(src proto.Message)
func (*QueryProposalsByGroupAccountResponse) XXX_Size ¶
func (m *QueryProposalsByGroupAccountResponse) XXX_Size() int
func (*QueryProposalsByGroupAccountResponse) XXX_Unmarshal ¶
func (m *QueryProposalsByGroupAccountResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface {
// GroupInfo queries group info based on group id.
GroupInfo(context.Context, *QueryGroupInfoRequest) (*QueryGroupInfoResponse, error)
// GroupAccountInfo queries group account info based on group account address.
GroupAccountInfo(context.Context, *QueryGroupAccountInfoRequest) (*QueryGroupAccountInfoResponse, error)
// GroupMembers queries members of a group
GroupMembers(context.Context, *QueryGroupMembersRequest) (*QueryGroupMembersResponse, error)
// GroupsByAdmin queries groups by admin address.
GroupsByAdmin(context.Context, *QueryGroupsByAdminRequest) (*QueryGroupsByAdminResponse, error)
// GroupAccountsByGroup queries group accounts by group id.
GroupAccountsByGroup(context.Context, *QueryGroupAccountsByGroupRequest) (*QueryGroupAccountsByGroupResponse, error)
// GroupsByAdmin queries group accounts by admin address.
GroupAccountsByAdmin(context.Context, *QueryGroupAccountsByAdminRequest) (*QueryGroupAccountsByAdminResponse, error)
// Proposal queries a proposal based on proposal id.
Proposal(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error)
// ProposalsByGroupAccount queries proposals based on group account address.
ProposalsByGroupAccount(context.Context, *QueryProposalsByGroupAccountRequest) (*QueryProposalsByGroupAccountResponse, error)
// VoteByProposalVoter queries a vote by proposal id and voter.
VoteByProposalVoter(context.Context, *QueryVoteByProposalVoterRequest) (*QueryVoteByProposalVoterResponse, error)
// VotesByProposal queries a vote by proposal.
VotesByProposal(context.Context, *QueryVotesByProposalRequest) (*QueryVotesByProposalResponse, error)
// VotesByVoter queries a vote by voter.
VotesByVoter(context.Context, *QueryVotesByVoterRequest) (*QueryVotesByVoterResponse, error)
// Poll queries a poll based on poll id.
Poll(context.Context, *QueryPollRequest) (*QueryPollResponse, error)
// PollsByGroup queries polls based on group id.
PollsByGroup(context.Context, *QueryPollsByGroupRequest) (*QueryPollsByGroupResponse, error)
// PollsByCreator queries polls by creator address.
PollsByCreator(context.Context, *QueryPollsByCreatorRequest) (*QueryPollsByCreatorResponse, error)
// VoteForPollByPollVoter queries a vote by poll id and voter.
VoteForPollByPollVoter(context.Context, *QueryVoteForPollByPollVoterRequest) (*QueryVoteForPollByPollVoterResponse, error)
// VotesForPollByPoll queries votes by poll.
VotesForPollByPoll(context.Context, *QueryVotesForPollByPollRequest) (*QueryVotesForPollByPollResponse, error)
// VotesForPollByVoter queries votes for poll by voter.
VotesForPollByVoter(context.Context, *QueryVotesForPollByVoterRequest) (*QueryVotesForPollByVoterResponse, error)
}
QueryServer is the server API for Query service.
type QueryVoteByProposalVoterRequest ¶
type QueryVoteByProposalVoterRequest struct {
// proposal_id is the unique ID of a proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// voter is a proposal voter account address.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
}
QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter request type.
func (*QueryVoteByProposalVoterRequest) Descriptor ¶
func (*QueryVoteByProposalVoterRequest) Descriptor() ([]byte, []int)
func (*QueryVoteByProposalVoterRequest) GetProposalId ¶
func (m *QueryVoteByProposalVoterRequest) GetProposalId() uint64
func (*QueryVoteByProposalVoterRequest) GetVoter ¶
func (m *QueryVoteByProposalVoterRequest) GetVoter() string
func (*QueryVoteByProposalVoterRequest) Marshal ¶
func (m *QueryVoteByProposalVoterRequest) Marshal() (dAtA []byte, err error)
func (*QueryVoteByProposalVoterRequest) MarshalTo ¶
func (m *QueryVoteByProposalVoterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVoteByProposalVoterRequest) MarshalToSizedBuffer ¶
func (m *QueryVoteByProposalVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVoteByProposalVoterRequest) ProtoMessage ¶
func (*QueryVoteByProposalVoterRequest) ProtoMessage()
func (*QueryVoteByProposalVoterRequest) Reset ¶
func (m *QueryVoteByProposalVoterRequest) Reset()
func (*QueryVoteByProposalVoterRequest) Size ¶
func (m *QueryVoteByProposalVoterRequest) Size() (n int)
func (*QueryVoteByProposalVoterRequest) String ¶
func (m *QueryVoteByProposalVoterRequest) String() string
func (*QueryVoteByProposalVoterRequest) Unmarshal ¶
func (m *QueryVoteByProposalVoterRequest) Unmarshal(dAtA []byte) error
func (*QueryVoteByProposalVoterRequest) XXX_DiscardUnknown ¶
func (m *QueryVoteByProposalVoterRequest) XXX_DiscardUnknown()
func (*QueryVoteByProposalVoterRequest) XXX_Marshal ¶
func (m *QueryVoteByProposalVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVoteByProposalVoterRequest) XXX_Merge ¶
func (m *QueryVoteByProposalVoterRequest) XXX_Merge(src proto.Message)
func (*QueryVoteByProposalVoterRequest) XXX_Size ¶
func (m *QueryVoteByProposalVoterRequest) XXX_Size() int
func (*QueryVoteByProposalVoterRequest) XXX_Unmarshal ¶
func (m *QueryVoteByProposalVoterRequest) XXX_Unmarshal(b []byte) error
type QueryVoteByProposalVoterResponse ¶
type QueryVoteByProposalVoterResponse struct {
// vote is the vote with given proposal_id and voter.
Vote *Vote `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
}
QueryVoteByProposalVoterResponse is the Query/VoteByProposalVoter response type.
func (*QueryVoteByProposalVoterResponse) Descriptor ¶
func (*QueryVoteByProposalVoterResponse) Descriptor() ([]byte, []int)
func (*QueryVoteByProposalVoterResponse) GetVote ¶
func (m *QueryVoteByProposalVoterResponse) GetVote() *Vote
func (*QueryVoteByProposalVoterResponse) Marshal ¶
func (m *QueryVoteByProposalVoterResponse) Marshal() (dAtA []byte, err error)
func (*QueryVoteByProposalVoterResponse) MarshalTo ¶
func (m *QueryVoteByProposalVoterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVoteByProposalVoterResponse) MarshalToSizedBuffer ¶
func (m *QueryVoteByProposalVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVoteByProposalVoterResponse) ProtoMessage ¶
func (*QueryVoteByProposalVoterResponse) ProtoMessage()
func (*QueryVoteByProposalVoterResponse) Reset ¶
func (m *QueryVoteByProposalVoterResponse) Reset()
func (*QueryVoteByProposalVoterResponse) Size ¶
func (m *QueryVoteByProposalVoterResponse) Size() (n int)
func (*QueryVoteByProposalVoterResponse) String ¶
func (m *QueryVoteByProposalVoterResponse) String() string
func (*QueryVoteByProposalVoterResponse) Unmarshal ¶
func (m *QueryVoteByProposalVoterResponse) Unmarshal(dAtA []byte) error
func (*QueryVoteByProposalVoterResponse) XXX_DiscardUnknown ¶
func (m *QueryVoteByProposalVoterResponse) XXX_DiscardUnknown()
func (*QueryVoteByProposalVoterResponse) XXX_Marshal ¶
func (m *QueryVoteByProposalVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVoteByProposalVoterResponse) XXX_Merge ¶
func (m *QueryVoteByProposalVoterResponse) XXX_Merge(src proto.Message)
func (*QueryVoteByProposalVoterResponse) XXX_Size ¶
func (m *QueryVoteByProposalVoterResponse) XXX_Size() int
func (*QueryVoteByProposalVoterResponse) XXX_Unmarshal ¶
func (m *QueryVoteByProposalVoterResponse) XXX_Unmarshal(b []byte) error
type QueryVoteForPollByPollVoterRequest ¶
type QueryVoteForPollByPollVoterRequest struct {
// poll_id is the unique ID of a poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// voter is a poll voter account address.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
}
QueryVoteForPollByPollVoterRequest is the Query/VotePollByPollVoter request type.
func (*QueryVoteForPollByPollVoterRequest) Descriptor ¶
func (*QueryVoteForPollByPollVoterRequest) Descriptor() ([]byte, []int)
func (*QueryVoteForPollByPollVoterRequest) GetPollId ¶
func (m *QueryVoteForPollByPollVoterRequest) GetPollId() uint64
func (*QueryVoteForPollByPollVoterRequest) GetVoter ¶
func (m *QueryVoteForPollByPollVoterRequest) GetVoter() string
func (*QueryVoteForPollByPollVoterRequest) Marshal ¶
func (m *QueryVoteForPollByPollVoterRequest) Marshal() (dAtA []byte, err error)
func (*QueryVoteForPollByPollVoterRequest) MarshalTo ¶
func (m *QueryVoteForPollByPollVoterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVoteForPollByPollVoterRequest) MarshalToSizedBuffer ¶
func (m *QueryVoteForPollByPollVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVoteForPollByPollVoterRequest) ProtoMessage ¶
func (*QueryVoteForPollByPollVoterRequest) ProtoMessage()
func (*QueryVoteForPollByPollVoterRequest) Reset ¶
func (m *QueryVoteForPollByPollVoterRequest) Reset()
func (*QueryVoteForPollByPollVoterRequest) Size ¶
func (m *QueryVoteForPollByPollVoterRequest) Size() (n int)
func (*QueryVoteForPollByPollVoterRequest) String ¶
func (m *QueryVoteForPollByPollVoterRequest) String() string
func (*QueryVoteForPollByPollVoterRequest) Unmarshal ¶
func (m *QueryVoteForPollByPollVoterRequest) Unmarshal(dAtA []byte) error
func (*QueryVoteForPollByPollVoterRequest) XXX_DiscardUnknown ¶
func (m *QueryVoteForPollByPollVoterRequest) XXX_DiscardUnknown()
func (*QueryVoteForPollByPollVoterRequest) XXX_Marshal ¶
func (m *QueryVoteForPollByPollVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVoteForPollByPollVoterRequest) XXX_Merge ¶
func (m *QueryVoteForPollByPollVoterRequest) XXX_Merge(src proto.Message)
func (*QueryVoteForPollByPollVoterRequest) XXX_Size ¶
func (m *QueryVoteForPollByPollVoterRequest) XXX_Size() int
func (*QueryVoteForPollByPollVoterRequest) XXX_Unmarshal ¶
func (m *QueryVoteForPollByPollVoterRequest) XXX_Unmarshal(b []byte) error
type QueryVoteForPollByPollVoterResponse ¶
type QueryVoteForPollByPollVoterResponse struct {
// vote is the vote with given poll_id and voter.
Vote *VotePoll `protobuf:"bytes,1,opt,name=vote,proto3" json:"vote,omitempty"`
}
QueryVotesForPollByPollVoterResponse is the Query/VotePollByPollVoter response type.
func (*QueryVoteForPollByPollVoterResponse) Descriptor ¶
func (*QueryVoteForPollByPollVoterResponse) Descriptor() ([]byte, []int)
func (*QueryVoteForPollByPollVoterResponse) GetVote ¶
func (m *QueryVoteForPollByPollVoterResponse) GetVote() *VotePoll
func (*QueryVoteForPollByPollVoterResponse) Marshal ¶
func (m *QueryVoteForPollByPollVoterResponse) Marshal() (dAtA []byte, err error)
func (*QueryVoteForPollByPollVoterResponse) MarshalTo ¶
func (m *QueryVoteForPollByPollVoterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVoteForPollByPollVoterResponse) MarshalToSizedBuffer ¶
func (m *QueryVoteForPollByPollVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVoteForPollByPollVoterResponse) ProtoMessage ¶
func (*QueryVoteForPollByPollVoterResponse) ProtoMessage()
func (*QueryVoteForPollByPollVoterResponse) Reset ¶
func (m *QueryVoteForPollByPollVoterResponse) Reset()
func (*QueryVoteForPollByPollVoterResponse) Size ¶
func (m *QueryVoteForPollByPollVoterResponse) Size() (n int)
func (*QueryVoteForPollByPollVoterResponse) String ¶
func (m *QueryVoteForPollByPollVoterResponse) String() string
func (*QueryVoteForPollByPollVoterResponse) Unmarshal ¶
func (m *QueryVoteForPollByPollVoterResponse) Unmarshal(dAtA []byte) error
func (*QueryVoteForPollByPollVoterResponse) XXX_DiscardUnknown ¶
func (m *QueryVoteForPollByPollVoterResponse) XXX_DiscardUnknown()
func (*QueryVoteForPollByPollVoterResponse) XXX_Marshal ¶
func (m *QueryVoteForPollByPollVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVoteForPollByPollVoterResponse) XXX_Merge ¶
func (m *QueryVoteForPollByPollVoterResponse) XXX_Merge(src proto.Message)
func (*QueryVoteForPollByPollVoterResponse) XXX_Size ¶
func (m *QueryVoteForPollByPollVoterResponse) XXX_Size() int
func (*QueryVoteForPollByPollVoterResponse) XXX_Unmarshal ¶
func (m *QueryVoteForPollByPollVoterResponse) XXX_Unmarshal(b []byte) error
type QueryVotesByProposalRequest ¶
type QueryVotesByProposalRequest struct {
// proposal_id is the unique ID of a proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesByProposalResponse is the Query/VotesByProposal request type.
func (*QueryVotesByProposalRequest) Descriptor ¶
func (*QueryVotesByProposalRequest) Descriptor() ([]byte, []int)
func (*QueryVotesByProposalRequest) GetPagination ¶
func (m *QueryVotesByProposalRequest) GetPagination() *query.PageRequest
func (*QueryVotesByProposalRequest) GetProposalId ¶
func (m *QueryVotesByProposalRequest) GetProposalId() uint64
func (*QueryVotesByProposalRequest) Marshal ¶
func (m *QueryVotesByProposalRequest) Marshal() (dAtA []byte, err error)
func (*QueryVotesByProposalRequest) MarshalTo ¶
func (m *QueryVotesByProposalRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesByProposalRequest) MarshalToSizedBuffer ¶
func (m *QueryVotesByProposalRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesByProposalRequest) ProtoMessage ¶
func (*QueryVotesByProposalRequest) ProtoMessage()
func (*QueryVotesByProposalRequest) Reset ¶
func (m *QueryVotesByProposalRequest) Reset()
func (*QueryVotesByProposalRequest) Size ¶
func (m *QueryVotesByProposalRequest) Size() (n int)
func (*QueryVotesByProposalRequest) String ¶
func (m *QueryVotesByProposalRequest) String() string
func (*QueryVotesByProposalRequest) Unmarshal ¶
func (m *QueryVotesByProposalRequest) Unmarshal(dAtA []byte) error
func (*QueryVotesByProposalRequest) XXX_DiscardUnknown ¶
func (m *QueryVotesByProposalRequest) XXX_DiscardUnknown()
func (*QueryVotesByProposalRequest) XXX_Marshal ¶
func (m *QueryVotesByProposalRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesByProposalRequest) XXX_Merge ¶
func (m *QueryVotesByProposalRequest) XXX_Merge(src proto.Message)
func (*QueryVotesByProposalRequest) XXX_Size ¶
func (m *QueryVotesByProposalRequest) XXX_Size() int
func (*QueryVotesByProposalRequest) XXX_Unmarshal ¶
func (m *QueryVotesByProposalRequest) XXX_Unmarshal(b []byte) error
type QueryVotesByProposalResponse ¶
type QueryVotesByProposalResponse struct {
// votes are the list of votes for given proposal_id.
Votes []*Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesByProposalResponse is the Query/VotesByProposal response type.
func (*QueryVotesByProposalResponse) Descriptor ¶
func (*QueryVotesByProposalResponse) Descriptor() ([]byte, []int)
func (*QueryVotesByProposalResponse) GetPagination ¶
func (m *QueryVotesByProposalResponse) GetPagination() *query.PageResponse
func (*QueryVotesByProposalResponse) GetVotes ¶
func (m *QueryVotesByProposalResponse) GetVotes() []*Vote
func (*QueryVotesByProposalResponse) Marshal ¶
func (m *QueryVotesByProposalResponse) Marshal() (dAtA []byte, err error)
func (*QueryVotesByProposalResponse) MarshalTo ¶
func (m *QueryVotesByProposalResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesByProposalResponse) MarshalToSizedBuffer ¶
func (m *QueryVotesByProposalResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesByProposalResponse) ProtoMessage ¶
func (*QueryVotesByProposalResponse) ProtoMessage()
func (*QueryVotesByProposalResponse) Reset ¶
func (m *QueryVotesByProposalResponse) Reset()
func (*QueryVotesByProposalResponse) Size ¶
func (m *QueryVotesByProposalResponse) Size() (n int)
func (*QueryVotesByProposalResponse) String ¶
func (m *QueryVotesByProposalResponse) String() string
func (*QueryVotesByProposalResponse) Unmarshal ¶
func (m *QueryVotesByProposalResponse) Unmarshal(dAtA []byte) error
func (*QueryVotesByProposalResponse) XXX_DiscardUnknown ¶
func (m *QueryVotesByProposalResponse) XXX_DiscardUnknown()
func (*QueryVotesByProposalResponse) XXX_Marshal ¶
func (m *QueryVotesByProposalResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesByProposalResponse) XXX_Merge ¶
func (m *QueryVotesByProposalResponse) XXX_Merge(src proto.Message)
func (*QueryVotesByProposalResponse) XXX_Size ¶
func (m *QueryVotesByProposalResponse) XXX_Size() int
func (*QueryVotesByProposalResponse) XXX_Unmarshal ¶
func (m *QueryVotesByProposalResponse) XXX_Unmarshal(b []byte) error
type QueryVotesByVoterRequest ¶
type QueryVotesByVoterRequest struct {
// voter is a proposal voter account address.
Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesByVoterResponse is the Query/VotesByVoter request type.
func (*QueryVotesByVoterRequest) Descriptor ¶
func (*QueryVotesByVoterRequest) Descriptor() ([]byte, []int)
func (*QueryVotesByVoterRequest) GetPagination ¶
func (m *QueryVotesByVoterRequest) GetPagination() *query.PageRequest
func (*QueryVotesByVoterRequest) GetVoter ¶
func (m *QueryVotesByVoterRequest) GetVoter() string
func (*QueryVotesByVoterRequest) Marshal ¶
func (m *QueryVotesByVoterRequest) Marshal() (dAtA []byte, err error)
func (*QueryVotesByVoterRequest) MarshalTo ¶
func (m *QueryVotesByVoterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesByVoterRequest) MarshalToSizedBuffer ¶
func (m *QueryVotesByVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesByVoterRequest) ProtoMessage ¶
func (*QueryVotesByVoterRequest) ProtoMessage()
func (*QueryVotesByVoterRequest) Reset ¶
func (m *QueryVotesByVoterRequest) Reset()
func (*QueryVotesByVoterRequest) Size ¶
func (m *QueryVotesByVoterRequest) Size() (n int)
func (*QueryVotesByVoterRequest) String ¶
func (m *QueryVotesByVoterRequest) String() string
func (*QueryVotesByVoterRequest) Unmarshal ¶
func (m *QueryVotesByVoterRequest) Unmarshal(dAtA []byte) error
func (*QueryVotesByVoterRequest) XXX_DiscardUnknown ¶
func (m *QueryVotesByVoterRequest) XXX_DiscardUnknown()
func (*QueryVotesByVoterRequest) XXX_Marshal ¶
func (m *QueryVotesByVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesByVoterRequest) XXX_Merge ¶
func (m *QueryVotesByVoterRequest) XXX_Merge(src proto.Message)
func (*QueryVotesByVoterRequest) XXX_Size ¶
func (m *QueryVotesByVoterRequest) XXX_Size() int
func (*QueryVotesByVoterRequest) XXX_Unmarshal ¶
func (m *QueryVotesByVoterRequest) XXX_Unmarshal(b []byte) error
type QueryVotesByVoterResponse ¶
type QueryVotesByVoterResponse struct {
// votes are the list of votes by given voter.
Votes []*Vote `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesByVoterResponse is the Query/VotesByVoter response type.
func (*QueryVotesByVoterResponse) Descriptor ¶
func (*QueryVotesByVoterResponse) Descriptor() ([]byte, []int)
func (*QueryVotesByVoterResponse) GetPagination ¶
func (m *QueryVotesByVoterResponse) GetPagination() *query.PageResponse
func (*QueryVotesByVoterResponse) GetVotes ¶
func (m *QueryVotesByVoterResponse) GetVotes() []*Vote
func (*QueryVotesByVoterResponse) Marshal ¶
func (m *QueryVotesByVoterResponse) Marshal() (dAtA []byte, err error)
func (*QueryVotesByVoterResponse) MarshalTo ¶
func (m *QueryVotesByVoterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesByVoterResponse) MarshalToSizedBuffer ¶
func (m *QueryVotesByVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesByVoterResponse) ProtoMessage ¶
func (*QueryVotesByVoterResponse) ProtoMessage()
func (*QueryVotesByVoterResponse) Reset ¶
func (m *QueryVotesByVoterResponse) Reset()
func (*QueryVotesByVoterResponse) Size ¶
func (m *QueryVotesByVoterResponse) Size() (n int)
func (*QueryVotesByVoterResponse) String ¶
func (m *QueryVotesByVoterResponse) String() string
func (*QueryVotesByVoterResponse) Unmarshal ¶
func (m *QueryVotesByVoterResponse) Unmarshal(dAtA []byte) error
func (*QueryVotesByVoterResponse) XXX_DiscardUnknown ¶
func (m *QueryVotesByVoterResponse) XXX_DiscardUnknown()
func (*QueryVotesByVoterResponse) XXX_Marshal ¶
func (m *QueryVotesByVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesByVoterResponse) XXX_Merge ¶
func (m *QueryVotesByVoterResponse) XXX_Merge(src proto.Message)
func (*QueryVotesByVoterResponse) XXX_Size ¶
func (m *QueryVotesByVoterResponse) XXX_Size() int
func (*QueryVotesByVoterResponse) XXX_Unmarshal ¶
func (m *QueryVotesByVoterResponse) XXX_Unmarshal(b []byte) error
type QueryVotesForPollByPollRequest ¶
type QueryVotesForPollByPollRequest struct {
// poll_id is the unique ID of a poll.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesForPollByPollRequest is the Query/VotePollsByPoll request type.
func (*QueryVotesForPollByPollRequest) Descriptor ¶
func (*QueryVotesForPollByPollRequest) Descriptor() ([]byte, []int)
func (*QueryVotesForPollByPollRequest) GetPagination ¶
func (m *QueryVotesForPollByPollRequest) GetPagination() *query.PageRequest
func (*QueryVotesForPollByPollRequest) GetPollId ¶
func (m *QueryVotesForPollByPollRequest) GetPollId() uint64
func (*QueryVotesForPollByPollRequest) Marshal ¶
func (m *QueryVotesForPollByPollRequest) Marshal() (dAtA []byte, err error)
func (*QueryVotesForPollByPollRequest) MarshalTo ¶
func (m *QueryVotesForPollByPollRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesForPollByPollRequest) MarshalToSizedBuffer ¶
func (m *QueryVotesForPollByPollRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesForPollByPollRequest) ProtoMessage ¶
func (*QueryVotesForPollByPollRequest) ProtoMessage()
func (*QueryVotesForPollByPollRequest) Reset ¶
func (m *QueryVotesForPollByPollRequest) Reset()
func (*QueryVotesForPollByPollRequest) Size ¶
func (m *QueryVotesForPollByPollRequest) Size() (n int)
func (*QueryVotesForPollByPollRequest) String ¶
func (m *QueryVotesForPollByPollRequest) String() string
func (*QueryVotesForPollByPollRequest) Unmarshal ¶
func (m *QueryVotesForPollByPollRequest) Unmarshal(dAtA []byte) error
func (*QueryVotesForPollByPollRequest) XXX_DiscardUnknown ¶
func (m *QueryVotesForPollByPollRequest) XXX_DiscardUnknown()
func (*QueryVotesForPollByPollRequest) XXX_Marshal ¶
func (m *QueryVotesForPollByPollRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesForPollByPollRequest) XXX_Merge ¶
func (m *QueryVotesForPollByPollRequest) XXX_Merge(src proto.Message)
func (*QueryVotesForPollByPollRequest) XXX_Size ¶
func (m *QueryVotesForPollByPollRequest) XXX_Size() int
func (*QueryVotesForPollByPollRequest) XXX_Unmarshal ¶
func (m *QueryVotesForPollByPollRequest) XXX_Unmarshal(b []byte) error
type QueryVotesForPollByPollResponse ¶
type QueryVotesForPollByPollResponse struct {
// votes are the list of votes for given poll_id.
Votes []*VotePoll `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesForPollByPollResponse is the Query/VotePollsByPoll response type.
func (*QueryVotesForPollByPollResponse) Descriptor ¶
func (*QueryVotesForPollByPollResponse) Descriptor() ([]byte, []int)
func (*QueryVotesForPollByPollResponse) GetPagination ¶
func (m *QueryVotesForPollByPollResponse) GetPagination() *query.PageResponse
func (*QueryVotesForPollByPollResponse) GetVotes ¶
func (m *QueryVotesForPollByPollResponse) GetVotes() []*VotePoll
func (*QueryVotesForPollByPollResponse) Marshal ¶
func (m *QueryVotesForPollByPollResponse) Marshal() (dAtA []byte, err error)
func (*QueryVotesForPollByPollResponse) MarshalTo ¶
func (m *QueryVotesForPollByPollResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesForPollByPollResponse) MarshalToSizedBuffer ¶
func (m *QueryVotesForPollByPollResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesForPollByPollResponse) ProtoMessage ¶
func (*QueryVotesForPollByPollResponse) ProtoMessage()
func (*QueryVotesForPollByPollResponse) Reset ¶
func (m *QueryVotesForPollByPollResponse) Reset()
func (*QueryVotesForPollByPollResponse) Size ¶
func (m *QueryVotesForPollByPollResponse) Size() (n int)
func (*QueryVotesForPollByPollResponse) String ¶
func (m *QueryVotesForPollByPollResponse) String() string
func (*QueryVotesForPollByPollResponse) Unmarshal ¶
func (m *QueryVotesForPollByPollResponse) Unmarshal(dAtA []byte) error
func (*QueryVotesForPollByPollResponse) XXX_DiscardUnknown ¶
func (m *QueryVotesForPollByPollResponse) XXX_DiscardUnknown()
func (*QueryVotesForPollByPollResponse) XXX_Marshal ¶
func (m *QueryVotesForPollByPollResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesForPollByPollResponse) XXX_Merge ¶
func (m *QueryVotesForPollByPollResponse) XXX_Merge(src proto.Message)
func (*QueryVotesForPollByPollResponse) XXX_Size ¶
func (m *QueryVotesForPollByPollResponse) XXX_Size() int
func (*QueryVotesForPollByPollResponse) XXX_Unmarshal ¶
func (m *QueryVotesForPollByPollResponse) XXX_Unmarshal(b []byte) error
type QueryVotesForPollByVoterRequest ¶
type QueryVotesForPollByVoterRequest struct {
// voter is a poll voter account address.
Voter string `protobuf:"bytes,1,opt,name=voter,proto3" json:"voter,omitempty"`
// pagination defines an optional pagination for the request.
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesForPollByVoterRequest is the Query/VotePollsByVoter request type.
func (*QueryVotesForPollByVoterRequest) Descriptor ¶
func (*QueryVotesForPollByVoterRequest) Descriptor() ([]byte, []int)
func (*QueryVotesForPollByVoterRequest) GetPagination ¶
func (m *QueryVotesForPollByVoterRequest) GetPagination() *query.PageRequest
func (*QueryVotesForPollByVoterRequest) GetVoter ¶
func (m *QueryVotesForPollByVoterRequest) GetVoter() string
func (*QueryVotesForPollByVoterRequest) Marshal ¶
func (m *QueryVotesForPollByVoterRequest) Marshal() (dAtA []byte, err error)
func (*QueryVotesForPollByVoterRequest) MarshalTo ¶
func (m *QueryVotesForPollByVoterRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesForPollByVoterRequest) MarshalToSizedBuffer ¶
func (m *QueryVotesForPollByVoterRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesForPollByVoterRequest) ProtoMessage ¶
func (*QueryVotesForPollByVoterRequest) ProtoMessage()
func (*QueryVotesForPollByVoterRequest) Reset ¶
func (m *QueryVotesForPollByVoterRequest) Reset()
func (*QueryVotesForPollByVoterRequest) Size ¶
func (m *QueryVotesForPollByVoterRequest) Size() (n int)
func (*QueryVotesForPollByVoterRequest) String ¶
func (m *QueryVotesForPollByVoterRequest) String() string
func (*QueryVotesForPollByVoterRequest) Unmarshal ¶
func (m *QueryVotesForPollByVoterRequest) Unmarshal(dAtA []byte) error
func (*QueryVotesForPollByVoterRequest) XXX_DiscardUnknown ¶
func (m *QueryVotesForPollByVoterRequest) XXX_DiscardUnknown()
func (*QueryVotesForPollByVoterRequest) XXX_Marshal ¶
func (m *QueryVotesForPollByVoterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesForPollByVoterRequest) XXX_Merge ¶
func (m *QueryVotesForPollByVoterRequest) XXX_Merge(src proto.Message)
func (*QueryVotesForPollByVoterRequest) XXX_Size ¶
func (m *QueryVotesForPollByVoterRequest) XXX_Size() int
func (*QueryVotesForPollByVoterRequest) XXX_Unmarshal ¶
func (m *QueryVotesForPollByVoterRequest) XXX_Unmarshal(b []byte) error
type QueryVotesForPollByVoterResponse ¶
type QueryVotesForPollByVoterResponse struct {
// votes are the list of votes for poll by given voter.
Votes []*VotePoll `protobuf:"bytes,1,rep,name=votes,proto3" json:"votes,omitempty"`
// pagination defines the pagination in the response.
Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
QueryVotesForPollByVoterResponse is the Query/VotePollsByVoter response type.
func (*QueryVotesForPollByVoterResponse) Descriptor ¶
func (*QueryVotesForPollByVoterResponse) Descriptor() ([]byte, []int)
func (*QueryVotesForPollByVoterResponse) GetPagination ¶
func (m *QueryVotesForPollByVoterResponse) GetPagination() *query.PageResponse
func (*QueryVotesForPollByVoterResponse) GetVotes ¶
func (m *QueryVotesForPollByVoterResponse) GetVotes() []*VotePoll
func (*QueryVotesForPollByVoterResponse) Marshal ¶
func (m *QueryVotesForPollByVoterResponse) Marshal() (dAtA []byte, err error)
func (*QueryVotesForPollByVoterResponse) MarshalTo ¶
func (m *QueryVotesForPollByVoterResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVotesForPollByVoterResponse) MarshalToSizedBuffer ¶
func (m *QueryVotesForPollByVoterResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVotesForPollByVoterResponse) ProtoMessage ¶
func (*QueryVotesForPollByVoterResponse) ProtoMessage()
func (*QueryVotesForPollByVoterResponse) Reset ¶
func (m *QueryVotesForPollByVoterResponse) Reset()
func (*QueryVotesForPollByVoterResponse) Size ¶
func (m *QueryVotesForPollByVoterResponse) Size() (n int)
func (*QueryVotesForPollByVoterResponse) String ¶
func (m *QueryVotesForPollByVoterResponse) String() string
func (*QueryVotesForPollByVoterResponse) Unmarshal ¶
func (m *QueryVotesForPollByVoterResponse) Unmarshal(dAtA []byte) error
func (*QueryVotesForPollByVoterResponse) XXX_DiscardUnknown ¶
func (m *QueryVotesForPollByVoterResponse) XXX_DiscardUnknown()
func (*QueryVotesForPollByVoterResponse) XXX_Marshal ¶
func (m *QueryVotesForPollByVoterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVotesForPollByVoterResponse) XXX_Merge ¶
func (m *QueryVotesForPollByVoterResponse) XXX_Merge(src proto.Message)
func (*QueryVotesForPollByVoterResponse) XXX_Size ¶
func (m *QueryVotesForPollByVoterResponse) XXX_Size() int
func (*QueryVotesForPollByVoterResponse) XXX_Unmarshal ¶
func (m *QueryVotesForPollByVoterResponse) XXX_Unmarshal(b []byte) error
type Tally ¶
type Tally struct {
// yes_count is the weighted sum of yes votes.
YesCount string `protobuf:"bytes,1,opt,name=yes_count,json=yesCount,proto3" json:"yes_count,omitempty"`
// no_count is the weighted sum of no votes.
NoCount string `protobuf:"bytes,2,opt,name=no_count,json=noCount,proto3" json:"no_count,omitempty"`
// abstain_count is the weighted sum of abstainers
AbstainCount string `protobuf:"bytes,3,opt,name=abstain_count,json=abstainCount,proto3" json:"abstain_count,omitempty"`
// veto_count is the weighted sum of vetoes.
VetoCount string `protobuf:"bytes,4,opt,name=veto_count,json=vetoCount,proto3" json:"veto_count,omitempty"`
}
Tally represents the sum of weighted votes.
func (*Tally) Descriptor ¶
func (*Tally) ProtoMessage ¶
func (*Tally) ProtoMessage()
func (Tally) TotalCounts ¶
TotalCounts is the sum of all weights.
func (Tally) ValidateBasic ¶
func (*Tally) XXX_DiscardUnknown ¶
func (m *Tally) XXX_DiscardUnknown()
func (*Tally) XXX_Marshal ¶
func (*Tally) XXX_Unmarshal ¶
type TallyPoll ¶
type TallyPoll struct {
Entries []*TallyPollEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
}
func (*TallyPoll) Descriptor ¶
func (*TallyPoll) MarshalToSizedBuffer ¶
func (*TallyPoll) ProtoMessage ¶
func (*TallyPoll) ProtoMessage()
func (*TallyPoll) XXX_DiscardUnknown ¶
func (m *TallyPoll) XXX_DiscardUnknown()
func (*TallyPoll) XXX_Marshal ¶
func (*TallyPoll) XXX_Unmarshal ¶
type TallyPollEntry ¶
type TallyPollEntry struct {
OptionTitle string `protobuf:"bytes,1,opt,name=option_title,json=optionTitle,proto3" json:"option_title,omitempty"`
Weight string `protobuf:"bytes,2,opt,name=weight,proto3" json:"weight,omitempty"`
}
func (*TallyPollEntry) Descriptor ¶
func (*TallyPollEntry) Descriptor() ([]byte, []int)
func (*TallyPollEntry) Marshal ¶
func (m *TallyPollEntry) Marshal() (dAtA []byte, err error)
func (*TallyPollEntry) MarshalToSizedBuffer ¶
func (m *TallyPollEntry) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*TallyPollEntry) ProtoMessage ¶
func (*TallyPollEntry) ProtoMessage()
func (*TallyPollEntry) Reset ¶
func (m *TallyPollEntry) Reset()
func (*TallyPollEntry) Size ¶
func (m *TallyPollEntry) Size() (n int)
func (*TallyPollEntry) String ¶
func (m *TallyPollEntry) String() string
func (*TallyPollEntry) Unmarshal ¶
func (m *TallyPollEntry) Unmarshal(dAtA []byte) error
func (*TallyPollEntry) XXX_DiscardUnknown ¶
func (m *TallyPollEntry) XXX_DiscardUnknown()
func (*TallyPollEntry) XXX_Marshal ¶
func (m *TallyPollEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TallyPollEntry) XXX_Merge ¶
func (m *TallyPollEntry) XXX_Merge(src proto.Message)
func (*TallyPollEntry) XXX_Size ¶
func (m *TallyPollEntry) XXX_Size() int
func (*TallyPollEntry) XXX_Unmarshal ¶
func (m *TallyPollEntry) XXX_Unmarshal(b []byte) error
type ThresholdDecisionPolicy ¶
type ThresholdDecisionPolicy struct {
// threshold is the minimum weighted sum of yes votes that must be met or exceeded for a proposal to succeed.
Threshold string `protobuf:"bytes,1,opt,name=threshold,proto3" json:"threshold,omitempty"`
// timeout is the duration from submission of a proposal to the end of voting period
// Within this times votes and exec messages can be submitted.
Timeout types.Duration `protobuf:"bytes,2,opt,name=timeout,proto3" json:"timeout"`
}
ThresholdDecisionPolicy implements the DecisionPolicy interface
func (ThresholdDecisionPolicy) Allow ¶
func (p ThresholdDecisionPolicy) Allow(tally Tally, totalPower string, votingDuration time.Duration) (DecisionPolicyResult, error)
Allow allows a proposal to pass when the tally of yes votes equals or exceeds the threshold before the timeout.
func (*ThresholdDecisionPolicy) Descriptor ¶
func (*ThresholdDecisionPolicy) Descriptor() ([]byte, []int)
func (*ThresholdDecisionPolicy) GetThreshold ¶
func (m *ThresholdDecisionPolicy) GetThreshold() string
func (*ThresholdDecisionPolicy) GetTimeout ¶
func (m *ThresholdDecisionPolicy) GetTimeout() types.Duration
func (*ThresholdDecisionPolicy) Marshal ¶
func (m *ThresholdDecisionPolicy) Marshal() (dAtA []byte, err error)
func (*ThresholdDecisionPolicy) MarshalTo ¶
func (m *ThresholdDecisionPolicy) MarshalTo(dAtA []byte) (int, error)
func (*ThresholdDecisionPolicy) MarshalToSizedBuffer ¶
func (m *ThresholdDecisionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ThresholdDecisionPolicy) ProtoMessage ¶
func (*ThresholdDecisionPolicy) ProtoMessage()
func (*ThresholdDecisionPolicy) Reset ¶
func (m *ThresholdDecisionPolicy) Reset()
func (*ThresholdDecisionPolicy) Size ¶
func (m *ThresholdDecisionPolicy) Size() (n int)
func (*ThresholdDecisionPolicy) String ¶
func (m *ThresholdDecisionPolicy) String() string
func (*ThresholdDecisionPolicy) Unmarshal ¶
func (m *ThresholdDecisionPolicy) Unmarshal(dAtA []byte) error
func (*ThresholdDecisionPolicy) Validate ¶
func (p *ThresholdDecisionPolicy) Validate(g GroupInfo) error
Validate returns an error if policy threshold is greater than the total group weight
func (ThresholdDecisionPolicy) ValidateBasic ¶
func (p ThresholdDecisionPolicy) ValidateBasic() error
func (*ThresholdDecisionPolicy) XXX_DiscardUnknown ¶
func (m *ThresholdDecisionPolicy) XXX_DiscardUnknown()
func (*ThresholdDecisionPolicy) XXX_Marshal ¶
func (m *ThresholdDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ThresholdDecisionPolicy) XXX_Merge ¶
func (m *ThresholdDecisionPolicy) XXX_Merge(src proto.Message)
func (*ThresholdDecisionPolicy) XXX_Size ¶
func (m *ThresholdDecisionPolicy) XXX_Size() int
func (*ThresholdDecisionPolicy) XXX_Unmarshal ¶
func (m *ThresholdDecisionPolicy) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct {
}
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) CreateGroup ¶
func (*UnimplementedMsgServer) CreateGroup(ctx context.Context, req *MsgCreateGroup) (*MsgCreateGroupResponse, error)
func (*UnimplementedMsgServer) CreateGroupAccount ¶
func (*UnimplementedMsgServer) CreateGroupAccount(ctx context.Context, req *MsgCreateGroupAccount) (*MsgCreateGroupAccountResponse, error)
func (*UnimplementedMsgServer) CreatePoll ¶
func (*UnimplementedMsgServer) CreatePoll(ctx context.Context, req *MsgCreatePoll) (*MsgCreatePollResponse, error)
func (*UnimplementedMsgServer) CreateProposal ¶
func (*UnimplementedMsgServer) CreateProposal(ctx context.Context, req *MsgCreateProposal) (*MsgCreateProposalResponse, error)
func (*UnimplementedMsgServer) Exec ¶
func (*UnimplementedMsgServer) Exec(ctx context.Context, req *MsgExec) (*MsgExecResponse, error)
func (*UnimplementedMsgServer) UpdateGroupAccountAdmin ¶
func (*UnimplementedMsgServer) UpdateGroupAccountAdmin(ctx context.Context, req *MsgUpdateGroupAccountAdmin) (*MsgUpdateGroupAccountAdminResponse, error)
func (*UnimplementedMsgServer) UpdateGroupAccountDecisionPolicy ¶
func (*UnimplementedMsgServer) UpdateGroupAccountDecisionPolicy(ctx context.Context, req *MsgUpdateGroupAccountDecisionPolicy) (*MsgUpdateGroupAccountDecisionPolicyResponse, error)
func (*UnimplementedMsgServer) UpdateGroupAccountMetadata ¶
func (*UnimplementedMsgServer) UpdateGroupAccountMetadata(ctx context.Context, req *MsgUpdateGroupAccountMetadata) (*MsgUpdateGroupAccountMetadataResponse, error)
func (*UnimplementedMsgServer) UpdateGroupAdmin ¶
func (*UnimplementedMsgServer) UpdateGroupAdmin(ctx context.Context, req *MsgUpdateGroupAdmin) (*MsgUpdateGroupAdminResponse, error)
func (*UnimplementedMsgServer) UpdateGroupMembers ¶
func (*UnimplementedMsgServer) UpdateGroupMembers(ctx context.Context, req *MsgUpdateGroupMembers) (*MsgUpdateGroupMembersResponse, error)
func (*UnimplementedMsgServer) UpdateGroupMetadata ¶
func (*UnimplementedMsgServer) UpdateGroupMetadata(ctx context.Context, req *MsgUpdateGroupMetadata) (*MsgUpdateGroupMetadataResponse, error)
func (*UnimplementedMsgServer) Vote ¶
func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
func (*UnimplementedMsgServer) VoteAgg ¶
func (*UnimplementedMsgServer) VoteAgg(ctx context.Context, req *MsgVoteAgg) (*MsgVoteAggResponse, error)
func (*UnimplementedMsgServer) VotePoll ¶
func (*UnimplementedMsgServer) VotePoll(ctx context.Context, req *MsgVotePoll) (*MsgVotePollResponse, error)
func (*UnimplementedMsgServer) VotePollAgg ¶
func (*UnimplementedMsgServer) VotePollAgg(ctx context.Context, req *MsgVotePollAgg) (*MsgVotePollAggResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct {
}
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GroupAccountInfo ¶
func (*UnimplementedQueryServer) GroupAccountInfo(ctx context.Context, req *QueryGroupAccountInfoRequest) (*QueryGroupAccountInfoResponse, error)
func (*UnimplementedQueryServer) GroupAccountsByAdmin ¶
func (*UnimplementedQueryServer) GroupAccountsByAdmin(ctx context.Context, req *QueryGroupAccountsByAdminRequest) (*QueryGroupAccountsByAdminResponse, error)
func (*UnimplementedQueryServer) GroupAccountsByGroup ¶
func (*UnimplementedQueryServer) GroupAccountsByGroup(ctx context.Context, req *QueryGroupAccountsByGroupRequest) (*QueryGroupAccountsByGroupResponse, error)
func (*UnimplementedQueryServer) GroupInfo ¶
func (*UnimplementedQueryServer) GroupInfo(ctx context.Context, req *QueryGroupInfoRequest) (*QueryGroupInfoResponse, error)
func (*UnimplementedQueryServer) GroupMembers ¶
func (*UnimplementedQueryServer) GroupMembers(ctx context.Context, req *QueryGroupMembersRequest) (*QueryGroupMembersResponse, error)
func (*UnimplementedQueryServer) GroupsByAdmin ¶
func (*UnimplementedQueryServer) GroupsByAdmin(ctx context.Context, req *QueryGroupsByAdminRequest) (*QueryGroupsByAdminResponse, error)
func (*UnimplementedQueryServer) Poll ¶
func (*UnimplementedQueryServer) Poll(ctx context.Context, req *QueryPollRequest) (*QueryPollResponse, error)
func (*UnimplementedQueryServer) PollsByCreator ¶
func (*UnimplementedQueryServer) PollsByCreator(ctx context.Context, req *QueryPollsByCreatorRequest) (*QueryPollsByCreatorResponse, error)
func (*UnimplementedQueryServer) PollsByGroup ¶
func (*UnimplementedQueryServer) PollsByGroup(ctx context.Context, req *QueryPollsByGroupRequest) (*QueryPollsByGroupResponse, error)
func (*UnimplementedQueryServer) Proposal ¶
func (*UnimplementedQueryServer) Proposal(ctx context.Context, req *QueryProposalRequest) (*QueryProposalResponse, error)
func (*UnimplementedQueryServer) ProposalsByGroupAccount ¶
func (*UnimplementedQueryServer) ProposalsByGroupAccount(ctx context.Context, req *QueryProposalsByGroupAccountRequest) (*QueryProposalsByGroupAccountResponse, error)
func (*UnimplementedQueryServer) VoteByProposalVoter ¶
func (*UnimplementedQueryServer) VoteByProposalVoter(ctx context.Context, req *QueryVoteByProposalVoterRequest) (*QueryVoteByProposalVoterResponse, error)
func (*UnimplementedQueryServer) VoteForPollByPollVoter ¶
func (*UnimplementedQueryServer) VoteForPollByPollVoter(ctx context.Context, req *QueryVoteForPollByPollVoterRequest) (*QueryVoteForPollByPollVoterResponse, error)
func (*UnimplementedQueryServer) VotesByProposal ¶
func (*UnimplementedQueryServer) VotesByProposal(ctx context.Context, req *QueryVotesByProposalRequest) (*QueryVotesByProposalResponse, error)
func (*UnimplementedQueryServer) VotesByVoter ¶
func (*UnimplementedQueryServer) VotesByVoter(ctx context.Context, req *QueryVotesByVoterRequest) (*QueryVotesByVoterResponse, error)
func (*UnimplementedQueryServer) VotesForPollByPoll ¶
func (*UnimplementedQueryServer) VotesForPollByPoll(ctx context.Context, req *QueryVotesForPollByPollRequest) (*QueryVotesForPollByPollResponse, error)
func (*UnimplementedQueryServer) VotesForPollByVoter ¶
func (*UnimplementedQueryServer) VotesForPollByVoter(ctx context.Context, req *QueryVotesForPollByVoterRequest) (*QueryVotesForPollByVoterResponse, error)
type Vote ¶
type Vote struct {
// proposal is the unique ID of the proposal.
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id,omitempty"`
// voter is the account address of the voter.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
// choice is the voter's choice on the proposal.
Choice Choice `protobuf:"varint,3,opt,name=choice,proto3,enum=fetchai.group.v1alpha1.Choice" json:"choice,omitempty"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// submitted_at is the timestamp when the vote was submitted.
SubmittedAt types.Timestamp `protobuf:"bytes,5,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at"`
}
Vote represents a vote for a proposal.
func (*Vote) Descriptor ¶
func (*Vote) GetMetadata ¶
func (*Vote) GetProposalId ¶
func (*Vote) GetSubmittedAt ¶
func (Vote) PrimaryKeyFields ¶
func (v Vote) PrimaryKeyFields() []interface{}
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (Vote) ValidateBasic ¶
func (*Vote) XXX_DiscardUnknown ¶
func (m *Vote) XXX_DiscardUnknown()
func (*Vote) XXX_Unmarshal ¶
type VotePoll ¶
type VotePoll struct {
// poll_id is the unique ID of the pool.
PollId uint64 `protobuf:"varint,1,opt,name=poll_id,json=pollId,proto3" json:"poll_id,omitempty"`
// voter is the account address of the voter.
Voter string `protobuf:"bytes,2,opt,name=voter,proto3" json:"voter,omitempty"`
// options are the voter's choices on the poll.
Options Options `protobuf:"bytes,3,opt,name=options,proto3" json:"options"`
// metadata is any arbitrary metadata to attached to the vote.
Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"`
// submitted_at is the timestamp when the vote was submitted.
SubmittedAt types.Timestamp `protobuf:"bytes,5,opt,name=submitted_at,json=submittedAt,proto3" json:"submitted_at"`
}
VotePoll represents a vote for a poll.
func (*VotePoll) Descriptor ¶
func (*VotePoll) GetMetadata ¶
func (*VotePoll) GetOptions ¶
func (*VotePoll) GetSubmittedAt ¶
func (*VotePoll) MarshalToSizedBuffer ¶
func (VotePoll) PrimaryKeyFields ¶
func (v VotePoll) PrimaryKeyFields() []interface{}
func (*VotePoll) ProtoMessage ¶
func (*VotePoll) ProtoMessage()
func (VotePoll) ValidateBasic ¶
func (*VotePoll) XXX_DiscardUnknown ¶
func (m *VotePoll) XXX_DiscardUnknown()