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