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.
Index ¶
- Constants
- Variables
- func RegisterMsgServer(s grpc.ServiceRegistrar, srv MsgServer)
- func RegisterQueryServer(s grpc.ServiceRegistrar, srv QueryServer)
- type CompactRequest
- func (*CompactRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CompactRequest) GetExpirationHeight() int64
- func (x *CompactRequest) GetProvider() string
- func (x *CompactRequest) GetRequestContextBatchCounter() uint64
- func (x *CompactRequest) GetRequestContextId() string
- func (x *CompactRequest) GetRequestHeight() int64
- func (x *CompactRequest) GetServiceFee() []*v1beta1.Coin
- func (*CompactRequest) ProtoMessage()
- func (x *CompactRequest) ProtoReflect() protoreflect.Message
- func (x *CompactRequest) Reset()
- func (x *CompactRequest) String() string
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)deprecated
- func (x *GenesisState) GetBindings() []*ServiceBinding
- func (x *GenesisState) GetDefinitions() []*ServiceDefinition
- func (x *GenesisState) GetParams() *Params
- func (x *GenesisState) GetRequestContexts() map[string]*RequestContext
- func (x *GenesisState) GetWithdrawAddresses() map[string]string
- func (*GenesisState) ProtoMessage()
- func (x *GenesisState) ProtoReflect() protoreflect.Message
- func (x *GenesisState) Reset()
- func (x *GenesisState) String() string
- type MsgBindService
- func (*MsgBindService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgBindService) GetDeposit() []*v1beta1.Coin
- func (x *MsgBindService) GetOptions() string
- func (x *MsgBindService) GetOwner() string
- func (x *MsgBindService) GetPricing() string
- func (x *MsgBindService) GetProvider() string
- func (x *MsgBindService) GetQos() uint64
- func (x *MsgBindService) GetServiceName() string
- func (*MsgBindService) ProtoMessage()
- func (x *MsgBindService) ProtoReflect() protoreflect.Message
- func (x *MsgBindService) Reset()
- func (x *MsgBindService) String() string
- type MsgBindServiceResponse
- type MsgCallService
- func (*MsgCallService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCallService) GetConsumer() string
- func (x *MsgCallService) GetInput() string
- func (x *MsgCallService) GetProviders() []string
- func (x *MsgCallService) GetRepeated() bool
- func (x *MsgCallService) GetRepeatedFrequency() uint64
- func (x *MsgCallService) GetRepeatedTotal() int64
- func (x *MsgCallService) GetServiceFeeCap() []*v1beta1.Coin
- func (x *MsgCallService) GetServiceName() string
- func (x *MsgCallService) GetTimeout() int64
- func (*MsgCallService) ProtoMessage()
- func (x *MsgCallService) ProtoReflect() protoreflect.Message
- func (x *MsgCallService) Reset()
- func (x *MsgCallService) String() string
- type MsgCallServiceResponse
- func (*MsgCallServiceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *MsgCallServiceResponse) GetRequestContextId() string
- func (*MsgCallServiceResponse) ProtoMessage()
- func (x *MsgCallServiceResponse) ProtoReflect() protoreflect.Message
- func (x *MsgCallServiceResponse) Reset()
- func (x *MsgCallServiceResponse) String() string
- type MsgClient
- type MsgDefineService
- func (*MsgDefineService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDefineService) GetAuthor() string
- func (x *MsgDefineService) GetAuthorDescription() string
- func (x *MsgDefineService) GetDescription() string
- func (x *MsgDefineService) GetName() string
- func (x *MsgDefineService) GetSchemas() string
- func (x *MsgDefineService) GetTags() []string
- func (*MsgDefineService) ProtoMessage()
- func (x *MsgDefineService) ProtoReflect() protoreflect.Message
- func (x *MsgDefineService) Reset()
- func (x *MsgDefineService) String() string
- type MsgDefineServiceResponse
- type MsgDisableServiceBinding
- func (*MsgDisableServiceBinding) Descriptor() ([]byte, []int)deprecated
- func (x *MsgDisableServiceBinding) GetOwner() string
- func (x *MsgDisableServiceBinding) GetProvider() string
- func (x *MsgDisableServiceBinding) GetServiceName() string
- func (*MsgDisableServiceBinding) ProtoMessage()
- func (x *MsgDisableServiceBinding) ProtoReflect() protoreflect.Message
- func (x *MsgDisableServiceBinding) Reset()
- func (x *MsgDisableServiceBinding) String() string
- type MsgDisableServiceBindingResponse
- func (*MsgDisableServiceBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgDisableServiceBindingResponse) ProtoMessage()
- func (x *MsgDisableServiceBindingResponse) ProtoReflect() protoreflect.Message
- func (x *MsgDisableServiceBindingResponse) Reset()
- func (x *MsgDisableServiceBindingResponse) String() string
- type MsgEnableServiceBinding
- func (*MsgEnableServiceBinding) Descriptor() ([]byte, []int)deprecated
- func (x *MsgEnableServiceBinding) GetDeposit() []*v1beta1.Coin
- func (x *MsgEnableServiceBinding) GetOwner() string
- func (x *MsgEnableServiceBinding) GetProvider() string
- func (x *MsgEnableServiceBinding) GetServiceName() string
- func (*MsgEnableServiceBinding) ProtoMessage()
- func (x *MsgEnableServiceBinding) ProtoReflect() protoreflect.Message
- func (x *MsgEnableServiceBinding) Reset()
- func (x *MsgEnableServiceBinding) String() string
- type MsgEnableServiceBindingResponse
- func (*MsgEnableServiceBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgEnableServiceBindingResponse) ProtoMessage()
- func (x *MsgEnableServiceBindingResponse) ProtoReflect() protoreflect.Message
- func (x *MsgEnableServiceBindingResponse) Reset()
- func (x *MsgEnableServiceBindingResponse) String() string
- type MsgKillRequestContext
- func (*MsgKillRequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *MsgKillRequestContext) GetConsumer() string
- func (x *MsgKillRequestContext) GetRequestContextId() string
- func (*MsgKillRequestContext) ProtoMessage()
- func (x *MsgKillRequestContext) ProtoReflect() protoreflect.Message
- func (x *MsgKillRequestContext) Reset()
- func (x *MsgKillRequestContext) String() string
- type MsgKillRequestContextResponse
- func (*MsgKillRequestContextResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgKillRequestContextResponse) ProtoMessage()
- func (x *MsgKillRequestContextResponse) ProtoReflect() protoreflect.Message
- func (x *MsgKillRequestContextResponse) Reset()
- func (x *MsgKillRequestContextResponse) String() string
- type MsgPauseRequestContext
- func (*MsgPauseRequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *MsgPauseRequestContext) GetConsumer() string
- func (x *MsgPauseRequestContext) GetRequestContextId() string
- func (*MsgPauseRequestContext) ProtoMessage()
- func (x *MsgPauseRequestContext) ProtoReflect() protoreflect.Message
- func (x *MsgPauseRequestContext) Reset()
- func (x *MsgPauseRequestContext) String() string
- type MsgPauseRequestContextResponse
- func (*MsgPauseRequestContextResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgPauseRequestContextResponse) ProtoMessage()
- func (x *MsgPauseRequestContextResponse) ProtoReflect() protoreflect.Message
- func (x *MsgPauseRequestContextResponse) Reset()
- func (x *MsgPauseRequestContextResponse) String() string
- type MsgRefundServiceDeposit
- func (*MsgRefundServiceDeposit) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRefundServiceDeposit) GetOwner() string
- func (x *MsgRefundServiceDeposit) GetProvider() string
- func (x *MsgRefundServiceDeposit) GetServiceName() string
- func (*MsgRefundServiceDeposit) ProtoMessage()
- func (x *MsgRefundServiceDeposit) ProtoReflect() protoreflect.Message
- func (x *MsgRefundServiceDeposit) Reset()
- func (x *MsgRefundServiceDeposit) String() string
- type MsgRefundServiceDepositResponse
- func (*MsgRefundServiceDepositResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgRefundServiceDepositResponse) ProtoMessage()
- func (x *MsgRefundServiceDepositResponse) ProtoReflect() protoreflect.Message
- func (x *MsgRefundServiceDepositResponse) Reset()
- func (x *MsgRefundServiceDepositResponse) String() string
- type MsgRespondService
- func (*MsgRespondService) Descriptor() ([]byte, []int)deprecated
- func (x *MsgRespondService) GetOutput() string
- func (x *MsgRespondService) GetProvider() string
- func (x *MsgRespondService) GetRequestId() string
- func (x *MsgRespondService) GetResult() string
- func (*MsgRespondService) ProtoMessage()
- func (x *MsgRespondService) ProtoReflect() protoreflect.Message
- func (x *MsgRespondService) Reset()
- func (x *MsgRespondService) String() string
- type MsgRespondServiceResponse
- type MsgServer
- type MsgSetWithdrawAddress
- func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int)deprecated
- func (x *MsgSetWithdrawAddress) GetOwner() string
- func (x *MsgSetWithdrawAddress) GetWithdrawAddress() string
- func (*MsgSetWithdrawAddress) ProtoMessage()
- func (x *MsgSetWithdrawAddress) ProtoReflect() protoreflect.Message
- func (x *MsgSetWithdrawAddress) Reset()
- func (x *MsgSetWithdrawAddress) String() string
- type MsgSetWithdrawAddressResponse
- func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgSetWithdrawAddressResponse) ProtoMessage()
- func (x *MsgSetWithdrawAddressResponse) ProtoReflect() protoreflect.Message
- func (x *MsgSetWithdrawAddressResponse) Reset()
- func (x *MsgSetWithdrawAddressResponse) String() string
- type MsgStartRequestContext
- func (*MsgStartRequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *MsgStartRequestContext) GetConsumer() string
- func (x *MsgStartRequestContext) GetRequestContextId() string
- func (*MsgStartRequestContext) ProtoMessage()
- func (x *MsgStartRequestContext) ProtoReflect() protoreflect.Message
- func (x *MsgStartRequestContext) Reset()
- func (x *MsgStartRequestContext) String() string
- type MsgStartRequestContextResponse
- func (*MsgStartRequestContextResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgStartRequestContextResponse) ProtoMessage()
- func (x *MsgStartRequestContextResponse) ProtoReflect() protoreflect.Message
- func (x *MsgStartRequestContextResponse) Reset()
- func (x *MsgStartRequestContextResponse) String() string
- type MsgUpdateParams
- func (*MsgUpdateParams) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateParams) GetAuthority() string
- func (x *MsgUpdateParams) GetParams() *Params
- func (*MsgUpdateParams) ProtoMessage()
- func (x *MsgUpdateParams) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateParams) Reset()
- func (x *MsgUpdateParams) String() string
- type MsgUpdateParamsResponse
- type MsgUpdateRequestContext
- func (*MsgUpdateRequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateRequestContext) GetConsumer() string
- func (x *MsgUpdateRequestContext) GetProviders() []string
- func (x *MsgUpdateRequestContext) GetRepeatedFrequency() uint64
- func (x *MsgUpdateRequestContext) GetRepeatedTotal() int64
- func (x *MsgUpdateRequestContext) GetRequestContextId() string
- func (x *MsgUpdateRequestContext) GetServiceFeeCap() []*v1beta1.Coin
- func (x *MsgUpdateRequestContext) GetTimeout() int64
- func (*MsgUpdateRequestContext) ProtoMessage()
- func (x *MsgUpdateRequestContext) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateRequestContext) Reset()
- func (x *MsgUpdateRequestContext) String() string
- type MsgUpdateRequestContextResponse
- func (*MsgUpdateRequestContextResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateRequestContextResponse) ProtoMessage()
- func (x *MsgUpdateRequestContextResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateRequestContextResponse) Reset()
- func (x *MsgUpdateRequestContextResponse) String() string
- type MsgUpdateServiceBinding
- func (*MsgUpdateServiceBinding) Descriptor() ([]byte, []int)deprecated
- func (x *MsgUpdateServiceBinding) GetDeposit() []*v1beta1.Coin
- func (x *MsgUpdateServiceBinding) GetOptions() string
- func (x *MsgUpdateServiceBinding) GetOwner() string
- func (x *MsgUpdateServiceBinding) GetPricing() string
- func (x *MsgUpdateServiceBinding) GetProvider() string
- func (x *MsgUpdateServiceBinding) GetQos() uint64
- func (x *MsgUpdateServiceBinding) GetServiceName() string
- func (*MsgUpdateServiceBinding) ProtoMessage()
- func (x *MsgUpdateServiceBinding) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateServiceBinding) Reset()
- func (x *MsgUpdateServiceBinding) String() string
- type MsgUpdateServiceBindingResponse
- func (*MsgUpdateServiceBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgUpdateServiceBindingResponse) ProtoMessage()
- func (x *MsgUpdateServiceBindingResponse) ProtoReflect() protoreflect.Message
- func (x *MsgUpdateServiceBindingResponse) Reset()
- func (x *MsgUpdateServiceBindingResponse) String() string
- type MsgWithdrawEarnedFees
- func (*MsgWithdrawEarnedFees) Descriptor() ([]byte, []int)deprecated
- func (x *MsgWithdrawEarnedFees) GetOwner() string
- func (x *MsgWithdrawEarnedFees) GetProvider() string
- func (*MsgWithdrawEarnedFees) ProtoMessage()
- func (x *MsgWithdrawEarnedFees) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawEarnedFees) Reset()
- func (x *MsgWithdrawEarnedFees) String() string
- type MsgWithdrawEarnedFeesResponse
- func (*MsgWithdrawEarnedFeesResponse) Descriptor() ([]byte, []int)deprecated
- func (*MsgWithdrawEarnedFeesResponse) ProtoMessage()
- func (x *MsgWithdrawEarnedFeesResponse) ProtoReflect() protoreflect.Message
- func (x *MsgWithdrawEarnedFeesResponse) Reset()
- func (x *MsgWithdrawEarnedFeesResponse) String() string
- type Params
- func (*Params) Descriptor() ([]byte, []int)deprecated
- func (x *Params) GetArbitrationTimeLimit() *durationpb.Duration
- func (x *Params) GetBaseDenom() string
- func (x *Params) GetComplaintRetrospect() *durationpb.Duration
- func (x *Params) GetMaxRequestTimeout() int64
- func (x *Params) GetMinDeposit() []*v1beta1.Coin
- func (x *Params) GetMinDepositMultiple() int64
- func (x *Params) GetRestrictedServiceFeeDenom() bool
- func (x *Params) GetServiceFeeTax() string
- func (x *Params) GetSlashFraction() string
- func (x *Params) GetTxSizeLimit() uint64
- func (*Params) ProtoMessage()
- func (x *Params) ProtoReflect() protoreflect.Message
- func (x *Params) Reset()
- func (x *Params) String() string
- type Pricing
- func (*Pricing) Descriptor() ([]byte, []int)deprecated
- func (x *Pricing) GetPrice() []*v1beta1.Coin
- func (x *Pricing) GetPromotionsByTime() []*PromotionByTime
- func (x *Pricing) GetPromotionsByVolume() []*PromotionByVolume
- func (*Pricing) ProtoMessage()
- func (x *Pricing) ProtoReflect() protoreflect.Message
- func (x *Pricing) Reset()
- func (x *Pricing) String() string
- type PromotionByTime
- func (*PromotionByTime) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionByTime) GetDiscount() string
- func (x *PromotionByTime) GetEndTime() *timestamppb.Timestamp
- func (x *PromotionByTime) GetStartTime() *timestamppb.Timestamp
- func (*PromotionByTime) ProtoMessage()
- func (x *PromotionByTime) ProtoReflect() protoreflect.Message
- func (x *PromotionByTime) Reset()
- func (x *PromotionByTime) String() string
- type PromotionByVolume
- func (*PromotionByVolume) Descriptor() ([]byte, []int)deprecated
- func (x *PromotionByVolume) GetDiscount() string
- func (x *PromotionByVolume) GetVolume() uint64
- func (*PromotionByVolume) ProtoMessage()
- func (x *PromotionByVolume) ProtoReflect() protoreflect.Message
- func (x *PromotionByVolume) Reset()
- func (x *PromotionByVolume) String() string
- type QueryBindingRequest
- func (*QueryBindingRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBindingRequest) GetProvider() string
- func (x *QueryBindingRequest) GetServiceName() string
- func (*QueryBindingRequest) ProtoMessage()
- func (x *QueryBindingRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBindingRequest) Reset()
- func (x *QueryBindingRequest) String() string
- type QueryBindingResponse
- func (*QueryBindingResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBindingResponse) GetServiceBinding() *ServiceBinding
- func (*QueryBindingResponse) ProtoMessage()
- func (x *QueryBindingResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBindingResponse) Reset()
- func (x *QueryBindingResponse) String() string
- type QueryBindingsRequest
- func (*QueryBindingsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBindingsRequest) GetOwner() string
- func (x *QueryBindingsRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryBindingsRequest) GetServiceName() string
- func (*QueryBindingsRequest) ProtoMessage()
- func (x *QueryBindingsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryBindingsRequest) Reset()
- func (x *QueryBindingsRequest) String() string
- type QueryBindingsResponse
- func (*QueryBindingsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBindingsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryBindingsResponse) GetServiceBindings() []*ServiceBinding
- func (*QueryBindingsResponse) ProtoMessage()
- func (x *QueryBindingsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBindingsResponse) Reset()
- func (x *QueryBindingsResponse) String() string
- type QueryClient
- type QueryDefinitionRequest
- func (*QueryDefinitionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDefinitionRequest) GetServiceName() string
- func (*QueryDefinitionRequest) ProtoMessage()
- func (x *QueryDefinitionRequest) ProtoReflect() protoreflect.Message
- func (x *QueryDefinitionRequest) Reset()
- func (x *QueryDefinitionRequest) String() string
- type QueryDefinitionResponse
- func (*QueryDefinitionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryDefinitionResponse) GetServiceDefinition() *ServiceDefinition
- func (*QueryDefinitionResponse) ProtoMessage()
- func (x *QueryDefinitionResponse) ProtoReflect() protoreflect.Message
- func (x *QueryDefinitionResponse) Reset()
- func (x *QueryDefinitionResponse) String() string
- type QueryEarnedFeesRequest
- func (*QueryEarnedFeesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEarnedFeesRequest) GetProvider() string
- func (*QueryEarnedFeesRequest) ProtoMessage()
- func (x *QueryEarnedFeesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryEarnedFeesRequest) Reset()
- func (x *QueryEarnedFeesRequest) String() string
- type QueryEarnedFeesResponse
- func (*QueryEarnedFeesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryEarnedFeesResponse) GetFees() []*v1beta11.Coin
- func (*QueryEarnedFeesResponse) ProtoMessage()
- func (x *QueryEarnedFeesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryEarnedFeesResponse) Reset()
- func (x *QueryEarnedFeesResponse) String() string
- type QueryParamsRequest
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryParamsResponse) GetParams() *Params
- func (x *QueryParamsResponse) GetRes() *v1beta1.PageResponse
- func (*QueryParamsResponse) ProtoMessage()
- func (x *QueryParamsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryParamsResponse) Reset()
- func (x *QueryParamsResponse) String() string
- type QueryRequestContextRequest
- func (*QueryRequestContextRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestContextRequest) GetRequestContextId() string
- func (*QueryRequestContextRequest) ProtoMessage()
- func (x *QueryRequestContextRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequestContextRequest) Reset()
- func (x *QueryRequestContextRequest) String() string
- type QueryRequestContextResponse
- func (*QueryRequestContextResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestContextResponse) GetRequestContext() *RequestContext
- func (*QueryRequestContextResponse) ProtoMessage()
- func (x *QueryRequestContextResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRequestContextResponse) Reset()
- func (x *QueryRequestContextResponse) String() string
- type QueryRequestRequest
- func (*QueryRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestRequest) GetRequestId() string
- func (*QueryRequestRequest) ProtoMessage()
- func (x *QueryRequestRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequestRequest) Reset()
- func (x *QueryRequestRequest) String() string
- type QueryRequestResponse
- func (*QueryRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestResponse) GetRequest() *Request
- func (*QueryRequestResponse) ProtoMessage()
- func (x *QueryRequestResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRequestResponse) Reset()
- func (x *QueryRequestResponse) String() string
- type QueryRequestsByReqCtxRequest
- func (*QueryRequestsByReqCtxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestsByReqCtxRequest) GetBatchCounter() uint64
- func (x *QueryRequestsByReqCtxRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryRequestsByReqCtxRequest) GetRequestContextId() string
- func (*QueryRequestsByReqCtxRequest) ProtoMessage()
- func (x *QueryRequestsByReqCtxRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequestsByReqCtxRequest) Reset()
- func (x *QueryRequestsByReqCtxRequest) String() string
- type QueryRequestsByReqCtxResponse
- func (*QueryRequestsByReqCtxResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestsByReqCtxResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryRequestsByReqCtxResponse) GetRequests() []*Request
- func (*QueryRequestsByReqCtxResponse) ProtoMessage()
- func (x *QueryRequestsByReqCtxResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRequestsByReqCtxResponse) Reset()
- func (x *QueryRequestsByReqCtxResponse) String() string
- type QueryRequestsRequest
- func (*QueryRequestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestsRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryRequestsRequest) GetProvider() string
- func (x *QueryRequestsRequest) GetServiceName() string
- func (*QueryRequestsRequest) ProtoMessage()
- func (x *QueryRequestsRequest) ProtoReflect() protoreflect.Message
- func (x *QueryRequestsRequest) Reset()
- func (x *QueryRequestsRequest) String() string
- type QueryRequestsResponse
- func (*QueryRequestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryRequestsResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryRequestsResponse) GetRequests() []*Request
- func (*QueryRequestsResponse) ProtoMessage()
- func (x *QueryRequestsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryRequestsResponse) Reset()
- func (x *QueryRequestsResponse) String() string
- type QueryResponseRequest
- func (*QueryResponseRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponseRequest) GetRequestId() string
- func (*QueryResponseRequest) ProtoMessage()
- func (x *QueryResponseRequest) ProtoReflect() protoreflect.Message
- func (x *QueryResponseRequest) Reset()
- func (x *QueryResponseRequest) String() string
- type QueryResponseResponse
- func (*QueryResponseResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponseResponse) GetResponse() *Response
- func (*QueryResponseResponse) ProtoMessage()
- func (x *QueryResponseResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponseResponse) Reset()
- func (x *QueryResponseResponse) String() string
- type QueryResponsesRequest
- func (*QueryResponsesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponsesRequest) GetBatchCounter() uint64
- func (x *QueryResponsesRequest) GetPagination() *v1beta1.PageRequest
- func (x *QueryResponsesRequest) GetRequestContextId() string
- func (*QueryResponsesRequest) ProtoMessage()
- func (x *QueryResponsesRequest) ProtoReflect() protoreflect.Message
- func (x *QueryResponsesRequest) Reset()
- func (x *QueryResponsesRequest) String() string
- type QueryResponsesResponse
- func (*QueryResponsesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponsesResponse) GetPagination() *v1beta1.PageResponse
- func (x *QueryResponsesResponse) GetResponses() []*Response
- func (*QueryResponsesResponse) ProtoMessage()
- func (x *QueryResponsesResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponsesResponse) Reset()
- func (x *QueryResponsesResponse) String() string
- type QuerySchemaRequest
- func (*QuerySchemaRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySchemaRequest) GetSchemaName() string
- func (*QuerySchemaRequest) ProtoMessage()
- func (x *QuerySchemaRequest) ProtoReflect() protoreflect.Message
- func (x *QuerySchemaRequest) Reset()
- func (x *QuerySchemaRequest) String() string
- type QuerySchemaResponse
- func (*QuerySchemaResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QuerySchemaResponse) GetSchema() string
- func (*QuerySchemaResponse) ProtoMessage()
- func (x *QuerySchemaResponse) ProtoReflect() protoreflect.Message
- func (x *QuerySchemaResponse) Reset()
- func (x *QuerySchemaResponse) String() string
- type QueryServer
- type QueryWithdrawAddressRequest
- func (*QueryWithdrawAddressRequest) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithdrawAddressRequest) GetOwner() string
- func (*QueryWithdrawAddressRequest) ProtoMessage()
- func (x *QueryWithdrawAddressRequest) ProtoReflect() protoreflect.Message
- func (x *QueryWithdrawAddressRequest) Reset()
- func (x *QueryWithdrawAddressRequest) String() string
- type QueryWithdrawAddressResponse
- func (*QueryWithdrawAddressResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryWithdrawAddressResponse) GetWithdrawAddress() string
- func (*QueryWithdrawAddressResponse) ProtoMessage()
- func (x *QueryWithdrawAddressResponse) ProtoReflect() protoreflect.Message
- func (x *QueryWithdrawAddressResponse) Reset()
- func (x *QueryWithdrawAddressResponse) String() string
- type Request
- func (*Request) Descriptor() ([]byte, []int)deprecated
- func (x *Request) GetConsumer() string
- func (x *Request) GetExpirationHeight() int64
- func (x *Request) GetId() string
- func (x *Request) GetInput() string
- func (x *Request) GetProvider() string
- func (x *Request) GetRequestContextBatchCounter() uint64
- func (x *Request) GetRequestContextId() string
- func (x *Request) GetRequestHeight() int64
- func (x *Request) GetServiceFee() []*v1beta1.Coin
- func (x *Request) GetServiceName() string
- func (*Request) ProtoMessage()
- func (x *Request) ProtoReflect() protoreflect.Message
- func (x *Request) Reset()
- func (x *Request) String() string
- type RequestContext
- func (*RequestContext) Descriptor() ([]byte, []int)deprecated
- func (x *RequestContext) GetBatchCounter() uint64
- func (x *RequestContext) GetBatchRequestCount() uint32
- func (x *RequestContext) GetBatchResponseCount() uint32
- func (x *RequestContext) GetBatchResponseThreshold() uint32
- func (x *RequestContext) GetBatchState() RequestContextBatchState
- func (x *RequestContext) GetConsumer() string
- func (x *RequestContext) GetInput() string
- func (x *RequestContext) GetModuleName() string
- func (x *RequestContext) GetProviders() []string
- func (x *RequestContext) GetRepeated() bool
- func (x *RequestContext) GetRepeatedFrequency() uint64
- func (x *RequestContext) GetRepeatedTotal() int64
- func (x *RequestContext) GetResponseThreshold() uint32
- func (x *RequestContext) GetServiceFeeCap() []*v1beta1.Coin
- func (x *RequestContext) GetServiceName() string
- func (x *RequestContext) GetState() RequestContextState
- func (x *RequestContext) GetTimeout() int64
- func (*RequestContext) ProtoMessage()
- func (x *RequestContext) ProtoReflect() protoreflect.Message
- func (x *RequestContext) Reset()
- func (x *RequestContext) String() string
- type RequestContextBatchState
- func (RequestContextBatchState) Descriptor() protoreflect.EnumDescriptor
- func (x RequestContextBatchState) Enum() *RequestContextBatchState
- func (RequestContextBatchState) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestContextBatchState) Number() protoreflect.EnumNumber
- func (x RequestContextBatchState) String() string
- func (RequestContextBatchState) Type() protoreflect.EnumType
- type RequestContextState
- func (RequestContextState) Descriptor() protoreflect.EnumDescriptor
- func (x RequestContextState) Enum() *RequestContextState
- func (RequestContextState) EnumDescriptor() ([]byte, []int)deprecated
- func (x RequestContextState) Number() protoreflect.EnumNumber
- func (x RequestContextState) String() string
- func (RequestContextState) Type() protoreflect.EnumType
- type Response
- func (*Response) Descriptor() ([]byte, []int)deprecated
- func (x *Response) GetConsumer() string
- func (x *Response) GetOutput() string
- func (x *Response) GetProvider() string
- func (x *Response) GetRequestContextBatchCounter() uint64
- func (x *Response) GetRequestContextId() string
- func (x *Response) GetResult() string
- func (*Response) ProtoMessage()
- func (x *Response) ProtoReflect() protoreflect.Message
- func (x *Response) Reset()
- func (x *Response) String() string
- type ServiceBinding
- func (*ServiceBinding) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceBinding) GetAvailable() bool
- func (x *ServiceBinding) GetDeposit() []*v1beta1.Coin
- func (x *ServiceBinding) GetDisabledTime() *timestamppb.Timestamp
- func (x *ServiceBinding) GetOptions() string
- func (x *ServiceBinding) GetOwner() string
- func (x *ServiceBinding) GetPricing() string
- func (x *ServiceBinding) GetProvider() string
- func (x *ServiceBinding) GetQos() uint64
- func (x *ServiceBinding) GetServiceName() string
- func (*ServiceBinding) ProtoMessage()
- func (x *ServiceBinding) ProtoReflect() protoreflect.Message
- func (x *ServiceBinding) Reset()
- func (x *ServiceBinding) String() string
- type ServiceDefinition
- func (*ServiceDefinition) Descriptor() ([]byte, []int)deprecated
- func (x *ServiceDefinition) GetAuthor() string
- func (x *ServiceDefinition) GetAuthorDescription() string
- func (x *ServiceDefinition) GetDescription() string
- func (x *ServiceDefinition) GetName() string
- func (x *ServiceDefinition) GetSchemas() string
- func (x *ServiceDefinition) GetTags() []string
- func (*ServiceDefinition) ProtoMessage()
- func (x *ServiceDefinition) ProtoReflect() protoreflect.Message
- func (x *ServiceDefinition) Reset()
- func (x *ServiceDefinition) String() string
- type UnimplementedMsgServer
- func (UnimplementedMsgServer) BindService(context.Context, *MsgBindService) (*MsgBindServiceResponse, error)
- func (UnimplementedMsgServer) CallService(context.Context, *MsgCallService) (*MsgCallServiceResponse, error)
- func (UnimplementedMsgServer) DefineService(context.Context, *MsgDefineService) (*MsgDefineServiceResponse, error)
- func (UnimplementedMsgServer) DisableServiceBinding(context.Context, *MsgDisableServiceBinding) (*MsgDisableServiceBindingResponse, error)
- func (UnimplementedMsgServer) EnableServiceBinding(context.Context, *MsgEnableServiceBinding) (*MsgEnableServiceBindingResponse, error)
- func (UnimplementedMsgServer) KillRequestContext(context.Context, *MsgKillRequestContext) (*MsgKillRequestContextResponse, error)
- func (UnimplementedMsgServer) PauseRequestContext(context.Context, *MsgPauseRequestContext) (*MsgPauseRequestContextResponse, error)
- func (UnimplementedMsgServer) RefundServiceDeposit(context.Context, *MsgRefundServiceDeposit) (*MsgRefundServiceDepositResponse, error)
- func (UnimplementedMsgServer) RespondService(context.Context, *MsgRespondService) (*MsgRespondServiceResponse, error)
- func (UnimplementedMsgServer) SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
- func (UnimplementedMsgServer) StartRequestContext(context.Context, *MsgStartRequestContext) (*MsgStartRequestContextResponse, error)
- func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
- func (UnimplementedMsgServer) UpdateRequestContext(context.Context, *MsgUpdateRequestContext) (*MsgUpdateRequestContextResponse, error)
- func (UnimplementedMsgServer) UpdateServiceBinding(context.Context, *MsgUpdateServiceBinding) (*MsgUpdateServiceBindingResponse, error)
- func (UnimplementedMsgServer) WithdrawEarnedFees(context.Context, *MsgWithdrawEarnedFees) (*MsgWithdrawEarnedFeesResponse, error)
- type UnimplementedQueryServer
- func (UnimplementedQueryServer) Binding(context.Context, *QueryBindingRequest) (*QueryBindingResponse, error)
- func (UnimplementedQueryServer) Bindings(context.Context, *QueryBindingsRequest) (*QueryBindingsResponse, error)
- func (UnimplementedQueryServer) Definition(context.Context, *QueryDefinitionRequest) (*QueryDefinitionResponse, error)
- func (UnimplementedQueryServer) EarnedFees(context.Context, *QueryEarnedFeesRequest) (*QueryEarnedFeesResponse, error)
- func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
- func (UnimplementedQueryServer) Request(context.Context, *QueryRequestRequest) (*QueryRequestResponse, error)
- func (UnimplementedQueryServer) RequestContext(context.Context, *QueryRequestContextRequest) (*QueryRequestContextResponse, error)
- func (UnimplementedQueryServer) Requests(context.Context, *QueryRequestsRequest) (*QueryRequestsResponse, error)
- func (UnimplementedQueryServer) RequestsByReqCtx(context.Context, *QueryRequestsByReqCtxRequest) (*QueryRequestsByReqCtxResponse, error)
- func (UnimplementedQueryServer) Response(context.Context, *QueryResponseRequest) (*QueryResponseResponse, error)
- func (UnimplementedQueryServer) Responses(context.Context, *QueryResponsesRequest) (*QueryResponsesResponse, error)
- func (UnimplementedQueryServer) Schema(context.Context, *QuerySchemaRequest) (*QuerySchemaResponse, error)
- func (UnimplementedQueryServer) WithdrawAddress(context.Context, *QueryWithdrawAddressRequest) (*QueryWithdrawAddressResponse, error)
- type UnsafeMsgServer
- type UnsafeQueryServer
Constants ¶
const ( Query_Definition_FullMethodName = "/irismod.service.Query/Definition" Query_Binding_FullMethodName = "/irismod.service.Query/Binding" Query_Bindings_FullMethodName = "/irismod.service.Query/Bindings" Query_WithdrawAddress_FullMethodName = "/irismod.service.Query/WithdrawAddress" Query_RequestContext_FullMethodName = "/irismod.service.Query/RequestContext" Query_Request_FullMethodName = "/irismod.service.Query/Request" Query_Requests_FullMethodName = "/irismod.service.Query/Requests" Query_RequestsByReqCtx_FullMethodName = "/irismod.service.Query/RequestsByReqCtx" Query_Response_FullMethodName = "/irismod.service.Query/Response" Query_Responses_FullMethodName = "/irismod.service.Query/Responses" Query_EarnedFees_FullMethodName = "/irismod.service.Query/EarnedFees" Query_Schema_FullMethodName = "/irismod.service.Query/Schema" Query_Params_FullMethodName = "/irismod.service.Query/Params" )
const ( Msg_DefineService_FullMethodName = "/irismod.service.Msg/DefineService" Msg_BindService_FullMethodName = "/irismod.service.Msg/BindService" Msg_UpdateServiceBinding_FullMethodName = "/irismod.service.Msg/UpdateServiceBinding" Msg_SetWithdrawAddress_FullMethodName = "/irismod.service.Msg/SetWithdrawAddress" Msg_EnableServiceBinding_FullMethodName = "/irismod.service.Msg/EnableServiceBinding" Msg_DisableServiceBinding_FullMethodName = "/irismod.service.Msg/DisableServiceBinding" Msg_RefundServiceDeposit_FullMethodName = "/irismod.service.Msg/RefundServiceDeposit" Msg_CallService_FullMethodName = "/irismod.service.Msg/CallService" Msg_RespondService_FullMethodName = "/irismod.service.Msg/RespondService" Msg_PauseRequestContext_FullMethodName = "/irismod.service.Msg/PauseRequestContext" Msg_StartRequestContext_FullMethodName = "/irismod.service.Msg/StartRequestContext" Msg_KillRequestContext_FullMethodName = "/irismod.service.Msg/KillRequestContext" Msg_UpdateRequestContext_FullMethodName = "/irismod.service.Msg/UpdateRequestContext" Msg_WithdrawEarnedFees_FullMethodName = "/irismod.service.Msg/WithdrawEarnedFees" Msg_UpdateParams_FullMethodName = "/irismod.service.Msg/UpdateParams" )
Variables ¶
var ( RequestContextBatchState_name = map[int32]string{ 0: "BATCH_RUNNING", 1: "BATCH_COMPLETED", } RequestContextBatchState_value = map[string]int32{ "BATCH_RUNNING": 0, "BATCH_COMPLETED": 1, } )
Enum value maps for RequestContextBatchState.
var ( RequestContextState_name = map[int32]string{ 0: "RUNNING", 1: "PAUSED", 2: "COMPLETED", } RequestContextState_value = map[string]int32{ "RUNNING": 0, "PAUSED": 1, "COMPLETED": 2, } )
Enum value maps for RequestContextState.
var File_irismod_service_genesis_proto protoreflect.FileDescriptor
var File_irismod_service_query_proto protoreflect.FileDescriptor
var File_irismod_service_service_proto protoreflect.FileDescriptor
var File_irismod_service_tx_proto protoreflect.FileDescriptor
var Msg_ServiceDesc = grpc.ServiceDesc{ ServiceName: "irismod.service.Msg", HandlerType: (*MsgServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "DefineService", Handler: _Msg_DefineService_Handler, }, { MethodName: "BindService", Handler: _Msg_BindService_Handler, }, { MethodName: "UpdateServiceBinding", Handler: _Msg_UpdateServiceBinding_Handler, }, { MethodName: "SetWithdrawAddress", Handler: _Msg_SetWithdrawAddress_Handler, }, { MethodName: "EnableServiceBinding", Handler: _Msg_EnableServiceBinding_Handler, }, { MethodName: "DisableServiceBinding", Handler: _Msg_DisableServiceBinding_Handler, }, { MethodName: "RefundServiceDeposit", Handler: _Msg_RefundServiceDeposit_Handler, }, { MethodName: "CallService", Handler: _Msg_CallService_Handler, }, { MethodName: "RespondService", Handler: _Msg_RespondService_Handler, }, { MethodName: "PauseRequestContext", Handler: _Msg_PauseRequestContext_Handler, }, { MethodName: "StartRequestContext", Handler: _Msg_StartRequestContext_Handler, }, { MethodName: "KillRequestContext", Handler: _Msg_KillRequestContext_Handler, }, { MethodName: "UpdateRequestContext", Handler: _Msg_UpdateRequestContext_Handler, }, { MethodName: "WithdrawEarnedFees", Handler: _Msg_WithdrawEarnedFees_Handler, }, { MethodName: "UpdateParams", Handler: _Msg_UpdateParams_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "irismod/service/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: "irismod.service.Query", HandlerType: (*QueryServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Definition", Handler: _Query_Definition_Handler, }, { MethodName: "Binding", Handler: _Query_Binding_Handler, }, { MethodName: "Bindings", Handler: _Query_Bindings_Handler, }, { MethodName: "WithdrawAddress", Handler: _Query_WithdrawAddress_Handler, }, { MethodName: "RequestContext", Handler: _Query_RequestContext_Handler, }, { MethodName: "Request", Handler: _Query_Request_Handler, }, { MethodName: "Requests", Handler: _Query_Requests_Handler, }, { MethodName: "RequestsByReqCtx", Handler: _Query_RequestsByReqCtx_Handler, }, { MethodName: "Response", Handler: _Query_Response_Handler, }, { MethodName: "Responses", Handler: _Query_Responses_Handler, }, { MethodName: "EarnedFees", Handler: _Query_EarnedFees_Handler, }, { MethodName: "Schema", Handler: _Query_Schema_Handler, }, { MethodName: "Params", Handler: _Query_Params_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "irismod/service/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 CompactRequest ¶
type CompactRequest struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` RequestContextBatchCounter uint64 `` /* 144-byte string literal not displayed */ Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` ServiceFee []*v1beta1.Coin `protobuf:"bytes,4,rep,name=service_fee,json=serviceFee,proto3" json:"service_fee,omitempty"` RequestHeight int64 `protobuf:"varint,5,opt,name=request_height,json=requestHeight,proto3" json:"request_height,omitempty"` ExpirationHeight int64 `protobuf:"varint,6,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` // contains filtered or unexported fields }
CompactRequest defines a standard for compact request
func (*CompactRequest) Descriptor
deprecated
func (*CompactRequest) Descriptor() ([]byte, []int)
Deprecated: Use CompactRequest.ProtoReflect.Descriptor instead.
func (*CompactRequest) GetExpirationHeight ¶
func (x *CompactRequest) GetExpirationHeight() int64
func (*CompactRequest) GetProvider ¶
func (x *CompactRequest) GetProvider() string
func (*CompactRequest) GetRequestContextBatchCounter ¶
func (x *CompactRequest) GetRequestContextBatchCounter() uint64
func (*CompactRequest) GetRequestContextId ¶
func (x *CompactRequest) GetRequestContextId() string
func (*CompactRequest) GetRequestHeight ¶
func (x *CompactRequest) GetRequestHeight() int64
func (*CompactRequest) GetServiceFee ¶
func (x *CompactRequest) GetServiceFee() []*v1beta1.Coin
func (*CompactRequest) ProtoMessage ¶
func (*CompactRequest) ProtoMessage()
func (*CompactRequest) ProtoReflect ¶
func (x *CompactRequest) ProtoReflect() protoreflect.Message
func (*CompactRequest) Reset ¶
func (x *CompactRequest) Reset()
func (*CompactRequest) String ¶
func (x *CompactRequest) String() string
type GenesisState ¶
type GenesisState struct { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` Definitions []*ServiceDefinition `protobuf:"bytes,2,rep,name=definitions,proto3" json:"definitions,omitempty"` Bindings []*ServiceBinding `protobuf:"bytes,3,rep,name=bindings,proto3" json:"bindings,omitempty"` WithdrawAddresses map[string]string `` /* 200-byte string literal not displayed */ RequestContexts map[string]*RequestContext `` /* 194-byte string literal not displayed */ // contains filtered or unexported fields }
GenesisState defines the service module's genesis state
func (*GenesisState) Descriptor
deprecated
func (*GenesisState) Descriptor() ([]byte, []int)
Deprecated: Use GenesisState.ProtoReflect.Descriptor instead.
func (*GenesisState) GetBindings ¶
func (x *GenesisState) GetBindings() []*ServiceBinding
func (*GenesisState) GetDefinitions ¶
func (x *GenesisState) GetDefinitions() []*ServiceDefinition
func (*GenesisState) GetParams ¶
func (x *GenesisState) GetParams() *Params
func (*GenesisState) GetRequestContexts ¶
func (x *GenesisState) GetRequestContexts() map[string]*RequestContext
func (*GenesisState) GetWithdrawAddresses ¶
func (x *GenesisState) GetWithdrawAddresses() map[string]string
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 MsgBindService ¶
type MsgBindService struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Deposit []*v1beta1.Coin `protobuf:"bytes,3,rep,name=deposit,proto3" json:"deposit,omitempty"` Pricing string `protobuf:"bytes,4,opt,name=pricing,proto3" json:"pricing,omitempty"` Qos uint64 `protobuf:"varint,5,opt,name=qos,proto3" json:"qos,omitempty"` Options string `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
MsgBindService defines an SDK message for binding to an existing service
func (*MsgBindService) Descriptor
deprecated
func (*MsgBindService) Descriptor() ([]byte, []int)
Deprecated: Use MsgBindService.ProtoReflect.Descriptor instead.
func (*MsgBindService) GetDeposit ¶
func (x *MsgBindService) GetDeposit() []*v1beta1.Coin
func (*MsgBindService) GetOptions ¶
func (x *MsgBindService) GetOptions() string
func (*MsgBindService) GetOwner ¶
func (x *MsgBindService) GetOwner() string
func (*MsgBindService) GetPricing ¶
func (x *MsgBindService) GetPricing() string
func (*MsgBindService) GetProvider ¶
func (x *MsgBindService) GetProvider() string
func (*MsgBindService) GetQos ¶
func (x *MsgBindService) GetQos() uint64
func (*MsgBindService) GetServiceName ¶
func (x *MsgBindService) GetServiceName() string
func (*MsgBindService) ProtoMessage ¶
func (*MsgBindService) ProtoMessage()
func (*MsgBindService) ProtoReflect ¶
func (x *MsgBindService) ProtoReflect() protoreflect.Message
func (*MsgBindService) Reset ¶
func (x *MsgBindService) Reset()
func (*MsgBindService) String ¶
func (x *MsgBindService) String() string
type MsgBindServiceResponse ¶
type MsgBindServiceResponse struct {
// contains filtered or unexported fields
}
MsgBindServiceResponse defines the Msg/BindService response type
func (*MsgBindServiceResponse) Descriptor
deprecated
func (*MsgBindServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgBindServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgBindServiceResponse) ProtoMessage ¶
func (*MsgBindServiceResponse) ProtoMessage()
func (*MsgBindServiceResponse) ProtoReflect ¶
func (x *MsgBindServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgBindServiceResponse) Reset ¶
func (x *MsgBindServiceResponse) Reset()
func (*MsgBindServiceResponse) String ¶
func (x *MsgBindServiceResponse) String() string
type MsgCallService ¶
type MsgCallService struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Providers []string `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"` Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` Input string `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` ServiceFeeCap []*v1beta1.Coin `protobuf:"bytes,5,rep,name=service_fee_cap,json=serviceFeeCap,proto3" json:"service_fee_cap,omitempty"` Timeout int64 `protobuf:"varint,6,opt,name=timeout,proto3" json:"timeout,omitempty"` Repeated bool `protobuf:"varint,7,opt,name=repeated,proto3" json:"repeated,omitempty"` RepeatedFrequency uint64 `protobuf:"varint,8,opt,name=repeated_frequency,json=repeatedFrequency,proto3" json:"repeated_frequency,omitempty"` RepeatedTotal int64 `protobuf:"varint,9,opt,name=repeated_total,json=repeatedTotal,proto3" json:"repeated_total,omitempty"` // contains filtered or unexported fields }
MsgCallService defines an SDK message to initiate a service request context
func (*MsgCallService) Descriptor
deprecated
func (*MsgCallService) Descriptor() ([]byte, []int)
Deprecated: Use MsgCallService.ProtoReflect.Descriptor instead.
func (*MsgCallService) GetConsumer ¶
func (x *MsgCallService) GetConsumer() string
func (*MsgCallService) GetInput ¶
func (x *MsgCallService) GetInput() string
func (*MsgCallService) GetProviders ¶
func (x *MsgCallService) GetProviders() []string
func (*MsgCallService) GetRepeated ¶
func (x *MsgCallService) GetRepeated() bool
func (*MsgCallService) GetRepeatedFrequency ¶
func (x *MsgCallService) GetRepeatedFrequency() uint64
func (*MsgCallService) GetRepeatedTotal ¶
func (x *MsgCallService) GetRepeatedTotal() int64
func (*MsgCallService) GetServiceFeeCap ¶
func (x *MsgCallService) GetServiceFeeCap() []*v1beta1.Coin
func (*MsgCallService) GetServiceName ¶
func (x *MsgCallService) GetServiceName() string
func (*MsgCallService) GetTimeout ¶
func (x *MsgCallService) GetTimeout() int64
func (*MsgCallService) ProtoMessage ¶
func (*MsgCallService) ProtoMessage()
func (*MsgCallService) ProtoReflect ¶
func (x *MsgCallService) ProtoReflect() protoreflect.Message
func (*MsgCallService) Reset ¶
func (x *MsgCallService) Reset()
func (*MsgCallService) String ¶
func (x *MsgCallService) String() string
type MsgCallServiceResponse ¶
type MsgCallServiceResponse struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` // contains filtered or unexported fields }
MsgCallServiceResponse defines the Msg/CallService response type
func (*MsgCallServiceResponse) Descriptor
deprecated
func (*MsgCallServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgCallServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgCallServiceResponse) GetRequestContextId ¶
func (x *MsgCallServiceResponse) GetRequestContextId() string
func (*MsgCallServiceResponse) ProtoMessage ¶
func (*MsgCallServiceResponse) ProtoMessage()
func (*MsgCallServiceResponse) ProtoReflect ¶
func (x *MsgCallServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgCallServiceResponse) Reset ¶
func (x *MsgCallServiceResponse) Reset()
func (*MsgCallServiceResponse) String ¶
func (x *MsgCallServiceResponse) String() string
type MsgClient ¶
type MsgClient interface { // DefineService defines a method for define a new service DefineService(ctx context.Context, in *MsgDefineService, opts ...grpc.CallOption) (*MsgDefineServiceResponse, error) // BindService defines a method for bind a server BindService(ctx context.Context, in *MsgBindService, opts ...grpc.CallOption) (*MsgBindServiceResponse, error) // UpdateServiceBinding defines a method for update a service binding UpdateServiceBinding(ctx context.Context, in *MsgUpdateServiceBinding, opts ...grpc.CallOption) (*MsgUpdateServiceBindingResponse, error) // SetWithdrawAddress defines a method for setting a withdraw address SetWithdrawAddress(ctx context.Context, in *MsgSetWithdrawAddress, opts ...grpc.CallOption) (*MsgSetWithdrawAddressResponse, error) // EnableServiceBinding defines a method for enabling a service binding EnableServiceBinding(ctx context.Context, in *MsgEnableServiceBinding, opts ...grpc.CallOption) (*MsgEnableServiceBindingResponse, error) // DisableServiceBinding defines a method for disabling a service binding DisableServiceBinding(ctx context.Context, in *MsgDisableServiceBinding, opts ...grpc.CallOption) (*MsgDisableServiceBindingResponse, error) // RefundServiceDeposit defines a method for refunding a fee RefundServiceDeposit(ctx context.Context, in *MsgRefundServiceDeposit, opts ...grpc.CallOption) (*MsgRefundServiceDepositResponse, error) // CallService defines a method for calling a service CallService(ctx context.Context, in *MsgCallService, opts ...grpc.CallOption) (*MsgCallServiceResponse, error) // RespondService defines a method for responding a service RespondService(ctx context.Context, in *MsgRespondService, opts ...grpc.CallOption) (*MsgRespondServiceResponse, error) // PauseRequestContext defines a method for pausing a service call PauseRequestContext(ctx context.Context, in *MsgPauseRequestContext, opts ...grpc.CallOption) (*MsgPauseRequestContextResponse, error) // StartRequestContext defines a method for starting a service call StartRequestContext(ctx context.Context, in *MsgStartRequestContext, opts ...grpc.CallOption) (*MsgStartRequestContextResponse, error) // KillRequestContext defines a method for killing a service call KillRequestContext(ctx context.Context, in *MsgKillRequestContext, opts ...grpc.CallOption) (*MsgKillRequestContextResponse, error) // UpdateRequestContext defines a method for updating a service call UpdateRequestContext(ctx context.Context, in *MsgUpdateRequestContext, opts ...grpc.CallOption) (*MsgUpdateRequestContextResponse, error) // WithdrawEarnedFees defines a method for Withdrawing a earned fees WithdrawEarnedFees(ctx context.Context, in *MsgWithdrawEarnedFees, opts ...grpc.CallOption) (*MsgWithdrawEarnedFeesResponse, error) // UpdateParams defines a governance operation for updating the x/service // module parameters. The authority is defined in the keeper. // // Since: cosmos-sdk 0.47 UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, 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 MsgDefineService ¶
type MsgDefineService struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` Author string `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` AuthorDescription string `protobuf:"bytes,5,opt,name=author_description,json=authorDescription,proto3" json:"author_description,omitempty"` Schemas string `protobuf:"bytes,6,opt,name=schemas,proto3" json:"schemas,omitempty"` // contains filtered or unexported fields }
MsgDefineService defines an SDK message for defining a new service
func (*MsgDefineService) Descriptor
deprecated
func (*MsgDefineService) Descriptor() ([]byte, []int)
Deprecated: Use MsgDefineService.ProtoReflect.Descriptor instead.
func (*MsgDefineService) GetAuthor ¶
func (x *MsgDefineService) GetAuthor() string
func (*MsgDefineService) GetAuthorDescription ¶
func (x *MsgDefineService) GetAuthorDescription() string
func (*MsgDefineService) GetDescription ¶
func (x *MsgDefineService) GetDescription() string
func (*MsgDefineService) GetName ¶
func (x *MsgDefineService) GetName() string
func (*MsgDefineService) GetSchemas ¶
func (x *MsgDefineService) GetSchemas() string
func (*MsgDefineService) GetTags ¶
func (x *MsgDefineService) GetTags() []string
func (*MsgDefineService) ProtoMessage ¶
func (*MsgDefineService) ProtoMessage()
func (*MsgDefineService) ProtoReflect ¶
func (x *MsgDefineService) ProtoReflect() protoreflect.Message
func (*MsgDefineService) Reset ¶
func (x *MsgDefineService) Reset()
func (*MsgDefineService) String ¶
func (x *MsgDefineService) String() string
type MsgDefineServiceResponse ¶
type MsgDefineServiceResponse struct {
// contains filtered or unexported fields
}
MsgDefineServiceResponse defines the Msg/DefineService response type
func (*MsgDefineServiceResponse) Descriptor
deprecated
func (*MsgDefineServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDefineServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgDefineServiceResponse) ProtoMessage ¶
func (*MsgDefineServiceResponse) ProtoMessage()
func (*MsgDefineServiceResponse) ProtoReflect ¶
func (x *MsgDefineServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgDefineServiceResponse) Reset ¶
func (x *MsgDefineServiceResponse) Reset()
func (*MsgDefineServiceResponse) String ¶
func (x *MsgDefineServiceResponse) String() string
type MsgDisableServiceBinding ¶
type MsgDisableServiceBinding struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
MsgDisableServiceBinding defines an SDK message to disable a service binding
func (*MsgDisableServiceBinding) Descriptor
deprecated
func (*MsgDisableServiceBinding) Descriptor() ([]byte, []int)
Deprecated: Use MsgDisableServiceBinding.ProtoReflect.Descriptor instead.
func (*MsgDisableServiceBinding) GetOwner ¶
func (x *MsgDisableServiceBinding) GetOwner() string
func (*MsgDisableServiceBinding) GetProvider ¶
func (x *MsgDisableServiceBinding) GetProvider() string
func (*MsgDisableServiceBinding) GetServiceName ¶
func (x *MsgDisableServiceBinding) GetServiceName() string
func (*MsgDisableServiceBinding) ProtoMessage ¶
func (*MsgDisableServiceBinding) ProtoMessage()
func (*MsgDisableServiceBinding) ProtoReflect ¶
func (x *MsgDisableServiceBinding) ProtoReflect() protoreflect.Message
func (*MsgDisableServiceBinding) Reset ¶
func (x *MsgDisableServiceBinding) Reset()
func (*MsgDisableServiceBinding) String ¶
func (x *MsgDisableServiceBinding) String() string
type MsgDisableServiceBindingResponse ¶
type MsgDisableServiceBindingResponse struct {
// contains filtered or unexported fields
}
MsgDisableServiceBindingResponse defines the Msg/DisableServiceBinding response type
func (*MsgDisableServiceBindingResponse) Descriptor
deprecated
func (*MsgDisableServiceBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgDisableServiceBindingResponse.ProtoReflect.Descriptor instead.
func (*MsgDisableServiceBindingResponse) ProtoMessage ¶
func (*MsgDisableServiceBindingResponse) ProtoMessage()
func (*MsgDisableServiceBindingResponse) ProtoReflect ¶
func (x *MsgDisableServiceBindingResponse) ProtoReflect() protoreflect.Message
func (*MsgDisableServiceBindingResponse) Reset ¶
func (x *MsgDisableServiceBindingResponse) Reset()
func (*MsgDisableServiceBindingResponse) String ¶
func (x *MsgDisableServiceBindingResponse) String() string
type MsgEnableServiceBinding ¶
type MsgEnableServiceBinding struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Deposit []*v1beta1.Coin `protobuf:"bytes,3,rep,name=deposit,proto3" json:"deposit,omitempty"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
MsgEnableServiceBinding defines an SDK message to enable a service binding
func (*MsgEnableServiceBinding) Descriptor
deprecated
func (*MsgEnableServiceBinding) Descriptor() ([]byte, []int)
Deprecated: Use MsgEnableServiceBinding.ProtoReflect.Descriptor instead.
func (*MsgEnableServiceBinding) GetDeposit ¶
func (x *MsgEnableServiceBinding) GetDeposit() []*v1beta1.Coin
func (*MsgEnableServiceBinding) GetOwner ¶
func (x *MsgEnableServiceBinding) GetOwner() string
func (*MsgEnableServiceBinding) GetProvider ¶
func (x *MsgEnableServiceBinding) GetProvider() string
func (*MsgEnableServiceBinding) GetServiceName ¶
func (x *MsgEnableServiceBinding) GetServiceName() string
func (*MsgEnableServiceBinding) ProtoMessage ¶
func (*MsgEnableServiceBinding) ProtoMessage()
func (*MsgEnableServiceBinding) ProtoReflect ¶
func (x *MsgEnableServiceBinding) ProtoReflect() protoreflect.Message
func (*MsgEnableServiceBinding) Reset ¶
func (x *MsgEnableServiceBinding) Reset()
func (*MsgEnableServiceBinding) String ¶
func (x *MsgEnableServiceBinding) String() string
type MsgEnableServiceBindingResponse ¶
type MsgEnableServiceBindingResponse struct {
// contains filtered or unexported fields
}
MsgEnableServiceBindingResponse defines the Msg/EnableServiceBinding response type
func (*MsgEnableServiceBindingResponse) Descriptor
deprecated
func (*MsgEnableServiceBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgEnableServiceBindingResponse.ProtoReflect.Descriptor instead.
func (*MsgEnableServiceBindingResponse) ProtoMessage ¶
func (*MsgEnableServiceBindingResponse) ProtoMessage()
func (*MsgEnableServiceBindingResponse) ProtoReflect ¶
func (x *MsgEnableServiceBindingResponse) ProtoReflect() protoreflect.Message
func (*MsgEnableServiceBindingResponse) Reset ¶
func (x *MsgEnableServiceBindingResponse) Reset()
func (*MsgEnableServiceBindingResponse) String ¶
func (x *MsgEnableServiceBindingResponse) String() string
type MsgKillRequestContext ¶
type MsgKillRequestContext struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"` // contains filtered or unexported fields }
MsgKillRequestContext defines an SDK message to terminate a service request
func (*MsgKillRequestContext) Descriptor
deprecated
func (*MsgKillRequestContext) Descriptor() ([]byte, []int)
Deprecated: Use MsgKillRequestContext.ProtoReflect.Descriptor instead.
func (*MsgKillRequestContext) GetConsumer ¶
func (x *MsgKillRequestContext) GetConsumer() string
func (*MsgKillRequestContext) GetRequestContextId ¶
func (x *MsgKillRequestContext) GetRequestContextId() string
func (*MsgKillRequestContext) ProtoMessage ¶
func (*MsgKillRequestContext) ProtoMessage()
func (*MsgKillRequestContext) ProtoReflect ¶
func (x *MsgKillRequestContext) ProtoReflect() protoreflect.Message
func (*MsgKillRequestContext) Reset ¶
func (x *MsgKillRequestContext) Reset()
func (*MsgKillRequestContext) String ¶
func (x *MsgKillRequestContext) String() string
type MsgKillRequestContextResponse ¶
type MsgKillRequestContextResponse struct {
// contains filtered or unexported fields
}
MsgKillRequestContextResponse defines the Msg/KillRequestContext response type
func (*MsgKillRequestContextResponse) Descriptor
deprecated
func (*MsgKillRequestContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgKillRequestContextResponse.ProtoReflect.Descriptor instead.
func (*MsgKillRequestContextResponse) ProtoMessage ¶
func (*MsgKillRequestContextResponse) ProtoMessage()
func (*MsgKillRequestContextResponse) ProtoReflect ¶
func (x *MsgKillRequestContextResponse) ProtoReflect() protoreflect.Message
func (*MsgKillRequestContextResponse) Reset ¶
func (x *MsgKillRequestContextResponse) Reset()
func (*MsgKillRequestContextResponse) String ¶
func (x *MsgKillRequestContextResponse) String() string
type MsgPauseRequestContext ¶
type MsgPauseRequestContext struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"` // contains filtered or unexported fields }
MsgPauseRequestContext defines an SDK message to pause a service request
func (*MsgPauseRequestContext) Descriptor
deprecated
func (*MsgPauseRequestContext) Descriptor() ([]byte, []int)
Deprecated: Use MsgPauseRequestContext.ProtoReflect.Descriptor instead.
func (*MsgPauseRequestContext) GetConsumer ¶
func (x *MsgPauseRequestContext) GetConsumer() string
func (*MsgPauseRequestContext) GetRequestContextId ¶
func (x *MsgPauseRequestContext) GetRequestContextId() string
func (*MsgPauseRequestContext) ProtoMessage ¶
func (*MsgPauseRequestContext) ProtoMessage()
func (*MsgPauseRequestContext) ProtoReflect ¶
func (x *MsgPauseRequestContext) ProtoReflect() protoreflect.Message
func (*MsgPauseRequestContext) Reset ¶
func (x *MsgPauseRequestContext) Reset()
func (*MsgPauseRequestContext) String ¶
func (x *MsgPauseRequestContext) String() string
type MsgPauseRequestContextResponse ¶
type MsgPauseRequestContextResponse struct {
// contains filtered or unexported fields
}
MsgPauseRequestContextResponse defines the Msg/PauseRequestContext response type
func (*MsgPauseRequestContextResponse) Descriptor
deprecated
func (*MsgPauseRequestContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgPauseRequestContextResponse.ProtoReflect.Descriptor instead.
func (*MsgPauseRequestContextResponse) ProtoMessage ¶
func (*MsgPauseRequestContextResponse) ProtoMessage()
func (*MsgPauseRequestContextResponse) ProtoReflect ¶
func (x *MsgPauseRequestContextResponse) ProtoReflect() protoreflect.Message
func (*MsgPauseRequestContextResponse) Reset ¶
func (x *MsgPauseRequestContextResponse) Reset()
func (*MsgPauseRequestContextResponse) String ¶
func (x *MsgPauseRequestContextResponse) String() string
type MsgRefundServiceDeposit ¶
type MsgRefundServiceDeposit struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Owner string `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
MsgRefundServiceDeposit defines an SDK message to refund deposit from a service binding
func (*MsgRefundServiceDeposit) Descriptor
deprecated
func (*MsgRefundServiceDeposit) Descriptor() ([]byte, []int)
Deprecated: Use MsgRefundServiceDeposit.ProtoReflect.Descriptor instead.
func (*MsgRefundServiceDeposit) GetOwner ¶
func (x *MsgRefundServiceDeposit) GetOwner() string
func (*MsgRefundServiceDeposit) GetProvider ¶
func (x *MsgRefundServiceDeposit) GetProvider() string
func (*MsgRefundServiceDeposit) GetServiceName ¶
func (x *MsgRefundServiceDeposit) GetServiceName() string
func (*MsgRefundServiceDeposit) ProtoMessage ¶
func (*MsgRefundServiceDeposit) ProtoMessage()
func (*MsgRefundServiceDeposit) ProtoReflect ¶
func (x *MsgRefundServiceDeposit) ProtoReflect() protoreflect.Message
func (*MsgRefundServiceDeposit) Reset ¶
func (x *MsgRefundServiceDeposit) Reset()
func (*MsgRefundServiceDeposit) String ¶
func (x *MsgRefundServiceDeposit) String() string
type MsgRefundServiceDepositResponse ¶
type MsgRefundServiceDepositResponse struct {
// contains filtered or unexported fields
}
MsgRefundServiceDepositResponse defines the Msg/RefundServiceDeposit response type
func (*MsgRefundServiceDepositResponse) Descriptor
deprecated
func (*MsgRefundServiceDepositResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRefundServiceDepositResponse.ProtoReflect.Descriptor instead.
func (*MsgRefundServiceDepositResponse) ProtoMessage ¶
func (*MsgRefundServiceDepositResponse) ProtoMessage()
func (*MsgRefundServiceDepositResponse) ProtoReflect ¶
func (x *MsgRefundServiceDepositResponse) ProtoReflect() protoreflect.Message
func (*MsgRefundServiceDepositResponse) Reset ¶
func (x *MsgRefundServiceDepositResponse) Reset()
func (*MsgRefundServiceDepositResponse) String ¶
func (x *MsgRefundServiceDepositResponse) String() string
type MsgRespondService ¶
type MsgRespondService struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Result string `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` // contains filtered or unexported fields }
MsgRespondService defines an SDK message to respond a service request
func (*MsgRespondService) Descriptor
deprecated
func (*MsgRespondService) Descriptor() ([]byte, []int)
Deprecated: Use MsgRespondService.ProtoReflect.Descriptor instead.
func (*MsgRespondService) GetOutput ¶
func (x *MsgRespondService) GetOutput() string
func (*MsgRespondService) GetProvider ¶
func (x *MsgRespondService) GetProvider() string
func (*MsgRespondService) GetRequestId ¶
func (x *MsgRespondService) GetRequestId() string
func (*MsgRespondService) GetResult ¶
func (x *MsgRespondService) GetResult() string
func (*MsgRespondService) ProtoMessage ¶
func (*MsgRespondService) ProtoMessage()
func (*MsgRespondService) ProtoReflect ¶
func (x *MsgRespondService) ProtoReflect() protoreflect.Message
func (*MsgRespondService) Reset ¶
func (x *MsgRespondService) Reset()
func (*MsgRespondService) String ¶
func (x *MsgRespondService) String() string
type MsgRespondServiceResponse ¶
type MsgRespondServiceResponse struct {
// contains filtered or unexported fields
}
MsgRespondServiceResponse defines the Msg/RespondService response type
func (*MsgRespondServiceResponse) Descriptor
deprecated
func (*MsgRespondServiceResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgRespondServiceResponse.ProtoReflect.Descriptor instead.
func (*MsgRespondServiceResponse) ProtoMessage ¶
func (*MsgRespondServiceResponse) ProtoMessage()
func (*MsgRespondServiceResponse) ProtoReflect ¶
func (x *MsgRespondServiceResponse) ProtoReflect() protoreflect.Message
func (*MsgRespondServiceResponse) Reset ¶
func (x *MsgRespondServiceResponse) Reset()
func (*MsgRespondServiceResponse) String ¶
func (x *MsgRespondServiceResponse) String() string
type MsgServer ¶
type MsgServer interface { // DefineService defines a method for define a new service DefineService(context.Context, *MsgDefineService) (*MsgDefineServiceResponse, error) // BindService defines a method for bind a server BindService(context.Context, *MsgBindService) (*MsgBindServiceResponse, error) // UpdateServiceBinding defines a method for update a service binding UpdateServiceBinding(context.Context, *MsgUpdateServiceBinding) (*MsgUpdateServiceBindingResponse, error) // SetWithdrawAddress defines a method for setting a withdraw address SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error) // EnableServiceBinding defines a method for enabling a service binding EnableServiceBinding(context.Context, *MsgEnableServiceBinding) (*MsgEnableServiceBindingResponse, error) // DisableServiceBinding defines a method for disabling a service binding DisableServiceBinding(context.Context, *MsgDisableServiceBinding) (*MsgDisableServiceBindingResponse, error) // RefundServiceDeposit defines a method for refunding a fee RefundServiceDeposit(context.Context, *MsgRefundServiceDeposit) (*MsgRefundServiceDepositResponse, error) // CallService defines a method for calling a service CallService(context.Context, *MsgCallService) (*MsgCallServiceResponse, error) // RespondService defines a method for responding a service RespondService(context.Context, *MsgRespondService) (*MsgRespondServiceResponse, error) // PauseRequestContext defines a method for pausing a service call PauseRequestContext(context.Context, *MsgPauseRequestContext) (*MsgPauseRequestContextResponse, error) // StartRequestContext defines a method for starting a service call StartRequestContext(context.Context, *MsgStartRequestContext) (*MsgStartRequestContextResponse, error) // KillRequestContext defines a method for killing a service call KillRequestContext(context.Context, *MsgKillRequestContext) (*MsgKillRequestContextResponse, error) // UpdateRequestContext defines a method for updating a service call UpdateRequestContext(context.Context, *MsgUpdateRequestContext) (*MsgUpdateRequestContextResponse, error) // WithdrawEarnedFees defines a method for Withdrawing a earned fees WithdrawEarnedFees(context.Context, *MsgWithdrawEarnedFees) (*MsgWithdrawEarnedFeesResponse, error) // UpdateParams defines a governance operation for updating the x/service // module parameters. The authority is defined in the keeper. // // Since: cosmos-sdk 0.47 UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error) // contains filtered or unexported methods }
MsgServer is the server API for Msg service. All implementations must embed UnimplementedMsgServer for forward compatibility
type MsgSetWithdrawAddress ¶
type MsgSetWithdrawAddress struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` WithdrawAddress string `protobuf:"bytes,2,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"` // contains filtered or unexported fields }
MsgSetWithdrawAddress defines an SDK message to set the withdrawal address for a provider
func (*MsgSetWithdrawAddress) Descriptor
deprecated
func (*MsgSetWithdrawAddress) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetWithdrawAddress.ProtoReflect.Descriptor instead.
func (*MsgSetWithdrawAddress) GetOwner ¶
func (x *MsgSetWithdrawAddress) GetOwner() string
func (*MsgSetWithdrawAddress) GetWithdrawAddress ¶
func (x *MsgSetWithdrawAddress) GetWithdrawAddress() string
func (*MsgSetWithdrawAddress) ProtoMessage ¶
func (*MsgSetWithdrawAddress) ProtoMessage()
func (*MsgSetWithdrawAddress) ProtoReflect ¶
func (x *MsgSetWithdrawAddress) ProtoReflect() protoreflect.Message
func (*MsgSetWithdrawAddress) Reset ¶
func (x *MsgSetWithdrawAddress) Reset()
func (*MsgSetWithdrawAddress) String ¶
func (x *MsgSetWithdrawAddress) String() string
type MsgSetWithdrawAddressResponse ¶
type MsgSetWithdrawAddressResponse struct {
// contains filtered or unexported fields
}
MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type
func (*MsgSetWithdrawAddressResponse) Descriptor
deprecated
func (*MsgSetWithdrawAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgSetWithdrawAddressResponse.ProtoReflect.Descriptor instead.
func (*MsgSetWithdrawAddressResponse) ProtoMessage ¶
func (*MsgSetWithdrawAddressResponse) ProtoMessage()
func (*MsgSetWithdrawAddressResponse) ProtoReflect ¶
func (x *MsgSetWithdrawAddressResponse) ProtoReflect() protoreflect.Message
func (*MsgSetWithdrawAddressResponse) Reset ¶
func (x *MsgSetWithdrawAddressResponse) Reset()
func (*MsgSetWithdrawAddressResponse) String ¶
func (x *MsgSetWithdrawAddressResponse) String() string
type MsgStartRequestContext ¶
type MsgStartRequestContext struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"` // contains filtered or unexported fields }
MsgStartRequestContext defines an SDK message to resume a service request
func (*MsgStartRequestContext) Descriptor
deprecated
func (*MsgStartRequestContext) Descriptor() ([]byte, []int)
Deprecated: Use MsgStartRequestContext.ProtoReflect.Descriptor instead.
func (*MsgStartRequestContext) GetConsumer ¶
func (x *MsgStartRequestContext) GetConsumer() string
func (*MsgStartRequestContext) GetRequestContextId ¶
func (x *MsgStartRequestContext) GetRequestContextId() string
func (*MsgStartRequestContext) ProtoMessage ¶
func (*MsgStartRequestContext) ProtoMessage()
func (*MsgStartRequestContext) ProtoReflect ¶
func (x *MsgStartRequestContext) ProtoReflect() protoreflect.Message
func (*MsgStartRequestContext) Reset ¶
func (x *MsgStartRequestContext) Reset()
func (*MsgStartRequestContext) String ¶
func (x *MsgStartRequestContext) String() string
type MsgStartRequestContextResponse ¶
type MsgStartRequestContextResponse struct {
// contains filtered or unexported fields
}
MsgStartRequestContextResponse defines the Msg/StartRequestContext response type
func (*MsgStartRequestContextResponse) Descriptor
deprecated
func (*MsgStartRequestContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgStartRequestContextResponse.ProtoReflect.Descriptor instead.
func (*MsgStartRequestContextResponse) ProtoMessage ¶
func (*MsgStartRequestContextResponse) ProtoMessage()
func (*MsgStartRequestContextResponse) ProtoReflect ¶
func (x *MsgStartRequestContextResponse) ProtoReflect() protoreflect.Message
func (*MsgStartRequestContextResponse) Reset ¶
func (x *MsgStartRequestContextResponse) Reset()
func (*MsgStartRequestContextResponse) String ¶
func (x *MsgStartRequestContextResponse) String() string
type MsgUpdateParams ¶
type MsgUpdateParams struct { // authority is the address that controls the module (defaults to x/service // unless overwritten). Authority string `protobuf:"bytes,1,opt,name=authority,proto3" json:"authority,omitempty"` // params defines the x/service parameters to update. // // NOTE: All parameters must be supplied. Params *Params `protobuf:"bytes,2,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
MsgUpdateParams is the Msg/UpdateParams request type.
Since: cosmos-sdk 0.47
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) GetParams ¶
func (x *MsgUpdateParams) GetParams() *Params
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 defines the response structure for executing a MsgUpdateParams message.
Since: cosmos-sdk 0.47
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 MsgUpdateRequestContext ¶
type MsgUpdateRequestContext struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` Providers []string `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"` Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` ServiceFeeCap []*v1beta1.Coin `protobuf:"bytes,4,rep,name=service_fee_cap,json=serviceFeeCap,proto3" json:"service_fee_cap,omitempty"` Timeout int64 `protobuf:"varint,5,opt,name=timeout,proto3" json:"timeout,omitempty"` RepeatedFrequency uint64 `protobuf:"varint,6,opt,name=repeated_frequency,json=repeatedFrequency,proto3" json:"repeated_frequency,omitempty"` RepeatedTotal int64 `protobuf:"varint,7,opt,name=repeated_total,json=repeatedTotal,proto3" json:"repeated_total,omitempty"` // contains filtered or unexported fields }
MsgUpdateRequestContext defines an SDK message to update a service request context
func (*MsgUpdateRequestContext) Descriptor
deprecated
func (*MsgUpdateRequestContext) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateRequestContext.ProtoReflect.Descriptor instead.
func (*MsgUpdateRequestContext) GetConsumer ¶
func (x *MsgUpdateRequestContext) GetConsumer() string
func (*MsgUpdateRequestContext) GetProviders ¶
func (x *MsgUpdateRequestContext) GetProviders() []string
func (*MsgUpdateRequestContext) GetRepeatedFrequency ¶
func (x *MsgUpdateRequestContext) GetRepeatedFrequency() uint64
func (*MsgUpdateRequestContext) GetRepeatedTotal ¶
func (x *MsgUpdateRequestContext) GetRepeatedTotal() int64
func (*MsgUpdateRequestContext) GetRequestContextId ¶
func (x *MsgUpdateRequestContext) GetRequestContextId() string
func (*MsgUpdateRequestContext) GetServiceFeeCap ¶
func (x *MsgUpdateRequestContext) GetServiceFeeCap() []*v1beta1.Coin
func (*MsgUpdateRequestContext) GetTimeout ¶
func (x *MsgUpdateRequestContext) GetTimeout() int64
func (*MsgUpdateRequestContext) ProtoMessage ¶
func (*MsgUpdateRequestContext) ProtoMessage()
func (*MsgUpdateRequestContext) ProtoReflect ¶
func (x *MsgUpdateRequestContext) ProtoReflect() protoreflect.Message
func (*MsgUpdateRequestContext) Reset ¶
func (x *MsgUpdateRequestContext) Reset()
func (*MsgUpdateRequestContext) String ¶
func (x *MsgUpdateRequestContext) String() string
type MsgUpdateRequestContextResponse ¶
type MsgUpdateRequestContextResponse struct {
// contains filtered or unexported fields
}
MsgUpdateRequestContextResponse defines the Msg/UpdateRequestContext response type
func (*MsgUpdateRequestContextResponse) Descriptor
deprecated
func (*MsgUpdateRequestContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateRequestContextResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateRequestContextResponse) ProtoMessage ¶
func (*MsgUpdateRequestContextResponse) ProtoMessage()
func (*MsgUpdateRequestContextResponse) ProtoReflect ¶
func (x *MsgUpdateRequestContextResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateRequestContextResponse) Reset ¶
func (x *MsgUpdateRequestContextResponse) Reset()
func (*MsgUpdateRequestContextResponse) String ¶
func (x *MsgUpdateRequestContextResponse) String() string
type MsgUpdateServiceBinding ¶
type MsgUpdateServiceBinding struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Deposit []*v1beta1.Coin `protobuf:"bytes,3,rep,name=deposit,proto3" json:"deposit,omitempty"` Pricing string `protobuf:"bytes,4,opt,name=pricing,proto3" json:"pricing,omitempty"` Qos uint64 `protobuf:"varint,5,opt,name=qos,proto3" json:"qos,omitempty"` Options string `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` Owner string `protobuf:"bytes,7,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
MsgUpdateServiceBinding defines an SDK message for updating an existing service binding
func (*MsgUpdateServiceBinding) Descriptor
deprecated
func (*MsgUpdateServiceBinding) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateServiceBinding.ProtoReflect.Descriptor instead.
func (*MsgUpdateServiceBinding) GetDeposit ¶
func (x *MsgUpdateServiceBinding) GetDeposit() []*v1beta1.Coin
func (*MsgUpdateServiceBinding) GetOptions ¶
func (x *MsgUpdateServiceBinding) GetOptions() string
func (*MsgUpdateServiceBinding) GetOwner ¶
func (x *MsgUpdateServiceBinding) GetOwner() string
func (*MsgUpdateServiceBinding) GetPricing ¶
func (x *MsgUpdateServiceBinding) GetPricing() string
func (*MsgUpdateServiceBinding) GetProvider ¶
func (x *MsgUpdateServiceBinding) GetProvider() string
func (*MsgUpdateServiceBinding) GetQos ¶
func (x *MsgUpdateServiceBinding) GetQos() uint64
func (*MsgUpdateServiceBinding) GetServiceName ¶
func (x *MsgUpdateServiceBinding) GetServiceName() string
func (*MsgUpdateServiceBinding) ProtoMessage ¶
func (*MsgUpdateServiceBinding) ProtoMessage()
func (*MsgUpdateServiceBinding) ProtoReflect ¶
func (x *MsgUpdateServiceBinding) ProtoReflect() protoreflect.Message
func (*MsgUpdateServiceBinding) Reset ¶
func (x *MsgUpdateServiceBinding) Reset()
func (*MsgUpdateServiceBinding) String ¶
func (x *MsgUpdateServiceBinding) String() string
type MsgUpdateServiceBindingResponse ¶
type MsgUpdateServiceBindingResponse struct {
// contains filtered or unexported fields
}
MsgUpdateServiceBindingResponse defines the Msg/UpdateServiceBinding response type
func (*MsgUpdateServiceBindingResponse) Descriptor
deprecated
func (*MsgUpdateServiceBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgUpdateServiceBindingResponse.ProtoReflect.Descriptor instead.
func (*MsgUpdateServiceBindingResponse) ProtoMessage ¶
func (*MsgUpdateServiceBindingResponse) ProtoMessage()
func (*MsgUpdateServiceBindingResponse) ProtoReflect ¶
func (x *MsgUpdateServiceBindingResponse) ProtoReflect() protoreflect.Message
func (*MsgUpdateServiceBindingResponse) Reset ¶
func (x *MsgUpdateServiceBindingResponse) Reset()
func (*MsgUpdateServiceBindingResponse) String ¶
func (x *MsgUpdateServiceBindingResponse) String() string
type MsgWithdrawEarnedFees ¶
type MsgWithdrawEarnedFees struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
MsgWithdrawEarnedFees defines an SDK message to withdraw the fees earned by the provider or owner
func (*MsgWithdrawEarnedFees) Descriptor
deprecated
func (*MsgWithdrawEarnedFees) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawEarnedFees.ProtoReflect.Descriptor instead.
func (*MsgWithdrawEarnedFees) GetOwner ¶
func (x *MsgWithdrawEarnedFees) GetOwner() string
func (*MsgWithdrawEarnedFees) GetProvider ¶
func (x *MsgWithdrawEarnedFees) GetProvider() string
func (*MsgWithdrawEarnedFees) ProtoMessage ¶
func (*MsgWithdrawEarnedFees) ProtoMessage()
func (*MsgWithdrawEarnedFees) ProtoReflect ¶
func (x *MsgWithdrawEarnedFees) ProtoReflect() protoreflect.Message
func (*MsgWithdrawEarnedFees) Reset ¶
func (x *MsgWithdrawEarnedFees) Reset()
func (*MsgWithdrawEarnedFees) String ¶
func (x *MsgWithdrawEarnedFees) String() string
type MsgWithdrawEarnedFeesResponse ¶
type MsgWithdrawEarnedFeesResponse struct {
// contains filtered or unexported fields
}
MsgWithdrawEarnedFeesResponse defines the Msg/WithdrawEarnedFees response type
func (*MsgWithdrawEarnedFeesResponse) Descriptor
deprecated
func (*MsgWithdrawEarnedFeesResponse) Descriptor() ([]byte, []int)
Deprecated: Use MsgWithdrawEarnedFeesResponse.ProtoReflect.Descriptor instead.
func (*MsgWithdrawEarnedFeesResponse) ProtoMessage ¶
func (*MsgWithdrawEarnedFeesResponse) ProtoMessage()
func (*MsgWithdrawEarnedFeesResponse) ProtoReflect ¶
func (x *MsgWithdrawEarnedFeesResponse) ProtoReflect() protoreflect.Message
func (*MsgWithdrawEarnedFeesResponse) Reset ¶
func (x *MsgWithdrawEarnedFeesResponse) Reset()
func (*MsgWithdrawEarnedFeesResponse) String ¶
func (x *MsgWithdrawEarnedFeesResponse) String() string
type Params ¶
type Params struct { MaxRequestTimeout int64 `protobuf:"varint,1,opt,name=max_request_timeout,json=maxRequestTimeout,proto3" json:"max_request_timeout,omitempty"` MinDepositMultiple int64 `protobuf:"varint,2,opt,name=min_deposit_multiple,json=minDepositMultiple,proto3" json:"min_deposit_multiple,omitempty"` MinDeposit []*v1beta1.Coin `protobuf:"bytes,3,rep,name=min_deposit,json=minDeposit,proto3" json:"min_deposit,omitempty"` ServiceFeeTax string `protobuf:"bytes,4,opt,name=service_fee_tax,json=serviceFeeTax,proto3" json:"service_fee_tax,omitempty"` SlashFraction string `protobuf:"bytes,5,opt,name=slash_fraction,json=slashFraction,proto3" json:"slash_fraction,omitempty"` ComplaintRetrospect *durationpb.Duration `protobuf:"bytes,6,opt,name=complaint_retrospect,json=complaintRetrospect,proto3" json:"complaint_retrospect,omitempty"` ArbitrationTimeLimit *durationpb.Duration `protobuf:"bytes,7,opt,name=arbitration_time_limit,json=arbitrationTimeLimit,proto3" json:"arbitration_time_limit,omitempty"` TxSizeLimit uint64 `protobuf:"varint,8,opt,name=tx_size_limit,json=txSizeLimit,proto3" json:"tx_size_limit,omitempty"` BaseDenom string `protobuf:"bytes,9,opt,name=base_denom,json=baseDenom,proto3" json:"base_denom,omitempty"` RestrictedServiceFeeDenom bool `` /* 142-byte string literal not displayed */ // contains filtered or unexported fields }
Params defines service module's parameters
func (*Params) GetArbitrationTimeLimit ¶
func (x *Params) GetArbitrationTimeLimit() *durationpb.Duration
func (*Params) GetComplaintRetrospect ¶
func (x *Params) GetComplaintRetrospect() *durationpb.Duration
func (*Params) ProtoReflect ¶
func (x *Params) ProtoReflect() protoreflect.Message
type Pricing ¶
type Pricing struct { Price []*v1beta1.Coin `protobuf:"bytes,6,rep,name=price,proto3" json:"price,omitempty"` PromotionsByTime []*PromotionByTime `protobuf:"bytes,2,rep,name=promotions_by_time,json=promotionsByTime,proto3" json:"promotions_by_time,omitempty"` PromotionsByVolume []*PromotionByVolume `protobuf:"bytes,3,rep,name=promotions_by_volume,json=promotionsByVolume,proto3" json:"promotions_by_volume,omitempty"` // contains filtered or unexported fields }
Pricing defines a standard for service pricing
func (*Pricing) GetPromotionsByTime ¶
func (x *Pricing) GetPromotionsByTime() []*PromotionByTime
func (*Pricing) GetPromotionsByVolume ¶
func (x *Pricing) GetPromotionsByVolume() []*PromotionByVolume
func (*Pricing) ProtoReflect ¶
func (x *Pricing) ProtoReflect() protoreflect.Message
type PromotionByTime ¶
type PromotionByTime struct { StartTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` EndTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"` Discount string `protobuf:"bytes,3,opt,name=discount,proto3" json:"discount,omitempty"` // contains filtered or unexported fields }
PromotionByTime defines a standard for service promotion by time
func (*PromotionByTime) Descriptor
deprecated
func (*PromotionByTime) Descriptor() ([]byte, []int)
Deprecated: Use PromotionByTime.ProtoReflect.Descriptor instead.
func (*PromotionByTime) GetDiscount ¶
func (x *PromotionByTime) GetDiscount() string
func (*PromotionByTime) GetEndTime ¶
func (x *PromotionByTime) GetEndTime() *timestamppb.Timestamp
func (*PromotionByTime) GetStartTime ¶
func (x *PromotionByTime) GetStartTime() *timestamppb.Timestamp
func (*PromotionByTime) ProtoMessage ¶
func (*PromotionByTime) ProtoMessage()
func (*PromotionByTime) ProtoReflect ¶
func (x *PromotionByTime) ProtoReflect() protoreflect.Message
func (*PromotionByTime) Reset ¶
func (x *PromotionByTime) Reset()
func (*PromotionByTime) String ¶
func (x *PromotionByTime) String() string
type PromotionByVolume ¶
type PromotionByVolume struct { Volume uint64 `protobuf:"varint,1,opt,name=volume,proto3" json:"volume,omitempty"` Discount string `protobuf:"bytes,2,opt,name=discount,proto3" json:"discount,omitempty"` // contains filtered or unexported fields }
PromotionByVolume defines a standard for service promotion by volume
func (*PromotionByVolume) Descriptor
deprecated
func (*PromotionByVolume) Descriptor() ([]byte, []int)
Deprecated: Use PromotionByVolume.ProtoReflect.Descriptor instead.
func (*PromotionByVolume) GetDiscount ¶
func (x *PromotionByVolume) GetDiscount() string
func (*PromotionByVolume) GetVolume ¶
func (x *PromotionByVolume) GetVolume() uint64
func (*PromotionByVolume) ProtoMessage ¶
func (*PromotionByVolume) ProtoMessage()
func (*PromotionByVolume) ProtoReflect ¶
func (x *PromotionByVolume) ProtoReflect() protoreflect.Message
func (*PromotionByVolume) Reset ¶
func (x *PromotionByVolume) Reset()
func (*PromotionByVolume) String ¶
func (x *PromotionByVolume) String() string
type QueryBindingRequest ¶
type QueryBindingRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
QueryBindingRequest is request type for the Query/Binding RPC method
func (*QueryBindingRequest) Descriptor
deprecated
func (*QueryBindingRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBindingRequest.ProtoReflect.Descriptor instead.
func (*QueryBindingRequest) GetProvider ¶
func (x *QueryBindingRequest) GetProvider() string
func (*QueryBindingRequest) GetServiceName ¶
func (x *QueryBindingRequest) GetServiceName() string
func (*QueryBindingRequest) ProtoMessage ¶
func (*QueryBindingRequest) ProtoMessage()
func (*QueryBindingRequest) ProtoReflect ¶
func (x *QueryBindingRequest) ProtoReflect() protoreflect.Message
func (*QueryBindingRequest) Reset ¶
func (x *QueryBindingRequest) Reset()
func (*QueryBindingRequest) String ¶
func (x *QueryBindingRequest) String() string
type QueryBindingResponse ¶
type QueryBindingResponse struct { ServiceBinding *ServiceBinding `protobuf:"bytes,1,opt,name=service_binding,json=serviceBinding,proto3" json:"service_binding,omitempty"` // contains filtered or unexported fields }
QueryDefinitionResponse is response type for the Query/Binding RPC method
func (*QueryBindingResponse) Descriptor
deprecated
func (*QueryBindingResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBindingResponse.ProtoReflect.Descriptor instead.
func (*QueryBindingResponse) GetServiceBinding ¶
func (x *QueryBindingResponse) GetServiceBinding() *ServiceBinding
func (*QueryBindingResponse) ProtoMessage ¶
func (*QueryBindingResponse) ProtoMessage()
func (*QueryBindingResponse) ProtoReflect ¶
func (x *QueryBindingResponse) ProtoReflect() protoreflect.Message
func (*QueryBindingResponse) Reset ¶
func (x *QueryBindingResponse) Reset()
func (*QueryBindingResponse) String ¶
func (x *QueryBindingResponse) String() string
type QueryBindingsRequest ¶
type QueryBindingsRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` // pagination defines an optional pagination for the request Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryBindingsRequest is request type for the Query/Bindings RPC method
func (*QueryBindingsRequest) Descriptor
deprecated
func (*QueryBindingsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryBindingsRequest.ProtoReflect.Descriptor instead.
func (*QueryBindingsRequest) GetOwner ¶
func (x *QueryBindingsRequest) GetOwner() string
func (*QueryBindingsRequest) GetPagination ¶
func (x *QueryBindingsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryBindingsRequest) GetServiceName ¶
func (x *QueryBindingsRequest) GetServiceName() string
func (*QueryBindingsRequest) ProtoMessage ¶
func (*QueryBindingsRequest) ProtoMessage()
func (*QueryBindingsRequest) ProtoReflect ¶
func (x *QueryBindingsRequest) ProtoReflect() protoreflect.Message
func (*QueryBindingsRequest) Reset ¶
func (x *QueryBindingsRequest) Reset()
func (*QueryBindingsRequest) String ¶
func (x *QueryBindingsRequest) String() string
type QueryBindingsResponse ¶
type QueryBindingsResponse struct { ServiceBindings []*ServiceBinding `protobuf:"bytes,1,rep,name=service_bindings,json=serviceBindings,proto3" json:"service_bindings,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryDefinitionsResponse is response type for the Query/Bindings RPC method
func (*QueryBindingsResponse) Descriptor
deprecated
func (*QueryBindingsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBindingsResponse.ProtoReflect.Descriptor instead.
func (*QueryBindingsResponse) GetPagination ¶
func (x *QueryBindingsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryBindingsResponse) GetServiceBindings ¶
func (x *QueryBindingsResponse) GetServiceBindings() []*ServiceBinding
func (*QueryBindingsResponse) ProtoMessage ¶
func (*QueryBindingsResponse) ProtoMessage()
func (*QueryBindingsResponse) ProtoReflect ¶
func (x *QueryBindingsResponse) ProtoReflect() protoreflect.Message
func (*QueryBindingsResponse) Reset ¶
func (x *QueryBindingsResponse) Reset()
func (*QueryBindingsResponse) String ¶
func (x *QueryBindingsResponse) String() string
type QueryClient ¶
type QueryClient interface { // Definition returns service definition Definition(ctx context.Context, in *QueryDefinitionRequest, opts ...grpc.CallOption) (*QueryDefinitionResponse, error) // Binding returns service Binding with service name and provider Binding(ctx context.Context, in *QueryBindingRequest, opts ...grpc.CallOption) (*QueryBindingResponse, error) // Bindings returns all service Bindings with service name and owner Bindings(ctx context.Context, in *QueryBindingsRequest, opts ...grpc.CallOption) (*QueryBindingsResponse, error) // WithdrawAddress returns the withdraw address of the binding owner WithdrawAddress(ctx context.Context, in *QueryWithdrawAddressRequest, opts ...grpc.CallOption) (*QueryWithdrawAddressResponse, error) // RequestContext returns the request context RequestContext(ctx context.Context, in *QueryRequestContextRequest, opts ...grpc.CallOption) (*QueryRequestContextResponse, error) // Request returns the request Request(ctx context.Context, in *QueryRequestRequest, opts ...grpc.CallOption) (*QueryRequestResponse, error) // Request returns all requests of one service with provider Requests(ctx context.Context, in *QueryRequestsRequest, opts ...grpc.CallOption) (*QueryRequestsResponse, error) // RequestsByReqCtx returns all requests of one service call batch RequestsByReqCtx(ctx context.Context, in *QueryRequestsByReqCtxRequest, opts ...grpc.CallOption) (*QueryRequestsByReqCtxResponse, error) // Response returns the response of request Response(ctx context.Context, in *QueryResponseRequest, opts ...grpc.CallOption) (*QueryResponseResponse, error) // Responses returns all responses of one service call batch Responses(ctx context.Context, in *QueryResponsesRequest, opts ...grpc.CallOption) (*QueryResponsesResponse, error) // EarnedFees returns the earned service fee of one provider EarnedFees(ctx context.Context, in *QueryEarnedFeesRequest, opts ...grpc.CallOption) (*QueryEarnedFeesResponse, error) // Schema returns the schema Schema(ctx context.Context, in *QuerySchemaRequest, opts ...grpc.CallOption) (*QuerySchemaResponse, error) // Params queries the service parameters Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, 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 QueryDefinitionRequest ¶
type QueryDefinitionRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` // contains filtered or unexported fields }
QueryDefinitionRequest is request type for the Query/Definition RPC method
func (*QueryDefinitionRequest) Descriptor
deprecated
func (*QueryDefinitionRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryDefinitionRequest.ProtoReflect.Descriptor instead.
func (*QueryDefinitionRequest) GetServiceName ¶
func (x *QueryDefinitionRequest) GetServiceName() string
func (*QueryDefinitionRequest) ProtoMessage ¶
func (*QueryDefinitionRequest) ProtoMessage()
func (*QueryDefinitionRequest) ProtoReflect ¶
func (x *QueryDefinitionRequest) ProtoReflect() protoreflect.Message
func (*QueryDefinitionRequest) Reset ¶
func (x *QueryDefinitionRequest) Reset()
func (*QueryDefinitionRequest) String ¶
func (x *QueryDefinitionRequest) String() string
type QueryDefinitionResponse ¶
type QueryDefinitionResponse struct { ServiceDefinition *ServiceDefinition `protobuf:"bytes,1,opt,name=service_definition,json=serviceDefinition,proto3" json:"service_definition,omitempty"` // contains filtered or unexported fields }
QueryDefinitionResponse is response type for the Query/Definition RPC method
func (*QueryDefinitionResponse) Descriptor
deprecated
func (*QueryDefinitionResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryDefinitionResponse.ProtoReflect.Descriptor instead.
func (*QueryDefinitionResponse) GetServiceDefinition ¶
func (x *QueryDefinitionResponse) GetServiceDefinition() *ServiceDefinition
func (*QueryDefinitionResponse) ProtoMessage ¶
func (*QueryDefinitionResponse) ProtoMessage()
func (*QueryDefinitionResponse) ProtoReflect ¶
func (x *QueryDefinitionResponse) ProtoReflect() protoreflect.Message
func (*QueryDefinitionResponse) Reset ¶
func (x *QueryDefinitionResponse) Reset()
func (*QueryDefinitionResponse) String ¶
func (x *QueryDefinitionResponse) String() string
type QueryEarnedFeesRequest ¶
type QueryEarnedFeesRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
QueryEarnedFeesRequest is request type for the Query/EarnedFees RPC method
func (*QueryEarnedFeesRequest) Descriptor
deprecated
func (*QueryEarnedFeesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryEarnedFeesRequest.ProtoReflect.Descriptor instead.
func (*QueryEarnedFeesRequest) GetProvider ¶
func (x *QueryEarnedFeesRequest) GetProvider() string
func (*QueryEarnedFeesRequest) ProtoMessage ¶
func (*QueryEarnedFeesRequest) ProtoMessage()
func (*QueryEarnedFeesRequest) ProtoReflect ¶
func (x *QueryEarnedFeesRequest) ProtoReflect() protoreflect.Message
func (*QueryEarnedFeesRequest) Reset ¶
func (x *QueryEarnedFeesRequest) Reset()
func (*QueryEarnedFeesRequest) String ¶
func (x *QueryEarnedFeesRequest) String() string
type QueryEarnedFeesResponse ¶
type QueryEarnedFeesResponse struct { Fees []*v1beta11.Coin `protobuf:"bytes,1,rep,name=fees,proto3" json:"fees,omitempty"` // contains filtered or unexported fields }
QueryEarnedFeesResponse is response type for the Query/EarnedFees RPC method
func (*QueryEarnedFeesResponse) Descriptor
deprecated
func (*QueryEarnedFeesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryEarnedFeesResponse.ProtoReflect.Descriptor instead.
func (*QueryEarnedFeesResponse) GetFees ¶
func (x *QueryEarnedFeesResponse) GetFees() []*v1beta11.Coin
func (*QueryEarnedFeesResponse) ProtoMessage ¶
func (*QueryEarnedFeesResponse) ProtoMessage()
func (*QueryEarnedFeesResponse) ProtoReflect ¶
func (x *QueryEarnedFeesResponse) ProtoReflect() protoreflect.Message
func (*QueryEarnedFeesResponse) Reset ¶
func (x *QueryEarnedFeesResponse) Reset()
func (*QueryEarnedFeesResponse) String ¶
func (x *QueryEarnedFeesResponse) String() string
type QueryParamsRequest ¶
type QueryParamsRequest struct {
// contains filtered or unexported fields
}
QueryParametersRequest is request type for the Query/Parameters 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 { Params *Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` Res *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=res,proto3" json:"res,omitempty"` // contains filtered or unexported fields }
QueryParametersResponse is response type for the Query/Parameters RPC method
func (*QueryParamsResponse) Descriptor
deprecated
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryParamsResponse.ProtoReflect.Descriptor instead.
func (*QueryParamsResponse) GetParams ¶
func (x *QueryParamsResponse) GetParams() *Params
func (*QueryParamsResponse) GetRes ¶
func (x *QueryParamsResponse) GetRes() *v1beta1.PageResponse
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 QueryRequestContextRequest ¶
type QueryRequestContextRequest struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` // contains filtered or unexported fields }
QueryRequestContextRequest is request type for the Query/RequestContext RPC method
func (*QueryRequestContextRequest) Descriptor
deprecated
func (*QueryRequestContextRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestContextRequest.ProtoReflect.Descriptor instead.
func (*QueryRequestContextRequest) GetRequestContextId ¶
func (x *QueryRequestContextRequest) GetRequestContextId() string
func (*QueryRequestContextRequest) ProtoMessage ¶
func (*QueryRequestContextRequest) ProtoMessage()
func (*QueryRequestContextRequest) ProtoReflect ¶
func (x *QueryRequestContextRequest) ProtoReflect() protoreflect.Message
func (*QueryRequestContextRequest) Reset ¶
func (x *QueryRequestContextRequest) Reset()
func (*QueryRequestContextRequest) String ¶
func (x *QueryRequestContextRequest) String() string
type QueryRequestContextResponse ¶
type QueryRequestContextResponse struct { RequestContext *RequestContext `protobuf:"bytes,1,opt,name=request_context,json=requestContext,proto3" json:"request_context,omitempty"` // contains filtered or unexported fields }
QueryRequestContextResponse is response type for the Query/RequestContext RPC method
func (*QueryRequestContextResponse) Descriptor
deprecated
func (*QueryRequestContextResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestContextResponse.ProtoReflect.Descriptor instead.
func (*QueryRequestContextResponse) GetRequestContext ¶
func (x *QueryRequestContextResponse) GetRequestContext() *RequestContext
func (*QueryRequestContextResponse) ProtoMessage ¶
func (*QueryRequestContextResponse) ProtoMessage()
func (*QueryRequestContextResponse) ProtoReflect ¶
func (x *QueryRequestContextResponse) ProtoReflect() protoreflect.Message
func (*QueryRequestContextResponse) Reset ¶
func (x *QueryRequestContextResponse) Reset()
func (*QueryRequestContextResponse) String ¶
func (x *QueryRequestContextResponse) String() string
type QueryRequestRequest ¶
type QueryRequestRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
QueryRequestRequest is request type for the Query/Request RPC method
func (*QueryRequestRequest) Descriptor
deprecated
func (*QueryRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestRequest.ProtoReflect.Descriptor instead.
func (*QueryRequestRequest) GetRequestId ¶
func (x *QueryRequestRequest) GetRequestId() string
func (*QueryRequestRequest) ProtoMessage ¶
func (*QueryRequestRequest) ProtoMessage()
func (*QueryRequestRequest) ProtoReflect ¶
func (x *QueryRequestRequest) ProtoReflect() protoreflect.Message
func (*QueryRequestRequest) Reset ¶
func (x *QueryRequestRequest) Reset()
func (*QueryRequestRequest) String ¶
func (x *QueryRequestRequest) String() string
type QueryRequestResponse ¶
type QueryRequestResponse struct { Request *Request `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` // contains filtered or unexported fields }
QueryRequestResponse is response type for the Query/Request RPC method
func (*QueryRequestResponse) Descriptor
deprecated
func (*QueryRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestResponse.ProtoReflect.Descriptor instead.
func (*QueryRequestResponse) GetRequest ¶
func (x *QueryRequestResponse) GetRequest() *Request
func (*QueryRequestResponse) ProtoMessage ¶
func (*QueryRequestResponse) ProtoMessage()
func (*QueryRequestResponse) ProtoReflect ¶
func (x *QueryRequestResponse) ProtoReflect() protoreflect.Message
func (*QueryRequestResponse) Reset ¶
func (x *QueryRequestResponse) Reset()
func (*QueryRequestResponse) String ¶
func (x *QueryRequestResponse) String() string
type QueryRequestsByReqCtxRequest ¶
type QueryRequestsByReqCtxRequest struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` BatchCounter uint64 `protobuf:"varint,2,opt,name=batch_counter,json=batchCounter,proto3" json:"batch_counter,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryRequestsByReqCtxRequest is request type for the Query/RequestsByReqCtx RPC method
func (*QueryRequestsByReqCtxRequest) Descriptor
deprecated
func (*QueryRequestsByReqCtxRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestsByReqCtxRequest.ProtoReflect.Descriptor instead.
func (*QueryRequestsByReqCtxRequest) GetBatchCounter ¶
func (x *QueryRequestsByReqCtxRequest) GetBatchCounter() uint64
func (*QueryRequestsByReqCtxRequest) GetPagination ¶
func (x *QueryRequestsByReqCtxRequest) GetPagination() *v1beta1.PageRequest
func (*QueryRequestsByReqCtxRequest) GetRequestContextId ¶
func (x *QueryRequestsByReqCtxRequest) GetRequestContextId() string
func (*QueryRequestsByReqCtxRequest) ProtoMessage ¶
func (*QueryRequestsByReqCtxRequest) ProtoMessage()
func (*QueryRequestsByReqCtxRequest) ProtoReflect ¶
func (x *QueryRequestsByReqCtxRequest) ProtoReflect() protoreflect.Message
func (*QueryRequestsByReqCtxRequest) Reset ¶
func (x *QueryRequestsByReqCtxRequest) Reset()
func (*QueryRequestsByReqCtxRequest) String ¶
func (x *QueryRequestsByReqCtxRequest) String() string
type QueryRequestsByReqCtxResponse ¶
type QueryRequestsByReqCtxResponse struct { Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryRequestsByReqCtxResponse is response type for the Query/RequestsByReqCtx RPC method
func (*QueryRequestsByReqCtxResponse) Descriptor
deprecated
func (*QueryRequestsByReqCtxResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestsByReqCtxResponse.ProtoReflect.Descriptor instead.
func (*QueryRequestsByReqCtxResponse) GetPagination ¶
func (x *QueryRequestsByReqCtxResponse) GetPagination() *v1beta1.PageResponse
func (*QueryRequestsByReqCtxResponse) GetRequests ¶
func (x *QueryRequestsByReqCtxResponse) GetRequests() []*Request
func (*QueryRequestsByReqCtxResponse) ProtoMessage ¶
func (*QueryRequestsByReqCtxResponse) ProtoMessage()
func (*QueryRequestsByReqCtxResponse) ProtoReflect ¶
func (x *QueryRequestsByReqCtxResponse) ProtoReflect() protoreflect.Message
func (*QueryRequestsByReqCtxResponse) Reset ¶
func (x *QueryRequestsByReqCtxResponse) Reset()
func (*QueryRequestsByReqCtxResponse) String ¶
func (x *QueryRequestsByReqCtxResponse) String() string
type QueryRequestsRequest ¶
type QueryRequestsRequest struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryRequestsRequest is request type for the Query/Requests RPC method
func (*QueryRequestsRequest) Descriptor
deprecated
func (*QueryRequestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestsRequest.ProtoReflect.Descriptor instead.
func (*QueryRequestsRequest) GetPagination ¶
func (x *QueryRequestsRequest) GetPagination() *v1beta1.PageRequest
func (*QueryRequestsRequest) GetProvider ¶
func (x *QueryRequestsRequest) GetProvider() string
func (*QueryRequestsRequest) GetServiceName ¶
func (x *QueryRequestsRequest) GetServiceName() string
func (*QueryRequestsRequest) ProtoMessage ¶
func (*QueryRequestsRequest) ProtoMessage()
func (*QueryRequestsRequest) ProtoReflect ¶
func (x *QueryRequestsRequest) ProtoReflect() protoreflect.Message
func (*QueryRequestsRequest) Reset ¶
func (x *QueryRequestsRequest) Reset()
func (*QueryRequestsRequest) String ¶
func (x *QueryRequestsRequest) String() string
type QueryRequestsResponse ¶
type QueryRequestsResponse struct { Requests []*Request `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryRequestsResponse is response type for the Query/Requests RPC method
func (*QueryRequestsResponse) Descriptor
deprecated
func (*QueryRequestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryRequestsResponse.ProtoReflect.Descriptor instead.
func (*QueryRequestsResponse) GetPagination ¶
func (x *QueryRequestsResponse) GetPagination() *v1beta1.PageResponse
func (*QueryRequestsResponse) GetRequests ¶
func (x *QueryRequestsResponse) GetRequests() []*Request
func (*QueryRequestsResponse) ProtoMessage ¶
func (*QueryRequestsResponse) ProtoMessage()
func (*QueryRequestsResponse) ProtoReflect ¶
func (x *QueryRequestsResponse) ProtoReflect() protoreflect.Message
func (*QueryRequestsResponse) Reset ¶
func (x *QueryRequestsResponse) Reset()
func (*QueryRequestsResponse) String ¶
func (x *QueryRequestsResponse) String() string
type QueryResponseRequest ¶
type QueryResponseRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
QueryResponseRequest is request type for the Query/Response RPC method
func (*QueryResponseRequest) Descriptor
deprecated
func (*QueryResponseRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponseRequest.ProtoReflect.Descriptor instead.
func (*QueryResponseRequest) GetRequestId ¶
func (x *QueryResponseRequest) GetRequestId() string
func (*QueryResponseRequest) ProtoMessage ¶
func (*QueryResponseRequest) ProtoMessage()
func (*QueryResponseRequest) ProtoReflect ¶
func (x *QueryResponseRequest) ProtoReflect() protoreflect.Message
func (*QueryResponseRequest) Reset ¶
func (x *QueryResponseRequest) Reset()
func (*QueryResponseRequest) String ¶
func (x *QueryResponseRequest) String() string
type QueryResponseResponse ¶
type QueryResponseResponse struct { Response *Response `protobuf:"bytes,1,opt,name=response,proto3" json:"response,omitempty"` // contains filtered or unexported fields }
QueryResponseResponse is response type for the Query/Response RPC method
func (*QueryResponseResponse) Descriptor
deprecated
func (*QueryResponseResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponseResponse.ProtoReflect.Descriptor instead.
func (*QueryResponseResponse) GetResponse ¶
func (x *QueryResponseResponse) GetResponse() *Response
func (*QueryResponseResponse) ProtoMessage ¶
func (*QueryResponseResponse) ProtoMessage()
func (*QueryResponseResponse) ProtoReflect ¶
func (x *QueryResponseResponse) ProtoReflect() protoreflect.Message
func (*QueryResponseResponse) Reset ¶
func (x *QueryResponseResponse) Reset()
func (*QueryResponseResponse) String ¶
func (x *QueryResponseResponse) String() string
type QueryResponsesRequest ¶
type QueryResponsesRequest struct { RequestContextId string `protobuf:"bytes,1,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` BatchCounter uint64 `protobuf:"varint,2,opt,name=batch_counter,json=batchCounter,proto3" json:"batch_counter,omitempty"` Pagination *v1beta1.PageRequest `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryResponsesRequest is request type for the Query/Responses RPC method
func (*QueryResponsesRequest) Descriptor
deprecated
func (*QueryResponsesRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponsesRequest.ProtoReflect.Descriptor instead.
func (*QueryResponsesRequest) GetBatchCounter ¶
func (x *QueryResponsesRequest) GetBatchCounter() uint64
func (*QueryResponsesRequest) GetPagination ¶
func (x *QueryResponsesRequest) GetPagination() *v1beta1.PageRequest
func (*QueryResponsesRequest) GetRequestContextId ¶
func (x *QueryResponsesRequest) GetRequestContextId() string
func (*QueryResponsesRequest) ProtoMessage ¶
func (*QueryResponsesRequest) ProtoMessage()
func (*QueryResponsesRequest) ProtoReflect ¶
func (x *QueryResponsesRequest) ProtoReflect() protoreflect.Message
func (*QueryResponsesRequest) Reset ¶
func (x *QueryResponsesRequest) Reset()
func (*QueryResponsesRequest) String ¶
func (x *QueryResponsesRequest) String() string
type QueryResponsesResponse ¶
type QueryResponsesResponse struct { Responses []*Response `protobuf:"bytes,1,rep,name=responses,proto3" json:"responses,omitempty"` Pagination *v1beta1.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` // contains filtered or unexported fields }
QueryResponsesResponse is response type for the Query/Responses RPC method
func (*QueryResponsesResponse) Descriptor
deprecated
func (*QueryResponsesResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponsesResponse.ProtoReflect.Descriptor instead.
func (*QueryResponsesResponse) GetPagination ¶
func (x *QueryResponsesResponse) GetPagination() *v1beta1.PageResponse
func (*QueryResponsesResponse) GetResponses ¶
func (x *QueryResponsesResponse) GetResponses() []*Response
func (*QueryResponsesResponse) ProtoMessage ¶
func (*QueryResponsesResponse) ProtoMessage()
func (*QueryResponsesResponse) ProtoReflect ¶
func (x *QueryResponsesResponse) ProtoReflect() protoreflect.Message
func (*QueryResponsesResponse) Reset ¶
func (x *QueryResponsesResponse) Reset()
func (*QueryResponsesResponse) String ¶
func (x *QueryResponsesResponse) String() string
type QuerySchemaRequest ¶
type QuerySchemaRequest struct { SchemaName string `protobuf:"bytes,1,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // contains filtered or unexported fields }
QuerySchemaRequest is request type for the Query/Schema RPC method
func (*QuerySchemaRequest) Descriptor
deprecated
func (*QuerySchemaRequest) Descriptor() ([]byte, []int)
Deprecated: Use QuerySchemaRequest.ProtoReflect.Descriptor instead.
func (*QuerySchemaRequest) GetSchemaName ¶
func (x *QuerySchemaRequest) GetSchemaName() string
func (*QuerySchemaRequest) ProtoMessage ¶
func (*QuerySchemaRequest) ProtoMessage()
func (*QuerySchemaRequest) ProtoReflect ¶
func (x *QuerySchemaRequest) ProtoReflect() protoreflect.Message
func (*QuerySchemaRequest) Reset ¶
func (x *QuerySchemaRequest) Reset()
func (*QuerySchemaRequest) String ¶
func (x *QuerySchemaRequest) String() string
type QuerySchemaResponse ¶
type QuerySchemaResponse struct { Schema string `protobuf:"bytes,1,opt,name=schema,proto3" json:"schema,omitempty"` // contains filtered or unexported fields }
QuerySchemaResponse is response type for the Query/Schema RPC method
func (*QuerySchemaResponse) Descriptor
deprecated
func (*QuerySchemaResponse) Descriptor() ([]byte, []int)
Deprecated: Use QuerySchemaResponse.ProtoReflect.Descriptor instead.
func (*QuerySchemaResponse) GetSchema ¶
func (x *QuerySchemaResponse) GetSchema() string
func (*QuerySchemaResponse) ProtoMessage ¶
func (*QuerySchemaResponse) ProtoMessage()
func (*QuerySchemaResponse) ProtoReflect ¶
func (x *QuerySchemaResponse) ProtoReflect() protoreflect.Message
func (*QuerySchemaResponse) Reset ¶
func (x *QuerySchemaResponse) Reset()
func (*QuerySchemaResponse) String ¶
func (x *QuerySchemaResponse) String() string
type QueryServer ¶
type QueryServer interface { // Definition returns service definition Definition(context.Context, *QueryDefinitionRequest) (*QueryDefinitionResponse, error) // Binding returns service Binding with service name and provider Binding(context.Context, *QueryBindingRequest) (*QueryBindingResponse, error) // Bindings returns all service Bindings with service name and owner Bindings(context.Context, *QueryBindingsRequest) (*QueryBindingsResponse, error) // WithdrawAddress returns the withdraw address of the binding owner WithdrawAddress(context.Context, *QueryWithdrawAddressRequest) (*QueryWithdrawAddressResponse, error) // RequestContext returns the request context RequestContext(context.Context, *QueryRequestContextRequest) (*QueryRequestContextResponse, error) // Request returns the request Request(context.Context, *QueryRequestRequest) (*QueryRequestResponse, error) // Request returns all requests of one service with provider Requests(context.Context, *QueryRequestsRequest) (*QueryRequestsResponse, error) // RequestsByReqCtx returns all requests of one service call batch RequestsByReqCtx(context.Context, *QueryRequestsByReqCtxRequest) (*QueryRequestsByReqCtxResponse, error) // Response returns the response of request Response(context.Context, *QueryResponseRequest) (*QueryResponseResponse, error) // Responses returns all responses of one service call batch Responses(context.Context, *QueryResponsesRequest) (*QueryResponsesResponse, error) // EarnedFees returns the earned service fee of one provider EarnedFees(context.Context, *QueryEarnedFeesRequest) (*QueryEarnedFeesResponse, error) // Schema returns the schema Schema(context.Context, *QuerySchemaRequest) (*QuerySchemaResponse, error) // Params queries the service parameters Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // contains filtered or unexported methods }
QueryServer is the server API for Query service. All implementations must embed UnimplementedQueryServer for forward compatibility
type QueryWithdrawAddressRequest ¶
type QueryWithdrawAddressRequest struct { Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
QueryWithdrawAddressRequest is request type for the Query/WithdrawAddress RPC method
func (*QueryWithdrawAddressRequest) Descriptor
deprecated
func (*QueryWithdrawAddressRequest) Descriptor() ([]byte, []int)
Deprecated: Use QueryWithdrawAddressRequest.ProtoReflect.Descriptor instead.
func (*QueryWithdrawAddressRequest) GetOwner ¶
func (x *QueryWithdrawAddressRequest) GetOwner() string
func (*QueryWithdrawAddressRequest) ProtoMessage ¶
func (*QueryWithdrawAddressRequest) ProtoMessage()
func (*QueryWithdrawAddressRequest) ProtoReflect ¶
func (x *QueryWithdrawAddressRequest) ProtoReflect() protoreflect.Message
func (*QueryWithdrawAddressRequest) Reset ¶
func (x *QueryWithdrawAddressRequest) Reset()
func (*QueryWithdrawAddressRequest) String ¶
func (x *QueryWithdrawAddressRequest) String() string
type QueryWithdrawAddressResponse ¶
type QueryWithdrawAddressResponse struct { WithdrawAddress string `protobuf:"bytes,1,opt,name=withdraw_address,json=withdrawAddress,proto3" json:"withdraw_address,omitempty"` // contains filtered or unexported fields }
QueryWithdrawAddressResponse is response type for the Query/WithdrawAddress RPC method
func (*QueryWithdrawAddressResponse) Descriptor
deprecated
func (*QueryWithdrawAddressResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryWithdrawAddressResponse.ProtoReflect.Descriptor instead.
func (*QueryWithdrawAddressResponse) GetWithdrawAddress ¶
func (x *QueryWithdrawAddressResponse) GetWithdrawAddress() string
func (*QueryWithdrawAddressResponse) ProtoMessage ¶
func (*QueryWithdrawAddressResponse) ProtoMessage()
func (*QueryWithdrawAddressResponse) ProtoReflect ¶
func (x *QueryWithdrawAddressResponse) ProtoReflect() protoreflect.Message
func (*QueryWithdrawAddressResponse) Reset ¶
func (x *QueryWithdrawAddressResponse) Reset()
func (*QueryWithdrawAddressResponse) String ¶
func (x *QueryWithdrawAddressResponse) String() string
type Request ¶
type Request struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` ServiceName string `protobuf:"bytes,2,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` Consumer string `protobuf:"bytes,4,opt,name=consumer,proto3" json:"consumer,omitempty"` Input string `protobuf:"bytes,5,opt,name=input,proto3" json:"input,omitempty"` ServiceFee []*v1beta1.Coin `protobuf:"bytes,6,rep,name=service_fee,json=serviceFee,proto3" json:"service_fee,omitempty"` RequestHeight int64 `protobuf:"varint,7,opt,name=request_height,json=requestHeight,proto3" json:"request_height,omitempty"` ExpirationHeight int64 `protobuf:"varint,8,opt,name=expiration_height,json=expirationHeight,proto3" json:"expiration_height,omitempty"` RequestContextId string `protobuf:"bytes,9,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` RequestContextBatchCounter uint64 `` /* 145-byte string literal not displayed */ // contains filtered or unexported fields }
Request defines a standard for request
func (*Request) GetRequestContextBatchCounter ¶
func (*Request) ProtoReflect ¶
func (x *Request) ProtoReflect() protoreflect.Message
type RequestContext ¶
type RequestContext struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Providers []string `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"` Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"` Input string `protobuf:"bytes,4,opt,name=input,proto3" json:"input,omitempty"` ServiceFeeCap []*v1beta1.Coin `protobuf:"bytes,5,rep,name=service_fee_cap,json=serviceFeeCap,proto3" json:"service_fee_cap,omitempty"` ModuleName string `protobuf:"bytes,6,opt,name=module_name,json=moduleName,proto3" json:"module_name,omitempty"` Timeout int64 `protobuf:"varint,7,opt,name=timeout,proto3" json:"timeout,omitempty"` Repeated bool `protobuf:"varint,8,opt,name=repeated,proto3" json:"repeated,omitempty"` RepeatedFrequency uint64 `protobuf:"varint,9,opt,name=repeated_frequency,json=repeatedFrequency,proto3" json:"repeated_frequency,omitempty"` RepeatedTotal int64 `protobuf:"varint,10,opt,name=repeated_total,json=repeatedTotal,proto3" json:"repeated_total,omitempty"` BatchCounter uint64 `protobuf:"varint,11,opt,name=batch_counter,json=batchCounter,proto3" json:"batch_counter,omitempty"` BatchRequestCount uint32 `protobuf:"varint,12,opt,name=batch_request_count,json=batchRequestCount,proto3" json:"batch_request_count,omitempty"` BatchResponseCount uint32 `protobuf:"varint,13,opt,name=batch_response_count,json=batchResponseCount,proto3" json:"batch_response_count,omitempty"` BatchResponseThreshold uint32 `` /* 131-byte string literal not displayed */ ResponseThreshold uint32 `protobuf:"varint,15,opt,name=response_threshold,json=responseThreshold,proto3" json:"response_threshold,omitempty"` BatchState RequestContextBatchState `` /* 139-byte string literal not displayed */ State RequestContextState `protobuf:"varint,17,opt,name=state,proto3,enum=irismod.service.RequestContextState" json:"state,omitempty"` // contains filtered or unexported fields }
RequestContext defines a standard for request context
func (*RequestContext) Descriptor
deprecated
func (*RequestContext) Descriptor() ([]byte, []int)
Deprecated: Use RequestContext.ProtoReflect.Descriptor instead.
func (*RequestContext) GetBatchCounter ¶
func (x *RequestContext) GetBatchCounter() uint64
func (*RequestContext) GetBatchRequestCount ¶
func (x *RequestContext) GetBatchRequestCount() uint32
func (*RequestContext) GetBatchResponseCount ¶
func (x *RequestContext) GetBatchResponseCount() uint32
func (*RequestContext) GetBatchResponseThreshold ¶
func (x *RequestContext) GetBatchResponseThreshold() uint32
func (*RequestContext) GetBatchState ¶
func (x *RequestContext) GetBatchState() RequestContextBatchState
func (*RequestContext) GetConsumer ¶
func (x *RequestContext) GetConsumer() string
func (*RequestContext) GetInput ¶
func (x *RequestContext) GetInput() string
func (*RequestContext) GetModuleName ¶
func (x *RequestContext) GetModuleName() string
func (*RequestContext) GetProviders ¶
func (x *RequestContext) GetProviders() []string
func (*RequestContext) GetRepeated ¶
func (x *RequestContext) GetRepeated() bool
func (*RequestContext) GetRepeatedFrequency ¶
func (x *RequestContext) GetRepeatedFrequency() uint64
func (*RequestContext) GetRepeatedTotal ¶
func (x *RequestContext) GetRepeatedTotal() int64
func (*RequestContext) GetResponseThreshold ¶
func (x *RequestContext) GetResponseThreshold() uint32
func (*RequestContext) GetServiceFeeCap ¶
func (x *RequestContext) GetServiceFeeCap() []*v1beta1.Coin
func (*RequestContext) GetServiceName ¶
func (x *RequestContext) GetServiceName() string
func (*RequestContext) GetState ¶
func (x *RequestContext) GetState() RequestContextState
func (*RequestContext) GetTimeout ¶
func (x *RequestContext) GetTimeout() int64
func (*RequestContext) ProtoMessage ¶
func (*RequestContext) ProtoMessage()
func (*RequestContext) ProtoReflect ¶
func (x *RequestContext) ProtoReflect() protoreflect.Message
func (*RequestContext) Reset ¶
func (x *RequestContext) Reset()
func (*RequestContext) String ¶
func (x *RequestContext) String() string
type RequestContextBatchState ¶
type RequestContextBatchState int32
RequestContextBatchState is a type alias that represents a request batch status as a byte
const ( // BATCH_RUNNING defines the running batch status. RequestContextBatchState_BATCH_RUNNING RequestContextBatchState = 0 // BATCH_COMPLETED defines the completed batch status. RequestContextBatchState_BATCH_COMPLETED RequestContextBatchState = 1 )
func (RequestContextBatchState) Descriptor ¶
func (RequestContextBatchState) Descriptor() protoreflect.EnumDescriptor
func (RequestContextBatchState) Enum ¶
func (x RequestContextBatchState) Enum() *RequestContextBatchState
func (RequestContextBatchState) EnumDescriptor
deprecated
func (RequestContextBatchState) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestContextBatchState.Descriptor instead.
func (RequestContextBatchState) Number ¶
func (x RequestContextBatchState) Number() protoreflect.EnumNumber
func (RequestContextBatchState) String ¶
func (x RequestContextBatchState) String() string
func (RequestContextBatchState) Type ¶
func (RequestContextBatchState) Type() protoreflect.EnumType
type RequestContextState ¶
type RequestContextState int32
RequestContextState is a type alias that represents a request status as a byte
const ( // RUNNING defines the running request context status RequestContextState_RUNNING RequestContextState = 0 // PAUSED defines the paused request context status RequestContextState_PAUSED RequestContextState = 1 // COMPLETED defines the completed request context status RequestContextState_COMPLETED RequestContextState = 2 )
func (RequestContextState) Descriptor ¶
func (RequestContextState) Descriptor() protoreflect.EnumDescriptor
func (RequestContextState) Enum ¶
func (x RequestContextState) Enum() *RequestContextState
func (RequestContextState) EnumDescriptor
deprecated
func (RequestContextState) EnumDescriptor() ([]byte, []int)
Deprecated: Use RequestContextState.Descriptor instead.
func (RequestContextState) Number ¶
func (x RequestContextState) Number() protoreflect.EnumNumber
func (RequestContextState) String ¶
func (x RequestContextState) String() string
func (RequestContextState) Type ¶
func (RequestContextState) Type() protoreflect.EnumType
type Response ¶
type Response struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` Consumer string `protobuf:"bytes,2,opt,name=consumer,proto3" json:"consumer,omitempty"` Result string `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"` Output string `protobuf:"bytes,4,opt,name=output,proto3" json:"output,omitempty"` RequestContextId string `protobuf:"bytes,5,opt,name=request_context_id,json=requestContextId,proto3" json:"request_context_id,omitempty"` RequestContextBatchCounter uint64 `` /* 144-byte string literal not displayed */ // contains filtered or unexported fields }
Response defines a standard for response
func (*Response) GetRequestContextBatchCounter ¶
func (*Response) ProtoReflect ¶
func (x *Response) ProtoReflect() protoreflect.Message
type ServiceBinding ¶
type ServiceBinding struct { ServiceName string `protobuf:"bytes,1,opt,name=service_name,json=serviceName,proto3" json:"service_name,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Deposit []*v1beta1.Coin `protobuf:"bytes,3,rep,name=deposit,proto3" json:"deposit,omitempty"` Pricing string `protobuf:"bytes,4,opt,name=pricing,proto3" json:"pricing,omitempty"` Qos uint64 `protobuf:"varint,5,opt,name=qos,proto3" json:"qos,omitempty"` Options string `protobuf:"bytes,6,opt,name=options,proto3" json:"options,omitempty"` Available bool `protobuf:"varint,7,opt,name=available,proto3" json:"available,omitempty"` DisabledTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=disabled_time,json=disabledTime,proto3" json:"disabled_time,omitempty"` Owner string `protobuf:"bytes,9,opt,name=owner,proto3" json:"owner,omitempty"` // contains filtered or unexported fields }
ServiceBinding defines a standard for service binding
func (*ServiceBinding) Descriptor
deprecated
func (*ServiceBinding) Descriptor() ([]byte, []int)
Deprecated: Use ServiceBinding.ProtoReflect.Descriptor instead.
func (*ServiceBinding) GetAvailable ¶
func (x *ServiceBinding) GetAvailable() bool
func (*ServiceBinding) GetDeposit ¶
func (x *ServiceBinding) GetDeposit() []*v1beta1.Coin
func (*ServiceBinding) GetDisabledTime ¶
func (x *ServiceBinding) GetDisabledTime() *timestamppb.Timestamp
func (*ServiceBinding) GetOptions ¶
func (x *ServiceBinding) GetOptions() string
func (*ServiceBinding) GetOwner ¶
func (x *ServiceBinding) GetOwner() string
func (*ServiceBinding) GetPricing ¶
func (x *ServiceBinding) GetPricing() string
func (*ServiceBinding) GetProvider ¶
func (x *ServiceBinding) GetProvider() string
func (*ServiceBinding) GetQos ¶
func (x *ServiceBinding) GetQos() uint64
func (*ServiceBinding) GetServiceName ¶
func (x *ServiceBinding) GetServiceName() string
func (*ServiceBinding) ProtoMessage ¶
func (*ServiceBinding) ProtoMessage()
func (*ServiceBinding) ProtoReflect ¶
func (x *ServiceBinding) ProtoReflect() protoreflect.Message
func (*ServiceBinding) Reset ¶
func (x *ServiceBinding) Reset()
func (*ServiceBinding) String ¶
func (x *ServiceBinding) String() string
type ServiceDefinition ¶
type ServiceDefinition struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Tags []string `protobuf:"bytes,3,rep,name=tags,proto3" json:"tags,omitempty"` Author string `protobuf:"bytes,4,opt,name=author,proto3" json:"author,omitempty"` AuthorDescription string `protobuf:"bytes,5,opt,name=author_description,json=authorDescription,proto3" json:"author_description,omitempty"` Schemas string `protobuf:"bytes,6,opt,name=schemas,proto3" json:"schemas,omitempty"` // contains filtered or unexported fields }
ServiceDefinition defines a standard for service definition
func (*ServiceDefinition) Descriptor
deprecated
func (*ServiceDefinition) Descriptor() ([]byte, []int)
Deprecated: Use ServiceDefinition.ProtoReflect.Descriptor instead.
func (*ServiceDefinition) GetAuthor ¶
func (x *ServiceDefinition) GetAuthor() string
func (*ServiceDefinition) GetAuthorDescription ¶
func (x *ServiceDefinition) GetAuthorDescription() string
func (*ServiceDefinition) GetDescription ¶
func (x *ServiceDefinition) GetDescription() string
func (*ServiceDefinition) GetName ¶
func (x *ServiceDefinition) GetName() string
func (*ServiceDefinition) GetSchemas ¶
func (x *ServiceDefinition) GetSchemas() string
func (*ServiceDefinition) GetTags ¶
func (x *ServiceDefinition) GetTags() []string
func (*ServiceDefinition) ProtoMessage ¶
func (*ServiceDefinition) ProtoMessage()
func (*ServiceDefinition) ProtoReflect ¶
func (x *ServiceDefinition) ProtoReflect() protoreflect.Message
func (*ServiceDefinition) Reset ¶
func (x *ServiceDefinition) Reset()
func (*ServiceDefinition) String ¶
func (x *ServiceDefinition) String() string
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer must be embedded to have forward compatible implementations.
func (UnimplementedMsgServer) BindService ¶
func (UnimplementedMsgServer) BindService(context.Context, *MsgBindService) (*MsgBindServiceResponse, error)
func (UnimplementedMsgServer) CallService ¶
func (UnimplementedMsgServer) CallService(context.Context, *MsgCallService) (*MsgCallServiceResponse, error)
func (UnimplementedMsgServer) DefineService ¶
func (UnimplementedMsgServer) DefineService(context.Context, *MsgDefineService) (*MsgDefineServiceResponse, error)
func (UnimplementedMsgServer) DisableServiceBinding ¶
func (UnimplementedMsgServer) DisableServiceBinding(context.Context, *MsgDisableServiceBinding) (*MsgDisableServiceBindingResponse, error)
func (UnimplementedMsgServer) EnableServiceBinding ¶
func (UnimplementedMsgServer) EnableServiceBinding(context.Context, *MsgEnableServiceBinding) (*MsgEnableServiceBindingResponse, error)
func (UnimplementedMsgServer) KillRequestContext ¶
func (UnimplementedMsgServer) KillRequestContext(context.Context, *MsgKillRequestContext) (*MsgKillRequestContextResponse, error)
func (UnimplementedMsgServer) PauseRequestContext ¶
func (UnimplementedMsgServer) PauseRequestContext(context.Context, *MsgPauseRequestContext) (*MsgPauseRequestContextResponse, error)
func (UnimplementedMsgServer) RefundServiceDeposit ¶
func (UnimplementedMsgServer) RefundServiceDeposit(context.Context, *MsgRefundServiceDeposit) (*MsgRefundServiceDepositResponse, error)
func (UnimplementedMsgServer) RespondService ¶
func (UnimplementedMsgServer) RespondService(context.Context, *MsgRespondService) (*MsgRespondServiceResponse, error)
func (UnimplementedMsgServer) SetWithdrawAddress ¶
func (UnimplementedMsgServer) SetWithdrawAddress(context.Context, *MsgSetWithdrawAddress) (*MsgSetWithdrawAddressResponse, error)
func (UnimplementedMsgServer) StartRequestContext ¶
func (UnimplementedMsgServer) StartRequestContext(context.Context, *MsgStartRequestContext) (*MsgStartRequestContextResponse, error)
func (UnimplementedMsgServer) UpdateParams ¶
func (UnimplementedMsgServer) UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
func (UnimplementedMsgServer) UpdateRequestContext ¶
func (UnimplementedMsgServer) UpdateRequestContext(context.Context, *MsgUpdateRequestContext) (*MsgUpdateRequestContextResponse, error)
func (UnimplementedMsgServer) UpdateServiceBinding ¶
func (UnimplementedMsgServer) UpdateServiceBinding(context.Context, *MsgUpdateServiceBinding) (*MsgUpdateServiceBindingResponse, error)
func (UnimplementedMsgServer) WithdrawEarnedFees ¶
func (UnimplementedMsgServer) WithdrawEarnedFees(context.Context, *MsgWithdrawEarnedFees) (*MsgWithdrawEarnedFeesResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer must be embedded to have forward compatible implementations.
func (UnimplementedQueryServer) Binding ¶
func (UnimplementedQueryServer) Binding(context.Context, *QueryBindingRequest) (*QueryBindingResponse, error)
func (UnimplementedQueryServer) Bindings ¶
func (UnimplementedQueryServer) Bindings(context.Context, *QueryBindingsRequest) (*QueryBindingsResponse, error)
func (UnimplementedQueryServer) Definition ¶
func (UnimplementedQueryServer) Definition(context.Context, *QueryDefinitionRequest) (*QueryDefinitionResponse, error)
func (UnimplementedQueryServer) EarnedFees ¶
func (UnimplementedQueryServer) EarnedFees(context.Context, *QueryEarnedFeesRequest) (*QueryEarnedFeesResponse, error)
func (UnimplementedQueryServer) Params ¶
func (UnimplementedQueryServer) Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
func (UnimplementedQueryServer) Request ¶
func (UnimplementedQueryServer) Request(context.Context, *QueryRequestRequest) (*QueryRequestResponse, error)
func (UnimplementedQueryServer) RequestContext ¶
func (UnimplementedQueryServer) RequestContext(context.Context, *QueryRequestContextRequest) (*QueryRequestContextResponse, error)
func (UnimplementedQueryServer) Requests ¶
func (UnimplementedQueryServer) Requests(context.Context, *QueryRequestsRequest) (*QueryRequestsResponse, error)
func (UnimplementedQueryServer) RequestsByReqCtx ¶
func (UnimplementedQueryServer) RequestsByReqCtx(context.Context, *QueryRequestsByReqCtxRequest) (*QueryRequestsByReqCtxResponse, error)
func (UnimplementedQueryServer) Response ¶
func (UnimplementedQueryServer) Response(context.Context, *QueryResponseRequest) (*QueryResponseResponse, error)
func (UnimplementedQueryServer) Responses ¶
func (UnimplementedQueryServer) Responses(context.Context, *QueryResponsesRequest) (*QueryResponsesResponse, error)
func (UnimplementedQueryServer) Schema ¶
func (UnimplementedQueryServer) Schema(context.Context, *QuerySchemaRequest) (*QuerySchemaResponse, error)
func (UnimplementedQueryServer) WithdrawAddress ¶
func (UnimplementedQueryServer) WithdrawAddress(context.Context, *QueryWithdrawAddressRequest) (*QueryWithdrawAddressResponse, 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.