service

package
v1.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2023 License: Apache-2.0 Imports: 22 Imported by: 0

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

View Source
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"
)
View Source
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

View Source
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.

View Source
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.

View Source
var File_irismod_service_genesis_proto protoreflect.FileDescriptor
View Source
var File_irismod_service_query_proto protoreflect.FileDescriptor
View Source
var File_irismod_service_service_proto protoreflect.FileDescriptor
View Source
var File_irismod_service_tx_proto protoreflect.FileDescriptor
View Source
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)

View Source
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 (*MsgDisableServiceBindingResponse) Reset

func (*MsgDisableServiceBindingResponse) 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 (*MsgEnableServiceBindingResponse) Reset

func (*MsgEnableServiceBindingResponse) 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 (*MsgKillRequestContextResponse) Reset

func (x *MsgKillRequestContextResponse) Reset()

func (*MsgKillRequestContextResponse) 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 (*MsgPauseRequestContextResponse) Reset

func (x *MsgPauseRequestContextResponse) Reset()

func (*MsgPauseRequestContextResponse) 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 (*MsgRefundServiceDepositResponse) Reset

func (*MsgRefundServiceDepositResponse) 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 (*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 (*MsgSetWithdrawAddressResponse) Reset

func (x *MsgSetWithdrawAddressResponse) Reset()

func (*MsgSetWithdrawAddressResponse) 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 (*MsgStartRequestContextResponse) Reset

func (x *MsgStartRequestContextResponse) Reset()

func (*MsgStartRequestContextResponse) 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 (*MsgUpdateRequestContextResponse) Reset

func (*MsgUpdateRequestContextResponse) 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 (*MsgUpdateServiceBindingResponse) Reset

func (*MsgUpdateServiceBindingResponse) 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 (*MsgWithdrawEarnedFeesResponse) Reset

func (x *MsgWithdrawEarnedFeesResponse) Reset()

func (*MsgWithdrawEarnedFeesResponse) 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) Descriptor deprecated

func (*Params) Descriptor() ([]byte, []int)

Deprecated: Use Params.ProtoReflect.Descriptor instead.

func (*Params) GetArbitrationTimeLimit

func (x *Params) GetArbitrationTimeLimit() *durationpb.Duration

func (*Params) GetBaseDenom

func (x *Params) GetBaseDenom() string

func (*Params) GetComplaintRetrospect

func (x *Params) GetComplaintRetrospect() *durationpb.Duration

func (*Params) GetMaxRequestTimeout

func (x *Params) GetMaxRequestTimeout() int64

func (*Params) GetMinDeposit

func (x *Params) GetMinDeposit() []*v1beta1.Coin

func (*Params) GetMinDepositMultiple

func (x *Params) GetMinDepositMultiple() int64

func (*Params) GetRestrictedServiceFeeDenom

func (x *Params) GetRestrictedServiceFeeDenom() bool

func (*Params) GetServiceFeeTax

func (x *Params) GetServiceFeeTax() string

func (*Params) GetSlashFraction

func (x *Params) GetSlashFraction() string

func (*Params) GetTxSizeLimit

func (x *Params) GetTxSizeLimit() uint64

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) ProtoReflect

func (x *Params) ProtoReflect() protoreflect.Message

func (*Params) Reset

func (x *Params) Reset()

func (*Params) String

func (x *Params) String() string

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) Descriptor deprecated

func (*Pricing) Descriptor() ([]byte, []int)

Deprecated: Use Pricing.ProtoReflect.Descriptor instead.

func (*Pricing) GetPrice

func (x *Pricing) GetPrice() []*v1beta1.Coin

func (*Pricing) GetPromotionsByTime

func (x *Pricing) GetPromotionsByTime() []*PromotionByTime

func (*Pricing) GetPromotionsByVolume

func (x *Pricing) GetPromotionsByVolume() []*PromotionByVolume

func (*Pricing) ProtoMessage

func (*Pricing) ProtoMessage()

func (*Pricing) ProtoReflect

func (x *Pricing) ProtoReflect() protoreflect.Message

func (*Pricing) Reset

func (x *Pricing) Reset()

func (*Pricing) String

func (x *Pricing) String() string

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 (*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 (*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 (*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 (*QueryRequestsByReqCtxRequest) Reset

func (x *QueryRequestsByReqCtxRequest) Reset()

func (*QueryRequestsByReqCtxRequest) 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 (*QueryRequestsByReqCtxResponse) GetRequests

func (x *QueryRequestsByReqCtxResponse) GetRequests() []*Request

func (*QueryRequestsByReqCtxResponse) ProtoMessage

func (*QueryRequestsByReqCtxResponse) ProtoMessage()

func (*QueryRequestsByReqCtxResponse) ProtoReflect

func (*QueryRequestsByReqCtxResponse) Reset

func (x *QueryRequestsByReqCtxResponse) Reset()

func (*QueryRequestsByReqCtxResponse) 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 (*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 (*QueryWithdrawAddressResponse) Reset

func (x *QueryWithdrawAddressResponse) Reset()

func (*QueryWithdrawAddressResponse) 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) Descriptor deprecated

func (*Request) Descriptor() ([]byte, []int)

Deprecated: Use Request.ProtoReflect.Descriptor instead.

func (*Request) GetConsumer

func (x *Request) GetConsumer() string

func (*Request) GetExpirationHeight

func (x *Request) GetExpirationHeight() int64

func (*Request) GetId

func (x *Request) GetId() string

func (*Request) GetInput

func (x *Request) GetInput() string

func (*Request) GetProvider

func (x *Request) GetProvider() string

func (*Request) GetRequestContextBatchCounter

func (x *Request) GetRequestContextBatchCounter() uint64

func (*Request) GetRequestContextId

func (x *Request) GetRequestContextId() string

func (*Request) GetRequestHeight

func (x *Request) GetRequestHeight() int64

func (*Request) GetServiceFee

func (x *Request) GetServiceFee() []*v1beta1.Coin

func (*Request) GetServiceName

func (x *Request) GetServiceName() string

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) ProtoReflect

func (x *Request) ProtoReflect() protoreflect.Message

func (*Request) Reset

func (x *Request) Reset()

func (*Request) String

func (x *Request) String() string

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) Enum

func (RequestContextBatchState) EnumDescriptor deprecated

func (RequestContextBatchState) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequestContextBatchState.Descriptor instead.

func (RequestContextBatchState) Number

func (RequestContextBatchState) String

func (x RequestContextBatchState) String() string

func (RequestContextBatchState) Type

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) Enum

func (RequestContextState) EnumDescriptor deprecated

func (RequestContextState) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequestContextState.Descriptor instead.

func (RequestContextState) Number

func (RequestContextState) String

func (x RequestContextState) String() string

func (RequestContextState) Type

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) Descriptor deprecated

func (*Response) Descriptor() ([]byte, []int)

Deprecated: Use Response.ProtoReflect.Descriptor instead.

func (*Response) GetConsumer

func (x *Response) GetConsumer() string

func (*Response) GetOutput

func (x *Response) GetOutput() string

func (*Response) GetProvider

func (x *Response) GetProvider() string

func (*Response) GetRequestContextBatchCounter

func (x *Response) GetRequestContextBatchCounter() uint64

func (*Response) GetRequestContextId

func (x *Response) GetRequestContextId() string

func (*Response) GetResult

func (x *Response) GetResult() string

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) ProtoReflect

func (x *Response) ProtoReflect() protoreflect.Message

func (*Response) Reset

func (x *Response) Reset()

func (*Response) String

func (x *Response) String() string

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) CallService

func (UnimplementedMsgServer) DefineService

func (UnimplementedMsgServer) RespondService

func (UnimplementedMsgServer) UpdateParams

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer must be embedded to have forward compatible implementations.

func (UnimplementedQueryServer) Binding

func (UnimplementedQueryServer) Bindings

func (UnimplementedQueryServer) Params

func (UnimplementedQueryServer) Request

func (UnimplementedQueryServer) Requests

func (UnimplementedQueryServer) Response

func (UnimplementedQueryServer) Responses

func (UnimplementedQueryServer) Schema

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.

Directories

Path Synopsis
module
v1
Code generated by protoc-gen-go-pulsar.
Code generated by protoc-gen-go-pulsar.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL