Documentation ¶
Overview ¶
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Code generated by protoc-gen-go-pulsar. DO NOT EDIT.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type Agent
- type EventCreateAgent
- func (*EventCreateAgent) Descriptor() ([]byte, []int)deprecated
- func (x *EventCreateAgent) GetAgent() string
- func (x *EventCreateAgent) GetCreator() string
- func (*EventCreateAgent) ProtoMessage()
- func (x *EventCreateAgent) ProtoReflect() protoreflect.Message
- func (x *EventCreateAgent) Reset()
- func (x *EventCreateAgent) String() string
- type EventExec
- func (*EventExec) Descriptor() ([]byte, []int)deprecated
- func (x *EventExec) GetActions() []*anypb.Any
- func (x *EventExec) GetAgents() []string
- func (x *EventExec) GetExecutor() string
- func (*EventExec) ProtoMessage()
- func (x *EventExec) ProtoReflect() protoreflect.Message
- func (x *EventExec) Reset()
- func (x *EventExec) String() string
- type EventSubmitProposal
- func (*EventSubmitProposal) Descriptor() ([]byte, []int)deprecated
- func (x *EventSubmitProposal) GetAgent() string
- func (x *EventSubmitProposal) GetMetadata() string
- func (x *EventSubmitProposal) GetPostActions() []*anypb.Any
- func (x *EventSubmitProposal) GetPreActions() []*anypb.Any
- func (x *EventSubmitProposal) GetProposer() string
- func (*EventSubmitProposal) ProtoMessage()
- func (x *EventSubmitProposal) ProtoReflect() protoreflect.Message
- func (x *EventSubmitProposal) Reset()
- func (x *EventSubmitProposal) String() string
- type EventUpdateParams
- func (*EventUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *EventUpdateParams) GetAuthority() string
- func (x *EventUpdateParams) GetMaxMetadataLength() uint64
- func (*EventUpdateParams) ProtoMessage()
- func (x *EventUpdateParams) ProtoReflect() protoreflect.Message
- func (x *EventUpdateParams) Reset()
- func (x *EventUpdateParams) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetAgents() []*GenesisState_Agent
- func (x *GenesisState) GetNextAgent() uint64
- func (x *GenesisState) GetParams() *GenesisState_Params
- func (x *GenesisState) GetProposals() []*GenesisState_Proposal
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type GenesisState_Agent
- func (*GenesisState_Agent) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState_Agent) GetAddress() string
- func (x *GenesisState_Agent) GetCreator() string
- func (*GenesisState_Agent) ProtoMessage()
- func (x *GenesisState_Agent) ProtoReflect() protoreflect.Message
- func (x *GenesisState_Agent) Reset()
- func (x *GenesisState_Agent) String() string
- type GenesisState_Params
- func (*GenesisState_Params) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState_Params) GetMaxMetadataLength() uint64
- func (*GenesisState_Params) ProtoMessage()
- func (x *GenesisState_Params) ProtoReflect() protoreflect.Message
- func (x *GenesisState_Params) Reset()
- func (x *GenesisState_Params) String() string
- type GenesisState_Proposal
- func (*GenesisState_Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState_Proposal) GetAgent() string
- func (x *GenesisState_Proposal) GetMetadata() string
- func (x *GenesisState_Proposal) GetPostActions() []*anypb.Any
- func (x *GenesisState_Proposal) GetPreActions() []*anypb.Any
- func (x *GenesisState_Proposal) GetProposer() string
- func (*GenesisState_Proposal) ProtoMessage()
- func (x *GenesisState_Proposal) ProtoReflect() protoreflect.Message
- func (x *GenesisState_Proposal) Reset()
- func (x *GenesisState_Proposal) String() string
- type MsgClient
- type MsgCreateAgent
- type MsgCreateAgentResponse
- func (*MsgCreateAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCreateAgentResponse) GetAgent() string
- func (*MsgCreateAgentResponse) ProtoMessage()
- func (x *MsgCreateAgentResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCreateAgentResponse) Reset()
- func (x *MsgCreateAgentResponse) String() string
- type MsgExec
- func (*MsgExec) Descriptor() ([]byte, []int)deprecated
- func (x *MsgExec) GetActions() []*anypb.Any
- func (x *MsgExec) GetAgents() []string
- func (x *MsgExec) GetExecutor() string
- func (*MsgExec) ProtoMessage()
- func (x *MsgExec) ProtoReflect() protoreflect.Message
- func (x *MsgExec) Reset()
- func (x *MsgExec) String() string
- type MsgExecResponse
- type MsgServer
- type MsgSubmitProposal
- func (*MsgSubmitProposal) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSubmitProposal) GetAgent() string
- func (x *MsgSubmitProposal) GetMetadata() string
- func (x *MsgSubmitProposal) GetPostActions() []*anypb.Any
- func (x *MsgSubmitProposal) GetPreActions() []*anypb.Any
- func (x *MsgSubmitProposal) GetProposer() string
- func (*MsgSubmitProposal) ProtoMessage()
- func (x *MsgSubmitProposal) ProtoReflect() protoreflect.Message
- func (x *MsgSubmitProposal) Reset()
- func (x *MsgSubmitProposal) String() string
- type MsgSubmitProposalResponse
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetMaxMetadataLength() uint64
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type Params
- type Proposal
- func (*Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *Proposal) GetMetadata() string
- func (x *Proposal) GetPostActions() []*anypb.Any
- func (x *Proposal) GetPreActions() []*anypb.Any
- func (x *Proposal) GetProposer() []byte
- func (*Proposal) ProtoMessage()
- func (x *Proposal) ProtoReflect() protoreflect.Message
- func (x *Proposal) Reset()
- func (x *Proposal) String() string
- type QueryAgentRequest
- type QueryAgentResponse
- func (*QueryAgentResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentResponse) GetAgent() *QueryAgentResponse_Agent
- func (*QueryAgentResponse) ProtoMessage()
- func (x *QueryAgentResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAgentResponse) Reset()
- func (x *QueryAgentResponse) String() string
- type QueryAgentResponse_Agent
- func (*QueryAgentResponse_Agent) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentResponse_Agent) GetAddress() string
- func (x *QueryAgentResponse_Agent) GetCreator() string
- func (*QueryAgentResponse_Agent) ProtoMessage()
- func (x *QueryAgentResponse_Agent) ProtoReflect() protoreflect.Message
- func (x *QueryAgentResponse_Agent) Reset()
- func (x *QueryAgentResponse_Agent) String() string
- type QueryAgentsByCreatorRequest
- func (*QueryAgentsByCreatorRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentsByCreatorRequest) GetCreator() string
- func (x *QueryAgentsByCreatorRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAgentsByCreatorRequest) ProtoMessage()
- func (x *QueryAgentsByCreatorRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAgentsByCreatorRequest) Reset()
- func (x *QueryAgentsByCreatorRequest) String() string
- type QueryAgentsByCreatorResponse
- func (*QueryAgentsByCreatorResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentsByCreatorResponse) GetAgents() []*QueryAgentsByCreatorResponse_Agent
- func (x *QueryAgentsByCreatorResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAgentsByCreatorResponse) ProtoMessage()
- func (x *QueryAgentsByCreatorResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAgentsByCreatorResponse) Reset()
- func (x *QueryAgentsByCreatorResponse) String() string
- type QueryAgentsByCreatorResponse_Agent
- func (*QueryAgentsByCreatorResponse_Agent) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentsByCreatorResponse_Agent) GetAddress() string
- func (x *QueryAgentsByCreatorResponse_Agent) GetCreator() string
- func (*QueryAgentsByCreatorResponse_Agent) ProtoMessage()
- func (x *QueryAgentsByCreatorResponse_Agent) ProtoReflect() protoreflect.Message
- func (x *QueryAgentsByCreatorResponse_Agent) Reset()
- func (x *QueryAgentsByCreatorResponse_Agent) String() string
- type QueryAgentsRequest
- func (*QueryAgentsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryAgentsRequest) ProtoMessage()
- func (x *QueryAgentsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryAgentsRequest) Reset()
- func (x *QueryAgentsRequest) String() string
- type QueryAgentsResponse
- func (*QueryAgentsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentsResponse) GetAgents() []*QueryAgentsResponse_Agent
- func (x *QueryAgentsResponse) GetPagination() *v1beta1.PageResponse
- func (*QueryAgentsResponse) ProtoMessage()
- func (x *QueryAgentsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryAgentsResponse) Reset()
- func (x *QueryAgentsResponse) String() string
- type QueryAgentsResponse_Agent
- func (*QueryAgentsResponse_Agent) Descriptor() ([]byte, []int)deprecated
- func (x *QueryAgentsResponse_Agent) GetAddress() string
- func (x *QueryAgentsResponse_Agent) GetCreator() string
- func (*QueryAgentsResponse_Agent) ProtoMessage()
- func (x *QueryAgentsResponse_Agent) ProtoReflect() protoreflect.Message
- func (x *QueryAgentsResponse_Agent) Reset()
- func (x *QueryAgentsResponse_Agent) String() string
- type QueryClient
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetMaxMetadataLength() uint64
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryProposalRequest
- func (*QueryProposalRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalRequest) GetAgent() string
- func (*QueryProposalRequest) ProtoMessage()
- func (x *QueryProposalRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProposalRequest) Reset()
- func (x *QueryProposalRequest) String() string
- type QueryProposalResponse
- func (*QueryProposalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalResponse) GetProposal() *QueryProposalResponse_Proposal
- func (*QueryProposalResponse) ProtoMessage()
- func (x *QueryProposalResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProposalResponse) Reset()
- func (x *QueryProposalResponse) String() string
- type QueryProposalResponse_Proposal
- func (*QueryProposalResponse_Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalResponse_Proposal) GetAgent() string
- func (x *QueryProposalResponse_Proposal) GetMetadata() string
- func (x *QueryProposalResponse_Proposal) GetPostActions() []*anypb.Any
- func (x *QueryProposalResponse_Proposal) GetPreActions() []*anypb.Any
- func (x *QueryProposalResponse_Proposal) GetProposer() string
- func (*QueryProposalResponse_Proposal) ProtoMessage()
- func (x *QueryProposalResponse_Proposal) ProtoReflect() protoreflect.Message
- func (x *QueryProposalResponse_Proposal) Reset()
- func (x *QueryProposalResponse_Proposal) String() string
- type QueryProposalsByProposerRequest
- func (*QueryProposalsByProposerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalsByProposerRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryProposalsByProposerRequest) GetProposer() string
- func (*QueryProposalsByProposerRequest) ProtoMessage()
- func (x *QueryProposalsByProposerRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProposalsByProposerRequest) Reset()
- func (x *QueryProposalsByProposerRequest) String() string
- type QueryProposalsByProposerResponse
- func (*QueryProposalsByProposerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalsByProposerResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryProposalsByProposerResponse) GetProposals() []*QueryProposalsByProposerResponse_Proposal
- func (*QueryProposalsByProposerResponse) ProtoMessage()
- func (x *QueryProposalsByProposerResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProposalsByProposerResponse) Reset()
- func (x *QueryProposalsByProposerResponse) String() string
- type QueryProposalsByProposerResponse_Proposal
- func (*QueryProposalsByProposerResponse_Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalsByProposerResponse_Proposal) GetAgent() string
- func (x *QueryProposalsByProposerResponse_Proposal) GetMetadata() string
- func (x *QueryProposalsByProposerResponse_Proposal) GetPostActions() []*anypb.Any
- func (x *QueryProposalsByProposerResponse_Proposal) GetPreActions() []*anypb.Any
- func (x *QueryProposalsByProposerResponse_Proposal) GetProposer() string
- func (*QueryProposalsByProposerResponse_Proposal) ProtoMessage()
- func (x *QueryProposalsByProposerResponse_Proposal) ProtoReflect() protoreflect.Message
- func (x *QueryProposalsByProposerResponse_Proposal) Reset()
- func (x *QueryProposalsByProposerResponse_Proposal) String() string
- type QueryProposalsRequest
- func (*QueryProposalsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalsRequest) GetPagination() *v1beta1.PageRequest
- func (*QueryProposalsRequest) ProtoMessage()
- func (x *QueryProposalsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryProposalsRequest) Reset()
- func (x *QueryProposalsRequest) String() string
- type QueryProposalsResponse
- func (*QueryProposalsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryProposalsResponse) GetProposals() []*QueryProposalsResponse_Proposal
- func (*QueryProposalsResponse) ProtoMessage()
- func (x *QueryProposalsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryProposalsResponse) Reset()
- func (x *QueryProposalsResponse) String() string
- type QueryProposalsResponse_Proposal
- func (*QueryProposalsResponse_Proposal) Descriptor() ([]byte, []int)deprecated
- func (x *QueryProposalsResponse_Proposal) GetAgent() string
- func (x *QueryProposalsResponse_Proposal) GetMetadata() string
- func (x *QueryProposalsResponse_Proposal) GetPostActions() []*anypb.Any
- func (x *QueryProposalsResponse_Proposal) GetPreActions() []*anypb.Any
- func (x *QueryProposalsResponse_Proposal) GetProposer() string
- func (*QueryProposalsResponse_Proposal) ProtoMessage()
- func (x *QueryProposalsResponse_Proposal) ProtoReflect() protoreflect.Message
- func (x *QueryProposalsResponse_Proposal) Reset()
- func (x *QueryProposalsResponse_Proposal) String() string
- type QueryServer
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) CreateAgent(context.Context, *MsgCreateAgent) (*MsgCreateAgentResponse, error)
- func (UnimplementedMsgServer) Exec(context.Context, *MsgExec) (*MsgExecResponse, error)
- func (UnimplementedMsgServer) SubmitProposal(context.Context, *MsgSubmitProposal) (*MsgSubmitProposalResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Agent(context.Context, *QueryAgentRequest) (*QueryAgentResponse, error)
- func (UnimplementedQueryServer) Agents(context.Context, *QueryAgentsRequest) (*QueryAgentsResponse, error)
- func (UnimplementedQueryServer) AgentsByCreator(context.Context, *QueryAgentsByCreatorRequest) (*QueryAgentsByCreatorResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) Proposal(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error)
- func (UnimplementedQueryServer) Proposals(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error)
- func (UnimplementedQueryServer) ProposalsByProposer(context.Context, *QueryProposalsByProposerRequest) (*QueryProposalsByProposerResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Params_FullMethodName = "/andromeda.escrow.v1alpha1.Query/Params" Query_Agent_FullMethodName = "/andromeda.escrow.v1alpha1.Query/Agent" Query_AgentsByCreator_FullMethodName = "/andromeda.escrow.v1alpha1.Query/AgentsByCreator" Query_Agents_FullMethodName = "/andromeda.escrow.v1alpha1.Query/Agents" Query_Proposal_FullMethodName = "/andromeda.escrow.v1alpha1.Query/Proposal" Query_ProposalsByProposer_FullMethodName = "/andromeda.escrow.v1alpha1.Query/ProposalsByProposer" Query_Proposals_FullMethodName = "/andromeda.escrow.v1alpha1.Query/Proposals" )
const ( Msg_UpdateParams_FullMethodName = "/andromeda.escrow.v1alpha1.Msg/UpdateParams" Msg_CreateAgent_FullMethodName = "/andromeda.escrow.v1alpha1.Msg/CreateAgent" Msg_SubmitProposal_FullMethodName = "/andromeda.escrow.v1alpha1.Msg/SubmitProposal" Msg_Exec_FullMethodName = "/andromeda.escrow.v1alpha1.Msg/Exec" )
Variables ¶
var File_andromeda_escrow_v1alpha1_event_proto protoreflect.FileDescriptor
var File_andromeda_escrow_v1alpha1_genesis_proto protoreflect.FileDescriptor
var File_andromeda_escrow_v1alpha1_query_proto protoreflect.FileDescriptor
var File_andromeda_escrow_v1alpha1_tx_proto protoreflect.FileDescriptor
var File_andromeda_escrow_v1alpha1_types_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "andromeda.escrow.v1alpha1.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, { MethodName: "CreateAgent", Handler: _Msg_CreateAgent_Handler, }, { MethodName: "SubmitProposal", Handler: _Msg_SubmitProposal_Handler, }, { MethodName: "Exec", Handler: _Msg_Exec_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "andromeda/escrow/v1alpha1/tx.proto", }
Msg_ServiceDesc is the grpc.ServiceDesc for Msg service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var Query_ServiceDesc = grpc.ServiceDesc{ ServiceName: "andromeda.escrow.v1alpha1.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Params", Handler: _Query_Params_Handler, }, { MethodName: "Agent", Handler: _Query_Agent_Handler, }, { MethodName: "AgentsByCreator", Handler: _Query_AgentsByCreator_Handler, }, { MethodName: "Agents", Handler: _Query_Agents_Handler, }, { MethodName: "Proposal", Handler: _Query_Proposal_Handler, }, { MethodName: "ProposalsByProposer", Handler: _Query_ProposalsByProposer_Handler, }, { MethodName: "Proposals", Handler: _Query_Proposals_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "andromeda/escrow/v1alpha1/query.proto", }
Query_ServiceDesc is the grpc.ServiceDesc for Query service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterMsgServer ¶
func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
Types ¶
type Agent ¶
type Agent struct { // the address of the creator Creator []byte `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
Agent defines an account taking charge of a proposal.
func (*Agent) Descriptor
deprecated
func (*Agent) GetCreator ¶
func (*Agent) ProtoMessage ¶
func (*Agent) ProtoMessage()
func (*Agent) ProtoReflect ¶
func (x *Agent) ProtoReflect() protoreflect.Message
type EventCreateAgent ¶
type EventCreateAgent struct { // the address of the created agent Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // the address of the account created the agent Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
EventCreateAgent is emitted on Msg/CreateAgent.
func (*EventCreateAgent) Descriptor
deprecated
func (*EventCreateAgent) Descriptor() ([]byte, []int)
Deprecated: Use EventCreateAgent.ProtoReflect.Descriptor instead.
func (*EventCreateAgent) GetAgent ¶
func (x *EventCreateAgent) GetAgent() string
func (*EventCreateAgent) GetCreator ¶
func (x *EventCreateAgent) GetCreator() string
func (*EventCreateAgent) ProtoMessage ¶
func (*EventCreateAgent) ProtoMessage()
func (*EventCreateAgent) ProtoReflect ¶
func (x *EventCreateAgent) ProtoReflect() protoreflect.Message
func (*EventCreateAgent) Reset ¶
func (x *EventCreateAgent) Reset()
func (*EventCreateAgent) String ¶
func (x *EventCreateAgent) String() string
type EventExec ¶
type EventExec struct { // the address of the account executed the proposal Executor string `protobuf:"bytes,1,opt,name=executor,proto3" json:"executor,omitempty"` // the addresses of the agents in charge Agents []string `protobuf:"bytes,2,rep,name=agents,proto3" json:"agents,omitempty"` // the messages executed on the execution Actions []*anypb.Any `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
EventExec is emitted on Msg/Exec.
func (*EventExec) Descriptor
deprecated
func (*EventExec) GetActions ¶
func (*EventExec) GetExecutor ¶
func (*EventExec) ProtoMessage ¶
func (*EventExec) ProtoMessage()
func (*EventExec) ProtoReflect ¶
func (x *EventExec) ProtoReflect() protoreflect.Message
type EventSubmitProposal ¶
type EventSubmitProposal struct { // the address of the proposer Proposer string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"` // the address of the agent in charge Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"` // the messages which has been executed on the submission PreActions []*anypb.Any `protobuf:"bytes,3,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec PostActions []*anypb.Any `protobuf:"bytes,4,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
EventSubmitProposal is emitted on Msg/SubmitProposal.
func (*EventSubmitProposal) Descriptor
deprecated
func (*EventSubmitProposal) Descriptor() ([]byte, []int)
Deprecated: Use EventSubmitProposal.ProtoReflect.Descriptor instead.
func (*EventSubmitProposal) GetAgent ¶
func (x *EventSubmitProposal) GetAgent() string
func (*EventSubmitProposal) GetMetadata ¶
func (x *EventSubmitProposal) GetMetadata() string
func (*EventSubmitProposal) GetPostActions ¶
func (x *EventSubmitProposal) GetPostActions() []*anypb.Any
func (*EventSubmitProposal) GetPreActions ¶
func (x *EventSubmitProposal) GetPreActions() []*anypb.Any
func (*EventSubmitProposal) GetProposer ¶
func (x *EventSubmitProposal) GetProposer() string
func (*EventSubmitProposal) ProtoMessage ¶
func (*EventSubmitProposal) ProtoMessage()
func (*EventSubmitProposal) ProtoReflect ¶
func (x *EventSubmitProposal) ProtoReflect() protoreflect.Message
func (*EventSubmitProposal) Reset ¶
func (x *EventSubmitProposal) Reset()
func (*EventSubmitProposal) String ¶
func (x *EventSubmitProposal) String() string
type EventUpdateParams ¶
type EventUpdateParams struct { // the address of the module authority Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // the maximum length allowed for metadata MaxMetadataLength uint64 `protobuf:"varint,2,opt,name=max_metadata_length,json=maxMetadataLength,proto3" json:"max_metadata_length,omitempty"` // contains filtered or unexported fields }
EventUpdateParams is emitted on Msg/UpdateParams.
func (*EventUpdateParams) Descriptor
deprecated
func (*EventUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use EventUpdateParams.ProtoReflect.Descriptor instead.
func (*EventUpdateParams) GetAuthority ¶
func (x *EventUpdateParams) GetAuthority() string
func (*EventUpdateParams) GetMaxMetadataLength ¶
func (x *EventUpdateParams) GetMaxMetadataLength() uint64
func (*EventUpdateParams) ProtoMessage ¶
func (*EventUpdateParams) ProtoMessage()
func (*EventUpdateParams) ProtoReflect ¶
func (x *EventUpdateParams) ProtoReflect() protoreflect.Message
func (*EventUpdateParams) Reset ¶
func (x *EventUpdateParams) Reset()
func (*EventUpdateParams) String ¶
func (x *EventUpdateParams) String() string
type GenesisState ¶
type GenesisState struct { // all the paramaters of the module Params *GenesisState_Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // the identifier of the next agent NextAgent uint64 `protobuf:"varint,2,opt,name=next_agent,json=nextAgent,proto3" json:"next_agent,omitempty"` // all the agents Agents []*GenesisState_Agent `protobuf:"bytes,3,rep,name=agents,proto3" json:"agents,omitempty"` // all the proposals Proposals []*GenesisState_Proposal `protobuf:"bytes,4,rep,name=proposals,proto3" json:"proposals,omitempty"` // contains filtered or unexported fields }
GenesisState defines the module's genesis state.
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetAgents ¶
func (x *GenesisState) GetAgents() []*GenesisState_Agent
func (*GenesisState) GetNextAgent ¶
func (x *GenesisState) GetNextAgent() uint64
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *GenesisState_Params
func (*GenesisState) GetProposals ¶
func (x *GenesisState) GetProposals() []*GenesisState_Proposal
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) ProtoReflect ¶
func (x *GenesisState) ProtoReflect() protoreflect.Message
func (*GenesisState) Reset ¶
func (x *GenesisState) Reset()
func (*GenesisState) String ¶
func (x *GenesisState) String() string
type GenesisState_Agent ¶
type GenesisState_Agent struct { // the address of the agent Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // the address of the creator Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
Agent defines an account taking charge of a proposal.
func (*GenesisState_Agent) Descriptor
deprecated
func (*GenesisState_Agent) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState_Agent.ProtoReflect.Descriptor instead.
func (*GenesisState_Agent) GetAddress ¶
func (x *GenesisState_Agent) GetAddress() string
func (*GenesisState_Agent) GetCreator ¶
func (x *GenesisState_Agent) GetCreator() string
func (*GenesisState_Agent) ProtoMessage ¶
func (*GenesisState_Agent) ProtoMessage()
func (*GenesisState_Agent) ProtoReflect ¶
func (x *GenesisState_Agent) ProtoReflect() protoreflect.Message
func (*GenesisState_Agent) Reset ¶
func (x *GenesisState_Agent) Reset()
func (*GenesisState_Agent) String ¶
func (x *GenesisState_Agent) String() string
type GenesisState_Params ¶
type GenesisState_Params struct { // the maximum length allowed for metadata MaxMetadataLength uint64 `protobuf:"varint,1,opt,name=max_metadata_length,json=maxMetadataLength,proto3" json:"max_metadata_length,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*GenesisState_Params) Descriptor
deprecated
func (*GenesisState_Params) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState_Params.ProtoReflect.Descriptor instead.
func (*GenesisState_Params) GetMaxMetadataLength ¶
func (x *GenesisState_Params) GetMaxMetadataLength() uint64
func (*GenesisState_Params) ProtoMessage ¶
func (*GenesisState_Params) ProtoMessage()
func (*GenesisState_Params) ProtoReflect ¶
func (x *GenesisState_Params) ProtoReflect() protoreflect.Message
func (*GenesisState_Params) Reset ¶
func (x *GenesisState_Params) Reset()
func (*GenesisState_Params) String ¶
func (x *GenesisState_Params) String() string
type GenesisState_Proposal ¶
type GenesisState_Proposal struct { // the address of the agent in charge Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // the address of the proposer Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // the messages which has been executed on the submission PreActions []*anypb.Any `protobuf:"bytes,3,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec PostActions []*anypb.Any `protobuf:"bytes,4,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Proposal defines a proposal.
func (*GenesisState_Proposal) Descriptor
deprecated
func (*GenesisState_Proposal) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState_Proposal.ProtoReflect.Descriptor instead.
func (*GenesisState_Proposal) GetAgent ¶
func (x *GenesisState_Proposal) GetAgent() string
func (*GenesisState_Proposal) GetMetadata ¶
func (x *GenesisState_Proposal) GetMetadata() string
func (*GenesisState_Proposal) GetPostActions ¶
func (x *GenesisState_Proposal) GetPostActions() []*anypb.Any
func (*GenesisState_Proposal) GetPreActions ¶
func (x *GenesisState_Proposal) GetPreActions() []*anypb.Any
func (*GenesisState_Proposal) GetProposer ¶
func (x *GenesisState_Proposal) GetProposer() string
func (*GenesisState_Proposal) ProtoMessage ¶
func (*GenesisState_Proposal) ProtoMessage()
func (*GenesisState_Proposal) ProtoReflect ¶
func (x *GenesisState_Proposal) ProtoReflect() protoreflect.Message
func (*GenesisState_Proposal) Reset ¶
func (x *GenesisState_Proposal) Reset()
func (*GenesisState_Proposal) String ¶
func (x *GenesisState_Proposal) String() string
type MsgClient ¶
type MsgClient interface { // UpdateParams updates the module parameters. UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error) // CreateAgent creates an escrow agent for a proposal. CreateAgent(ctx context.Context, in *MsgCreateAgent, opts ...grpc.CallOption) (*MsgCreateAgentResponse, error) // SubmitProposal submits a proposal. SubmitProposal(ctx context.Context, in *MsgSubmitProposal, opts ...grpc.CallOption) (*MsgSubmitProposalResponse, 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://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc.ClientConnInterface) MsgClient
type MsgCreateAgent ¶
type MsgCreateAgent struct { // the address of the account creating the agent Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
MsgCreateAgent is the Msg/CreateAgent request type.
func (*MsgCreateAgent) Descriptor
deprecated
func (*MsgCreateAgent) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateAgent.ProtoReflect.Descriptor instead.
func (*MsgCreateAgent) GetCreator ¶
func (x *MsgCreateAgent) GetCreator() string
func (*MsgCreateAgent) ProtoMessage ¶
func (*MsgCreateAgent) ProtoMessage()
func (*MsgCreateAgent) ProtoReflect ¶
func (x *MsgCreateAgent) ProtoReflect() protoreflect.Message
func (*MsgCreateAgent) Reset ¶
func (x *MsgCreateAgent) Reset()
func (*MsgCreateAgent) String ¶
func (x *MsgCreateAgent) String() string
type MsgCreateAgentResponse ¶
type MsgCreateAgentResponse struct { // the address of the created agent Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // contains filtered or unexported fields }
MsgCreateAgentResponse is the Msg/CreateAgent response type.
func (*MsgCreateAgentResponse) Descriptor
deprecated
func (*MsgCreateAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCreateAgentResponse.ProtoReflect.Descriptor instead.
func (*MsgCreateAgentResponse) GetAgent ¶
func (x *MsgCreateAgentResponse) GetAgent() string
func (*MsgCreateAgentResponse) ProtoMessage ¶
func (*MsgCreateAgentResponse) ProtoMessage()
func (*MsgCreateAgentResponse) ProtoReflect ¶
func (x *MsgCreateAgentResponse) ProtoReflect() protoreflect.Message
func (*MsgCreateAgentResponse) Reset ¶
func (x *MsgCreateAgentResponse) Reset()
func (*MsgCreateAgentResponse) String ¶
func (x *MsgCreateAgentResponse) String() string
type MsgExec ¶
type MsgExec struct { // the address of the account executing the proposal Executor string `protobuf:"bytes,1,opt,name=executor,proto3" json:"executor,omitempty"` // the addresses of the agents in charge Agents []string `protobuf:"bytes,2,rep,name=agents,proto3" json:"agents,omitempty"` // the messages which will be executed on the execution // Note: the signer of each message must be either the executor or one of the // agents. Actions []*anypb.Any `protobuf:"bytes,3,rep,name=actions,proto3" json:"actions,omitempty"` // contains filtered or unexported fields }
MsgExec is the Msg/Exec request type.
func (*MsgExec) Descriptor
deprecated
func (*MsgExec) GetActions ¶
func (*MsgExec) GetExecutor ¶
func (*MsgExec) ProtoMessage ¶
func (*MsgExec) ProtoMessage()
func (*MsgExec) ProtoReflect ¶
func (x *MsgExec) ProtoReflect() protoreflect.Message
type MsgExecResponse ¶
type MsgExecResponse struct {
// contains filtered or unexported fields
}
MsgExecResponse is the Msg/Exec response type.
func (*MsgExecResponse) Descriptor
deprecated
func (*MsgExecResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgExecResponse.ProtoReflect.Descriptor instead.
func (*MsgExecResponse) ProtoMessage ¶
func (*MsgExecResponse) ProtoMessage()
func (*MsgExecResponse) ProtoReflect ¶
func (x *MsgExecResponse) ProtoReflect() protoreflect.Message
func (*MsgExecResponse) Reset ¶
func (x *MsgExecResponse) Reset()
func (*MsgExecResponse) String ¶
func (x *MsgExecResponse) String() string
type MsgServer ¶
type MsgServer interface { // UpdateParams updates the module parameters. UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // CreateAgent creates an escrow agent for a proposal. CreateAgent(context.Context, *MsgCreateAgent) (*MsgCreateAgentResponse, error) // SubmitProposal submits a proposal. SubmitProposal(context.Context, *MsgSubmitProposal) (*MsgSubmitProposalResponse, error) // Exec executes a proposal. Exec(context.Context, *MsgExec) (*MsgExecResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgSubmitProposal ¶
type MsgSubmitProposal struct { // the address of the proposer Proposer string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"` // the address of the agent in charge // Note: it must be created by the proposer. Agent string `protobuf:"bytes,2,opt,name=agent,proto3" json:"agent,omitempty"` // the messages which will be executed on the submission // Note: the signer of each message must be either the proposer or the agent. PreActions []*anypb.Any `protobuf:"bytes,3,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec // Note: the signer of each message must be either the proposer or the agent. PostActions []*anypb.Any `protobuf:"bytes,4,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
MsgSubmitProposal is the Msg/SubmitProposal request type.
func (*MsgSubmitProposal) Descriptor
deprecated
func (*MsgSubmitProposal) Descriptor() ([]byte, []int)
Deprecated: Use MsgSubmitProposal.ProtoReflect.Descriptor instead.
func (*MsgSubmitProposal) GetAgent ¶
func (x *MsgSubmitProposal) GetAgent() string
func (*MsgSubmitProposal) GetMetadata ¶
func (x *MsgSubmitProposal) GetMetadata() string
func (*MsgSubmitProposal) GetPostActions ¶
func (x *MsgSubmitProposal) GetPostActions() []*anypb.Any
func (*MsgSubmitProposal) GetPreActions ¶
func (x *MsgSubmitProposal) GetPreActions() []*anypb.Any
func (*MsgSubmitProposal) GetProposer ¶
func (x *MsgSubmitProposal) GetProposer() string
func (*MsgSubmitProposal) ProtoMessage ¶
func (*MsgSubmitProposal) ProtoMessage()
func (*MsgSubmitProposal) ProtoReflect ¶
func (x *MsgSubmitProposal) ProtoReflect() protoreflect.Message
func (*MsgSubmitProposal) Reset ¶
func (x *MsgSubmitProposal) Reset()
func (*MsgSubmitProposal) String ¶
func (x *MsgSubmitProposal) String() string
type MsgSubmitProposalResponse ¶
type MsgSubmitProposalResponse struct {
// contains filtered or unexported fields
}
MsgSubmitProposalResponse is the Msg/SubmitProposal response type.
func (*MsgSubmitProposalResponse) Descriptor
deprecated
func (*MsgSubmitProposalResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSubmitProposalResponse.ProtoReflect.Descriptor instead.
func (*MsgSubmitProposalResponse) ProtoMessage ¶
func (*MsgSubmitProposalResponse) ProtoMessage()
func (*MsgSubmitProposalResponse) ProtoReflect ¶
func (x *MsgSubmitProposalResponse) ProtoReflect() protoreflect.Message
func (*MsgSubmitProposalResponse) Reset ¶
func (x *MsgSubmitProposalResponse) Reset()
func (*MsgSubmitProposalResponse) String ¶
func (x *MsgSubmitProposalResponse) String() string
type MsgUpdateParams ¶
type MsgUpdateParams struct { // the address of the module authority Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // the maximum length allowed for metadata MaxMetadataLength uint64 `protobuf:"varint,2,opt,name=max_metadata_length,json=maxMetadataLength,proto3" json:"max_metadata_length,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
func (*MsgUpdateParams) Descriptor
deprecated
func (*MsgUpdateParams) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParams.ProtoReflect.Descriptor instead.
func (*MsgUpdateParams) GetAuthority ¶
func (x *MsgUpdateParams) GetAuthority() string
func (*MsgUpdateParams) GetMaxMetadataLength ¶
func (x *MsgUpdateParams) GetMaxMetadataLength() uint64
func (*MsgUpdateParams) ProtoMessage ¶
func (*MsgUpdateParams) ProtoMessage()
func (*MsgUpdateParams) ProtoReflect ¶
func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
func (*MsgUpdateParams) Reset ¶
func (x *MsgUpdateParams) Reset()
func (*MsgUpdateParams) String ¶
func (x *MsgUpdateParams) String() string
type MsgUpdateParamsResponse ¶
type MsgUpdateParamsResponse struct {
// contains filtered or unexported fields
}
MsgUpdateParamsResponse is the Msg/UpdateParams response type.
func (*MsgUpdateParamsResponse) Descriptor
deprecated
func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateParamsResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateParamsResponse) ProtoMessage ¶
func (*MsgUpdateParamsResponse) ProtoMessage()
func (*MsgUpdateParamsResponse) ProtoReflect ¶
func (x *MsgUpdateParamsResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateParamsResponse) Reset ¶
func (x *MsgUpdateParamsResponse) Reset()
func (*MsgUpdateParamsResponse) String ¶
func (x *MsgUpdateParamsResponse) String() string
type Params ¶
type Params struct { // the maximum length allowed for metadata MaxMetadataLength uint64 `protobuf:"varint,1,opt,name=max_metadata_length,json=maxMetadataLength,proto3" json:"max_metadata_length,omitempty"` // contains filtered or unexported fields }
Params defines the parameters for the module.
func (*Params) Descriptor
deprecated
func (*Params) GetMaxMetadataLength ¶
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type Proposal ¶
type Proposal struct { // the address of the proposer Proposer []byte `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"` // the messages which has been executed on the submission PreActions []*anypb.Any `protobuf:"bytes,2,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec PostActions []*anypb.Any `protobuf:"bytes,3,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,4,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Proposal defines a proposal.
func (*Proposal) Descriptor
deprecated
func (*Proposal) GetMetadata ¶
func (*Proposal) GetPostActions ¶
func (*Proposal) GetPreActions ¶
func (*Proposal) GetProposer ¶
func (*Proposal) ProtoMessage ¶
func (*Proposal) ProtoMessage()
func (*Proposal) ProtoReflect ¶
func (x *Proposal) ProtoReflect() protoreflect.Message
type QueryAgentRequest ¶
type QueryAgentRequest struct { // the address of an agent Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // contains filtered or unexported fields }
QueryAgentRequest is the request type for the Query/Agent RPC method.
func (*QueryAgentRequest) Descriptor
deprecated
func (*QueryAgentRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentRequest.ProtoReflect.Descriptor instead.
func (*QueryAgentRequest) GetAgent ¶
func (x *QueryAgentRequest) GetAgent() string
func (*QueryAgentRequest) ProtoMessage ¶
func (*QueryAgentRequest) ProtoMessage()
func (*QueryAgentRequest) ProtoReflect ¶
func (x *QueryAgentRequest) ProtoReflect() protoreflect.Message
func (*QueryAgentRequest) Reset ¶
func (x *QueryAgentRequest) Reset()
func (*QueryAgentRequest) String ¶
func (x *QueryAgentRequest) String() string
type QueryAgentResponse ¶
type QueryAgentResponse struct { // the corresponding agent Agent *QueryAgentResponse_Agent `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // contains filtered or unexported fields }
QueryAgentResponse is the response type for the Query/Agent RPC method.
func (*QueryAgentResponse) Descriptor
deprecated
func (*QueryAgentResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentResponse.ProtoReflect.Descriptor instead.
func (*QueryAgentResponse) GetAgent ¶
func (x *QueryAgentResponse) GetAgent() *QueryAgentResponse_Agent
func (*QueryAgentResponse) ProtoMessage ¶
func (*QueryAgentResponse) ProtoMessage()
func (*QueryAgentResponse) ProtoReflect ¶
func (x *QueryAgentResponse) ProtoReflect() protoreflect.Message
func (*QueryAgentResponse) Reset ¶
func (x *QueryAgentResponse) Reset()
func (*QueryAgentResponse) String ¶
func (x *QueryAgentResponse) String() string
type QueryAgentResponse_Agent ¶
type QueryAgentResponse_Agent struct { // the address of the agent Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // the address of the creator Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
Agent defines an account taking charge of a proposal.
func (*QueryAgentResponse_Agent) Descriptor
deprecated
func (*QueryAgentResponse_Agent) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentResponse_Agent.ProtoReflect.Descriptor instead.
func (*QueryAgentResponse_Agent) GetAddress ¶
func (x *QueryAgentResponse_Agent) GetAddress() string
func (*QueryAgentResponse_Agent) GetCreator ¶
func (x *QueryAgentResponse_Agent) GetCreator() string
func (*QueryAgentResponse_Agent) ProtoMessage ¶
func (*QueryAgentResponse_Agent) ProtoMessage()
func (*QueryAgentResponse_Agent) ProtoReflect ¶
func (x *QueryAgentResponse_Agent) ProtoReflect() protoreflect.Message
func (*QueryAgentResponse_Agent) Reset ¶
func (x *QueryAgentResponse_Agent) Reset()
func (*QueryAgentResponse_Agent) String ¶
func (x *QueryAgentResponse_Agent) String() string
type QueryAgentsByCreatorRequest ¶
type QueryAgentsByCreatorRequest struct { // the address of a creator Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAgentsByCreatorRequest is the request type for the Query/AgentsByCreator RPC method.
func (*QueryAgentsByCreatorRequest) Descriptor
deprecated
func (*QueryAgentsByCreatorRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentsByCreatorRequest.ProtoReflect.Descriptor instead.
func (*QueryAgentsByCreatorRequest) GetCreator ¶
func (x *QueryAgentsByCreatorRequest) GetCreator() string
func (*QueryAgentsByCreatorRequest) GetPagination ¶
func (x *QueryAgentsByCreatorRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAgentsByCreatorRequest) ProtoMessage ¶
func (*QueryAgentsByCreatorRequest) ProtoMessage()
func (*QueryAgentsByCreatorRequest) ProtoReflect ¶
func (x *QueryAgentsByCreatorRequest) ProtoReflect() protoreflect.Message
func (*QueryAgentsByCreatorRequest) Reset ¶
func (x *QueryAgentsByCreatorRequest) Reset()
func (*QueryAgentsByCreatorRequest) String ¶
func (x *QueryAgentsByCreatorRequest) String() string
type QueryAgentsByCreatorResponse ¶
type QueryAgentsByCreatorResponse struct { // all the agents created by the creator Agents []*QueryAgentsByCreatorResponse_Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAgentsByCreatorResponse is the response type for the Query/AgentsByCreator RPC method.
func (*QueryAgentsByCreatorResponse) Descriptor
deprecated
func (*QueryAgentsByCreatorResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentsByCreatorResponse.ProtoReflect.Descriptor instead.
func (*QueryAgentsByCreatorResponse) GetAgents ¶
func (x *QueryAgentsByCreatorResponse) GetAgents() []*QueryAgentsByCreatorResponse_Agent
func (*QueryAgentsByCreatorResponse) GetPagination ¶
func (x *QueryAgentsByCreatorResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAgentsByCreatorResponse) ProtoMessage ¶
func (*QueryAgentsByCreatorResponse) ProtoMessage()
func (*QueryAgentsByCreatorResponse) ProtoReflect ¶
func (x *QueryAgentsByCreatorResponse) ProtoReflect() protoreflect.Message
func (*QueryAgentsByCreatorResponse) Reset ¶
func (x *QueryAgentsByCreatorResponse) Reset()
func (*QueryAgentsByCreatorResponse) String ¶
func (x *QueryAgentsByCreatorResponse) String() string
type QueryAgentsByCreatorResponse_Agent ¶
type QueryAgentsByCreatorResponse_Agent struct { // the address of the agent Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // the address of the creator Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
Agent defines an account taking charge of a proposal.
func (*QueryAgentsByCreatorResponse_Agent) Descriptor
deprecated
func (*QueryAgentsByCreatorResponse_Agent) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentsByCreatorResponse_Agent.ProtoReflect.Descriptor instead.
func (*QueryAgentsByCreatorResponse_Agent) GetAddress ¶
func (x *QueryAgentsByCreatorResponse_Agent) GetAddress() string
func (*QueryAgentsByCreatorResponse_Agent) GetCreator ¶
func (x *QueryAgentsByCreatorResponse_Agent) GetCreator() string
func (*QueryAgentsByCreatorResponse_Agent) ProtoMessage ¶
func (*QueryAgentsByCreatorResponse_Agent) ProtoMessage()
func (*QueryAgentsByCreatorResponse_Agent) ProtoReflect ¶
func (x *QueryAgentsByCreatorResponse_Agent) ProtoReflect() protoreflect.Message
func (*QueryAgentsByCreatorResponse_Agent) Reset ¶
func (x *QueryAgentsByCreatorResponse_Agent) Reset()
func (*QueryAgentsByCreatorResponse_Agent) String ¶
func (x *QueryAgentsByCreatorResponse_Agent) String() string
type QueryAgentsRequest ¶
type QueryAgentsRequest struct { // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAgentsRequest is the request type for the Query/Agents RPC method.
func (*QueryAgentsRequest) Descriptor
deprecated
func (*QueryAgentsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentsRequest.ProtoReflect.Descriptor instead.
func (*QueryAgentsRequest) GetPagination ¶
func (x *QueryAgentsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryAgentsRequest) ProtoMessage ¶
func (*QueryAgentsRequest) ProtoMessage()
func (*QueryAgentsRequest) ProtoReflect ¶
func (x *QueryAgentsRequest) ProtoReflect() protoreflect.Message
func (*QueryAgentsRequest) Reset ¶
func (x *QueryAgentsRequest) Reset()
func (*QueryAgentsRequest) String ¶
func (x *QueryAgentsRequest) String() string
type QueryAgentsResponse ¶
type QueryAgentsResponse struct { // all the agents Agents []*QueryAgentsResponse_Agent `protobuf:"bytes,1,rep,name=agents,proto3" json:"agents,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryAgentsResponse is the response type for the Query/Agents RPC method.
func (*QueryAgentsResponse) Descriptor
deprecated
func (*QueryAgentsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentsResponse.ProtoReflect.Descriptor instead.
func (*QueryAgentsResponse) GetAgents ¶
func (x *QueryAgentsResponse) GetAgents() []*QueryAgentsResponse_Agent
func (*QueryAgentsResponse) GetPagination ¶
func (x *QueryAgentsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryAgentsResponse) ProtoMessage ¶
func (*QueryAgentsResponse) ProtoMessage()
func (*QueryAgentsResponse) ProtoReflect ¶
func (x *QueryAgentsResponse) ProtoReflect() protoreflect.Message
func (*QueryAgentsResponse) Reset ¶
func (x *QueryAgentsResponse) Reset()
func (*QueryAgentsResponse) String ¶
func (x *QueryAgentsResponse) String() string
type QueryAgentsResponse_Agent ¶
type QueryAgentsResponse_Agent struct { // the address of the agent Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // the address of the creator Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"` // contains filtered or unexported fields }
Agent defines an account taking charge of a proposal.
func (*QueryAgentsResponse_Agent) Descriptor
deprecated
func (*QueryAgentsResponse_Agent) Descriptor() ([]byte, []int)
Deprecated: Use QueryAgentsResponse_Agent.ProtoReflect.Descriptor instead.
func (*QueryAgentsResponse_Agent) GetAddress ¶
func (x *QueryAgentsResponse_Agent) GetAddress() string
func (*QueryAgentsResponse_Agent) GetCreator ¶
func (x *QueryAgentsResponse_Agent) GetCreator() string
func (*QueryAgentsResponse_Agent) ProtoMessage ¶
func (*QueryAgentsResponse_Agent) ProtoMessage()
func (*QueryAgentsResponse_Agent) ProtoReflect ¶
func (x *QueryAgentsResponse_Agent) ProtoReflect() protoreflect.Message
func (*QueryAgentsResponse_Agent) Reset ¶
func (x *QueryAgentsResponse_Agent) Reset()
func (*QueryAgentsResponse_Agent) String ¶
func (x *QueryAgentsResponse_Agent) String() string
type QueryClient ¶
type QueryClient interface { // Params queries the module parameters. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Agent queries an agent. Agent(ctx context.Context, in *QueryAgentRequest, opts ...grpc.CallOption) (*QueryAgentResponse, error) // AgentsByCreator queries all the agents by its creator. AgentsByCreator(ctx context.Context, in *QueryAgentsByCreatorRequest, opts ...grpc.CallOption) (*QueryAgentsByCreatorResponse, error) // Agents queries all the agents. Agents(ctx context.Context, in *QueryAgentsRequest, opts ...grpc.CallOption) (*QueryAgentsResponse, error) // Proposal queries a proposal. Proposal(ctx context.Context, in *QueryProposalRequest, opts ...grpc.CallOption) (*QueryProposalResponse, error) // ProposalsByProposer queries all the proposals by its proposer. ProposalsByProposer(ctx context.Context, in *QueryProposalsByProposerRequest, opts ...grpc.CallOption) (*QueryProposalsByProposerResponse, error) // Proposals queries all the proposals. Proposals(ctx context.Context, in *QueryProposalsRequest, opts ...grpc.CallOption) (*QueryProposalsResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc.ClientConnInterface) QueryClient
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor
deprecated
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsRequest.ProtoReflect.Descriptor instead.
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) ProtoReflect ¶
func (x *QueryParamsRequest) ProtoReflect() protoreflect.Message
func (*QueryParamsRequest) Reset ¶
func (x *QueryParamsRequest) Reset()
func (*QueryParamsRequest) String ¶
func (x *QueryParamsRequest) String() string
type QueryParamsResponse ¶
type QueryParamsResponse struct { // the maximum length allowed for metadata MaxMetadataLength uint64 `protobuf:"varint,1,opt,name=max_metadata_length,json=maxMetadataLength,proto3" json:"max_metadata_length,omitempty"` // contains filtered or unexported fields }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetMaxMetadataLength ¶
func (x *QueryParamsResponse) GetMaxMetadataLength() uint64
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) ProtoReflect ¶
func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
func (*QueryParamsResponse) Reset ¶
func (x *QueryParamsResponse) Reset()
func (*QueryParamsResponse) String ¶
func (x *QueryParamsResponse) String() string
type QueryProposalRequest ¶
type QueryProposalRequest struct { // the address of an agent in charge Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // contains filtered or unexported fields }
QueryProposalRequest is the request type for the Query/Proposal RPC method.
func (*QueryProposalRequest) Descriptor
deprecated
func (*QueryProposalRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalRequest.ProtoReflect.Descriptor instead.
func (*QueryProposalRequest) GetAgent ¶
func (x *QueryProposalRequest) GetAgent() string
func (*QueryProposalRequest) ProtoMessage ¶
func (*QueryProposalRequest) ProtoMessage()
func (*QueryProposalRequest) ProtoReflect ¶
func (x *QueryProposalRequest) ProtoReflect() protoreflect.Message
func (*QueryProposalRequest) Reset ¶
func (x *QueryProposalRequest) Reset()
func (*QueryProposalRequest) String ¶
func (x *QueryProposalRequest) String() string
type QueryProposalResponse ¶
type QueryProposalResponse struct { // the corresponding proposal Proposal *QueryProposalResponse_Proposal `protobuf:"bytes,1,opt,name=proposal,proto3" json:"proposal,omitempty"` // contains filtered or unexported fields }
QueryProposalResponse is the response type for the Query/Proposal RPC method.
func (*QueryProposalResponse) Descriptor
deprecated
func (*QueryProposalResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalResponse.ProtoReflect.Descriptor instead.
func (*QueryProposalResponse) GetProposal ¶
func (x *QueryProposalResponse) GetProposal() *QueryProposalResponse_Proposal
func (*QueryProposalResponse) ProtoMessage ¶
func (*QueryProposalResponse) ProtoMessage()
func (*QueryProposalResponse) ProtoReflect ¶
func (x *QueryProposalResponse) ProtoReflect() protoreflect.Message
func (*QueryProposalResponse) Reset ¶
func (x *QueryProposalResponse) Reset()
func (*QueryProposalResponse) String ¶
func (x *QueryProposalResponse) String() string
type QueryProposalResponse_Proposal ¶
type QueryProposalResponse_Proposal struct { // the address of the agent in charge Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // the address of the proposer Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // the messages which has been executed on the submission PreActions []*anypb.Any `protobuf:"bytes,3,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec PostActions []*anypb.Any `protobuf:"bytes,4,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Proposal defines a proposal.
func (*QueryProposalResponse_Proposal) Descriptor
deprecated
func (*QueryProposalResponse_Proposal) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalResponse_Proposal.ProtoReflect.Descriptor instead.
func (*QueryProposalResponse_Proposal) GetAgent ¶
func (x *QueryProposalResponse_Proposal) GetAgent() string
func (*QueryProposalResponse_Proposal) GetMetadata ¶
func (x *QueryProposalResponse_Proposal) GetMetadata() string
func (*QueryProposalResponse_Proposal) GetPostActions ¶
func (x *QueryProposalResponse_Proposal) GetPostActions() []*anypb.Any
func (*QueryProposalResponse_Proposal) GetPreActions ¶
func (x *QueryProposalResponse_Proposal) GetPreActions() []*anypb.Any
func (*QueryProposalResponse_Proposal) GetProposer ¶
func (x *QueryProposalResponse_Proposal) GetProposer() string
func (*QueryProposalResponse_Proposal) ProtoMessage ¶
func (*QueryProposalResponse_Proposal) ProtoMessage()
func (*QueryProposalResponse_Proposal) ProtoReflect ¶
func (x *QueryProposalResponse_Proposal) ProtoReflect() protoreflect.Message
func (*QueryProposalResponse_Proposal) Reset ¶
func (x *QueryProposalResponse_Proposal) Reset()
func (*QueryProposalResponse_Proposal) String ¶
func (x *QueryProposalResponse_Proposal) String() string
type QueryProposalsByProposerRequest ¶
type QueryProposalsByProposerRequest struct { // the address of a proposer Proposer string `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"` // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProposalsByProposerRequest is the request type for the Query/ProposalsByProposer RPC method.
func (*QueryProposalsByProposerRequest) Descriptor
deprecated
func (*QueryProposalsByProposerRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalsByProposerRequest.ProtoReflect.Descriptor instead.
func (*QueryProposalsByProposerRequest) GetPagination ¶
func (x *QueryProposalsByProposerRequest) GetPagination() *v1beta1.PageRequest
func (*QueryProposalsByProposerRequest) GetProposer ¶
func (x *QueryProposalsByProposerRequest) GetProposer() string
func (*QueryProposalsByProposerRequest) ProtoMessage ¶
func (*QueryProposalsByProposerRequest) ProtoMessage()
func (*QueryProposalsByProposerRequest) ProtoReflect ¶
func (x *QueryProposalsByProposerRequest) ProtoReflect() protoreflect.Message
func (*QueryProposalsByProposerRequest) Reset ¶
func (x *QueryProposalsByProposerRequest) Reset()
func (*QueryProposalsByProposerRequest) String ¶
func (x *QueryProposalsByProposerRequest) String() string
type QueryProposalsByProposerResponse ¶
type QueryProposalsByProposerResponse struct { // all the proposals proposed by the proposer Proposals []*QueryProposalsByProposerResponse_Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProposalsByProposerResponse is the response type for the Query/ProposalsByProposer RPC method.
func (*QueryProposalsByProposerResponse) Descriptor
deprecated
func (*QueryProposalsByProposerResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalsByProposerResponse.ProtoReflect.Descriptor instead.
func (*QueryProposalsByProposerResponse) GetPagination ¶
func (x *QueryProposalsByProposerResponse) GetPagination() *v1beta1.PageResponse
func (*QueryProposalsByProposerResponse) GetProposals ¶
func (x *QueryProposalsByProposerResponse) GetProposals() []*QueryProposalsByProposerResponse_Proposal
func (*QueryProposalsByProposerResponse) ProtoMessage ¶
func (*QueryProposalsByProposerResponse) ProtoMessage()
func (*QueryProposalsByProposerResponse) ProtoReflect ¶
func (x *QueryProposalsByProposerResponse) ProtoReflect() protoreflect.Message
func (*QueryProposalsByProposerResponse) Reset ¶
func (x *QueryProposalsByProposerResponse) Reset()
func (*QueryProposalsByProposerResponse) String ¶
func (x *QueryProposalsByProposerResponse) String() string
type QueryProposalsByProposerResponse_Proposal ¶
type QueryProposalsByProposerResponse_Proposal struct { // the address of the agent in charge Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // the address of the proposer Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // the messages which has been executed on the submission PreActions []*anypb.Any `protobuf:"bytes,3,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec PostActions []*anypb.Any `protobuf:"bytes,4,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Proposal defines a proposal.
func (*QueryProposalsByProposerResponse_Proposal) Descriptor
deprecated
func (*QueryProposalsByProposerResponse_Proposal) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalsByProposerResponse_Proposal.ProtoReflect.Descriptor instead.
func (*QueryProposalsByProposerResponse_Proposal) GetAgent ¶
func (x *QueryProposalsByProposerResponse_Proposal) GetAgent() string
func (*QueryProposalsByProposerResponse_Proposal) GetMetadata ¶
func (x *QueryProposalsByProposerResponse_Proposal) GetMetadata() string
func (*QueryProposalsByProposerResponse_Proposal) GetPostActions ¶
func (x *QueryProposalsByProposerResponse_Proposal) GetPostActions() []*anypb.Any
func (*QueryProposalsByProposerResponse_Proposal) GetPreActions ¶
func (x *QueryProposalsByProposerResponse_Proposal) GetPreActions() []*anypb.Any
func (*QueryProposalsByProposerResponse_Proposal) GetProposer ¶
func (x *QueryProposalsByProposerResponse_Proposal) GetProposer() string
func (*QueryProposalsByProposerResponse_Proposal) ProtoMessage ¶
func (*QueryProposalsByProposerResponse_Proposal) ProtoMessage()
func (*QueryProposalsByProposerResponse_Proposal) ProtoReflect ¶
func (x *QueryProposalsByProposerResponse_Proposal) ProtoReflect() protoreflect.Message
func (*QueryProposalsByProposerResponse_Proposal) Reset ¶
func (x *QueryProposalsByProposerResponse_Proposal) Reset()
func (*QueryProposalsByProposerResponse_Proposal) String ¶
func (x *QueryProposalsByProposerResponse_Proposal) String() string
type QueryProposalsRequest ¶
type QueryProposalsRequest struct { // optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProposalsRequest is the request type for the Query/Proposals RPC method.
func (*QueryProposalsRequest) Descriptor
deprecated
func (*QueryProposalsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalsRequest.ProtoReflect.Descriptor instead.
func (*QueryProposalsRequest) GetPagination ¶
func (x *QueryProposalsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryProposalsRequest) ProtoMessage ¶
func (*QueryProposalsRequest) ProtoMessage()
func (*QueryProposalsRequest) ProtoReflect ¶
func (x *QueryProposalsRequest) ProtoReflect() protoreflect.Message
func (*QueryProposalsRequest) Reset ¶
func (x *QueryProposalsRequest) Reset()
func (*QueryProposalsRequest) String ¶
func (x *QueryProposalsRequest) String() string
type QueryProposalsResponse ¶
type QueryProposalsResponse struct { // all the proposals Proposals []*QueryProposalsResponse_Proposal `protobuf:"bytes,1,rep,name=proposals,proto3" json:"proposals,omitempty"` // pagination in the response Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryProposalsResponse is the response type for the Query/Proposals RPC method.
func (*QueryProposalsResponse) Descriptor
deprecated
func (*QueryProposalsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalsResponse.ProtoReflect.Descriptor instead.
func (*QueryProposalsResponse) GetPagination ¶
func (x *QueryProposalsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryProposalsResponse) GetProposals ¶
func (x *QueryProposalsResponse) GetProposals() []*QueryProposalsResponse_Proposal
func (*QueryProposalsResponse) ProtoMessage ¶
func (*QueryProposalsResponse) ProtoMessage()
func (*QueryProposalsResponse) ProtoReflect ¶
func (x *QueryProposalsResponse) ProtoReflect() protoreflect.Message
func (*QueryProposalsResponse) Reset ¶
func (x *QueryProposalsResponse) Reset()
func (*QueryProposalsResponse) String ¶
func (x *QueryProposalsResponse) String() string
type QueryProposalsResponse_Proposal ¶
type QueryProposalsResponse_Proposal struct { // the address of the agent in charge Agent string `protobuf:"bytes,1,opt,name=agent,proto3" json:"agent,omitempty"` // the address of the proposer Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"` // the messages which has been executed on the submission PreActions []*anypb.Any `protobuf:"bytes,3,rep,name=pre_actions,json=preActions,proto3" json:"pre_actions,omitempty"` // the messages which will be executed after the actions included in Msg/Exec PostActions []*anypb.Any `protobuf:"bytes,4,rep,name=post_actions,json=postActions,proto3" json:"post_actions,omitempty"` // any arbitrary metadata attached to the proposal Metadata string `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"` // contains filtered or unexported fields }
Proposal defines a proposal.
func (*QueryProposalsResponse_Proposal) Descriptor
deprecated
func (*QueryProposalsResponse_Proposal) Descriptor() ([]byte, []int)
Deprecated: Use QueryProposalsResponse_Proposal.ProtoReflect.Descriptor instead.
func (*QueryProposalsResponse_Proposal) GetAgent ¶
func (x *QueryProposalsResponse_Proposal) GetAgent() string
func (*QueryProposalsResponse_Proposal) GetMetadata ¶
func (x *QueryProposalsResponse_Proposal) GetMetadata() string
func (*QueryProposalsResponse_Proposal) GetPostActions ¶
func (x *QueryProposalsResponse_Proposal) GetPostActions() []*anypb.Any
func (*QueryProposalsResponse_Proposal) GetPreActions ¶
func (x *QueryProposalsResponse_Proposal) GetPreActions() []*anypb.Any
func (*QueryProposalsResponse_Proposal) GetProposer ¶
func (x *QueryProposalsResponse_Proposal) GetProposer() string
func (*QueryProposalsResponse_Proposal) ProtoMessage ¶
func (*QueryProposalsResponse_Proposal) ProtoMessage()
func (*QueryProposalsResponse_Proposal) ProtoReflect ¶
func (x *QueryProposalsResponse_Proposal) ProtoReflect() protoreflect.Message
func (*QueryProposalsResponse_Proposal) Reset ¶
func (x *QueryProposalsResponse_Proposal) Reset()
func (*QueryProposalsResponse_Proposal) String ¶
func (x *QueryProposalsResponse_Proposal) String() string
type QueryServer ¶
type QueryServer interface { // Params queries the module parameters. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Agent queries an agent. Agent(context.Context, *QueryAgentRequest) (*QueryAgentResponse, error) // AgentsByCreator queries all the agents by its creator. AgentsByCreator(context.Context, *QueryAgentsByCreatorRequest) (*QueryAgentsByCreatorResponse, error) // Agents queries all the agents. Agents(context.Context, *QueryAgentsRequest) (*QueryAgentsResponse, error) // Proposal queries a proposal. Proposal(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error) // ProposalsByProposer queries all the proposals by its proposer. ProposalsByProposer(context.Context, *QueryProposalsByProposerRequest) (*QueryProposalsByProposerResponse, error) // Proposals queries all the proposals. Proposals(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) CreateAgent ¶
func (UnimplementedMsgServer) CreateAgent(context.Context, *MsgCreateAgent) (*MsgCreateAgentResponse, error)
func (UnimplementedMsgServer) Exec ¶
func (UnimplementedMsgServer) Exec(context.Context, *MsgExec) (*MsgExecResponse, error)
func (UnimplementedMsgServer) SubmitProposal ¶
func (UnimplementedMsgServer) SubmitProposal(context.Context, *MsgSubmitProposal) (*MsgSubmitProposalResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Agent ¶
func (UnimplementedQueryServer) Agent(context.Context, *QueryAgentRequest) (*QueryAgentResponse, error)
func (UnimplementedQueryServer) Agents ¶
func (UnimplementedQueryServer) Agents(context.Context, *QueryAgentsRequest) (*QueryAgentsResponse, error)
func (UnimplementedQueryServer) AgentsByCreator ¶
func (UnimplementedQueryServer) AgentsByCreator(context.Context, *QueryAgentsByCreatorRequest) (*QueryAgentsByCreatorResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) Proposal ¶
func (UnimplementedQueryServer) Proposal(context.Context, *QueryProposalRequest) (*QueryProposalResponse, error)
func (UnimplementedQueryServer) Proposals ¶
func (UnimplementedQueryServer) Proposals(context.Context, *QueryProposalsRequest) (*QueryProposalsResponse, error)
func (UnimplementedQueryServer) ProposalsByProposer ¶
func (UnimplementedQueryServer) ProposalsByProposer(context.Context, *QueryProposalsByProposerRequest) (*QueryProposalsByProposerResponse, error)
type UnsafeMsgServer ¶
type UnsafeMsgServer interface {
// contains filtered or unexported methods
}
UnsafeMsgServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to MsgServer will result in compilation errors.
type UnsafeQueryServer ¶
type UnsafeQueryServer interface {
// contains filtered or unexported methods
}
UnsafeQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QueryServer will result in compilation errors.