Documentation ¶
Overview ¶
Package group is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- 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)
- type AccAddresses
- type AccountKeeper
- type BankKeeper
- 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 EventCreateGroupPolicy
- func (*EventCreateGroupPolicy) Descriptor() ([]byte, []int)
- func (m *EventCreateGroupPolicy) GetAddress() string
- func (m *EventCreateGroupPolicy) Marshal() (dAtA []byte, err error)
- func (m *EventCreateGroupPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *EventCreateGroupPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventCreateGroupPolicy) ProtoMessage()
- func (m *EventCreateGroupPolicy) Reset()
- func (m *EventCreateGroupPolicy) Size() (n int)
- func (m *EventCreateGroupPolicy) String() string
- func (m *EventCreateGroupPolicy) Unmarshal(dAtA []byte) error
- func (m *EventCreateGroupPolicy) XXX_DiscardUnknown()
- func (m *EventCreateGroupPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventCreateGroupPolicy) XXX_Merge(src proto.Message)
- func (m *EventCreateGroupPolicy) XXX_Size() int
- func (m *EventCreateGroupPolicy) 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 EventUpdateGroupPolicy
- func (*EventUpdateGroupPolicy) Descriptor() ([]byte, []int)
- func (m *EventUpdateGroupPolicy) GetAddress() string
- func (m *EventUpdateGroupPolicy) Marshal() (dAtA []byte, err error)
- func (m *EventUpdateGroupPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *EventUpdateGroupPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EventUpdateGroupPolicy) ProtoMessage()
- func (m *EventUpdateGroupPolicy) Reset()
- func (m *EventUpdateGroupPolicy) Size() (n int)
- func (m *EventUpdateGroupPolicy) String() string
- func (m *EventUpdateGroupPolicy) Unmarshal(dAtA []byte) error
- func (m *EventUpdateGroupPolicy) XXX_DiscardUnknown()
- func (m *EventUpdateGroupPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EventUpdateGroupPolicy) XXX_Merge(src proto.Message)
- func (m *EventUpdateGroupPolicy) XXX_Size() int
- func (m *EventUpdateGroupPolicy) 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 Exec
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetGroupMembers() []*GroupMember
- func (m *GenesisState) GetGroupPolicies() []*GroupPolicyInfo
- func (m *GenesisState) GetGroupPolicySeq() uint64
- func (m *GenesisState) GetGroupSeq() uint64
- func (m *GenesisState) GetGroups() []*GroupInfo
- func (m *GenesisState) GetProposalSeq() uint64
- func (m *GenesisState) GetProposals() []*Proposal
- func (m *GenesisState) GetVotes() []*Vote
- 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 GroupInfo
- func (*GroupInfo) Descriptor() ([]byte, []int)
- func (m *GroupInfo) GetAdmin() string
- func (m *GroupInfo) GetCreatedAt() time.Time
- 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 GroupPolicyInfo
- func (*GroupPolicyInfo) Descriptor() ([]byte, []int)
- func (this *GroupPolicyInfo) Equal(that interface{}) bool
- func (g GroupPolicyInfo) GetDecisionPolicy() DecisionPolicy
- func (m *GroupPolicyInfo) Marshal() (dAtA []byte, err error)
- func (m *GroupPolicyInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupPolicyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (g GroupPolicyInfo) PrimaryKeyFields() []interface{}
- func (*GroupPolicyInfo) ProtoMessage()
- func (m *GroupPolicyInfo) Reset()
- func (g *GroupPolicyInfo) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
- func (m *GroupPolicyInfo) Size() (n int)
- func (m *GroupPolicyInfo) String() string
- func (m *GroupPolicyInfo) Unmarshal(dAtA []byte) error
- func (g GroupPolicyInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (g GroupPolicyInfo) ValidateBasic() error
- func (m *GroupPolicyInfo) XXX_DiscardUnknown()
- func (m *GroupPolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupPolicyInfo) XXX_Merge(src proto.Message)
- func (m *GroupPolicyInfo) XXX_Size() int
- func (m *GroupPolicyInfo) XXX_Unmarshal(b []byte) error
- type Member
- func (*Member) Descriptor() ([]byte, []int)
- func (m *Member) GetAddedAt() time.Time
- 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) 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 MsgCreateGroupPolicy
- func (*MsgCreateGroupPolicy) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupPolicy) GetAdmin() string
- func (m *MsgCreateGroupPolicy) GetDecisionPolicy() DecisionPolicy
- func (m *MsgCreateGroupPolicy) GetGroupID() uint64
- func (m *MsgCreateGroupPolicy) GetMetadata() []byte
- func (m MsgCreateGroupPolicy) GetSignBytes() []byte
- func (m MsgCreateGroupPolicy) GetSigners() []sdk.AccAddress
- func (m *MsgCreateGroupPolicy) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupPolicy) ProtoMessage()
- func (m *MsgCreateGroupPolicy) Reset()
- func (m MsgCreateGroupPolicy) Route() string
- func (m *MsgCreateGroupPolicy) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
- func (m *MsgCreateGroupPolicy) Size() (n int)
- func (m *MsgCreateGroupPolicy) String() string
- func (m MsgCreateGroupPolicy) Type() string
- func (m *MsgCreateGroupPolicy) Unmarshal(dAtA []byte) error
- func (m MsgCreateGroupPolicy) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgCreateGroupPolicy) ValidateBasic() error
- func (m *MsgCreateGroupPolicy) XXX_DiscardUnknown()
- func (m *MsgCreateGroupPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupPolicy) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupPolicy) XXX_Size() int
- func (m *MsgCreateGroupPolicy) XXX_Unmarshal(b []byte) error
- type MsgCreateGroupPolicyResponse
- func (*MsgCreateGroupPolicyResponse) Descriptor() ([]byte, []int)
- func (m *MsgCreateGroupPolicyResponse) GetAddress() string
- func (m *MsgCreateGroupPolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgCreateGroupPolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgCreateGroupPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgCreateGroupPolicyResponse) ProtoMessage()
- func (m *MsgCreateGroupPolicyResponse) Reset()
- func (m *MsgCreateGroupPolicyResponse) Size() (n int)
- func (m *MsgCreateGroupPolicyResponse) String() string
- func (m *MsgCreateGroupPolicyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgCreateGroupPolicyResponse) XXX_DiscardUnknown()
- func (m *MsgCreateGroupPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgCreateGroupPolicyResponse) XXX_Merge(src proto.Message)
- func (m *MsgCreateGroupPolicyResponse) XXX_Size() int
- func (m *MsgCreateGroupPolicyResponse) 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 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 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 MsgUpdateGroupPolicyAdmin
- func (*MsgUpdateGroupPolicyAdmin) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupPolicyAdmin) GetAddress() string
- func (m *MsgUpdateGroupPolicyAdmin) GetAdmin() string
- func (m *MsgUpdateGroupPolicyAdmin) GetNewAdmin() string
- func (m MsgUpdateGroupPolicyAdmin) GetSignBytes() []byte
- func (m MsgUpdateGroupPolicyAdmin) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupPolicyAdmin) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupPolicyAdmin) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupPolicyAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupPolicyAdmin) ProtoMessage()
- func (m *MsgUpdateGroupPolicyAdmin) Reset()
- func (m MsgUpdateGroupPolicyAdmin) Route() string
- func (m *MsgUpdateGroupPolicyAdmin) Size() (n int)
- func (m *MsgUpdateGroupPolicyAdmin) String() string
- func (m MsgUpdateGroupPolicyAdmin) Type() string
- func (m *MsgUpdateGroupPolicyAdmin) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupPolicyAdmin) ValidateBasic() error
- func (m *MsgUpdateGroupPolicyAdmin) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupPolicyAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupPolicyAdmin) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupPolicyAdmin) XXX_Size() int
- func (m *MsgUpdateGroupPolicyAdmin) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupPolicyAdminResponse
- func (*MsgUpdateGroupPolicyAdminResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupPolicyAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupPolicyAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupPolicyAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupPolicyAdminResponse) ProtoMessage()
- func (m *MsgUpdateGroupPolicyAdminResponse) Reset()
- func (m *MsgUpdateGroupPolicyAdminResponse) Size() (n int)
- func (m *MsgUpdateGroupPolicyAdminResponse) String() string
- func (m *MsgUpdateGroupPolicyAdminResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupPolicyAdminResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Size() int
- func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupPolicyDecisionPolicy
- func (*MsgUpdateGroupPolicyDecisionPolicy) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupPolicyDecisionPolicy) GetDecisionPolicy() DecisionPolicy
- func (m MsgUpdateGroupPolicyDecisionPolicy) GetSignBytes() []byte
- func (m MsgUpdateGroupPolicyDecisionPolicy) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupPolicyDecisionPolicy) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupPolicyDecisionPolicy) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupPolicyDecisionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupPolicyDecisionPolicy) ProtoMessage()
- func (m *MsgUpdateGroupPolicyDecisionPolicy) Reset()
- func (m MsgUpdateGroupPolicyDecisionPolicy) Route() string
- func (m *MsgUpdateGroupPolicyDecisionPolicy) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
- func (m *MsgUpdateGroupPolicyDecisionPolicy) Size() (n int)
- func (m *MsgUpdateGroupPolicyDecisionPolicy) String() string
- func (m MsgUpdateGroupPolicyDecisionPolicy) Type() string
- func (m *MsgUpdateGroupPolicyDecisionPolicy) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupPolicyDecisionPolicy) UnpackInterfaces(unpacker types.AnyUnpacker) error
- func (m MsgUpdateGroupPolicyDecisionPolicy) ValidateBasic() error
- func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Size() int
- func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupPolicyDecisionPolicyResponse
- func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupPolicyDecisionPolicyResponse) ProtoMessage()
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Reset()
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Size() (n int)
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) String() string
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Size() int
- func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupPolicyMetadata
- func (*MsgUpdateGroupPolicyMetadata) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupPolicyMetadata) GetAddress() string
- func (m *MsgUpdateGroupPolicyMetadata) GetAdmin() string
- func (m *MsgUpdateGroupPolicyMetadata) GetMetadata() []byte
- func (m MsgUpdateGroupPolicyMetadata) GetSignBytes() []byte
- func (m MsgUpdateGroupPolicyMetadata) GetSigners() []sdk.AccAddress
- func (m *MsgUpdateGroupPolicyMetadata) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupPolicyMetadata) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupPolicyMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupPolicyMetadata) ProtoMessage()
- func (m *MsgUpdateGroupPolicyMetadata) Reset()
- func (m MsgUpdateGroupPolicyMetadata) Route() string
- func (m *MsgUpdateGroupPolicyMetadata) Size() (n int)
- func (m *MsgUpdateGroupPolicyMetadata) String() string
- func (m MsgUpdateGroupPolicyMetadata) Type() string
- func (m *MsgUpdateGroupPolicyMetadata) Unmarshal(dAtA []byte) error
- func (m MsgUpdateGroupPolicyMetadata) ValidateBasic() error
- func (m *MsgUpdateGroupPolicyMetadata) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupPolicyMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupPolicyMetadata) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupPolicyMetadata) XXX_Size() int
- func (m *MsgUpdateGroupPolicyMetadata) XXX_Unmarshal(b []byte) error
- type MsgUpdateGroupPolicyMetadataResponse
- func (*MsgUpdateGroupPolicyMetadataResponse) Descriptor() ([]byte, []int)
- func (m *MsgUpdateGroupPolicyMetadataResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUpdateGroupPolicyMetadataResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUpdateGroupPolicyMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUpdateGroupPolicyMetadataResponse) ProtoMessage()
- func (m *MsgUpdateGroupPolicyMetadataResponse) Reset()
- func (m *MsgUpdateGroupPolicyMetadataResponse) Size() (n int)
- func (m *MsgUpdateGroupPolicyMetadataResponse) String() string
- func (m *MsgUpdateGroupPolicyMetadataResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_DiscardUnknown()
- func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_Merge(src proto.Message)
- func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_Size() int
- func (m *MsgUpdateGroupPolicyMetadataResponse) 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 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 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 (g 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 Proposal_ExecutorResult
- type Proposal_Result
- type Proposal_Status
- type QueryClient
- 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 QueryGroupPoliciesByAdminRequest
- func (*QueryGroupPoliciesByAdminRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupPoliciesByAdminRequest) GetAdmin() string
- func (m *QueryGroupPoliciesByAdminRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupPoliciesByAdminRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupPoliciesByAdminRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupPoliciesByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupPoliciesByAdminRequest) ProtoMessage()
- func (m *QueryGroupPoliciesByAdminRequest) Reset()
- func (m *QueryGroupPoliciesByAdminRequest) Size() (n int)
- func (m *QueryGroupPoliciesByAdminRequest) String() string
- func (m *QueryGroupPoliciesByAdminRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupPoliciesByAdminRequest) XXX_DiscardUnknown()
- func (m *QueryGroupPoliciesByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupPoliciesByAdminRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupPoliciesByAdminRequest) XXX_Size() int
- func (m *QueryGroupPoliciesByAdminRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupPoliciesByAdminResponse
- func (*QueryGroupPoliciesByAdminResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupPoliciesByAdminResponse) GetGroupPolicies() []*GroupPolicyInfo
- func (m *QueryGroupPoliciesByAdminResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupPoliciesByAdminResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupPoliciesByAdminResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupPoliciesByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupPoliciesByAdminResponse) ProtoMessage()
- func (m *QueryGroupPoliciesByAdminResponse) Reset()
- func (m *QueryGroupPoliciesByAdminResponse) Size() (n int)
- func (m *QueryGroupPoliciesByAdminResponse) String() string
- func (m *QueryGroupPoliciesByAdminResponse) Unmarshal(dAtA []byte) error
- func (q QueryGroupPoliciesByAdminResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryGroupPoliciesByAdminResponse) XXX_DiscardUnknown()
- func (m *QueryGroupPoliciesByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupPoliciesByAdminResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupPoliciesByAdminResponse) XXX_Size() int
- func (m *QueryGroupPoliciesByAdminResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupPoliciesByGroupRequest
- func (*QueryGroupPoliciesByGroupRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupPoliciesByGroupRequest) GetGroupId() uint64
- func (m *QueryGroupPoliciesByGroupRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupPoliciesByGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupPoliciesByGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupPoliciesByGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupPoliciesByGroupRequest) ProtoMessage()
- func (m *QueryGroupPoliciesByGroupRequest) Reset()
- func (m *QueryGroupPoliciesByGroupRequest) Size() (n int)
- func (m *QueryGroupPoliciesByGroupRequest) String() string
- func (m *QueryGroupPoliciesByGroupRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupPoliciesByGroupRequest) XXX_DiscardUnknown()
- func (m *QueryGroupPoliciesByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupPoliciesByGroupRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupPoliciesByGroupRequest) XXX_Size() int
- func (m *QueryGroupPoliciesByGroupRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupPoliciesByGroupResponse
- func (*QueryGroupPoliciesByGroupResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupPoliciesByGroupResponse) GetGroupPolicies() []*GroupPolicyInfo
- func (m *QueryGroupPoliciesByGroupResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupPoliciesByGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupPoliciesByGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupPoliciesByGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupPoliciesByGroupResponse) ProtoMessage()
- func (m *QueryGroupPoliciesByGroupResponse) Reset()
- func (m *QueryGroupPoliciesByGroupResponse) Size() (n int)
- func (m *QueryGroupPoliciesByGroupResponse) String() string
- func (m *QueryGroupPoliciesByGroupResponse) Unmarshal(dAtA []byte) error
- func (q QueryGroupPoliciesByGroupResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
- func (m *QueryGroupPoliciesByGroupResponse) XXX_DiscardUnknown()
- func (m *QueryGroupPoliciesByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupPoliciesByGroupResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupPoliciesByGroupResponse) XXX_Size() int
- func (m *QueryGroupPoliciesByGroupResponse) XXX_Unmarshal(b []byte) error
- type QueryGroupPolicyInfoRequest
- func (*QueryGroupPolicyInfoRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupPolicyInfoRequest) GetAddress() string
- func (m *QueryGroupPolicyInfoRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupPolicyInfoRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupPolicyInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupPolicyInfoRequest) ProtoMessage()
- func (m *QueryGroupPolicyInfoRequest) Reset()
- func (m *QueryGroupPolicyInfoRequest) Size() (n int)
- func (m *QueryGroupPolicyInfoRequest) String() string
- func (m *QueryGroupPolicyInfoRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupPolicyInfoRequest) XXX_DiscardUnknown()
- func (m *QueryGroupPolicyInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupPolicyInfoRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupPolicyInfoRequest) XXX_Size() int
- func (m *QueryGroupPolicyInfoRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupPolicyInfoResponse
- func (*QueryGroupPolicyInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupPolicyInfoResponse) GetInfo() *GroupPolicyInfo
- func (m *QueryGroupPolicyInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupPolicyInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupPolicyInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupPolicyInfoResponse) ProtoMessage()
- func (m *QueryGroupPolicyInfoResponse) Reset()
- func (m *QueryGroupPolicyInfoResponse) Size() (n int)
- func (m *QueryGroupPolicyInfoResponse) String() string
- func (m *QueryGroupPolicyInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupPolicyInfoResponse) XXX_DiscardUnknown()
- func (m *QueryGroupPolicyInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupPolicyInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupPolicyInfoResponse) XXX_Size() int
- func (m *QueryGroupPolicyInfoResponse) 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 QueryGroupsByMemberRequest
- func (*QueryGroupsByMemberRequest) Descriptor() ([]byte, []int)
- func (m *QueryGroupsByMemberRequest) GetAddress() string
- func (m *QueryGroupsByMemberRequest) GetPagination() *query.PageRequest
- func (m *QueryGroupsByMemberRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupsByMemberRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupsByMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupsByMemberRequest) ProtoMessage()
- func (m *QueryGroupsByMemberRequest) Reset()
- func (m *QueryGroupsByMemberRequest) Size() (n int)
- func (m *QueryGroupsByMemberRequest) String() string
- func (m *QueryGroupsByMemberRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGroupsByMemberRequest) XXX_DiscardUnknown()
- func (m *QueryGroupsByMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupsByMemberRequest) XXX_Merge(src proto.Message)
- func (m *QueryGroupsByMemberRequest) XXX_Size() int
- func (m *QueryGroupsByMemberRequest) XXX_Unmarshal(b []byte) error
- type QueryGroupsByMemberResponse
- func (*QueryGroupsByMemberResponse) Descriptor() ([]byte, []int)
- func (m *QueryGroupsByMemberResponse) GetGroups() []*GroupInfo
- func (m *QueryGroupsByMemberResponse) GetPagination() *query.PageResponse
- func (m *QueryGroupsByMemberResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGroupsByMemberResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGroupsByMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGroupsByMemberResponse) ProtoMessage()
- func (m *QueryGroupsByMemberResponse) Reset()
- func (m *QueryGroupsByMemberResponse) Size() (n int)
- func (m *QueryGroupsByMemberResponse) String() string
- func (m *QueryGroupsByMemberResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGroupsByMemberResponse) XXX_DiscardUnknown()
- func (m *QueryGroupsByMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGroupsByMemberResponse) XXX_Merge(src proto.Message)
- func (m *QueryGroupsByMemberResponse) XXX_Size() int
- func (m *QueryGroupsByMemberResponse) 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 QueryProposalsByGroupPolicyRequest
- func (*QueryProposalsByGroupPolicyRequest) Descriptor() ([]byte, []int)
- func (m *QueryProposalsByGroupPolicyRequest) GetAddress() string
- func (m *QueryProposalsByGroupPolicyRequest) GetPagination() *query.PageRequest
- func (m *QueryProposalsByGroupPolicyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalsByGroupPolicyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalsByGroupPolicyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalsByGroupPolicyRequest) ProtoMessage()
- func (m *QueryProposalsByGroupPolicyRequest) Reset()
- func (m *QueryProposalsByGroupPolicyRequest) Size() (n int)
- func (m *QueryProposalsByGroupPolicyRequest) String() string
- func (m *QueryProposalsByGroupPolicyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProposalsByGroupPolicyRequest) XXX_DiscardUnknown()
- func (m *QueryProposalsByGroupPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalsByGroupPolicyRequest) XXX_Merge(src proto.Message)
- func (m *QueryProposalsByGroupPolicyRequest) XXX_Size() int
- func (m *QueryProposalsByGroupPolicyRequest) XXX_Unmarshal(b []byte) error
- type QueryProposalsByGroupPolicyResponse
- func (*QueryProposalsByGroupPolicyResponse) Descriptor() ([]byte, []int)
- func (m *QueryProposalsByGroupPolicyResponse) GetPagination() *query.PageResponse
- func (m *QueryProposalsByGroupPolicyResponse) GetProposals() []*Proposal
- func (m *QueryProposalsByGroupPolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProposalsByGroupPolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProposalsByGroupPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProposalsByGroupPolicyResponse) ProtoMessage()
- func (m *QueryProposalsByGroupPolicyResponse) Reset()
- func (m *QueryProposalsByGroupPolicyResponse) Size() (n int)
- func (m *QueryProposalsByGroupPolicyResponse) String() string
- func (m *QueryProposalsByGroupPolicyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProposalsByGroupPolicyResponse) XXX_DiscardUnknown()
- func (m *QueryProposalsByGroupPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProposalsByGroupPolicyResponse) XXX_Merge(src proto.Message)
- func (m *QueryProposalsByGroupPolicyResponse) XXX_Size() int
- func (m *QueryProposalsByGroupPolicyResponse) 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 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 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) TotalCounts() (math.Dec, error)
- func (m *Tally) Unmarshal(dAtA []byte) 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 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() time.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) CreateGroupPolicy(ctx context.Context, req *MsgCreateGroupPolicy) (*MsgCreateGroupPolicyResponse, error)
- func (*UnimplementedMsgServer) CreateProposal(ctx context.Context, req *MsgCreateProposal) (*MsgCreateProposalResponse, error)
- func (*UnimplementedMsgServer) Exec(ctx context.Context, req *MsgExec) (*MsgExecResponse, 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) UpdateGroupPolicyAdmin(ctx context.Context, req *MsgUpdateGroupPolicyAdmin) (*MsgUpdateGroupPolicyAdminResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupPolicyDecisionPolicy(ctx context.Context, req *MsgUpdateGroupPolicyDecisionPolicy) (*MsgUpdateGroupPolicyDecisionPolicyResponse, error)
- func (*UnimplementedMsgServer) UpdateGroupPolicyMetadata(ctx context.Context, req *MsgUpdateGroupPolicyMetadata) (*MsgUpdateGroupPolicyMetadataResponse, error)
- func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GroupInfo(ctx context.Context, req *QueryGroupInfoRequest) (*QueryGroupInfoResponse, error)
- func (*UnimplementedQueryServer) GroupMembers(ctx context.Context, req *QueryGroupMembersRequest) (*QueryGroupMembersResponse, error)
- func (*UnimplementedQueryServer) GroupPoliciesByAdmin(ctx context.Context, req *QueryGroupPoliciesByAdminRequest) (*QueryGroupPoliciesByAdminResponse, error)
- func (*UnimplementedQueryServer) GroupPoliciesByGroup(ctx context.Context, req *QueryGroupPoliciesByGroupRequest) (*QueryGroupPoliciesByGroupResponse, error)
- func (*UnimplementedQueryServer) GroupPolicyInfo(ctx context.Context, req *QueryGroupPolicyInfoRequest) (*QueryGroupPolicyInfoResponse, error)
- func (*UnimplementedQueryServer) GroupsByAdmin(ctx context.Context, req *QueryGroupsByAdminRequest) (*QueryGroupsByAdminResponse, error)
- func (*UnimplementedQueryServer) GroupsByMember(ctx context.Context, req *QueryGroupsByMemberRequest) (*QueryGroupsByMemberResponse, error)
- func (*UnimplementedQueryServer) Proposal(ctx context.Context, req *QueryProposalRequest) (*QueryProposalResponse, error)
- func (*UnimplementedQueryServer) ProposalsByGroupPolicy(ctx context.Context, req *QueryProposalsByGroupPolicyRequest) (*QueryProposalsByGroupPolicyResponse, error)
- func (*UnimplementedQueryServer) VoteByProposalVoter(ctx context.Context, req *QueryVoteByProposalVoterRequest) (*QueryVoteByProposalVoterResponse, error)
- func (*UnimplementedQueryServer) VotesByProposal(ctx context.Context, req *QueryVotesByProposalRequest) (*QueryVotesByProposalResponse, error)
- func (*UnimplementedQueryServer) VotesByVoter(ctx context.Context, req *QueryVotesByVoterRequest) (*QueryVotesByVoterResponse, 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() time.Time
- 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
Constants ¶
const ( // ModuleName is the module name constant used in many places ModuleName = "group" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey defines the module's message routing key RouterKey = 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
Variables ¶
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 RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
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)
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 AccountKeeper ¶
type AccountKeeper interface { // Return a new account with the next account number. Does not save the new account to the store. NewAccount(sdk.Context, authtypes.AccountI) authtypes.AccountI // Retrieve an account from the store. GetAccount(sdk.Context, sdk.AccAddress) authtypes.AccountI // Set an account in the store. SetAccount(sdk.Context, authtypes.AccountI) }
type BankKeeper ¶
BankKeeper defines the expected interface needed to retrieve account balances.
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 ValidateBasic() error GetTimeout() time.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 time.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 EventCreateGroupPolicy ¶
type EventCreateGroupPolicy struct { // address is the account address of the group policy. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
EventCreateGroupPolicy is an event emitted when a group policy is created.
func (*EventCreateGroupPolicy) Descriptor ¶
func (*EventCreateGroupPolicy) Descriptor() ([]byte, []int)
func (*EventCreateGroupPolicy) GetAddress ¶
func (m *EventCreateGroupPolicy) GetAddress() string
func (*EventCreateGroupPolicy) Marshal ¶
func (m *EventCreateGroupPolicy) Marshal() (dAtA []byte, err error)
func (*EventCreateGroupPolicy) MarshalTo ¶
func (m *EventCreateGroupPolicy) MarshalTo(dAtA []byte) (int, error)
func (*EventCreateGroupPolicy) MarshalToSizedBuffer ¶
func (m *EventCreateGroupPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventCreateGroupPolicy) ProtoMessage ¶
func (*EventCreateGroupPolicy) ProtoMessage()
func (*EventCreateGroupPolicy) Reset ¶
func (m *EventCreateGroupPolicy) Reset()
func (*EventCreateGroupPolicy) Size ¶
func (m *EventCreateGroupPolicy) Size() (n int)
func (*EventCreateGroupPolicy) String ¶
func (m *EventCreateGroupPolicy) String() string
func (*EventCreateGroupPolicy) Unmarshal ¶
func (m *EventCreateGroupPolicy) Unmarshal(dAtA []byte) error
func (*EventCreateGroupPolicy) XXX_DiscardUnknown ¶
func (m *EventCreateGroupPolicy) XXX_DiscardUnknown()
func (*EventCreateGroupPolicy) XXX_Marshal ¶
func (m *EventCreateGroupPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventCreateGroupPolicy) XXX_Merge ¶
func (m *EventCreateGroupPolicy) XXX_Merge(src proto.Message)
func (*EventCreateGroupPolicy) XXX_Size ¶
func (m *EventCreateGroupPolicy) XXX_Size() int
func (*EventCreateGroupPolicy) XXX_Unmarshal ¶
func (m *EventCreateGroupPolicy) 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 EventUpdateGroupPolicy ¶
type EventUpdateGroupPolicy struct { // address is the account address of the group policy. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
EventUpdateGroupPolicy is an event emitted when a group policy is updated.
func (*EventUpdateGroupPolicy) Descriptor ¶
func (*EventUpdateGroupPolicy) Descriptor() ([]byte, []int)
func (*EventUpdateGroupPolicy) GetAddress ¶
func (m *EventUpdateGroupPolicy) GetAddress() string
func (*EventUpdateGroupPolicy) Marshal ¶
func (m *EventUpdateGroupPolicy) Marshal() (dAtA []byte, err error)
func (*EventUpdateGroupPolicy) MarshalTo ¶
func (m *EventUpdateGroupPolicy) MarshalTo(dAtA []byte) (int, error)
func (*EventUpdateGroupPolicy) MarshalToSizedBuffer ¶
func (m *EventUpdateGroupPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EventUpdateGroupPolicy) ProtoMessage ¶
func (*EventUpdateGroupPolicy) ProtoMessage()
func (*EventUpdateGroupPolicy) Reset ¶
func (m *EventUpdateGroupPolicy) Reset()
func (*EventUpdateGroupPolicy) Size ¶
func (m *EventUpdateGroupPolicy) Size() (n int)
func (*EventUpdateGroupPolicy) String ¶
func (m *EventUpdateGroupPolicy) String() string
func (*EventUpdateGroupPolicy) Unmarshal ¶
func (m *EventUpdateGroupPolicy) Unmarshal(dAtA []byte) error
func (*EventUpdateGroupPolicy) XXX_DiscardUnknown ¶
func (m *EventUpdateGroupPolicy) XXX_DiscardUnknown()
func (*EventUpdateGroupPolicy) XXX_Marshal ¶
func (m *EventUpdateGroupPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EventUpdateGroupPolicy) XXX_Merge ¶
func (m *EventUpdateGroupPolicy) XXX_Merge(src proto.Message)
func (*EventUpdateGroupPolicy) XXX_Size ¶
func (m *EventUpdateGroupPolicy) XXX_Size() int
func (*EventUpdateGroupPolicy) XXX_Unmarshal ¶
func (m *EventUpdateGroupPolicy) 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 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_policy_seq is the group policy table orm.Sequence, // it is used to generate the next group policy account address. GroupPolicySeq uint64 `protobuf:"varint,4,opt,name=group_policy_seq,json=groupPolicySeq,proto3" json:"group_policy_seq,omitempty"` // group_policies is the list of group policies info. GroupPolicies []*GroupPolicyInfo `protobuf:"bytes,5,rep,name=group_policies,json=groupPolicies,proto3" json:"group_policies,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"` }
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) GetGroupMembers ¶
func (m *GenesisState) GetGroupMembers() []*GroupMember
func (*GenesisState) GetGroupPolicies ¶
func (m *GenesisState) GetGroupPolicies() []*GroupPolicyInfo
func (*GenesisState) GetGroupPolicySeq ¶
func (m *GenesisState) GetGroupPolicySeq() uint64
func (*GenesisState) GetGroupSeq ¶
func (m *GenesisState) GetGroupSeq() uint64
func (*GenesisState) GetGroups ¶
func (m *GenesisState) GetGroups() []*GroupInfo
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) 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 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"` // created_at is a timestamp specifying when a group was created. CreatedAt time.Time `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` }
GroupInfo represents the high-level on-chain information for a group.
func (*GroupInfo) Descriptor ¶
func (*GroupInfo) GetCreatedAt ¶
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 GroupPolicyInfo ¶
type GroupPolicyInfo struct { // address is the account address of group policy. 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 policy. Metadata []byte `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // version is used to track changes to a group's GroupPolicyInfo 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 policy's decision policy. DecisionPolicy *types.Any `protobuf:"bytes,6,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"` // created_at is a timestamp specifying when a group policy was created. CreatedAt time.Time `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3,stdtime" json:"created_at"` }
GroupPolicyInfo represents the high-level on-chain information for a group policy.
func NewGroupPolicyInfo ¶
func NewGroupPolicyInfo(address sdk.AccAddress, group uint64, admin sdk.AccAddress, metadata []byte, version uint64, decisionPolicy DecisionPolicy, createdAt time.Time) (GroupPolicyInfo, error)
NewGroupPolicyInfo creates a new GroupPolicyInfo instance
func (*GroupPolicyInfo) Descriptor ¶
func (*GroupPolicyInfo) Descriptor() ([]byte, []int)
func (*GroupPolicyInfo) Equal ¶
func (this *GroupPolicyInfo) Equal(that interface{}) bool
func (GroupPolicyInfo) GetDecisionPolicy ¶
func (g GroupPolicyInfo) GetDecisionPolicy() DecisionPolicy
func (*GroupPolicyInfo) Marshal ¶
func (m *GroupPolicyInfo) Marshal() (dAtA []byte, err error)
func (*GroupPolicyInfo) MarshalToSizedBuffer ¶
func (m *GroupPolicyInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (GroupPolicyInfo) PrimaryKeyFields ¶
func (g GroupPolicyInfo) PrimaryKeyFields() []interface{}
func (*GroupPolicyInfo) ProtoMessage ¶
func (*GroupPolicyInfo) ProtoMessage()
func (*GroupPolicyInfo) Reset ¶
func (m *GroupPolicyInfo) Reset()
func (*GroupPolicyInfo) SetDecisionPolicy ¶
func (g *GroupPolicyInfo) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
func (*GroupPolicyInfo) Size ¶
func (m *GroupPolicyInfo) Size() (n int)
func (*GroupPolicyInfo) String ¶
func (m *GroupPolicyInfo) String() string
func (*GroupPolicyInfo) Unmarshal ¶
func (m *GroupPolicyInfo) Unmarshal(dAtA []byte) error
func (GroupPolicyInfo) UnpackInterfaces ¶
func (g GroupPolicyInfo) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (GroupPolicyInfo) ValidateBasic ¶
func (g GroupPolicyInfo) ValidateBasic() error
func (*GroupPolicyInfo) XXX_DiscardUnknown ¶
func (m *GroupPolicyInfo) XXX_DiscardUnknown()
func (*GroupPolicyInfo) XXX_Marshal ¶
func (m *GroupPolicyInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupPolicyInfo) XXX_Merge ¶
func (m *GroupPolicyInfo) XXX_Merge(src proto.Message)
func (*GroupPolicyInfo) XXX_Size ¶
func (m *GroupPolicyInfo) XXX_Size() int
func (*GroupPolicyInfo) XXX_Unmarshal ¶
func (m *GroupPolicyInfo) 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"` // added_at is a timestamp specifying when a member was added. AddedAt time.Time `protobuf:"bytes,4,opt,name=added_at,json=addedAt,proto3,stdtime" json:"added_at"` }
Member represents a group member with an account address, non-zero weight and metadata.
func (*Member) Descriptor ¶
func (*Member) GetAddedAt ¶
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) // CreateGroupPolicy creates a new group policy using given DecisionPolicy. CreateGroupPolicy(ctx context.Context, in *MsgCreateGroupPolicy, opts ...grpc.CallOption) (*MsgCreateGroupPolicyResponse, error) // UpdateGroupPolicyAdmin updates a group policy admin. UpdateGroupPolicyAdmin(ctx context.Context, in *MsgUpdateGroupPolicyAdmin, opts ...grpc.CallOption) (*MsgUpdateGroupPolicyAdminResponse, error) // UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. UpdateGroupPolicyDecisionPolicy(ctx context.Context, in *MsgUpdateGroupPolicyDecisionPolicy, opts ...grpc.CallOption) (*MsgUpdateGroupPolicyDecisionPolicyResponse, error) // UpdateGroupPolicyMetadata updates a group policy metadata. UpdateGroupPolicyMetadata(ctx context.Context, in *MsgUpdateGroupPolicyMetadata, opts ...grpc.CallOption) (*MsgUpdateGroupPolicyMetadataResponse, 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) // Exec executes a proposal. Exec(ctx context.Context, in *MsgExec, opts ...grpc.CallOption) (*MsgExecResponse, 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"` }
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) 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 MsgCreateGroupPolicy ¶
type MsgCreateGroupPolicy 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 attached to the group policy. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` // decision_policy specifies the group policy's decision policy. DecisionPolicy *types.Any `protobuf:"bytes,4,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"` }
MsgCreateGroupPolicy is the Msg/CreateGroupPolicy request type.
func NewMsgCreateGroupPolicy ¶
func NewMsgCreateGroupPolicy(admin sdk.AccAddress, group uint64, metadata []byte, decisionPolicy DecisionPolicy) (*MsgCreateGroupPolicy, error)
NewMsgCreateGroupPolicy creates a new MsgCreateGroupPolicy.
func (*MsgCreateGroupPolicy) Descriptor ¶
func (*MsgCreateGroupPolicy) Descriptor() ([]byte, []int)
func (*MsgCreateGroupPolicy) GetAdmin ¶
func (m *MsgCreateGroupPolicy) GetAdmin() string
func (*MsgCreateGroupPolicy) GetDecisionPolicy ¶
func (m *MsgCreateGroupPolicy) GetDecisionPolicy() DecisionPolicy
func (*MsgCreateGroupPolicy) GetGroupID ¶
func (m *MsgCreateGroupPolicy) GetGroupID() uint64
func (*MsgCreateGroupPolicy) GetMetadata ¶
func (m *MsgCreateGroupPolicy) GetMetadata() []byte
func (MsgCreateGroupPolicy) GetSignBytes ¶
func (m MsgCreateGroupPolicy) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgCreateGroupPolicy) GetSigners ¶
func (m MsgCreateGroupPolicy) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgCreateGroupPolicy.
func (*MsgCreateGroupPolicy) Marshal ¶
func (m *MsgCreateGroupPolicy) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroupPolicy) MarshalTo ¶
func (m *MsgCreateGroupPolicy) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGroupPolicy) MarshalToSizedBuffer ¶
func (m *MsgCreateGroupPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroupPolicy) ProtoMessage ¶
func (*MsgCreateGroupPolicy) ProtoMessage()
func (*MsgCreateGroupPolicy) Reset ¶
func (m *MsgCreateGroupPolicy) Reset()
func (MsgCreateGroupPolicy) Route ¶
func (m MsgCreateGroupPolicy) Route() string
Route Implements Msg.
func (*MsgCreateGroupPolicy) SetDecisionPolicy ¶
func (m *MsgCreateGroupPolicy) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
func (*MsgCreateGroupPolicy) Size ¶
func (m *MsgCreateGroupPolicy) Size() (n int)
func (*MsgCreateGroupPolicy) String ¶
func (m *MsgCreateGroupPolicy) String() string
func (*MsgCreateGroupPolicy) Unmarshal ¶
func (m *MsgCreateGroupPolicy) Unmarshal(dAtA []byte) error
func (MsgCreateGroupPolicy) UnpackInterfaces ¶
func (m MsgCreateGroupPolicy) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgCreateGroupPolicy) ValidateBasic ¶
func (m MsgCreateGroupPolicy) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgCreateGroupPolicy) XXX_DiscardUnknown ¶
func (m *MsgCreateGroupPolicy) XXX_DiscardUnknown()
func (*MsgCreateGroupPolicy) XXX_Marshal ¶
func (m *MsgCreateGroupPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroupPolicy) XXX_Merge ¶
func (m *MsgCreateGroupPolicy) XXX_Merge(src proto.Message)
func (*MsgCreateGroupPolicy) XXX_Size ¶
func (m *MsgCreateGroupPolicy) XXX_Size() int
func (*MsgCreateGroupPolicy) XXX_Unmarshal ¶
func (m *MsgCreateGroupPolicy) XXX_Unmarshal(b []byte) error
type MsgCreateGroupPolicyResponse ¶
type MsgCreateGroupPolicyResponse struct { // address is the account address of the newly created group policy. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
MsgCreateGroupPolicyResponse is the Msg/CreateGroupPolicy response type.
func (*MsgCreateGroupPolicyResponse) Descriptor ¶
func (*MsgCreateGroupPolicyResponse) Descriptor() ([]byte, []int)
func (*MsgCreateGroupPolicyResponse) GetAddress ¶
func (m *MsgCreateGroupPolicyResponse) GetAddress() string
func (*MsgCreateGroupPolicyResponse) Marshal ¶
func (m *MsgCreateGroupPolicyResponse) Marshal() (dAtA []byte, err error)
func (*MsgCreateGroupPolicyResponse) MarshalTo ¶
func (m *MsgCreateGroupPolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgCreateGroupPolicyResponse) MarshalToSizedBuffer ¶
func (m *MsgCreateGroupPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgCreateGroupPolicyResponse) ProtoMessage ¶
func (*MsgCreateGroupPolicyResponse) ProtoMessage()
func (*MsgCreateGroupPolicyResponse) Reset ¶
func (m *MsgCreateGroupPolicyResponse) Reset()
func (*MsgCreateGroupPolicyResponse) Size ¶
func (m *MsgCreateGroupPolicyResponse) Size() (n int)
func (*MsgCreateGroupPolicyResponse) String ¶
func (m *MsgCreateGroupPolicyResponse) String() string
func (*MsgCreateGroupPolicyResponse) Unmarshal ¶
func (m *MsgCreateGroupPolicyResponse) Unmarshal(dAtA []byte) error
func (*MsgCreateGroupPolicyResponse) XXX_DiscardUnknown ¶
func (m *MsgCreateGroupPolicyResponse) XXX_DiscardUnknown()
func (*MsgCreateGroupPolicyResponse) XXX_Marshal ¶
func (m *MsgCreateGroupPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgCreateGroupPolicyResponse) XXX_Merge ¶
func (m *MsgCreateGroupPolicyResponse) XXX_Merge(src proto.Message)
func (*MsgCreateGroupPolicyResponse) XXX_Size ¶
func (m *MsgCreateGroupPolicyResponse) XXX_Size() int
func (*MsgCreateGroupPolicyResponse) XXX_Unmarshal ¶
func (m *MsgCreateGroupPolicyResponse) 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 MsgCreateProposal ¶
type MsgCreateProposal struct { // address is the account address of group policy. 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=cosmos.group.v1beta1.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) // CreateGroupPolicy creates a new group policy using given DecisionPolicy. CreateGroupPolicy(context.Context, *MsgCreateGroupPolicy) (*MsgCreateGroupPolicyResponse, error) // UpdateGroupPolicyAdmin updates a group policy admin. UpdateGroupPolicyAdmin(context.Context, *MsgUpdateGroupPolicyAdmin) (*MsgUpdateGroupPolicyAdminResponse, error) // UpdateGroupPolicyDecisionPolicy allows a group policy's decision policy to be updated. UpdateGroupPolicyDecisionPolicy(context.Context, *MsgUpdateGroupPolicyDecisionPolicy) (*MsgUpdateGroupPolicyDecisionPolicyResponse, error) // UpdateGroupPolicyMetadata updates a group policy metadata. UpdateGroupPolicyMetadata(context.Context, *MsgUpdateGroupPolicyMetadata) (*MsgUpdateGroupPolicyMetadataResponse, 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) // Exec executes a proposal. Exec(context.Context, *MsgExec) (*MsgExecResponse, error) }
MsgServer is the server API for Msg service.
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 MsgUpdateGroupPolicyAdmin ¶
type MsgUpdateGroupPolicyAdmin 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 account address of the group policy. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // new_admin is the new group policy admin. NewAdmin string `protobuf:"bytes,3,opt,name=new_admin,json=newAdmin,proto3" json:"new_admin,omitempty"` }
MsgUpdateGroupPolicyAdmin is the Msg/UpdateGroupPolicyAdmin request type.
func (*MsgUpdateGroupPolicyAdmin) Descriptor ¶
func (*MsgUpdateGroupPolicyAdmin) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupPolicyAdmin) GetAddress ¶
func (m *MsgUpdateGroupPolicyAdmin) GetAddress() string
func (*MsgUpdateGroupPolicyAdmin) GetAdmin ¶
func (m *MsgUpdateGroupPolicyAdmin) GetAdmin() string
func (*MsgUpdateGroupPolicyAdmin) GetNewAdmin ¶
func (m *MsgUpdateGroupPolicyAdmin) GetNewAdmin() string
func (MsgUpdateGroupPolicyAdmin) GetSignBytes ¶
func (m MsgUpdateGroupPolicyAdmin) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupPolicyAdmin) GetSigners ¶
func (m MsgUpdateGroupPolicyAdmin) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupPolicyAdmin.
func (*MsgUpdateGroupPolicyAdmin) Marshal ¶
func (m *MsgUpdateGroupPolicyAdmin) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupPolicyAdmin) MarshalTo ¶
func (m *MsgUpdateGroupPolicyAdmin) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyAdmin) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupPolicyAdmin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyAdmin) ProtoMessage ¶
func (*MsgUpdateGroupPolicyAdmin) ProtoMessage()
func (*MsgUpdateGroupPolicyAdmin) Reset ¶
func (m *MsgUpdateGroupPolicyAdmin) Reset()
func (MsgUpdateGroupPolicyAdmin) Route ¶
func (m MsgUpdateGroupPolicyAdmin) Route() string
Route Implements Msg.
func (*MsgUpdateGroupPolicyAdmin) Size ¶
func (m *MsgUpdateGroupPolicyAdmin) Size() (n int)
func (*MsgUpdateGroupPolicyAdmin) String ¶
func (m *MsgUpdateGroupPolicyAdmin) String() string
func (MsgUpdateGroupPolicyAdmin) Type ¶
func (m MsgUpdateGroupPolicyAdmin) Type() string
Type Implements Msg.
func (*MsgUpdateGroupPolicyAdmin) Unmarshal ¶
func (m *MsgUpdateGroupPolicyAdmin) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupPolicyAdmin) ValidateBasic ¶
func (m MsgUpdateGroupPolicyAdmin) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupPolicyAdmin) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupPolicyAdmin) XXX_DiscardUnknown()
func (*MsgUpdateGroupPolicyAdmin) XXX_Marshal ¶
func (m *MsgUpdateGroupPolicyAdmin) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupPolicyAdmin) XXX_Merge ¶
func (m *MsgUpdateGroupPolicyAdmin) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupPolicyAdmin) XXX_Size ¶
func (m *MsgUpdateGroupPolicyAdmin) XXX_Size() int
func (*MsgUpdateGroupPolicyAdmin) XXX_Unmarshal ¶
func (m *MsgUpdateGroupPolicyAdmin) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupPolicyAdminResponse ¶
type MsgUpdateGroupPolicyAdminResponse struct { }
MsgUpdateGroupPolicyAdminResponse is the Msg/UpdateGroupPolicyAdmin response type.
func (*MsgUpdateGroupPolicyAdminResponse) Descriptor ¶
func (*MsgUpdateGroupPolicyAdminResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupPolicyAdminResponse) Marshal ¶
func (m *MsgUpdateGroupPolicyAdminResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupPolicyAdminResponse) MarshalTo ¶
func (m *MsgUpdateGroupPolicyAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyAdminResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupPolicyAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyAdminResponse) ProtoMessage ¶
func (*MsgUpdateGroupPolicyAdminResponse) ProtoMessage()
func (*MsgUpdateGroupPolicyAdminResponse) Reset ¶
func (m *MsgUpdateGroupPolicyAdminResponse) Reset()
func (*MsgUpdateGroupPolicyAdminResponse) Size ¶
func (m *MsgUpdateGroupPolicyAdminResponse) Size() (n int)
func (*MsgUpdateGroupPolicyAdminResponse) String ¶
func (m *MsgUpdateGroupPolicyAdminResponse) String() string
func (*MsgUpdateGroupPolicyAdminResponse) Unmarshal ¶
func (m *MsgUpdateGroupPolicyAdminResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupPolicyAdminResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupPolicyAdminResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupPolicyAdminResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupPolicyAdminResponse) XXX_Merge ¶
func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupPolicyAdminResponse) XXX_Size ¶
func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Size() int
func (*MsgUpdateGroupPolicyAdminResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupPolicyAdminResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupPolicyDecisionPolicy ¶
type MsgUpdateGroupPolicyDecisionPolicy 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 account address of group policy. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // decision_policy is the updated group policy's decision policy. DecisionPolicy *types.Any `protobuf:"bytes,3,opt,name=decision_policy,json=decisionPolicy,proto3" json:"decision_policy,omitempty"` }
MsgUpdateGroupPolicyDecisionPolicy is the Msg/UpdateGroupPolicyDecisionPolicy request type.
func NewMsgUpdateGroupPolicyDecisionPolicyRequest ¶
func NewMsgUpdateGroupPolicyDecisionPolicyRequest(admin sdk.AccAddress, address sdk.AccAddress, decisionPolicy DecisionPolicy) (*MsgUpdateGroupPolicyDecisionPolicy, error)
func (*MsgUpdateGroupPolicyDecisionPolicy) Descriptor ¶
func (*MsgUpdateGroupPolicyDecisionPolicy) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupPolicyDecisionPolicy) GetDecisionPolicy ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) GetDecisionPolicy() DecisionPolicy
func (MsgUpdateGroupPolicyDecisionPolicy) GetSignBytes ¶
func (m MsgUpdateGroupPolicyDecisionPolicy) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupPolicyDecisionPolicy) GetSigners ¶
func (m MsgUpdateGroupPolicyDecisionPolicy) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupPolicyDecisionPolicy.
func (*MsgUpdateGroupPolicyDecisionPolicy) Marshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupPolicyDecisionPolicy) MarshalTo ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyDecisionPolicy) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyDecisionPolicy) ProtoMessage ¶
func (*MsgUpdateGroupPolicyDecisionPolicy) ProtoMessage()
func (*MsgUpdateGroupPolicyDecisionPolicy) Reset ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) Reset()
func (MsgUpdateGroupPolicyDecisionPolicy) Route ¶
func (m MsgUpdateGroupPolicyDecisionPolicy) Route() string
Route Implements Msg.
func (*MsgUpdateGroupPolicyDecisionPolicy) SetDecisionPolicy ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) SetDecisionPolicy(decisionPolicy DecisionPolicy) error
func (*MsgUpdateGroupPolicyDecisionPolicy) Size ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) Size() (n int)
func (*MsgUpdateGroupPolicyDecisionPolicy) String ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) String() string
func (MsgUpdateGroupPolicyDecisionPolicy) Type ¶
func (m MsgUpdateGroupPolicyDecisionPolicy) Type() string
Type Implements Msg.
func (*MsgUpdateGroupPolicyDecisionPolicy) Unmarshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupPolicyDecisionPolicy) UnpackInterfaces ¶
func (m MsgUpdateGroupPolicyDecisionPolicy) UnpackInterfaces(unpacker types.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (MsgUpdateGroupPolicyDecisionPolicy) ValidateBasic ¶
func (m MsgUpdateGroupPolicyDecisionPolicy) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupPolicyDecisionPolicy) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_DiscardUnknown()
func (*MsgUpdateGroupPolicyDecisionPolicy) XXX_Marshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupPolicyDecisionPolicy) XXX_Merge ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupPolicyDecisionPolicy) XXX_Size ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Size() int
func (*MsgUpdateGroupPolicyDecisionPolicy) XXX_Unmarshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicy) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupPolicyDecisionPolicyResponse ¶
type MsgUpdateGroupPolicyDecisionPolicyResponse struct { }
MsgUpdateGroupPolicyDecisionPolicyResponse is the Msg/UpdateGroupPolicyDecisionPolicy response type.
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Descriptor ¶
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Marshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) MarshalTo ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) ProtoMessage ¶
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) ProtoMessage()
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Reset ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Reset()
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Size ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Size() (n int)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) String ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) String() string
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) Unmarshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Merge ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Size ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Size() int
func (*MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupPolicyDecisionPolicyResponse) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupPolicyMetadata ¶
type MsgUpdateGroupPolicyMetadata 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 account address of group policy. Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` // metadata is the updated group policy metadata. Metadata []byte `protobuf:"bytes,3,opt,name=metadata,proto3" json:"metadata,omitempty"` }
MsgUpdateGroupPolicyMetadata is the Msg/UpdateGroupPolicyMetadata request type.
func (*MsgUpdateGroupPolicyMetadata) Descriptor ¶
func (*MsgUpdateGroupPolicyMetadata) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupPolicyMetadata) GetAddress ¶
func (m *MsgUpdateGroupPolicyMetadata) GetAddress() string
func (*MsgUpdateGroupPolicyMetadata) GetAdmin ¶
func (m *MsgUpdateGroupPolicyMetadata) GetAdmin() string
func (*MsgUpdateGroupPolicyMetadata) GetMetadata ¶
func (m *MsgUpdateGroupPolicyMetadata) GetMetadata() []byte
func (MsgUpdateGroupPolicyMetadata) GetSignBytes ¶
func (m MsgUpdateGroupPolicyMetadata) GetSignBytes() []byte
GetSignBytes Implements Msg.
func (MsgUpdateGroupPolicyMetadata) GetSigners ¶
func (m MsgUpdateGroupPolicyMetadata) GetSigners() []sdk.AccAddress
GetSigners returns the expected signers for a MsgUpdateGroupPolicyMetadata.
func (*MsgUpdateGroupPolicyMetadata) Marshal ¶
func (m *MsgUpdateGroupPolicyMetadata) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupPolicyMetadata) MarshalTo ¶
func (m *MsgUpdateGroupPolicyMetadata) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyMetadata) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupPolicyMetadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyMetadata) ProtoMessage ¶
func (*MsgUpdateGroupPolicyMetadata) ProtoMessage()
func (*MsgUpdateGroupPolicyMetadata) Reset ¶
func (m *MsgUpdateGroupPolicyMetadata) Reset()
func (MsgUpdateGroupPolicyMetadata) Route ¶
func (m MsgUpdateGroupPolicyMetadata) Route() string
Route Implements Msg.
func (*MsgUpdateGroupPolicyMetadata) Size ¶
func (m *MsgUpdateGroupPolicyMetadata) Size() (n int)
func (*MsgUpdateGroupPolicyMetadata) String ¶
func (m *MsgUpdateGroupPolicyMetadata) String() string
func (MsgUpdateGroupPolicyMetadata) Type ¶
func (m MsgUpdateGroupPolicyMetadata) Type() string
Type Implements Msg.
func (*MsgUpdateGroupPolicyMetadata) Unmarshal ¶
func (m *MsgUpdateGroupPolicyMetadata) Unmarshal(dAtA []byte) error
func (MsgUpdateGroupPolicyMetadata) ValidateBasic ¶
func (m MsgUpdateGroupPolicyMetadata) ValidateBasic() error
ValidateBasic does a sanity check on the provided data
func (*MsgUpdateGroupPolicyMetadata) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupPolicyMetadata) XXX_DiscardUnknown()
func (*MsgUpdateGroupPolicyMetadata) XXX_Marshal ¶
func (m *MsgUpdateGroupPolicyMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupPolicyMetadata) XXX_Merge ¶
func (m *MsgUpdateGroupPolicyMetadata) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupPolicyMetadata) XXX_Size ¶
func (m *MsgUpdateGroupPolicyMetadata) XXX_Size() int
func (*MsgUpdateGroupPolicyMetadata) XXX_Unmarshal ¶
func (m *MsgUpdateGroupPolicyMetadata) XXX_Unmarshal(b []byte) error
type MsgUpdateGroupPolicyMetadataResponse ¶
type MsgUpdateGroupPolicyMetadataResponse struct { }
MsgUpdateGroupPolicyMetadataResponse is the Msg/UpdateGroupPolicyMetadata response type.
func (*MsgUpdateGroupPolicyMetadataResponse) Descriptor ¶
func (*MsgUpdateGroupPolicyMetadataResponse) Descriptor() ([]byte, []int)
func (*MsgUpdateGroupPolicyMetadataResponse) Marshal ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) Marshal() (dAtA []byte, err error)
func (*MsgUpdateGroupPolicyMetadataResponse) MarshalTo ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyMetadataResponse) MarshalToSizedBuffer ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUpdateGroupPolicyMetadataResponse) ProtoMessage ¶
func (*MsgUpdateGroupPolicyMetadataResponse) ProtoMessage()
func (*MsgUpdateGroupPolicyMetadataResponse) Reset ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) Reset()
func (*MsgUpdateGroupPolicyMetadataResponse) Size ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) Size() (n int)
func (*MsgUpdateGroupPolicyMetadataResponse) String ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) String() string
func (*MsgUpdateGroupPolicyMetadataResponse) Unmarshal ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) Unmarshal(dAtA []byte) error
func (*MsgUpdateGroupPolicyMetadataResponse) XXX_DiscardUnknown ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_DiscardUnknown()
func (*MsgUpdateGroupPolicyMetadataResponse) XXX_Marshal ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUpdateGroupPolicyMetadataResponse) XXX_Merge ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_Merge(src proto.Message)
func (*MsgUpdateGroupPolicyMetadataResponse) XXX_Size ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) XXX_Size() int
func (*MsgUpdateGroupPolicyMetadataResponse) XXX_Unmarshal ¶
func (m *MsgUpdateGroupPolicyMetadataResponse) 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=cosmos.group.v1beta1.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=cosmos.group.v1beta1.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 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 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 account address of group policy. 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 time.Time `protobuf:"bytes,5,opt,name=submitted_at,json=submittedAt,proto3,stdtime" 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_policy_version tracks the version of the group policy that this proposal corresponds to. // When a decision policy is changed, existing proposals from previous policy versions will become invalid. GroupPolicyVersion uint64 `protobuf:"varint,7,opt,name=group_policy_version,json=groupPolicyVersion,proto3" json:"group_policy_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=cosmos.group.v1beta1.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=cosmos.group.v1beta1.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 time.Time `protobuf:"bytes,11,opt,name=timeout,proto3,stdtime" json:"timeout"` // executor_result is the final result based on the votes and election rule. Initial value is NotRun. ExecutorResult Proposal_ExecutorResult `` /* 155-byte string literal not displayed */ // msgs is a list of Msgs that will be executed if the proposal passes. Msgs []*types.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 policy 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 (g 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 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) // GroupPolicyInfo queries group policy info based on account address of group policy. GroupPolicyInfo(ctx context.Context, in *QueryGroupPolicyInfoRequest, opts ...grpc.CallOption) (*QueryGroupPolicyInfoResponse, 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) // GroupPoliciesByGroup queries group policies by group id. GroupPoliciesByGroup(ctx context.Context, in *QueryGroupPoliciesByGroupRequest, opts ...grpc.CallOption) (*QueryGroupPoliciesByGroupResponse, error) // GroupsByAdmin queries group policies by admin address. GroupPoliciesByAdmin(ctx context.Context, in *QueryGroupPoliciesByAdminRequest, opts ...grpc.CallOption) (*QueryGroupPoliciesByAdminResponse, error) // Proposal queries a proposal based on proposal id. Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) // ProposalsByGroupPolicy queries proposals based on account address of group policy. ProposalsByGroupPolicy(ctx context.Context, in *QueryProposalsByGroupPolicyRequest, opts ...grpc.CallOption) (*QueryProposalsByGroupPolicyResponse, 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) // GroupsByMember queries groups by member address. GroupsByMember(ctx context.Context, in *QueryGroupsByMemberRequest, opts ...grpc.CallOption) (*QueryGroupsByMemberResponse, 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 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/GroupMembers 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 QueryGroupPoliciesByAdminRequest ¶
type QueryGroupPoliciesByAdminRequest struct { // admin is the admin address of the group policy. 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"` }
QueryGroupPoliciesByAdminRequest is the Query/GroupPoliciesByAdmin request type.
func (*QueryGroupPoliciesByAdminRequest) Descriptor ¶
func (*QueryGroupPoliciesByAdminRequest) Descriptor() ([]byte, []int)
func (*QueryGroupPoliciesByAdminRequest) GetAdmin ¶
func (m *QueryGroupPoliciesByAdminRequest) GetAdmin() string
func (*QueryGroupPoliciesByAdminRequest) GetPagination ¶
func (m *QueryGroupPoliciesByAdminRequest) GetPagination() *query.PageRequest
func (*QueryGroupPoliciesByAdminRequest) Marshal ¶
func (m *QueryGroupPoliciesByAdminRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupPoliciesByAdminRequest) MarshalTo ¶
func (m *QueryGroupPoliciesByAdminRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByAdminRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupPoliciesByAdminRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByAdminRequest) ProtoMessage ¶
func (*QueryGroupPoliciesByAdminRequest) ProtoMessage()
func (*QueryGroupPoliciesByAdminRequest) Reset ¶
func (m *QueryGroupPoliciesByAdminRequest) Reset()
func (*QueryGroupPoliciesByAdminRequest) Size ¶
func (m *QueryGroupPoliciesByAdminRequest) Size() (n int)
func (*QueryGroupPoliciesByAdminRequest) String ¶
func (m *QueryGroupPoliciesByAdminRequest) String() string
func (*QueryGroupPoliciesByAdminRequest) Unmarshal ¶
func (m *QueryGroupPoliciesByAdminRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupPoliciesByAdminRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupPoliciesByAdminRequest) XXX_DiscardUnknown()
func (*QueryGroupPoliciesByAdminRequest) XXX_Marshal ¶
func (m *QueryGroupPoliciesByAdminRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupPoliciesByAdminRequest) XXX_Merge ¶
func (m *QueryGroupPoliciesByAdminRequest) XXX_Merge(src proto.Message)
func (*QueryGroupPoliciesByAdminRequest) XXX_Size ¶
func (m *QueryGroupPoliciesByAdminRequest) XXX_Size() int
func (*QueryGroupPoliciesByAdminRequest) XXX_Unmarshal ¶
func (m *QueryGroupPoliciesByAdminRequest) XXX_Unmarshal(b []byte) error
type QueryGroupPoliciesByAdminResponse ¶
type QueryGroupPoliciesByAdminResponse struct { // group_policies are the group policies info with provided admin. GroupPolicies []*GroupPolicyInfo `protobuf:"bytes,1,rep,name=group_policies,json=groupPolicies,proto3" json:"group_policies,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryGroupPoliciesByAdminResponse is the Query/GroupPoliciesByAdmin response type.
func (*QueryGroupPoliciesByAdminResponse) Descriptor ¶
func (*QueryGroupPoliciesByAdminResponse) Descriptor() ([]byte, []int)
func (*QueryGroupPoliciesByAdminResponse) GetGroupPolicies ¶
func (m *QueryGroupPoliciesByAdminResponse) GetGroupPolicies() []*GroupPolicyInfo
func (*QueryGroupPoliciesByAdminResponse) GetPagination ¶
func (m *QueryGroupPoliciesByAdminResponse) GetPagination() *query.PageResponse
func (*QueryGroupPoliciesByAdminResponse) Marshal ¶
func (m *QueryGroupPoliciesByAdminResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupPoliciesByAdminResponse) MarshalTo ¶
func (m *QueryGroupPoliciesByAdminResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByAdminResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupPoliciesByAdminResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByAdminResponse) ProtoMessage ¶
func (*QueryGroupPoliciesByAdminResponse) ProtoMessage()
func (*QueryGroupPoliciesByAdminResponse) Reset ¶
func (m *QueryGroupPoliciesByAdminResponse) Reset()
func (*QueryGroupPoliciesByAdminResponse) Size ¶
func (m *QueryGroupPoliciesByAdminResponse) Size() (n int)
func (*QueryGroupPoliciesByAdminResponse) String ¶
func (m *QueryGroupPoliciesByAdminResponse) String() string
func (*QueryGroupPoliciesByAdminResponse) Unmarshal ¶
func (m *QueryGroupPoliciesByAdminResponse) Unmarshal(dAtA []byte) error
func (QueryGroupPoliciesByAdminResponse) UnpackInterfaces ¶
func (q QueryGroupPoliciesByAdminResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*QueryGroupPoliciesByAdminResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupPoliciesByAdminResponse) XXX_DiscardUnknown()
func (*QueryGroupPoliciesByAdminResponse) XXX_Marshal ¶
func (m *QueryGroupPoliciesByAdminResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupPoliciesByAdminResponse) XXX_Merge ¶
func (m *QueryGroupPoliciesByAdminResponse) XXX_Merge(src proto.Message)
func (*QueryGroupPoliciesByAdminResponse) XXX_Size ¶
func (m *QueryGroupPoliciesByAdminResponse) XXX_Size() int
func (*QueryGroupPoliciesByAdminResponse) XXX_Unmarshal ¶
func (m *QueryGroupPoliciesByAdminResponse) XXX_Unmarshal(b []byte) error
type QueryGroupPoliciesByGroupRequest ¶
type QueryGroupPoliciesByGroupRequest struct { // group_id is the unique ID of the group policy'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"` }
QueryGroupPoliciesByGroupRequest is the Query/GroupPoliciesByGroup request type.
func (*QueryGroupPoliciesByGroupRequest) Descriptor ¶
func (*QueryGroupPoliciesByGroupRequest) Descriptor() ([]byte, []int)
func (*QueryGroupPoliciesByGroupRequest) GetGroupId ¶
func (m *QueryGroupPoliciesByGroupRequest) GetGroupId() uint64
func (*QueryGroupPoliciesByGroupRequest) GetPagination ¶
func (m *QueryGroupPoliciesByGroupRequest) GetPagination() *query.PageRequest
func (*QueryGroupPoliciesByGroupRequest) Marshal ¶
func (m *QueryGroupPoliciesByGroupRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupPoliciesByGroupRequest) MarshalTo ¶
func (m *QueryGroupPoliciesByGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByGroupRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupPoliciesByGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByGroupRequest) ProtoMessage ¶
func (*QueryGroupPoliciesByGroupRequest) ProtoMessage()
func (*QueryGroupPoliciesByGroupRequest) Reset ¶
func (m *QueryGroupPoliciesByGroupRequest) Reset()
func (*QueryGroupPoliciesByGroupRequest) Size ¶
func (m *QueryGroupPoliciesByGroupRequest) Size() (n int)
func (*QueryGroupPoliciesByGroupRequest) String ¶
func (m *QueryGroupPoliciesByGroupRequest) String() string
func (*QueryGroupPoliciesByGroupRequest) Unmarshal ¶
func (m *QueryGroupPoliciesByGroupRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupPoliciesByGroupRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupPoliciesByGroupRequest) XXX_DiscardUnknown()
func (*QueryGroupPoliciesByGroupRequest) XXX_Marshal ¶
func (m *QueryGroupPoliciesByGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupPoliciesByGroupRequest) XXX_Merge ¶
func (m *QueryGroupPoliciesByGroupRequest) XXX_Merge(src proto.Message)
func (*QueryGroupPoliciesByGroupRequest) XXX_Size ¶
func (m *QueryGroupPoliciesByGroupRequest) XXX_Size() int
func (*QueryGroupPoliciesByGroupRequest) XXX_Unmarshal ¶
func (m *QueryGroupPoliciesByGroupRequest) XXX_Unmarshal(b []byte) error
type QueryGroupPoliciesByGroupResponse ¶
type QueryGroupPoliciesByGroupResponse struct { // group_policies are the group policies info associated with the provided group. GroupPolicies []*GroupPolicyInfo `protobuf:"bytes,1,rep,name=group_policies,json=groupPolicies,proto3" json:"group_policies,omitempty"` // pagination defines the pagination in the response. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
QueryGroupPoliciesByGroupResponse is the Query/GroupPoliciesByGroup response type.
func (*QueryGroupPoliciesByGroupResponse) Descriptor ¶
func (*QueryGroupPoliciesByGroupResponse) Descriptor() ([]byte, []int)
func (*QueryGroupPoliciesByGroupResponse) GetGroupPolicies ¶
func (m *QueryGroupPoliciesByGroupResponse) GetGroupPolicies() []*GroupPolicyInfo
func (*QueryGroupPoliciesByGroupResponse) GetPagination ¶
func (m *QueryGroupPoliciesByGroupResponse) GetPagination() *query.PageResponse
func (*QueryGroupPoliciesByGroupResponse) Marshal ¶
func (m *QueryGroupPoliciesByGroupResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupPoliciesByGroupResponse) MarshalTo ¶
func (m *QueryGroupPoliciesByGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByGroupResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupPoliciesByGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupPoliciesByGroupResponse) ProtoMessage ¶
func (*QueryGroupPoliciesByGroupResponse) ProtoMessage()
func (*QueryGroupPoliciesByGroupResponse) Reset ¶
func (m *QueryGroupPoliciesByGroupResponse) Reset()
func (*QueryGroupPoliciesByGroupResponse) Size ¶
func (m *QueryGroupPoliciesByGroupResponse) Size() (n int)
func (*QueryGroupPoliciesByGroupResponse) String ¶
func (m *QueryGroupPoliciesByGroupResponse) String() string
func (*QueryGroupPoliciesByGroupResponse) Unmarshal ¶
func (m *QueryGroupPoliciesByGroupResponse) Unmarshal(dAtA []byte) error
func (QueryGroupPoliciesByGroupResponse) UnpackInterfaces ¶
func (q QueryGroupPoliciesByGroupResponse) UnpackInterfaces(unpacker codectypes.AnyUnpacker) error
UnpackInterfaces implements UnpackInterfacesMessage.UnpackInterfaces
func (*QueryGroupPoliciesByGroupResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupPoliciesByGroupResponse) XXX_DiscardUnknown()
func (*QueryGroupPoliciesByGroupResponse) XXX_Marshal ¶
func (m *QueryGroupPoliciesByGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupPoliciesByGroupResponse) XXX_Merge ¶
func (m *QueryGroupPoliciesByGroupResponse) XXX_Merge(src proto.Message)
func (*QueryGroupPoliciesByGroupResponse) XXX_Size ¶
func (m *QueryGroupPoliciesByGroupResponse) XXX_Size() int
func (*QueryGroupPoliciesByGroupResponse) XXX_Unmarshal ¶
func (m *QueryGroupPoliciesByGroupResponse) XXX_Unmarshal(b []byte) error
type QueryGroupPolicyInfoRequest ¶
type QueryGroupPolicyInfoRequest struct { // address is the account address of the group policy. Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` }
QueryGroupPolicyInfoRequest is the Query/GroupPolicyInfo request type.
func (*QueryGroupPolicyInfoRequest) Descriptor ¶
func (*QueryGroupPolicyInfoRequest) Descriptor() ([]byte, []int)
func (*QueryGroupPolicyInfoRequest) GetAddress ¶
func (m *QueryGroupPolicyInfoRequest) GetAddress() string
func (*QueryGroupPolicyInfoRequest) Marshal ¶
func (m *QueryGroupPolicyInfoRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupPolicyInfoRequest) MarshalTo ¶
func (m *QueryGroupPolicyInfoRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupPolicyInfoRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupPolicyInfoRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupPolicyInfoRequest) ProtoMessage ¶
func (*QueryGroupPolicyInfoRequest) ProtoMessage()
func (*QueryGroupPolicyInfoRequest) Reset ¶
func (m *QueryGroupPolicyInfoRequest) Reset()
func (*QueryGroupPolicyInfoRequest) Size ¶
func (m *QueryGroupPolicyInfoRequest) Size() (n int)
func (*QueryGroupPolicyInfoRequest) String ¶
func (m *QueryGroupPolicyInfoRequest) String() string
func (*QueryGroupPolicyInfoRequest) Unmarshal ¶
func (m *QueryGroupPolicyInfoRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupPolicyInfoRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupPolicyInfoRequest) XXX_DiscardUnknown()
func (*QueryGroupPolicyInfoRequest) XXX_Marshal ¶
func (m *QueryGroupPolicyInfoRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupPolicyInfoRequest) XXX_Merge ¶
func (m *QueryGroupPolicyInfoRequest) XXX_Merge(src proto.Message)
func (*QueryGroupPolicyInfoRequest) XXX_Size ¶
func (m *QueryGroupPolicyInfoRequest) XXX_Size() int
func (*QueryGroupPolicyInfoRequest) XXX_Unmarshal ¶
func (m *QueryGroupPolicyInfoRequest) XXX_Unmarshal(b []byte) error
type QueryGroupPolicyInfoResponse ¶
type QueryGroupPolicyInfoResponse struct { // info is the GroupPolicyInfo for the group policy. Info *GroupPolicyInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` }
QueryGroupPolicyInfoResponse is the Query/GroupPolicyInfo response type.
func (*QueryGroupPolicyInfoResponse) Descriptor ¶
func (*QueryGroupPolicyInfoResponse) Descriptor() ([]byte, []int)
func (*QueryGroupPolicyInfoResponse) GetInfo ¶
func (m *QueryGroupPolicyInfoResponse) GetInfo() *GroupPolicyInfo
func (*QueryGroupPolicyInfoResponse) Marshal ¶
func (m *QueryGroupPolicyInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupPolicyInfoResponse) MarshalTo ¶
func (m *QueryGroupPolicyInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupPolicyInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupPolicyInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupPolicyInfoResponse) ProtoMessage ¶
func (*QueryGroupPolicyInfoResponse) ProtoMessage()
func (*QueryGroupPolicyInfoResponse) Reset ¶
func (m *QueryGroupPolicyInfoResponse) Reset()
func (*QueryGroupPolicyInfoResponse) Size ¶
func (m *QueryGroupPolicyInfoResponse) Size() (n int)
func (*QueryGroupPolicyInfoResponse) String ¶
func (m *QueryGroupPolicyInfoResponse) String() string
func (*QueryGroupPolicyInfoResponse) Unmarshal ¶
func (m *QueryGroupPolicyInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupPolicyInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupPolicyInfoResponse) XXX_DiscardUnknown()
func (*QueryGroupPolicyInfoResponse) XXX_Marshal ¶
func (m *QueryGroupPolicyInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupPolicyInfoResponse) XXX_Merge ¶
func (m *QueryGroupPolicyInfoResponse) XXX_Merge(src proto.Message)
func (*QueryGroupPolicyInfoResponse) XXX_Size ¶
func (m *QueryGroupPolicyInfoResponse) XXX_Size() int
func (*QueryGroupPolicyInfoResponse) XXX_Unmarshal ¶
func (m *QueryGroupPolicyInfoResponse) 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/GroupsByAdmin 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 QueryGroupsByMemberRequest ¶
type QueryGroupsByMemberRequest struct { // address is the group member address. 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"` }
QueryGroupsByMemberRequest is the Query/GroupsByMember request type.
func (*QueryGroupsByMemberRequest) Descriptor ¶
func (*QueryGroupsByMemberRequest) Descriptor() ([]byte, []int)
func (*QueryGroupsByMemberRequest) GetAddress ¶
func (m *QueryGroupsByMemberRequest) GetAddress() string
func (*QueryGroupsByMemberRequest) GetPagination ¶
func (m *QueryGroupsByMemberRequest) GetPagination() *query.PageRequest
func (*QueryGroupsByMemberRequest) Marshal ¶
func (m *QueryGroupsByMemberRequest) Marshal() (dAtA []byte, err error)
func (*QueryGroupsByMemberRequest) MarshalTo ¶
func (m *QueryGroupsByMemberRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupsByMemberRequest) MarshalToSizedBuffer ¶
func (m *QueryGroupsByMemberRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupsByMemberRequest) ProtoMessage ¶
func (*QueryGroupsByMemberRequest) ProtoMessage()
func (*QueryGroupsByMemberRequest) Reset ¶
func (m *QueryGroupsByMemberRequest) Reset()
func (*QueryGroupsByMemberRequest) Size ¶
func (m *QueryGroupsByMemberRequest) Size() (n int)
func (*QueryGroupsByMemberRequest) String ¶
func (m *QueryGroupsByMemberRequest) String() string
func (*QueryGroupsByMemberRequest) Unmarshal ¶
func (m *QueryGroupsByMemberRequest) Unmarshal(dAtA []byte) error
func (*QueryGroupsByMemberRequest) XXX_DiscardUnknown ¶
func (m *QueryGroupsByMemberRequest) XXX_DiscardUnknown()
func (*QueryGroupsByMemberRequest) XXX_Marshal ¶
func (m *QueryGroupsByMemberRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupsByMemberRequest) XXX_Merge ¶
func (m *QueryGroupsByMemberRequest) XXX_Merge(src proto.Message)
func (*QueryGroupsByMemberRequest) XXX_Size ¶
func (m *QueryGroupsByMemberRequest) XXX_Size() int
func (*QueryGroupsByMemberRequest) XXX_Unmarshal ¶
func (m *QueryGroupsByMemberRequest) XXX_Unmarshal(b []byte) error
type QueryGroupsByMemberResponse ¶
type QueryGroupsByMemberResponse struct { // groups are the groups info with the provided group member. 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"` }
QueryGroupsByMemberResponse is the Query/GroupsByMember response type.
func (*QueryGroupsByMemberResponse) Descriptor ¶
func (*QueryGroupsByMemberResponse) Descriptor() ([]byte, []int)
func (*QueryGroupsByMemberResponse) GetGroups ¶
func (m *QueryGroupsByMemberResponse) GetGroups() []*GroupInfo
func (*QueryGroupsByMemberResponse) GetPagination ¶
func (m *QueryGroupsByMemberResponse) GetPagination() *query.PageResponse
func (*QueryGroupsByMemberResponse) Marshal ¶
func (m *QueryGroupsByMemberResponse) Marshal() (dAtA []byte, err error)
func (*QueryGroupsByMemberResponse) MarshalTo ¶
func (m *QueryGroupsByMemberResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGroupsByMemberResponse) MarshalToSizedBuffer ¶
func (m *QueryGroupsByMemberResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGroupsByMemberResponse) ProtoMessage ¶
func (*QueryGroupsByMemberResponse) ProtoMessage()
func (*QueryGroupsByMemberResponse) Reset ¶
func (m *QueryGroupsByMemberResponse) Reset()
func (*QueryGroupsByMemberResponse) Size ¶
func (m *QueryGroupsByMemberResponse) Size() (n int)
func (*QueryGroupsByMemberResponse) String ¶
func (m *QueryGroupsByMemberResponse) String() string
func (*QueryGroupsByMemberResponse) Unmarshal ¶
func (m *QueryGroupsByMemberResponse) Unmarshal(dAtA []byte) error
func (*QueryGroupsByMemberResponse) XXX_DiscardUnknown ¶
func (m *QueryGroupsByMemberResponse) XXX_DiscardUnknown()
func (*QueryGroupsByMemberResponse) XXX_Marshal ¶
func (m *QueryGroupsByMemberResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGroupsByMemberResponse) XXX_Merge ¶
func (m *QueryGroupsByMemberResponse) XXX_Merge(src proto.Message)
func (*QueryGroupsByMemberResponse) XXX_Size ¶
func (m *QueryGroupsByMemberResponse) XXX_Size() int
func (*QueryGroupsByMemberResponse) XXX_Unmarshal ¶
func (m *QueryGroupsByMemberResponse) 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 QueryProposalsByGroupPolicyRequest ¶
type QueryProposalsByGroupPolicyRequest struct { // address is the account address of the group policy 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"` }
QueryProposalsByGroupPolicyRequest is the Query/ProposalByGroupPolicy request type.
func (*QueryProposalsByGroupPolicyRequest) Descriptor ¶
func (*QueryProposalsByGroupPolicyRequest) Descriptor() ([]byte, []int)
func (*QueryProposalsByGroupPolicyRequest) GetAddress ¶
func (m *QueryProposalsByGroupPolicyRequest) GetAddress() string
func (*QueryProposalsByGroupPolicyRequest) GetPagination ¶
func (m *QueryProposalsByGroupPolicyRequest) GetPagination() *query.PageRequest
func (*QueryProposalsByGroupPolicyRequest) Marshal ¶
func (m *QueryProposalsByGroupPolicyRequest) Marshal() (dAtA []byte, err error)
func (*QueryProposalsByGroupPolicyRequest) MarshalTo ¶
func (m *QueryProposalsByGroupPolicyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalsByGroupPolicyRequest) MarshalToSizedBuffer ¶
func (m *QueryProposalsByGroupPolicyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalsByGroupPolicyRequest) ProtoMessage ¶
func (*QueryProposalsByGroupPolicyRequest) ProtoMessage()
func (*QueryProposalsByGroupPolicyRequest) Reset ¶
func (m *QueryProposalsByGroupPolicyRequest) Reset()
func (*QueryProposalsByGroupPolicyRequest) Size ¶
func (m *QueryProposalsByGroupPolicyRequest) Size() (n int)
func (*QueryProposalsByGroupPolicyRequest) String ¶
func (m *QueryProposalsByGroupPolicyRequest) String() string
func (*QueryProposalsByGroupPolicyRequest) Unmarshal ¶
func (m *QueryProposalsByGroupPolicyRequest) Unmarshal(dAtA []byte) error
func (*QueryProposalsByGroupPolicyRequest) XXX_DiscardUnknown ¶
func (m *QueryProposalsByGroupPolicyRequest) XXX_DiscardUnknown()
func (*QueryProposalsByGroupPolicyRequest) XXX_Marshal ¶
func (m *QueryProposalsByGroupPolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalsByGroupPolicyRequest) XXX_Merge ¶
func (m *QueryProposalsByGroupPolicyRequest) XXX_Merge(src proto.Message)
func (*QueryProposalsByGroupPolicyRequest) XXX_Size ¶
func (m *QueryProposalsByGroupPolicyRequest) XXX_Size() int
func (*QueryProposalsByGroupPolicyRequest) XXX_Unmarshal ¶
func (m *QueryProposalsByGroupPolicyRequest) XXX_Unmarshal(b []byte) error
type QueryProposalsByGroupPolicyResponse ¶
type QueryProposalsByGroupPolicyResponse struct { // proposals are the proposals with given group policy. 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"` }
QueryProposalsByGroupPolicyResponse is the Query/ProposalByGroupPolicy response type.
func (*QueryProposalsByGroupPolicyResponse) Descriptor ¶
func (*QueryProposalsByGroupPolicyResponse) Descriptor() ([]byte, []int)
func (*QueryProposalsByGroupPolicyResponse) GetPagination ¶
func (m *QueryProposalsByGroupPolicyResponse) GetPagination() *query.PageResponse
func (*QueryProposalsByGroupPolicyResponse) GetProposals ¶
func (m *QueryProposalsByGroupPolicyResponse) GetProposals() []*Proposal
func (*QueryProposalsByGroupPolicyResponse) Marshal ¶
func (m *QueryProposalsByGroupPolicyResponse) Marshal() (dAtA []byte, err error)
func (*QueryProposalsByGroupPolicyResponse) MarshalTo ¶
func (m *QueryProposalsByGroupPolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProposalsByGroupPolicyResponse) MarshalToSizedBuffer ¶
func (m *QueryProposalsByGroupPolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProposalsByGroupPolicyResponse) ProtoMessage ¶
func (*QueryProposalsByGroupPolicyResponse) ProtoMessage()
func (*QueryProposalsByGroupPolicyResponse) Reset ¶
func (m *QueryProposalsByGroupPolicyResponse) Reset()
func (*QueryProposalsByGroupPolicyResponse) Size ¶
func (m *QueryProposalsByGroupPolicyResponse) Size() (n int)
func (*QueryProposalsByGroupPolicyResponse) String ¶
func (m *QueryProposalsByGroupPolicyResponse) String() string
func (*QueryProposalsByGroupPolicyResponse) Unmarshal ¶
func (m *QueryProposalsByGroupPolicyResponse) Unmarshal(dAtA []byte) error
func (*QueryProposalsByGroupPolicyResponse) XXX_DiscardUnknown ¶
func (m *QueryProposalsByGroupPolicyResponse) XXX_DiscardUnknown()
func (*QueryProposalsByGroupPolicyResponse) XXX_Marshal ¶
func (m *QueryProposalsByGroupPolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProposalsByGroupPolicyResponse) XXX_Merge ¶
func (m *QueryProposalsByGroupPolicyResponse) XXX_Merge(src proto.Message)
func (*QueryProposalsByGroupPolicyResponse) XXX_Size ¶
func (m *QueryProposalsByGroupPolicyResponse) XXX_Size() int
func (*QueryProposalsByGroupPolicyResponse) XXX_Unmarshal ¶
func (m *QueryProposalsByGroupPolicyResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // GroupInfo queries group info based on group id. GroupInfo(context.Context, *QueryGroupInfoRequest) (*QueryGroupInfoResponse, error) // GroupPolicyInfo queries group policy info based on account address of group policy. GroupPolicyInfo(context.Context, *QueryGroupPolicyInfoRequest) (*QueryGroupPolicyInfoResponse, 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) // GroupPoliciesByGroup queries group policies by group id. GroupPoliciesByGroup(context.Context, *QueryGroupPoliciesByGroupRequest) (*QueryGroupPoliciesByGroupResponse, error) // GroupsByAdmin queries group policies by admin address. GroupPoliciesByAdmin(context.Context, *QueryGroupPoliciesByAdminRequest) (*QueryGroupPoliciesByAdminResponse, error) // Proposal queries a proposal based on proposal id. Proposal(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error) // ProposalsByGroupPolicy queries proposals based on account address of group policy. ProposalsByGroupPolicy(context.Context, *QueryProposalsByGroupPolicyRequest) (*QueryProposalsByGroupPolicyResponse, 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) // GroupsByMember queries groups by member address. GroupsByMember(context.Context, *QueryGroupsByMemberRequest) (*QueryGroupsByMemberResponse, 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"` }
QueryVoteByProposalVoterRequest 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 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"` }
QueryVotesByProposalRequest 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"` }
QueryVotesByVoterRequest 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 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) XXX_DiscardUnknown ¶
func (m *Tally) XXX_DiscardUnknown()
func (*Tally) XXX_Marshal ¶
func (*Tally) XXX_Unmarshal ¶
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 time.Duration `protobuf:"bytes,2,opt,name=timeout,proto3,stdduration" 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() time.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) CreateGroupPolicy ¶
func (*UnimplementedMsgServer) CreateGroupPolicy(ctx context.Context, req *MsgCreateGroupPolicy) (*MsgCreateGroupPolicyResponse, 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) 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) UpdateGroupPolicyAdmin ¶
func (*UnimplementedMsgServer) UpdateGroupPolicyAdmin(ctx context.Context, req *MsgUpdateGroupPolicyAdmin) (*MsgUpdateGroupPolicyAdminResponse, error)
func (*UnimplementedMsgServer) UpdateGroupPolicyDecisionPolicy ¶
func (*UnimplementedMsgServer) UpdateGroupPolicyDecisionPolicy(ctx context.Context, req *MsgUpdateGroupPolicyDecisionPolicy) (*MsgUpdateGroupPolicyDecisionPolicyResponse, error)
func (*UnimplementedMsgServer) UpdateGroupPolicyMetadata ¶
func (*UnimplementedMsgServer) UpdateGroupPolicyMetadata(ctx context.Context, req *MsgUpdateGroupPolicyMetadata) (*MsgUpdateGroupPolicyMetadataResponse, error)
func (*UnimplementedMsgServer) Vote ¶
func (*UnimplementedMsgServer) Vote(ctx context.Context, req *MsgVote) (*MsgVoteResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
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) GroupPoliciesByAdmin ¶
func (*UnimplementedQueryServer) GroupPoliciesByAdmin(ctx context.Context, req *QueryGroupPoliciesByAdminRequest) (*QueryGroupPoliciesByAdminResponse, error)
func (*UnimplementedQueryServer) GroupPoliciesByGroup ¶
func (*UnimplementedQueryServer) GroupPoliciesByGroup(ctx context.Context, req *QueryGroupPoliciesByGroupRequest) (*QueryGroupPoliciesByGroupResponse, error)
func (*UnimplementedQueryServer) GroupPolicyInfo ¶
func (*UnimplementedQueryServer) GroupPolicyInfo(ctx context.Context, req *QueryGroupPolicyInfoRequest) (*QueryGroupPolicyInfoResponse, error)
func (*UnimplementedQueryServer) GroupsByAdmin ¶
func (*UnimplementedQueryServer) GroupsByAdmin(ctx context.Context, req *QueryGroupsByAdminRequest) (*QueryGroupsByAdminResponse, error)
func (*UnimplementedQueryServer) GroupsByMember ¶
func (*UnimplementedQueryServer) GroupsByMember(ctx context.Context, req *QueryGroupsByMemberRequest) (*QueryGroupsByMemberResponse, error)
func (*UnimplementedQueryServer) Proposal ¶
func (*UnimplementedQueryServer) Proposal(ctx context.Context, req *QueryProposalRequest) (*QueryProposalResponse, error)
func (*UnimplementedQueryServer) ProposalsByGroupPolicy ¶
func (*UnimplementedQueryServer) ProposalsByGroupPolicy(ctx context.Context, req *QueryProposalsByGroupPolicyRequest) (*QueryProposalsByGroupPolicyResponse, error)
func (*UnimplementedQueryServer) VoteByProposalVoter ¶
func (*UnimplementedQueryServer) VoteByProposalVoter(ctx context.Context, req *QueryVoteByProposalVoterRequest) (*QueryVoteByProposalVoterResponse, 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)
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=cosmos.group.v1beta1.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 time.Time `protobuf:"bytes,5,opt,name=submitted_at,json=submittedAt,proto3,stdtime" 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 ¶
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
client
|
|
internal
|
|
math
Package math provides helper functions for doing mathematical calculations and parsing for the ecocredit module.
|
Package math provides helper functions for doing mathematical calculations and parsing for the ecocredit module. |
orm
Package orm is a convenient object to data store mapper.
|
Package orm is a convenient object to data store mapper. |