Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func EpochPaymentsKey(index string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func ProviderPaymentStorageKey(index string) []byte
- func RegisterCodec(cdc *codec.LegacyAmino)
- func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func RegisterRelayerCacheServer(s grpc1.Server, srv RelayerCacheServer)
- func RegisterRelayerServer(s grpc1.Server, srv RelayerServer)
- func StakeNewEventName(isProvider bool) string
- func StakeUpdateEventName(isProvider bool) string
- func UniquePaymentStorageClientProviderKey(index string) []byte
- func UnstakeCommitNewEventName(isProvider bool) string
- type AccountKeeper
- type BankKeeper
- type CacheUsage
- func (*CacheUsage) Descriptor() ([]byte, []int)
- func (m *CacheUsage) GetCacheHits() uint64
- func (m *CacheUsage) GetCacheMisses() uint64
- func (m *CacheUsage) Marshal() (dAtA []byte, err error)
- func (m *CacheUsage) MarshalTo(dAtA []byte) (int, error)
- func (m *CacheUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CacheUsage) ProtoMessage()
- func (m *CacheUsage) Reset()
- func (m *CacheUsage) Size() (n int)
- func (m *CacheUsage) String() string
- func (m *CacheUsage) Unmarshal(dAtA []byte) error
- func (m *CacheUsage) XXX_DiscardUnknown()
- func (m *CacheUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheUsage) XXX_Merge(src proto.Message)
- func (m *CacheUsage) XXX_Size() int
- func (m *CacheUsage) XXX_Unmarshal(b []byte) error
- type ClientProviderOverusedCUPercent
- type ClientUsedCU
- type EpochPayments
- func (*EpochPayments) Descriptor() ([]byte, []int)
- func (m *EpochPayments) GetClientsPayments() []*ProviderPaymentStorage
- func (m *EpochPayments) GetIndex() string
- func (m *EpochPayments) Marshal() (dAtA []byte, err error)
- func (m *EpochPayments) MarshalTo(dAtA []byte) (int, error)
- func (m *EpochPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EpochPayments) ProtoMessage()
- func (m *EpochPayments) Reset()
- func (m *EpochPayments) Size() (n int)
- func (m *EpochPayments) String() string
- func (m *EpochPayments) Unmarshal(dAtA []byte) error
- func (m *EpochPayments) XXX_DiscardUnknown()
- func (m *EpochPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EpochPayments) XXX_Merge(src proto.Message)
- func (m *EpochPayments) XXX_Size() int
- func (m *EpochPayments) XXX_Unmarshal(b []byte) error
- type EpochstorageKeeper
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetEpochPaymentsList() []EpochPayments
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetProviderPaymentStorageList() []ProviderPaymentStorage
- func (m *GenesisState) GetUniquePaymentStorageClientProviderList() []UniquePaymentStorageClientProvider
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (gs GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgRelayPayment
- func (*MsgRelayPayment) Descriptor() ([]byte, []int)
- func (m *MsgRelayPayment) GetCreator() string
- func (m *MsgRelayPayment) GetDescriptionString() string
- func (m *MsgRelayPayment) GetRelays() []*RelayRequest
- func (msg *MsgRelayPayment) GetSignBytes() []byte
- func (msg *MsgRelayPayment) GetSigners() []sdk.AccAddress
- func (m *MsgRelayPayment) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayPayment) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayPayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayPayment) ProtoMessage()
- func (m *MsgRelayPayment) Reset()
- func (msg *MsgRelayPayment) Route() string
- func (m *MsgRelayPayment) Size() (n int)
- func (m *MsgRelayPayment) String() string
- func (msg *MsgRelayPayment) Type() string
- func (m *MsgRelayPayment) Unmarshal(dAtA []byte) error
- func (msg *MsgRelayPayment) ValidateBasic() error
- func (m *MsgRelayPayment) XXX_DiscardUnknown()
- func (m *MsgRelayPayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayPayment) XXX_Merge(src proto.Message)
- func (m *MsgRelayPayment) XXX_Size() int
- func (m *MsgRelayPayment) XXX_Unmarshal(b []byte) error
- type MsgRelayPaymentResponse
- func (*MsgRelayPaymentResponse) Descriptor() ([]byte, []int)
- func (m *MsgRelayPaymentResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRelayPaymentResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRelayPaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRelayPaymentResponse) ProtoMessage()
- func (m *MsgRelayPaymentResponse) Reset()
- func (m *MsgRelayPaymentResponse) Size() (n int)
- func (m *MsgRelayPaymentResponse) String() string
- func (m *MsgRelayPaymentResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRelayPaymentResponse) XXX_DiscardUnknown()
- func (m *MsgRelayPaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRelayPaymentResponse) XXX_Merge(src proto.Message)
- func (m *MsgRelayPaymentResponse) XXX_Size() int
- func (m *MsgRelayPaymentResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type MsgStakeClient
- func (*MsgStakeClient) Descriptor() ([]byte, []int)
- func (m *MsgStakeClient) GetAmount() types.Coin
- func (m *MsgStakeClient) GetChainID() string
- func (m *MsgStakeClient) GetCreator() string
- func (m *MsgStakeClient) GetGeolocation() uint64
- func (msg *MsgStakeClient) GetSignBytes() []byte
- func (msg *MsgStakeClient) GetSigners() []sdk.AccAddress
- func (m *MsgStakeClient) GetVrfpk() string
- func (m *MsgStakeClient) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeClient) ProtoMessage()
- func (m *MsgStakeClient) Reset()
- func (msg *MsgStakeClient) Route() string
- func (m *MsgStakeClient) Size() (n int)
- func (m *MsgStakeClient) String() string
- func (msg *MsgStakeClient) Type() string
- func (m *MsgStakeClient) Unmarshal(dAtA []byte) error
- func (msg *MsgStakeClient) ValidateBasic() error
- func (m *MsgStakeClient) XXX_DiscardUnknown()
- func (m *MsgStakeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeClient) XXX_Merge(src proto.Message)
- func (m *MsgStakeClient) XXX_Size() int
- func (m *MsgStakeClient) XXX_Unmarshal(b []byte) error
- type MsgStakeClientResponse
- func (*MsgStakeClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgStakeClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeClientResponse) ProtoMessage()
- func (m *MsgStakeClientResponse) Reset()
- func (m *MsgStakeClientResponse) Size() (n int)
- func (m *MsgStakeClientResponse) String() string
- func (m *MsgStakeClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStakeClientResponse) XXX_DiscardUnknown()
- func (m *MsgStakeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgStakeClientResponse) XXX_Size() int
- func (m *MsgStakeClientResponse) XXX_Unmarshal(b []byte) error
- type MsgStakeProvider
- func (*MsgStakeProvider) Descriptor() ([]byte, []int)
- func (m *MsgStakeProvider) GetAmount() types.Coin
- func (m *MsgStakeProvider) GetChainID() string
- func (m *MsgStakeProvider) GetCreator() string
- func (m *MsgStakeProvider) GetEndpoints() []types1.Endpoint
- func (m *MsgStakeProvider) GetGeolocation() uint64
- func (m *MsgStakeProvider) GetMoniker() string
- func (msg *MsgStakeProvider) GetSignBytes() []byte
- func (msg *MsgStakeProvider) GetSigners() []sdk.AccAddress
- func (m *MsgStakeProvider) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeProvider) ProtoMessage()
- func (m *MsgStakeProvider) Reset()
- func (msg *MsgStakeProvider) Route() string
- func (m *MsgStakeProvider) Size() (n int)
- func (m *MsgStakeProvider) String() string
- func (msg *MsgStakeProvider) Type() string
- func (m *MsgStakeProvider) Unmarshal(dAtA []byte) error
- func (msg *MsgStakeProvider) ValidateBasic() error
- func (m *MsgStakeProvider) XXX_DiscardUnknown()
- func (m *MsgStakeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeProvider) XXX_Merge(src proto.Message)
- func (m *MsgStakeProvider) XXX_Size() int
- func (m *MsgStakeProvider) XXX_Unmarshal(b []byte) error
- type MsgStakeProviderResponse
- func (*MsgStakeProviderResponse) Descriptor() ([]byte, []int)
- func (m *MsgStakeProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgStakeProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgStakeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgStakeProviderResponse) ProtoMessage()
- func (m *MsgStakeProviderResponse) Reset()
- func (m *MsgStakeProviderResponse) Size() (n int)
- func (m *MsgStakeProviderResponse) String() string
- func (m *MsgStakeProviderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgStakeProviderResponse) XXX_DiscardUnknown()
- func (m *MsgStakeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgStakeProviderResponse) XXX_Merge(src proto.Message)
- func (m *MsgStakeProviderResponse) XXX_Size() int
- func (m *MsgStakeProviderResponse) XXX_Unmarshal(b []byte) error
- type MsgUnstakeClient
- func (*MsgUnstakeClient) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeClient) GetChainID() string
- func (m *MsgUnstakeClient) GetCreator() string
- func (msg *MsgUnstakeClient) GetSignBytes() []byte
- func (msg *MsgUnstakeClient) GetSigners() []sdk.AccAddress
- func (m *MsgUnstakeClient) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeClient) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeClient) ProtoMessage()
- func (m *MsgUnstakeClient) Reset()
- func (msg *MsgUnstakeClient) Route() string
- func (m *MsgUnstakeClient) Size() (n int)
- func (m *MsgUnstakeClient) String() string
- func (msg *MsgUnstakeClient) Type() string
- func (m *MsgUnstakeClient) Unmarshal(dAtA []byte) error
- func (msg *MsgUnstakeClient) ValidateBasic() error
- func (m *MsgUnstakeClient) XXX_DiscardUnknown()
- func (m *MsgUnstakeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeClient) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeClient) XXX_Size() int
- func (m *MsgUnstakeClient) XXX_Unmarshal(b []byte) error
- type MsgUnstakeClientResponse
- func (*MsgUnstakeClientResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeClientResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeClientResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeClientResponse) ProtoMessage()
- func (m *MsgUnstakeClientResponse) Reset()
- func (m *MsgUnstakeClientResponse) Size() (n int)
- func (m *MsgUnstakeClientResponse) String() string
- func (m *MsgUnstakeClientResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnstakeClientResponse) XXX_DiscardUnknown()
- func (m *MsgUnstakeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeClientResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeClientResponse) XXX_Size() int
- func (m *MsgUnstakeClientResponse) XXX_Unmarshal(b []byte) error
- type MsgUnstakeProvider
- func (*MsgUnstakeProvider) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeProvider) GetChainID() string
- func (m *MsgUnstakeProvider) GetCreator() string
- func (msg *MsgUnstakeProvider) GetSignBytes() []byte
- func (msg *MsgUnstakeProvider) GetSigners() []sdk.AccAddress
- func (m *MsgUnstakeProvider) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeProvider) ProtoMessage()
- func (m *MsgUnstakeProvider) Reset()
- func (msg *MsgUnstakeProvider) Route() string
- func (m *MsgUnstakeProvider) Size() (n int)
- func (m *MsgUnstakeProvider) String() string
- func (msg *MsgUnstakeProvider) Type() string
- func (m *MsgUnstakeProvider) Unmarshal(dAtA []byte) error
- func (msg *MsgUnstakeProvider) ValidateBasic() error
- func (m *MsgUnstakeProvider) XXX_DiscardUnknown()
- func (m *MsgUnstakeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeProvider) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeProvider) XXX_Size() int
- func (m *MsgUnstakeProvider) XXX_Unmarshal(b []byte) error
- type MsgUnstakeProviderResponse
- func (*MsgUnstakeProviderResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnstakeProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnstakeProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnstakeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnstakeProviderResponse) ProtoMessage()
- func (m *MsgUnstakeProviderResponse) Reset()
- func (m *MsgUnstakeProviderResponse) Size() (n int)
- func (m *MsgUnstakeProviderResponse) String() string
- func (m *MsgUnstakeProviderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnstakeProviderResponse) XXX_DiscardUnknown()
- func (m *MsgUnstakeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnstakeProviderResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnstakeProviderResponse) XXX_Size() int
- func (m *MsgUnstakeProviderResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetEpochBlocksOverlap() uint64
- func (m *Params) GetFraudSlashingAmount() uint64
- func (m *Params) GetServicersToPairCount() uint64
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (p Params) Validate() error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type ProviderPaymentStorage
- func (*ProviderPaymentStorage) Descriptor() ([]byte, []int)
- func (m *ProviderPaymentStorage) GetEpoch() uint64
- func (m *ProviderPaymentStorage) GetIndex() string
- func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProvider() []*UniquePaymentStorageClientProvider
- func (m *ProviderPaymentStorage) GetUnresponsivenessComplaints() []string
- func (m *ProviderPaymentStorage) Marshal() (dAtA []byte, err error)
- func (m *ProviderPaymentStorage) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderPaymentStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderPaymentStorage) ProtoMessage()
- func (m *ProviderPaymentStorage) Reset()
- func (m *ProviderPaymentStorage) Size() (n int)
- func (m *ProviderPaymentStorage) String() string
- func (m *ProviderPaymentStorage) Unmarshal(dAtA []byte) error
- func (m *ProviderPaymentStorage) XXX_DiscardUnknown()
- func (m *ProviderPaymentStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderPaymentStorage) XXX_Merge(src proto.Message)
- func (m *ProviderPaymentStorage) XXX_Size() int
- func (m *ProviderPaymentStorage) XXX_Unmarshal(b []byte) error
- type QualityOfServiceReport
- func (qos *QualityOfServiceReport) ComputeQoS() (sdk.Dec, error)
- func (*QualityOfServiceReport) Descriptor() ([]byte, []int)
- func (m *QualityOfServiceReport) Marshal() (dAtA []byte, err error)
- func (m *QualityOfServiceReport) MarshalTo(dAtA []byte) (int, error)
- func (m *QualityOfServiceReport) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QualityOfServiceReport) ProtoMessage()
- func (m *QualityOfServiceReport) Reset()
- func (m *QualityOfServiceReport) Size() (n int)
- func (m *QualityOfServiceReport) String() string
- func (m *QualityOfServiceReport) Unmarshal(dAtA []byte) error
- func (m *QualityOfServiceReport) XXX_DiscardUnknown()
- func (m *QualityOfServiceReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QualityOfServiceReport) XXX_Merge(src proto.Message)
- func (m *QualityOfServiceReport) XXX_Size() int
- func (m *QualityOfServiceReport) XXX_Unmarshal(b []byte) error
- type QueryAllEpochPaymentsRequest
- func (*QueryAllEpochPaymentsRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllEpochPaymentsRequest) GetPagination() *query.PageRequest
- func (m *QueryAllEpochPaymentsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllEpochPaymentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllEpochPaymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllEpochPaymentsRequest) ProtoMessage()
- func (m *QueryAllEpochPaymentsRequest) Reset()
- func (m *QueryAllEpochPaymentsRequest) Size() (n int)
- func (m *QueryAllEpochPaymentsRequest) String() string
- func (m *QueryAllEpochPaymentsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllEpochPaymentsRequest) XXX_DiscardUnknown()
- func (m *QueryAllEpochPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllEpochPaymentsRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllEpochPaymentsRequest) XXX_Size() int
- func (m *QueryAllEpochPaymentsRequest) XXX_Unmarshal(b []byte) error
- type QueryAllEpochPaymentsResponse
- func (*QueryAllEpochPaymentsResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllEpochPaymentsResponse) GetEpochPayments() []EpochPayments
- func (m *QueryAllEpochPaymentsResponse) GetPagination() *query.PageResponse
- func (m *QueryAllEpochPaymentsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllEpochPaymentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllEpochPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllEpochPaymentsResponse) ProtoMessage()
- func (m *QueryAllEpochPaymentsResponse) Reset()
- func (m *QueryAllEpochPaymentsResponse) Size() (n int)
- func (m *QueryAllEpochPaymentsResponse) String() string
- func (m *QueryAllEpochPaymentsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllEpochPaymentsResponse) XXX_DiscardUnknown()
- func (m *QueryAllEpochPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllEpochPaymentsResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllEpochPaymentsResponse) XXX_Size() int
- func (m *QueryAllEpochPaymentsResponse) XXX_Unmarshal(b []byte) error
- type QueryAllProviderPaymentStorageRequest
- func (*QueryAllProviderPaymentStorageRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllProviderPaymentStorageRequest) GetPagination() *query.PageRequest
- func (m *QueryAllProviderPaymentStorageRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllProviderPaymentStorageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllProviderPaymentStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllProviderPaymentStorageRequest) ProtoMessage()
- func (m *QueryAllProviderPaymentStorageRequest) Reset()
- func (m *QueryAllProviderPaymentStorageRequest) Size() (n int)
- func (m *QueryAllProviderPaymentStorageRequest) String() string
- func (m *QueryAllProviderPaymentStorageRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllProviderPaymentStorageRequest) XXX_DiscardUnknown()
- func (m *QueryAllProviderPaymentStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllProviderPaymentStorageRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllProviderPaymentStorageRequest) XXX_Size() int
- func (m *QueryAllProviderPaymentStorageRequest) XXX_Unmarshal(b []byte) error
- type QueryAllProviderPaymentStorageResponse
- func (*QueryAllProviderPaymentStorageResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllProviderPaymentStorageResponse) GetPagination() *query.PageResponse
- func (m *QueryAllProviderPaymentStorageResponse) GetProviderPaymentStorage() []ProviderPaymentStorage
- func (m *QueryAllProviderPaymentStorageResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllProviderPaymentStorageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllProviderPaymentStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllProviderPaymentStorageResponse) ProtoMessage()
- func (m *QueryAllProviderPaymentStorageResponse) Reset()
- func (m *QueryAllProviderPaymentStorageResponse) Size() (n int)
- func (m *QueryAllProviderPaymentStorageResponse) String() string
- func (m *QueryAllProviderPaymentStorageResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllProviderPaymentStorageResponse) XXX_DiscardUnknown()
- func (m *QueryAllProviderPaymentStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllProviderPaymentStorageResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllProviderPaymentStorageResponse) XXX_Size() int
- func (m *QueryAllProviderPaymentStorageResponse) XXX_Unmarshal(b []byte) error
- type QueryAllUniquePaymentStorageClientProviderRequest
- func (*QueryAllUniquePaymentStorageClientProviderRequest) Descriptor() ([]byte, []int)
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) GetPagination() *query.PageRequest
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllUniquePaymentStorageClientProviderRequest) ProtoMessage()
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) Reset()
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) Size() (n int)
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) String() string
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown()
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Merge(src proto.Message)
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Size() int
- func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Unmarshal(b []byte) error
- type QueryAllUniquePaymentStorageClientProviderResponse
- func (*QueryAllUniquePaymentStorageClientProviderResponse) Descriptor() ([]byte, []int)
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) GetPagination() *query.PageResponse
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider() []UniquePaymentStorageClientProvider
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAllUniquePaymentStorageClientProviderResponse) ProtoMessage()
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) Reset()
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) Size() (n int)
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) String() string
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown()
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Merge(src proto.Message)
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Size() int
- func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryClientsRequest
- func (*QueryClientsRequest) Descriptor() ([]byte, []int)
- func (m *QueryClientsRequest) GetChainID() string
- func (m *QueryClientsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryClientsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientsRequest) ProtoMessage()
- func (m *QueryClientsRequest) Reset()
- func (m *QueryClientsRequest) Size() (n int)
- func (m *QueryClientsRequest) String() string
- func (m *QueryClientsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryClientsRequest) XXX_DiscardUnknown()
- func (m *QueryClientsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientsRequest) XXX_Merge(src proto.Message)
- func (m *QueryClientsRequest) XXX_Size() int
- func (m *QueryClientsRequest) XXX_Unmarshal(b []byte) error
- type QueryClientsResponse
- func (*QueryClientsResponse) Descriptor() ([]byte, []int)
- func (m *QueryClientsResponse) GetOutput() string
- func (m *QueryClientsResponse) GetStakeEntry() []types.StakeEntry
- func (m *QueryClientsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryClientsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryClientsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryClientsResponse) ProtoMessage()
- func (m *QueryClientsResponse) Reset()
- func (m *QueryClientsResponse) Size() (n int)
- func (m *QueryClientsResponse) String() string
- func (m *QueryClientsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryClientsResponse) XXX_DiscardUnknown()
- func (m *QueryClientsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryClientsResponse) XXX_Merge(src proto.Message)
- func (m *QueryClientsResponse) XXX_Size() int
- func (m *QueryClientsResponse) XXX_Unmarshal(b []byte) error
- type QueryGetEpochPaymentsRequest
- func (*QueryGetEpochPaymentsRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetEpochPaymentsRequest) GetIndex() string
- func (m *QueryGetEpochPaymentsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetEpochPaymentsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetEpochPaymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetEpochPaymentsRequest) ProtoMessage()
- func (m *QueryGetEpochPaymentsRequest) Reset()
- func (m *QueryGetEpochPaymentsRequest) Size() (n int)
- func (m *QueryGetEpochPaymentsRequest) String() string
- func (m *QueryGetEpochPaymentsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetEpochPaymentsRequest) XXX_DiscardUnknown()
- func (m *QueryGetEpochPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetEpochPaymentsRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetEpochPaymentsRequest) XXX_Size() int
- func (m *QueryGetEpochPaymentsRequest) XXX_Unmarshal(b []byte) error
- type QueryGetEpochPaymentsResponse
- func (*QueryGetEpochPaymentsResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetEpochPaymentsResponse) GetEpochPayments() EpochPayments
- func (m *QueryGetEpochPaymentsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetEpochPaymentsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetEpochPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetEpochPaymentsResponse) ProtoMessage()
- func (m *QueryGetEpochPaymentsResponse) Reset()
- func (m *QueryGetEpochPaymentsResponse) Size() (n int)
- func (m *QueryGetEpochPaymentsResponse) String() string
- func (m *QueryGetEpochPaymentsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetEpochPaymentsResponse) XXX_DiscardUnknown()
- func (m *QueryGetEpochPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetEpochPaymentsResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetEpochPaymentsResponse) XXX_Size() int
- func (m *QueryGetEpochPaymentsResponse) XXX_Unmarshal(b []byte) error
- type QueryGetPairingRequest
- func (*QueryGetPairingRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetPairingRequest) GetChainID() string
- func (m *QueryGetPairingRequest) GetClient() string
- func (m *QueryGetPairingRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPairingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPairingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPairingRequest) ProtoMessage()
- func (m *QueryGetPairingRequest) Reset()
- func (m *QueryGetPairingRequest) Size() (n int)
- func (m *QueryGetPairingRequest) String() string
- func (m *QueryGetPairingRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetPairingRequest) XXX_DiscardUnknown()
- func (m *QueryGetPairingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPairingRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetPairingRequest) XXX_Size() int
- func (m *QueryGetPairingRequest) XXX_Unmarshal(b []byte) error
- type QueryGetPairingResponse
- func (*QueryGetPairingResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetPairingResponse) GetCurrentEpoch() uint64
- func (m *QueryGetPairingResponse) GetProviders() []types.StakeEntry
- func (m *QueryGetPairingResponse) GetSpecLastUpdatedBlock() uint64
- func (m *QueryGetPairingResponse) GetTimeLeftToNextPairing() uint64
- func (m *QueryGetPairingResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetPairingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetPairingResponse) ProtoMessage()
- func (m *QueryGetPairingResponse) Reset()
- func (m *QueryGetPairingResponse) Size() (n int)
- func (m *QueryGetPairingResponse) String() string
- func (m *QueryGetPairingResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetPairingResponse) XXX_DiscardUnknown()
- func (m *QueryGetPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetPairingResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetPairingResponse) XXX_Size() int
- func (m *QueryGetPairingResponse) XXX_Unmarshal(b []byte) error
- type QueryGetProviderPaymentStorageRequest
- func (*QueryGetProviderPaymentStorageRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetProviderPaymentStorageRequest) GetIndex() string
- func (m *QueryGetProviderPaymentStorageRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetProviderPaymentStorageRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetProviderPaymentStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetProviderPaymentStorageRequest) ProtoMessage()
- func (m *QueryGetProviderPaymentStorageRequest) Reset()
- func (m *QueryGetProviderPaymentStorageRequest) Size() (n int)
- func (m *QueryGetProviderPaymentStorageRequest) String() string
- func (m *QueryGetProviderPaymentStorageRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetProviderPaymentStorageRequest) XXX_DiscardUnknown()
- func (m *QueryGetProviderPaymentStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetProviderPaymentStorageRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetProviderPaymentStorageRequest) XXX_Size() int
- func (m *QueryGetProviderPaymentStorageRequest) XXX_Unmarshal(b []byte) error
- type QueryGetProviderPaymentStorageResponse
- func (*QueryGetProviderPaymentStorageResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetProviderPaymentStorageResponse) GetProviderPaymentStorage() ProviderPaymentStorage
- func (m *QueryGetProviderPaymentStorageResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetProviderPaymentStorageResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetProviderPaymentStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetProviderPaymentStorageResponse) ProtoMessage()
- func (m *QueryGetProviderPaymentStorageResponse) Reset()
- func (m *QueryGetProviderPaymentStorageResponse) Size() (n int)
- func (m *QueryGetProviderPaymentStorageResponse) String() string
- func (m *QueryGetProviderPaymentStorageResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetProviderPaymentStorageResponse) XXX_DiscardUnknown()
- func (m *QueryGetProviderPaymentStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetProviderPaymentStorageResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetProviderPaymentStorageResponse) XXX_Size() int
- func (m *QueryGetProviderPaymentStorageResponse) XXX_Unmarshal(b []byte) error
- type QueryGetUniquePaymentStorageClientProviderRequest
- func (*QueryGetUniquePaymentStorageClientProviderRequest) Descriptor() ([]byte, []int)
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) GetIndex() string
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetUniquePaymentStorageClientProviderRequest) ProtoMessage()
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) Reset()
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) Size() (n int)
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) String() string
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown()
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Merge(src proto.Message)
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Size() int
- func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Unmarshal(b []byte) error
- type QueryGetUniquePaymentStorageClientProviderResponse
- func (*QueryGetUniquePaymentStorageClientProviderResponse) Descriptor() ([]byte, []int)
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider() UniquePaymentStorageClientProvider
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryGetUniquePaymentStorageClientProviderResponse) ProtoMessage()
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) Reset()
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) Size() (n int)
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) String() string
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown()
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Merge(src proto.Message)
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Size() int
- func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Unmarshal(b []byte) error
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryProvidersRequest
- func (*QueryProvidersRequest) Descriptor() ([]byte, []int)
- func (m *QueryProvidersRequest) GetChainID() string
- func (m *QueryProvidersRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersRequest) ProtoMessage()
- func (m *QueryProvidersRequest) Reset()
- func (m *QueryProvidersRequest) Size() (n int)
- func (m *QueryProvidersRequest) String() string
- func (m *QueryProvidersRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersRequest) XXX_DiscardUnknown()
- func (m *QueryProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersRequest) XXX_Merge(src proto.Message)
- func (m *QueryProvidersRequest) XXX_Size() int
- func (m *QueryProvidersRequest) XXX_Unmarshal(b []byte) error
- type QueryProvidersResponse
- func (*QueryProvidersResponse) Descriptor() ([]byte, []int)
- func (m *QueryProvidersResponse) GetOutput() string
- func (m *QueryProvidersResponse) GetStakeEntry() []types.StakeEntry
- func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersResponse) ProtoMessage()
- func (m *QueryProvidersResponse) Reset()
- func (m *QueryProvidersResponse) Size() (n int)
- func (m *QueryProvidersResponse) String() string
- func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersResponse) XXX_DiscardUnknown()
- func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)
- func (m *QueryProvidersResponse) XXX_Size() int
- func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryUserEntryRequest
- func (*QueryUserEntryRequest) Descriptor() ([]byte, []int)
- func (m *QueryUserEntryRequest) GetAddress() string
- func (m *QueryUserEntryRequest) GetBlock() uint64
- func (m *QueryUserEntryRequest) GetChainID() string
- func (m *QueryUserEntryRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryUserEntryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserEntryRequest) ProtoMessage()
- func (m *QueryUserEntryRequest) Reset()
- func (m *QueryUserEntryRequest) Size() (n int)
- func (m *QueryUserEntryRequest) String() string
- func (m *QueryUserEntryRequest) Unmarshal(dAtA []byte) error
- func (m *QueryUserEntryRequest) XXX_DiscardUnknown()
- func (m *QueryUserEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserEntryRequest) XXX_Merge(src proto.Message)
- func (m *QueryUserEntryRequest) XXX_Size() int
- func (m *QueryUserEntryRequest) XXX_Unmarshal(b []byte) error
- type QueryUserEntryResponse
- func (*QueryUserEntryResponse) Descriptor() ([]byte, []int)
- func (m *QueryUserEntryResponse) GetConsumer() types.StakeEntry
- func (m *QueryUserEntryResponse) GetMaxCU() uint64
- func (m *QueryUserEntryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryUserEntryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryUserEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryUserEntryResponse) ProtoMessage()
- func (m *QueryUserEntryResponse) Reset()
- func (m *QueryUserEntryResponse) Size() (n int)
- func (m *QueryUserEntryResponse) String() string
- func (m *QueryUserEntryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryUserEntryResponse) XXX_DiscardUnknown()
- func (m *QueryUserEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryUserEntryResponse) XXX_Merge(src proto.Message)
- func (m *QueryUserEntryResponse) XXX_Size() int
- func (m *QueryUserEntryResponse) XXX_Unmarshal(b []byte) error
- type QueryVerifyPairingRequest
- func (*QueryVerifyPairingRequest) Descriptor() ([]byte, []int)
- func (m *QueryVerifyPairingRequest) GetBlock() uint64
- func (m *QueryVerifyPairingRequest) GetChainID() string
- func (m *QueryVerifyPairingRequest) GetClient() string
- func (m *QueryVerifyPairingRequest) GetProvider() string
- func (m *QueryVerifyPairingRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryVerifyPairingRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVerifyPairingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVerifyPairingRequest) ProtoMessage()
- func (m *QueryVerifyPairingRequest) Reset()
- func (m *QueryVerifyPairingRequest) Size() (n int)
- func (m *QueryVerifyPairingRequest) String() string
- func (m *QueryVerifyPairingRequest) Unmarshal(dAtA []byte) error
- func (m *QueryVerifyPairingRequest) XXX_DiscardUnknown()
- func (m *QueryVerifyPairingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVerifyPairingRequest) XXX_Merge(src proto.Message)
- func (m *QueryVerifyPairingRequest) XXX_Size() int
- func (m *QueryVerifyPairingRequest) XXX_Unmarshal(b []byte) error
- type QueryVerifyPairingResponse
- func (*QueryVerifyPairingResponse) Descriptor() ([]byte, []int)
- func (m *QueryVerifyPairingResponse) GetIndex() int64
- func (m *QueryVerifyPairingResponse) GetValid() bool
- func (m *QueryVerifyPairingResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryVerifyPairingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryVerifyPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryVerifyPairingResponse) ProtoMessage()
- func (m *QueryVerifyPairingResponse) Reset()
- func (m *QueryVerifyPairingResponse) Size() (n int)
- func (m *QueryVerifyPairingResponse) String() string
- func (m *QueryVerifyPairingResponse) Unmarshal(dAtA []byte) error
- func (m *QueryVerifyPairingResponse) XXX_DiscardUnknown()
- func (m *QueryVerifyPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryVerifyPairingResponse) XXX_Merge(src proto.Message)
- func (m *QueryVerifyPairingResponse) XXX_Size() int
- func (m *QueryVerifyPairingResponse) XXX_Unmarshal(b []byte) error
- type RelayCacheGet
- func (*RelayCacheGet) Descriptor() ([]byte, []int)
- func (m *RelayCacheGet) GetApiInterface() string
- func (m *RelayCacheGet) GetBlockHash() []byte
- func (m *RelayCacheGet) GetChainID() string
- func (m *RelayCacheGet) GetFinalized() bool
- func (m *RelayCacheGet) GetRequest() *RelayRequest
- func (m *RelayCacheGet) Marshal() (dAtA []byte, err error)
- func (m *RelayCacheGet) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayCacheGet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayCacheGet) ProtoMessage()
- func (m *RelayCacheGet) Reset()
- func (m *RelayCacheGet) Size() (n int)
- func (m *RelayCacheGet) String() string
- func (m *RelayCacheGet) Unmarshal(dAtA []byte) error
- func (m *RelayCacheGet) XXX_DiscardUnknown()
- func (m *RelayCacheGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayCacheGet) XXX_Merge(src proto.Message)
- func (m *RelayCacheGet) XXX_Size() int
- func (m *RelayCacheGet) XXX_Unmarshal(b []byte) error
- type RelayCacheSet
- func (*RelayCacheSet) Descriptor() ([]byte, []int)
- func (m *RelayCacheSet) GetApiInterface() string
- func (m *RelayCacheSet) GetBlockHash() []byte
- func (m *RelayCacheSet) GetBucketID() string
- func (m *RelayCacheSet) GetChainID() string
- func (m *RelayCacheSet) GetFinalized() bool
- func (m *RelayCacheSet) GetRequest() *RelayRequest
- func (m *RelayCacheSet) GetResponse() *RelayReply
- func (m *RelayCacheSet) Marshal() (dAtA []byte, err error)
- func (m *RelayCacheSet) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayCacheSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayCacheSet) ProtoMessage()
- func (m *RelayCacheSet) Reset()
- func (m *RelayCacheSet) Size() (n int)
- func (m *RelayCacheSet) String() string
- func (m *RelayCacheSet) Unmarshal(dAtA []byte) error
- func (m *RelayCacheSet) XXX_DiscardUnknown()
- func (m *RelayCacheSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayCacheSet) XXX_Merge(src proto.Message)
- func (m *RelayCacheSet) XXX_Size() int
- func (m *RelayCacheSet) XXX_Unmarshal(b []byte) error
- type RelayReply
- func (*RelayReply) Descriptor() ([]byte, []int)
- func (m *RelayReply) GetData() []byte
- func (m *RelayReply) GetFinalizedBlocksHashes() []byte
- func (m *RelayReply) GetLatestBlock() int64
- func (m *RelayReply) GetNonce() uint32
- func (m *RelayReply) GetSig() []byte
- func (m *RelayReply) GetSigBlocks() []byte
- func (m *RelayReply) Marshal() (dAtA []byte, err error)
- func (m *RelayReply) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayReply) ProtoMessage()
- func (m *RelayReply) Reset()
- func (m *RelayReply) Size() (n int)
- func (m *RelayReply) String() string
- func (m *RelayReply) Unmarshal(dAtA []byte) error
- func (m *RelayReply) XXX_DiscardUnknown()
- func (m *RelayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayReply) XXX_Merge(src proto.Message)
- func (m *RelayReply) XXX_Size() int
- func (m *RelayReply) XXX_Unmarshal(b []byte) error
- type RelayRequest
- func (*RelayRequest) Descriptor() ([]byte, []int)
- func (m *RelayRequest) GetApiUrl() string
- func (m *RelayRequest) GetBlockHeight() int64
- func (m *RelayRequest) GetChainID() string
- func (m *RelayRequest) GetConnectionType() string
- func (m *RelayRequest) GetCuSum() uint64
- func (m *RelayRequest) GetData() []byte
- func (m *RelayRequest) GetDataReliability() *VRFData
- func (m *RelayRequest) GetProvider() string
- func (m *RelayRequest) GetQoSReport() *QualityOfServiceReport
- func (m *RelayRequest) GetRelayNum() uint64
- func (m *RelayRequest) GetRequestBlock() int64
- func (m *RelayRequest) GetSessionId() uint64
- func (m *RelayRequest) GetSig() []byte
- func (m *RelayRequest) GetUnresponsiveProviders() []byte
- func (m *RelayRequest) Marshal() (dAtA []byte, err error)
- func (m *RelayRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayRequest) ProtoMessage()
- func (m *RelayRequest) Reset()
- func (m *RelayRequest) ShallowCopy() *RelayRequest
- func (m *RelayRequest) Size() (n int)
- func (m *RelayRequest) String() string
- func (m *RelayRequest) Unmarshal(dAtA []byte) error
- func (m *RelayRequest) XXX_DiscardUnknown()
- func (m *RelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayRequest) XXX_Merge(src proto.Message)
- func (m *RelayRequest) XXX_Size() int
- func (m *RelayRequest) XXX_Unmarshal(b []byte) error
- type RelayerCacheClient
- type RelayerCacheServer
- type RelayerClient
- type RelayerServer
- type Relayer_RelaySubscribeClient
- type Relayer_RelaySubscribeServer
- type SpecKeeper
- type StakeToMaxCU
- func (*StakeToMaxCU) Descriptor() ([]byte, []int)
- func (m *StakeToMaxCU) GetMaxComputeUnits() uint64
- func (m *StakeToMaxCU) GetStakeThreshold() types.Coin
- func (m *StakeToMaxCU) Marshal() (dAtA []byte, err error)
- func (m *StakeToMaxCU) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeToMaxCU) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeToMaxCU) ProtoMessage()
- func (m *StakeToMaxCU) Reset()
- func (m *StakeToMaxCU) Size() (n int)
- func (m *StakeToMaxCU) String() string
- func (m *StakeToMaxCU) Unmarshal(dAtA []byte) error
- func (m *StakeToMaxCU) XXX_DiscardUnknown()
- func (m *StakeToMaxCU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeToMaxCU) XXX_Merge(src proto.Message)
- func (m *StakeToMaxCU) XXX_Size() int
- func (m *StakeToMaxCU) XXX_Unmarshal(b []byte) error
- type StakeToMaxCUList
- func (cuList StakeToMaxCUList) Compare(other StakeToMaxCUList) int
- func (*StakeToMaxCUList) Descriptor() ([]byte, []int)
- func (cuList StakeToMaxCUList) Equal(other StakeToMaxCUList) bool
- func (m *StakeToMaxCUList) GetList() []StakeToMaxCU
- func (m *StakeToMaxCUList) Marshal() (dAtA []byte, err error)
- func (cuList StakeToMaxCUList) MarshalJSON() ([]byte, error)
- func (m *StakeToMaxCUList) MarshalTo(dAtA []byte) (int, error)
- func (m *StakeToMaxCUList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StakeToMaxCUList) ProtoMessage()
- func (m *StakeToMaxCUList) Reset()
- func (m *StakeToMaxCUList) Size() (n int)
- func (m *StakeToMaxCUList) String() string
- func (m *StakeToMaxCUList) Unmarshal(dAtA []byte) error
- func (cuList *StakeToMaxCUList) UnmarshalJSON(data []byte) error
- func (m *StakeToMaxCUList) XXX_DiscardUnknown()
- func (m *StakeToMaxCUList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StakeToMaxCUList) XXX_Merge(src proto.Message)
- func (m *StakeToMaxCUList) XXX_Size() int
- func (m *StakeToMaxCUList) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) RelayPayment(ctx context.Context, req *MsgRelayPayment) (*MsgRelayPaymentResponse, error)
- func (*UnimplementedMsgServer) StakeClient(ctx context.Context, req *MsgStakeClient) (*MsgStakeClientResponse, error)
- func (*UnimplementedMsgServer) StakeProvider(ctx context.Context, req *MsgStakeProvider) (*MsgStakeProviderResponse, error)
- func (*UnimplementedMsgServer) UnstakeClient(ctx context.Context, req *MsgUnstakeClient) (*MsgUnstakeClientResponse, error)
- func (*UnimplementedMsgServer) UnstakeProvider(ctx context.Context, req *MsgUnstakeProvider) (*MsgUnstakeProviderResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) Clients(ctx context.Context, req *QueryClientsRequest) (*QueryClientsResponse, error)
- func (*UnimplementedQueryServer) EpochPayments(ctx context.Context, req *QueryGetEpochPaymentsRequest) (*QueryGetEpochPaymentsResponse, error)
- func (*UnimplementedQueryServer) EpochPaymentsAll(ctx context.Context, req *QueryAllEpochPaymentsRequest) (*QueryAllEpochPaymentsResponse, error)
- func (*UnimplementedQueryServer) GetPairing(ctx context.Context, req *QueryGetPairingRequest) (*QueryGetPairingResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) ProviderPaymentStorage(ctx context.Context, req *QueryGetProviderPaymentStorageRequest) (*QueryGetProviderPaymentStorageResponse, error)
- func (*UnimplementedQueryServer) ProviderPaymentStorageAll(ctx context.Context, req *QueryAllProviderPaymentStorageRequest) (*QueryAllProviderPaymentStorageResponse, error)
- func (*UnimplementedQueryServer) Providers(ctx context.Context, req *QueryProvidersRequest) (*QueryProvidersResponse, error)
- func (*UnimplementedQueryServer) UniquePaymentStorageClientProvider(ctx context.Context, req *QueryGetUniquePaymentStorageClientProviderRequest) (*QueryGetUniquePaymentStorageClientProviderResponse, error)
- func (*UnimplementedQueryServer) UniquePaymentStorageClientProviderAll(ctx context.Context, req *QueryAllUniquePaymentStorageClientProviderRequest) (*QueryAllUniquePaymentStorageClientProviderResponse, error)
- func (*UnimplementedQueryServer) UserEntry(ctx context.Context, req *QueryUserEntryRequest) (*QueryUserEntryResponse, error)
- func (*UnimplementedQueryServer) VerifyPairing(ctx context.Context, req *QueryVerifyPairingRequest) (*QueryVerifyPairingResponse, error)
- type UnimplementedRelayerCacheServer
- func (*UnimplementedRelayerCacheServer) GetRelay(ctx context.Context, req *RelayCacheGet) (*RelayReply, error)
- func (*UnimplementedRelayerCacheServer) Health(ctx context.Context, req *emptypb.Empty) (*CacheUsage, error)
- func (*UnimplementedRelayerCacheServer) SetRelay(ctx context.Context, req *RelayCacheSet) (*emptypb.Empty, error)
- type UnimplementedRelayerServer
- type UniquePaymentStorageClientProvider
- func (*UniquePaymentStorageClientProvider) Descriptor() ([]byte, []int)
- func (m *UniquePaymentStorageClientProvider) GetBlock() uint64
- func (m *UniquePaymentStorageClientProvider) GetIndex() string
- func (m *UniquePaymentStorageClientProvider) GetUsedCU() uint64
- func (m *UniquePaymentStorageClientProvider) Marshal() (dAtA []byte, err error)
- func (m *UniquePaymentStorageClientProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *UniquePaymentStorageClientProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniquePaymentStorageClientProvider) ProtoMessage()
- func (m *UniquePaymentStorageClientProvider) Reset()
- func (m *UniquePaymentStorageClientProvider) Size() (n int)
- func (m *UniquePaymentStorageClientProvider) String() string
- func (m *UniquePaymentStorageClientProvider) Unmarshal(dAtA []byte) error
- func (m *UniquePaymentStorageClientProvider) XXX_DiscardUnknown()
- func (m *UniquePaymentStorageClientProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniquePaymentStorageClientProvider) XXX_Merge(src proto.Message)
- func (m *UniquePaymentStorageClientProvider) XXX_Size() int
- func (m *UniquePaymentStorageClientProvider) XXX_Unmarshal(b []byte) error
- type VRFData
- func (*VRFData) Descriptor() ([]byte, []int)
- func (m *VRFData) GetAllDataHash() []byte
- func (m *VRFData) GetDifferentiator() bool
- func (m *VRFData) GetProviderSig() []byte
- func (m *VRFData) GetQueryHash() []byte
- func (m *VRFData) GetSig() []byte
- func (m *VRFData) GetVrfProof() []byte
- func (m *VRFData) GetVrfValue() []byte
- func (m *VRFData) Marshal() (dAtA []byte, err error)
- func (m *VRFData) MarshalTo(dAtA []byte) (int, error)
- func (m *VRFData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*VRFData) ProtoMessage()
- func (m *VRFData) Reset()
- func (m *VRFData) Size() (n int)
- func (m *VRFData) String() string
- func (m *VRFData) Unmarshal(dAtA []byte) error
- func (m *VRFData) XXX_DiscardUnknown()
- func (m *VRFData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VRFData) XXX_Merge(src proto.Message)
- func (m *VRFData) XXX_Size() int
- func (m *VRFData) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // ModuleName defines the module name ModuleName = "pairing" // StoreKey defines the primary module store key StoreKey = ModuleName // RouterKey is the message route for slashing RouterKey = ModuleName // QuerierRoute defines the module's query routing key QuerierRoute = ModuleName // MemStoreKey defines the in-memory store key MemStoreKey = "mem_pairing" )
const ( ProviderStakeEventName = "stake_new_provider" ConsumerStakeEventName = "stake_new_consumer" ProviderStakeUpdateEventName = "stake_update_provider" ConsumerStakeUpdateEventName = "stake_update_consumer" ProviderUnstakeEventName = "provider_unstake_commit" ConsumerUnstakeEventName = "consumer_unstake_commit" ConsumerInsufficientFundsToStayStakedEventName = "consumer_insufficient_funds_to_stay_staked" RelayPaymentEventName = "relay_payment" UnresponsiveProviderUnstakeFailedEventName = "unresponsive_provider" ProviderJailedEventName = "provider_jailed" )
const ( UnstakeDescriptionClientUnstake = "Client unstaked entry" UnstakeDescriptionProviderUnstake = "Provider unstaked entry" UnstakeDescriptionInsufficientFunds = "client stake is below the minimum stake required" )
unstake description strings
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// EpochPaymentsKeyPrefix is the prefix to retrieve all EpochPayments
EpochPaymentsKeyPrefix = "EpochPayments/value/"
)
const (
// ProviderPaymentStorageKeyPrefix is the prefix to retrieve all ProviderPaymentStorage
ProviderPaymentStorageKeyPrefix = "ProviderPaymentStorage/value/"
)
const TypeMsgRelayPayment = "relay_payment"
const TypeMsgStakeClient = "stake_client"
const TypeMsgStakeProvider = "stake_provider"
const TypeMsgUnstakeClient = "unstake_client"
const TypeMsgUnstakeProvider = "unstake_provider"
const (
// UniquePaymentStorageClientProviderKeyPrefix is the prefix to retrieve all UniquePaymentStorageClientProvider
UniquePaymentStorageClientProviderKeyPrefix = "UniquePaymentStorageClientProvider/value/"
)
Variables ¶
var ( Amino = codec.NewLegacyAmino() ModuleCdc = codec.NewProtoCodec(cdctypes.NewInterfaceRegistry()) )
var ( ErrInvalidLengthEpochPayments = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEpochPayments = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEpochPayments = fmt.Errorf("proto: unexpected end of group") )
var ( ErrSample = sdkerrors.Register(ModuleName, 1100, "sample error") NoPreviousEpochForAverageBlockTimeCalculationError = sdkerrors.New("NoPreviousEpochForAverageBlockTimeCalculationError Error", 685, "Can't get previous epoch for average block time calculation.") PreviousEpochStartIsBlockZeroError = sdkerrors.New("PreviousEpochStartIsBlockZeroError Error", 686, "Previous epoch start is block 0, can't be used for average block time calculation (core.Block(0) panics).") AverageBlockTimeIsLessOrEqualToZeroError = sdkerrors.New("AverageBlockTimeIsLessOrEqualToZeroError Error", 687, "The calculated average block time is less or equal to zero") NotEnoughBlocksToCalculateAverageBlockTimeError = sdkerrors.New("NotEnoughBlocksToCalculateAverageBlockTimeError Error", 688, "There isn't enough blocks in the previous epoch to calculate average block time") )
x/pairing module sentinel errors
var ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( KeyMinStakeProvider = []byte("MinStakeProvider") DefaultMinStakeProvider sdk.Coin = sdk.NewCoin("ulava", sdk.NewInt(1000)) )
var ( KeyMinStakeClient = []byte("MinStakeClient") DefaultMinStakeClient sdk.Coin = sdk.NewCoin("ulava", sdk.NewInt(100)) )
var ( KeyMintCoinsPerCU = []byte("MintCoinsPerCU") DefaultMintCoinsPerCU sdk.Dec = sdk.NewDecWithPrec(1, 1) // 0.1 )
var ( KeyBurnCoinsPerCU = []byte("BurnCoinsPerCU") DefaultBurnCoinsPerCU sdk.Dec = sdk.NewDecWithPrec(5, 2) // 0.05 )
var ( KeyFraudStakeSlashingFactor = []byte("FraudStakeSlashingFactor") // TODO: Determine the default value DefaultFraudStakeSlashingFactor sdk.Dec = sdk.NewDecWithPrec(0, 0) // 0 )
var ( KeyFraudSlashingAmount = []byte("FraudSlashingAmount") // TODO: Determine the default value DefaultFraudSlashingAmount uint64 = 0 )
var ( KeyServicersToPairCount = []byte("ServicersToPairCount") // TODO: Determine the default value DefaultServicersToPairCount uint64 = 2 )
var ( KeyEpochBlocksOverlap = []byte("EpochBlocksOverlap") // TODO: Determine the default value DefaultEpochBlocksOverlap uint64 = 5 )
var ( KeyUnpayLimit = []byte("UnpayLimit") DefaultUnpayLimit sdk.Dec = sdk.NewDecWithPrec(1, 1) // 0.1 = 10% )
var ( KeySlashLimit = []byte("SlashLimit") DefaultSlashLimit sdk.Dec = sdk.NewDecWithPrec(2, 1) // 0.2 = 20% )
var ( KeyDataReliabilityReward = []byte("DataReliabilityReward") DefaultDataReliabilityReward sdk.Dec = sdk.NewDecWithPrec(5, 2) // 0.05 )
var ( KeyQoSWeight = []byte("QoSWeight") DefaultQoSWeight sdk.Dec = sdk.NewDecWithPrec(5, 1) // 0.5 )
var ( ErrInvalidLengthParams = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowParams = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthProviderPaymentStorage = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowProviderPaymentStorage = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupProviderPaymentStorage = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthRelay = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRelay = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRelay = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthRelayCache = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowRelayCache = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupRelayCache = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthStakeToMaxCuList = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStakeToMaxCuList = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStakeToMaxCuList = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthUniquePaymentStorageClientProvider = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUniquePaymentStorageClientProvider = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUniquePaymentStorageClientProvider = fmt.Errorf("proto: unexpected end of group") )
Functions ¶
func EpochPaymentsKey ¶
EpochPaymentsKey returns the store key to retrieve a EpochPayments from the index fields
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func ProviderPaymentStorageKey ¶
ProviderPaymentStorageKey returns the store key to retrieve a ProviderPaymentStorage from the index fields
func RegisterCodec ¶
func RegisterCodec(cdc *codec.LegacyAmino)
func RegisterInterfaces ¶
func RegisterInterfaces(registry cdctypes.InterfaceRegistry)
func RegisterMsgServer ¶
func RegisterQueryHandler ¶
RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterQueryHandlerClient ¶
func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.
func RegisterQueryHandlerFromEndpoint ¶
func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterQueryHandlerServer ¶
func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.
func RegisterQueryServer ¶
func RegisterQueryServer(s grpc1.Server, srv QueryServer)
func RegisterRelayerCacheServer ¶
func RegisterRelayerCacheServer(s grpc1.Server, srv RelayerCacheServer)
func RegisterRelayerServer ¶
func RegisterRelayerServer(s grpc1.Server, srv RelayerServer)
func StakeNewEventName ¶ added in v0.4.3
func StakeUpdateEventName ¶ added in v0.4.3
func UniquePaymentStorageClientProviderKey ¶
UniquePaymentStorageClientProviderKey returns the store key to retrieve a UniquePaymentStorageClientProvider from the index fields
func UnstakeCommitNewEventName ¶ added in v0.4.3
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAddress(moduleName string) sdk.AccAddress }
type BankKeeper ¶
type BankKeeper interface { SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error }
BankKeeper defines the expected interface needed to retrieve account balances.
type CacheUsage ¶
type CacheUsage struct { CacheHits uint64 `protobuf:"varint,1,opt,name=CacheHits,proto3" json:"CacheHits,omitempty"` CacheMisses uint64 `protobuf:"varint,2,opt,name=CacheMisses,proto3" json:"CacheMisses,omitempty"` }
func (*CacheUsage) Descriptor ¶
func (*CacheUsage) Descriptor() ([]byte, []int)
func (*CacheUsage) GetCacheHits ¶
func (m *CacheUsage) GetCacheHits() uint64
func (*CacheUsage) GetCacheMisses ¶
func (m *CacheUsage) GetCacheMisses() uint64
func (*CacheUsage) Marshal ¶
func (m *CacheUsage) Marshal() (dAtA []byte, err error)
func (*CacheUsage) MarshalToSizedBuffer ¶
func (m *CacheUsage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CacheUsage) ProtoMessage ¶
func (*CacheUsage) ProtoMessage()
func (*CacheUsage) Reset ¶
func (m *CacheUsage) Reset()
func (*CacheUsage) Size ¶
func (m *CacheUsage) Size() (n int)
func (*CacheUsage) String ¶
func (m *CacheUsage) String() string
func (*CacheUsage) Unmarshal ¶
func (m *CacheUsage) Unmarshal(dAtA []byte) error
func (*CacheUsage) XXX_DiscardUnknown ¶
func (m *CacheUsage) XXX_DiscardUnknown()
func (*CacheUsage) XXX_Marshal ¶
func (m *CacheUsage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheUsage) XXX_Merge ¶
func (m *CacheUsage) XXX_Merge(src proto.Message)
func (*CacheUsage) XXX_Size ¶
func (m *CacheUsage) XXX_Size() int
func (*CacheUsage) XXX_Unmarshal ¶
func (m *CacheUsage) XXX_Unmarshal(b []byte) error
type ClientUsedCU ¶
type EpochPayments ¶
type EpochPayments struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` ClientsPayments []*ProviderPaymentStorage `protobuf:"bytes,2,rep,name=clientsPayments,proto3" json:"clientsPayments,omitempty"` }
func (*EpochPayments) Descriptor ¶
func (*EpochPayments) Descriptor() ([]byte, []int)
func (*EpochPayments) GetClientsPayments ¶ added in v0.4.3
func (m *EpochPayments) GetClientsPayments() []*ProviderPaymentStorage
func (*EpochPayments) GetIndex ¶
func (m *EpochPayments) GetIndex() string
func (*EpochPayments) Marshal ¶
func (m *EpochPayments) Marshal() (dAtA []byte, err error)
func (*EpochPayments) MarshalToSizedBuffer ¶
func (m *EpochPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*EpochPayments) ProtoMessage ¶
func (*EpochPayments) ProtoMessage()
func (*EpochPayments) Reset ¶
func (m *EpochPayments) Reset()
func (*EpochPayments) Size ¶
func (m *EpochPayments) Size() (n int)
func (*EpochPayments) String ¶
func (m *EpochPayments) String() string
func (*EpochPayments) Unmarshal ¶
func (m *EpochPayments) Unmarshal(dAtA []byte) error
func (*EpochPayments) XXX_DiscardUnknown ¶
func (m *EpochPayments) XXX_DiscardUnknown()
func (*EpochPayments) XXX_Marshal ¶
func (m *EpochPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*EpochPayments) XXX_Merge ¶
func (m *EpochPayments) XXX_Merge(src proto.Message)
func (*EpochPayments) XXX_Size ¶
func (m *EpochPayments) XXX_Size() int
func (*EpochPayments) XXX_Unmarshal ¶
func (m *EpochPayments) XXX_Unmarshal(b []byte) error
type EpochstorageKeeper ¶
type EpochstorageKeeper interface { // Methods imported from epochStorage should be defined here // Methods imported from bank should be defined here GetParamForBlock(ctx sdk.Context, fixationKey string, block uint64, param any) error GetEpochStart(ctx sdk.Context) uint64 GetEarliestEpochStart(ctx sdk.Context) uint64 UnstakeHoldBlocks(ctx sdk.Context, block uint64) (res uint64) IsEpochStart(ctx sdk.Context) (res bool) BlocksToSave(ctx sdk.Context, block uint64) (res uint64, erro error) GetEpochStartForBlock(ctx sdk.Context, block uint64) (epochStart uint64, blockInEpoch uint64, err error) GetPreviousEpochStartForBlock(ctx sdk.Context, block uint64) (previousEpochStart uint64, erro error) PopUnstakeEntries(ctx sdk.Context, storageType string, block uint64) (value []epochstoragetypes.StakeEntry) AppendUnstakeEntry(ctx sdk.Context, storageType string, stakeEntry epochstoragetypes.StakeEntry) error ModifyUnstakeEntry(ctx sdk.Context, storageType string, stakeEntry epochstoragetypes.StakeEntry, removeIndex uint64) GetStakeStorageUnstake(ctx sdk.Context, storageType string) (epochstoragetypes.StakeStorage, bool) ModifyStakeEntryCurrent(ctx sdk.Context, storageType string, chainID string, stakeEntry epochstoragetypes.StakeEntry, removeIndex uint64) AppendStakeEntryCurrent(ctx sdk.Context, storageType string, chainID string, stakeEntry epochstoragetypes.StakeEntry) RemoveStakeEntryCurrent(ctx sdk.Context, storageType string, chainID string, idx uint64) error GetStakeEntryByAddressCurrent(ctx sdk.Context, storageType string, chainID string, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64) UnstakeEntryByAddress(ctx sdk.Context, storageType string, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64) GetStakeStorageCurrent(ctx sdk.Context, storageType string, chainID string) (epochstoragetypes.StakeStorage, bool) GetEpochStakeEntries(ctx sdk.Context, block uint64, storageType string, chainID string) (entries []epochstoragetypes.StakeEntry, found bool) GetStakeEntryByAddressFromStorage(ctx sdk.Context, stakeStorage epochstoragetypes.StakeStorage, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64) GetNextEpoch(ctx sdk.Context, block uint64) (nextEpoch uint64, erro error) GetStakeEntryForClientEpoch(ctx sdk.Context, chainID string, selectedClient sdk.AccAddress, epoch uint64) (entry *epochstoragetypes.StakeEntry, err error) BypassCurrentAndAppendNewEpochStakeEntry(ctx sdk.Context, storageType string, chainID string, stakeEntry epochstoragetypes.StakeEntry) (added bool, err error) AddFixationRegistry(fixationKey string, getParamFunction func(sdk.Context) any) GetDeletedEpochs(ctx sdk.Context) []uint64 EpochBlocks(ctx sdk.Context, block uint64) (res uint64, err error) }
type GenesisState ¶
type GenesisState struct { Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` UniquePaymentStorageClientProviderList []UniquePaymentStorageClientProvider `protobuf:"bytes,2,rep,name=uniquePaymentStorageClientProviderList,proto3" json:"uniquePaymentStorageClientProviderList"` ProviderPaymentStorageList []ProviderPaymentStorage `protobuf:"bytes,3,rep,name=providerPaymentStorageList,proto3" json:"providerPaymentStorageList"` EpochPaymentsList []EpochPayments `protobuf:"bytes,4,rep,name=epochPaymentsList,proto3" json:"epochPaymentsList"` }
GenesisState defines the pairing module's genesis state.
func DefaultGenesis ¶
func DefaultGenesis() *GenesisState
DefaultGenesis returns the default Capability genesis state
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) GetEpochPaymentsList ¶
func (m *GenesisState) GetEpochPaymentsList() []EpochPayments
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetProviderPaymentStorageList ¶
func (m *GenesisState) GetProviderPaymentStorageList() []ProviderPaymentStorage
func (*GenesisState) GetUniquePaymentStorageClientProviderList ¶
func (m *GenesisState) GetUniquePaymentStorageClientProviderList() []UniquePaymentStorageClientProvider
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (gs GenesisState) Validate() error
Validate performs basic genesis state validation returning an error upon any failure.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type MsgClient ¶
type MsgClient interface { StakeProvider(ctx context.Context, in *MsgStakeProvider, opts ...grpc.CallOption) (*MsgStakeProviderResponse, error) StakeClient(ctx context.Context, in *MsgStakeClient, opts ...grpc.CallOption) (*MsgStakeClientResponse, error) UnstakeProvider(ctx context.Context, in *MsgUnstakeProvider, opts ...grpc.CallOption) (*MsgUnstakeProviderResponse, error) UnstakeClient(ctx context.Context, in *MsgUnstakeClient, opts ...grpc.CallOption) (*MsgUnstakeClientResponse, error) RelayPayment(ctx context.Context, in *MsgRelayPayment, opts ...grpc.CallOption) (*MsgRelayPaymentResponse, error) }
MsgClient is the client API for Msg service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewMsgClient ¶
func NewMsgClient(cc grpc1.ClientConn) MsgClient
type MsgRelayPayment ¶
type MsgRelayPayment struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Relays []*RelayRequest `protobuf:"bytes,2,rep,name=relays,proto3" json:"relays,omitempty"` DescriptionString string `protobuf:"bytes,3,opt,name=descriptionString,proto3" json:"descriptionString,omitempty"` }
func NewMsgRelayPayment ¶
func NewMsgRelayPayment(creator string, relays []*RelayRequest, description string) *MsgRelayPayment
func (*MsgRelayPayment) Descriptor ¶
func (*MsgRelayPayment) Descriptor() ([]byte, []int)
func (*MsgRelayPayment) GetCreator ¶
func (m *MsgRelayPayment) GetCreator() string
func (*MsgRelayPayment) GetDescriptionString ¶
func (m *MsgRelayPayment) GetDescriptionString() string
func (*MsgRelayPayment) GetRelays ¶
func (m *MsgRelayPayment) GetRelays() []*RelayRequest
func (*MsgRelayPayment) GetSignBytes ¶
func (msg *MsgRelayPayment) GetSignBytes() []byte
func (*MsgRelayPayment) GetSigners ¶
func (msg *MsgRelayPayment) GetSigners() []sdk.AccAddress
func (*MsgRelayPayment) Marshal ¶
func (m *MsgRelayPayment) Marshal() (dAtA []byte, err error)
func (*MsgRelayPayment) MarshalToSizedBuffer ¶
func (m *MsgRelayPayment) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayPayment) ProtoMessage ¶
func (*MsgRelayPayment) ProtoMessage()
func (*MsgRelayPayment) Reset ¶
func (m *MsgRelayPayment) Reset()
func (*MsgRelayPayment) Route ¶
func (msg *MsgRelayPayment) Route() string
func (*MsgRelayPayment) Size ¶
func (m *MsgRelayPayment) Size() (n int)
func (*MsgRelayPayment) String ¶
func (m *MsgRelayPayment) String() string
func (*MsgRelayPayment) Type ¶
func (msg *MsgRelayPayment) Type() string
func (*MsgRelayPayment) Unmarshal ¶
func (m *MsgRelayPayment) Unmarshal(dAtA []byte) error
func (*MsgRelayPayment) ValidateBasic ¶
func (msg *MsgRelayPayment) ValidateBasic() error
func (*MsgRelayPayment) XXX_DiscardUnknown ¶
func (m *MsgRelayPayment) XXX_DiscardUnknown()
func (*MsgRelayPayment) XXX_Marshal ¶
func (m *MsgRelayPayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayPayment) XXX_Merge ¶
func (m *MsgRelayPayment) XXX_Merge(src proto.Message)
func (*MsgRelayPayment) XXX_Size ¶
func (m *MsgRelayPayment) XXX_Size() int
func (*MsgRelayPayment) XXX_Unmarshal ¶
func (m *MsgRelayPayment) XXX_Unmarshal(b []byte) error
type MsgRelayPaymentResponse ¶
type MsgRelayPaymentResponse struct { }
func (*MsgRelayPaymentResponse) Descriptor ¶
func (*MsgRelayPaymentResponse) Descriptor() ([]byte, []int)
func (*MsgRelayPaymentResponse) Marshal ¶
func (m *MsgRelayPaymentResponse) Marshal() (dAtA []byte, err error)
func (*MsgRelayPaymentResponse) MarshalTo ¶
func (m *MsgRelayPaymentResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRelayPaymentResponse) MarshalToSizedBuffer ¶
func (m *MsgRelayPaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRelayPaymentResponse) ProtoMessage ¶
func (*MsgRelayPaymentResponse) ProtoMessage()
func (*MsgRelayPaymentResponse) Reset ¶
func (m *MsgRelayPaymentResponse) Reset()
func (*MsgRelayPaymentResponse) Size ¶
func (m *MsgRelayPaymentResponse) Size() (n int)
func (*MsgRelayPaymentResponse) String ¶
func (m *MsgRelayPaymentResponse) String() string
func (*MsgRelayPaymentResponse) Unmarshal ¶
func (m *MsgRelayPaymentResponse) Unmarshal(dAtA []byte) error
func (*MsgRelayPaymentResponse) XXX_DiscardUnknown ¶
func (m *MsgRelayPaymentResponse) XXX_DiscardUnknown()
func (*MsgRelayPaymentResponse) XXX_Marshal ¶
func (m *MsgRelayPaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRelayPaymentResponse) XXX_Merge ¶
func (m *MsgRelayPaymentResponse) XXX_Merge(src proto.Message)
func (*MsgRelayPaymentResponse) XXX_Size ¶
func (m *MsgRelayPaymentResponse) XXX_Size() int
func (*MsgRelayPaymentResponse) XXX_Unmarshal ¶
func (m *MsgRelayPaymentResponse) XXX_Unmarshal(b []byte) error
type MsgServer ¶
type MsgServer interface { StakeProvider(context.Context, *MsgStakeProvider) (*MsgStakeProviderResponse, error) StakeClient(context.Context, *MsgStakeClient) (*MsgStakeClientResponse, error) UnstakeProvider(context.Context, *MsgUnstakeProvider) (*MsgUnstakeProviderResponse, error) UnstakeClient(context.Context, *MsgUnstakeClient) (*MsgUnstakeClientResponse, error) RelayPayment(context.Context, *MsgRelayPayment) (*MsgRelayPaymentResponse, error) }
MsgServer is the server API for Msg service.
type MsgStakeClient ¶ added in v0.4.3
type MsgStakeClient struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"` Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` Geolocation uint64 `protobuf:"varint,4,opt,name=geolocation,proto3" json:"geolocation,omitempty"` Vrfpk string `protobuf:"bytes,5,opt,name=vrfpk,proto3" json:"vrfpk,omitempty"` }
func NewMsgStakeClient ¶ added in v0.4.3
func (*MsgStakeClient) Descriptor ¶ added in v0.4.3
func (*MsgStakeClient) Descriptor() ([]byte, []int)
func (*MsgStakeClient) GetAmount ¶ added in v0.4.3
func (m *MsgStakeClient) GetAmount() types.Coin
func (*MsgStakeClient) GetChainID ¶ added in v0.4.3
func (m *MsgStakeClient) GetChainID() string
func (*MsgStakeClient) GetCreator ¶ added in v0.4.3
func (m *MsgStakeClient) GetCreator() string
func (*MsgStakeClient) GetGeolocation ¶ added in v0.4.3
func (m *MsgStakeClient) GetGeolocation() uint64
func (*MsgStakeClient) GetSignBytes ¶ added in v0.4.3
func (msg *MsgStakeClient) GetSignBytes() []byte
func (*MsgStakeClient) GetSigners ¶ added in v0.4.3
func (msg *MsgStakeClient) GetSigners() []sdk.AccAddress
func (*MsgStakeClient) GetVrfpk ¶ added in v0.4.3
func (m *MsgStakeClient) GetVrfpk() string
func (*MsgStakeClient) Marshal ¶ added in v0.4.3
func (m *MsgStakeClient) Marshal() (dAtA []byte, err error)
func (*MsgStakeClient) MarshalTo ¶ added in v0.4.3
func (m *MsgStakeClient) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeClient) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *MsgStakeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeClient) ProtoMessage ¶ added in v0.4.3
func (*MsgStakeClient) ProtoMessage()
func (*MsgStakeClient) Reset ¶ added in v0.4.3
func (m *MsgStakeClient) Reset()
func (*MsgStakeClient) Route ¶ added in v0.4.3
func (msg *MsgStakeClient) Route() string
func (*MsgStakeClient) Size ¶ added in v0.4.3
func (m *MsgStakeClient) Size() (n int)
func (*MsgStakeClient) String ¶ added in v0.4.3
func (m *MsgStakeClient) String() string
func (*MsgStakeClient) Type ¶ added in v0.4.3
func (msg *MsgStakeClient) Type() string
func (*MsgStakeClient) Unmarshal ¶ added in v0.4.3
func (m *MsgStakeClient) Unmarshal(dAtA []byte) error
func (*MsgStakeClient) ValidateBasic ¶ added in v0.4.3
func (msg *MsgStakeClient) ValidateBasic() error
func (*MsgStakeClient) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *MsgStakeClient) XXX_DiscardUnknown()
func (*MsgStakeClient) XXX_Marshal ¶ added in v0.4.3
func (m *MsgStakeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeClient) XXX_Merge ¶ added in v0.4.3
func (m *MsgStakeClient) XXX_Merge(src proto.Message)
func (*MsgStakeClient) XXX_Size ¶ added in v0.4.3
func (m *MsgStakeClient) XXX_Size() int
func (*MsgStakeClient) XXX_Unmarshal ¶ added in v0.4.3
func (m *MsgStakeClient) XXX_Unmarshal(b []byte) error
type MsgStakeClientResponse ¶ added in v0.4.3
type MsgStakeClientResponse struct { }
func (*MsgStakeClientResponse) Descriptor ¶ added in v0.4.3
func (*MsgStakeClientResponse) Descriptor() ([]byte, []int)
func (*MsgStakeClientResponse) Marshal ¶ added in v0.4.3
func (m *MsgStakeClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgStakeClientResponse) MarshalTo ¶ added in v0.4.3
func (m *MsgStakeClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeClientResponse) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *MsgStakeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeClientResponse) ProtoMessage ¶ added in v0.4.3
func (*MsgStakeClientResponse) ProtoMessage()
func (*MsgStakeClientResponse) Reset ¶ added in v0.4.3
func (m *MsgStakeClientResponse) Reset()
func (*MsgStakeClientResponse) Size ¶ added in v0.4.3
func (m *MsgStakeClientResponse) Size() (n int)
func (*MsgStakeClientResponse) String ¶ added in v0.4.3
func (m *MsgStakeClientResponse) String() string
func (*MsgStakeClientResponse) Unmarshal ¶ added in v0.4.3
func (m *MsgStakeClientResponse) Unmarshal(dAtA []byte) error
func (*MsgStakeClientResponse) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *MsgStakeClientResponse) XXX_DiscardUnknown()
func (*MsgStakeClientResponse) XXX_Marshal ¶ added in v0.4.3
func (m *MsgStakeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeClientResponse) XXX_Merge ¶ added in v0.4.3
func (m *MsgStakeClientResponse) XXX_Merge(src proto.Message)
func (*MsgStakeClientResponse) XXX_Size ¶ added in v0.4.3
func (m *MsgStakeClientResponse) XXX_Size() int
func (*MsgStakeClientResponse) XXX_Unmarshal ¶ added in v0.4.3
func (m *MsgStakeClientResponse) XXX_Unmarshal(b []byte) error
type MsgStakeProvider ¶
type MsgStakeProvider struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"` Amount types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"` Endpoints []types1.Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints"` Geolocation uint64 `protobuf:"varint,5,opt,name=geolocation,proto3" json:"geolocation,omitempty"` Moniker string `protobuf:"bytes,6,opt,name=moniker,proto3" json:"moniker,omitempty"` }
func NewMsgStakeProvider ¶
func NewMsgStakeProvider(creator string, chainID string, amount sdk.Coin, endpoints []epochstoragetypes.Endpoint, geolocation uint64, moniker string) *MsgStakeProvider
func (*MsgStakeProvider) Descriptor ¶
func (*MsgStakeProvider) Descriptor() ([]byte, []int)
func (*MsgStakeProvider) GetAmount ¶
func (m *MsgStakeProvider) GetAmount() types.Coin
func (*MsgStakeProvider) GetChainID ¶
func (m *MsgStakeProvider) GetChainID() string
func (*MsgStakeProvider) GetCreator ¶
func (m *MsgStakeProvider) GetCreator() string
func (*MsgStakeProvider) GetEndpoints ¶
func (m *MsgStakeProvider) GetEndpoints() []types1.Endpoint
func (*MsgStakeProvider) GetGeolocation ¶
func (m *MsgStakeProvider) GetGeolocation() uint64
func (*MsgStakeProvider) GetMoniker ¶
func (m *MsgStakeProvider) GetMoniker() string
func (*MsgStakeProvider) GetSignBytes ¶
func (msg *MsgStakeProvider) GetSignBytes() []byte
func (*MsgStakeProvider) GetSigners ¶
func (msg *MsgStakeProvider) GetSigners() []sdk.AccAddress
func (*MsgStakeProvider) Marshal ¶
func (m *MsgStakeProvider) Marshal() (dAtA []byte, err error)
func (*MsgStakeProvider) MarshalToSizedBuffer ¶
func (m *MsgStakeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeProvider) ProtoMessage ¶
func (*MsgStakeProvider) ProtoMessage()
func (*MsgStakeProvider) Reset ¶
func (m *MsgStakeProvider) Reset()
func (*MsgStakeProvider) Route ¶
func (msg *MsgStakeProvider) Route() string
func (*MsgStakeProvider) Size ¶
func (m *MsgStakeProvider) Size() (n int)
func (*MsgStakeProvider) String ¶
func (m *MsgStakeProvider) String() string
func (*MsgStakeProvider) Type ¶
func (msg *MsgStakeProvider) Type() string
func (*MsgStakeProvider) Unmarshal ¶
func (m *MsgStakeProvider) Unmarshal(dAtA []byte) error
func (*MsgStakeProvider) ValidateBasic ¶
func (msg *MsgStakeProvider) ValidateBasic() error
func (*MsgStakeProvider) XXX_DiscardUnknown ¶
func (m *MsgStakeProvider) XXX_DiscardUnknown()
func (*MsgStakeProvider) XXX_Marshal ¶
func (m *MsgStakeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeProvider) XXX_Merge ¶
func (m *MsgStakeProvider) XXX_Merge(src proto.Message)
func (*MsgStakeProvider) XXX_Size ¶
func (m *MsgStakeProvider) XXX_Size() int
func (*MsgStakeProvider) XXX_Unmarshal ¶
func (m *MsgStakeProvider) XXX_Unmarshal(b []byte) error
type MsgStakeProviderResponse ¶
type MsgStakeProviderResponse struct { }
func (*MsgStakeProviderResponse) Descriptor ¶
func (*MsgStakeProviderResponse) Descriptor() ([]byte, []int)
func (*MsgStakeProviderResponse) Marshal ¶
func (m *MsgStakeProviderResponse) Marshal() (dAtA []byte, err error)
func (*MsgStakeProviderResponse) MarshalTo ¶
func (m *MsgStakeProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgStakeProviderResponse) MarshalToSizedBuffer ¶
func (m *MsgStakeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgStakeProviderResponse) ProtoMessage ¶
func (*MsgStakeProviderResponse) ProtoMessage()
func (*MsgStakeProviderResponse) Reset ¶
func (m *MsgStakeProviderResponse) Reset()
func (*MsgStakeProviderResponse) Size ¶
func (m *MsgStakeProviderResponse) Size() (n int)
func (*MsgStakeProviderResponse) String ¶
func (m *MsgStakeProviderResponse) String() string
func (*MsgStakeProviderResponse) Unmarshal ¶
func (m *MsgStakeProviderResponse) Unmarshal(dAtA []byte) error
func (*MsgStakeProviderResponse) XXX_DiscardUnknown ¶
func (m *MsgStakeProviderResponse) XXX_DiscardUnknown()
func (*MsgStakeProviderResponse) XXX_Marshal ¶
func (m *MsgStakeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgStakeProviderResponse) XXX_Merge ¶
func (m *MsgStakeProviderResponse) XXX_Merge(src proto.Message)
func (*MsgStakeProviderResponse) XXX_Size ¶
func (m *MsgStakeProviderResponse) XXX_Size() int
func (*MsgStakeProviderResponse) XXX_Unmarshal ¶
func (m *MsgStakeProviderResponse) XXX_Unmarshal(b []byte) error
type MsgUnstakeClient ¶ added in v0.4.3
type MsgUnstakeClient struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"` }
func NewMsgUnstakeClient ¶ added in v0.4.3
func NewMsgUnstakeClient(creator string, chainID string) *MsgUnstakeClient
func (*MsgUnstakeClient) Descriptor ¶ added in v0.4.3
func (*MsgUnstakeClient) Descriptor() ([]byte, []int)
func (*MsgUnstakeClient) GetChainID ¶ added in v0.4.3
func (m *MsgUnstakeClient) GetChainID() string
func (*MsgUnstakeClient) GetCreator ¶ added in v0.4.3
func (m *MsgUnstakeClient) GetCreator() string
func (*MsgUnstakeClient) GetSignBytes ¶ added in v0.4.3
func (msg *MsgUnstakeClient) GetSignBytes() []byte
func (*MsgUnstakeClient) GetSigners ¶ added in v0.4.3
func (msg *MsgUnstakeClient) GetSigners() []sdk.AccAddress
func (*MsgUnstakeClient) Marshal ¶ added in v0.4.3
func (m *MsgUnstakeClient) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeClient) MarshalTo ¶ added in v0.4.3
func (m *MsgUnstakeClient) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeClient) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *MsgUnstakeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeClient) ProtoMessage ¶ added in v0.4.3
func (*MsgUnstakeClient) ProtoMessage()
func (*MsgUnstakeClient) Reset ¶ added in v0.4.3
func (m *MsgUnstakeClient) Reset()
func (*MsgUnstakeClient) Route ¶ added in v0.4.3
func (msg *MsgUnstakeClient) Route() string
func (*MsgUnstakeClient) Size ¶ added in v0.4.3
func (m *MsgUnstakeClient) Size() (n int)
func (*MsgUnstakeClient) String ¶ added in v0.4.3
func (m *MsgUnstakeClient) String() string
func (*MsgUnstakeClient) Type ¶ added in v0.4.3
func (msg *MsgUnstakeClient) Type() string
func (*MsgUnstakeClient) Unmarshal ¶ added in v0.4.3
func (m *MsgUnstakeClient) Unmarshal(dAtA []byte) error
func (*MsgUnstakeClient) ValidateBasic ¶ added in v0.4.3
func (msg *MsgUnstakeClient) ValidateBasic() error
func (*MsgUnstakeClient) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *MsgUnstakeClient) XXX_DiscardUnknown()
func (*MsgUnstakeClient) XXX_Marshal ¶ added in v0.4.3
func (m *MsgUnstakeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeClient) XXX_Merge ¶ added in v0.4.3
func (m *MsgUnstakeClient) XXX_Merge(src proto.Message)
func (*MsgUnstakeClient) XXX_Size ¶ added in v0.4.3
func (m *MsgUnstakeClient) XXX_Size() int
func (*MsgUnstakeClient) XXX_Unmarshal ¶ added in v0.4.3
func (m *MsgUnstakeClient) XXX_Unmarshal(b []byte) error
type MsgUnstakeClientResponse ¶ added in v0.4.3
type MsgUnstakeClientResponse struct { }
func (*MsgUnstakeClientResponse) Descriptor ¶ added in v0.4.3
func (*MsgUnstakeClientResponse) Descriptor() ([]byte, []int)
func (*MsgUnstakeClientResponse) Marshal ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeClientResponse) MarshalTo ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeClientResponse) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeClientResponse) ProtoMessage ¶ added in v0.4.3
func (*MsgUnstakeClientResponse) ProtoMessage()
func (*MsgUnstakeClientResponse) Reset ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) Reset()
func (*MsgUnstakeClientResponse) Size ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) Size() (n int)
func (*MsgUnstakeClientResponse) String ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) String() string
func (*MsgUnstakeClientResponse) Unmarshal ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) Unmarshal(dAtA []byte) error
func (*MsgUnstakeClientResponse) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) XXX_DiscardUnknown()
func (*MsgUnstakeClientResponse) XXX_Marshal ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeClientResponse) XXX_Merge ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) XXX_Merge(src proto.Message)
func (*MsgUnstakeClientResponse) XXX_Size ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) XXX_Size() int
func (*MsgUnstakeClientResponse) XXX_Unmarshal ¶ added in v0.4.3
func (m *MsgUnstakeClientResponse) XXX_Unmarshal(b []byte) error
type MsgUnstakeProvider ¶
type MsgUnstakeProvider struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"` }
func NewMsgUnstakeProvider ¶
func NewMsgUnstakeProvider(creator string, chainID string) *MsgUnstakeProvider
func (*MsgUnstakeProvider) Descriptor ¶
func (*MsgUnstakeProvider) Descriptor() ([]byte, []int)
func (*MsgUnstakeProvider) GetChainID ¶
func (m *MsgUnstakeProvider) GetChainID() string
func (*MsgUnstakeProvider) GetCreator ¶
func (m *MsgUnstakeProvider) GetCreator() string
func (*MsgUnstakeProvider) GetSignBytes ¶
func (msg *MsgUnstakeProvider) GetSignBytes() []byte
func (*MsgUnstakeProvider) GetSigners ¶
func (msg *MsgUnstakeProvider) GetSigners() []sdk.AccAddress
func (*MsgUnstakeProvider) Marshal ¶
func (m *MsgUnstakeProvider) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeProvider) MarshalTo ¶
func (m *MsgUnstakeProvider) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeProvider) MarshalToSizedBuffer ¶
func (m *MsgUnstakeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeProvider) ProtoMessage ¶
func (*MsgUnstakeProvider) ProtoMessage()
func (*MsgUnstakeProvider) Reset ¶
func (m *MsgUnstakeProvider) Reset()
func (*MsgUnstakeProvider) Route ¶
func (msg *MsgUnstakeProvider) Route() string
func (*MsgUnstakeProvider) Size ¶
func (m *MsgUnstakeProvider) Size() (n int)
func (*MsgUnstakeProvider) String ¶
func (m *MsgUnstakeProvider) String() string
func (*MsgUnstakeProvider) Type ¶
func (msg *MsgUnstakeProvider) Type() string
func (*MsgUnstakeProvider) Unmarshal ¶
func (m *MsgUnstakeProvider) Unmarshal(dAtA []byte) error
func (*MsgUnstakeProvider) ValidateBasic ¶
func (msg *MsgUnstakeProvider) ValidateBasic() error
func (*MsgUnstakeProvider) XXX_DiscardUnknown ¶
func (m *MsgUnstakeProvider) XXX_DiscardUnknown()
func (*MsgUnstakeProvider) XXX_Marshal ¶
func (m *MsgUnstakeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeProvider) XXX_Merge ¶
func (m *MsgUnstakeProvider) XXX_Merge(src proto.Message)
func (*MsgUnstakeProvider) XXX_Size ¶
func (m *MsgUnstakeProvider) XXX_Size() int
func (*MsgUnstakeProvider) XXX_Unmarshal ¶
func (m *MsgUnstakeProvider) XXX_Unmarshal(b []byte) error
type MsgUnstakeProviderResponse ¶
type MsgUnstakeProviderResponse struct { }
func (*MsgUnstakeProviderResponse) Descriptor ¶
func (*MsgUnstakeProviderResponse) Descriptor() ([]byte, []int)
func (*MsgUnstakeProviderResponse) Marshal ¶
func (m *MsgUnstakeProviderResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnstakeProviderResponse) MarshalTo ¶
func (m *MsgUnstakeProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnstakeProviderResponse) MarshalToSizedBuffer ¶
func (m *MsgUnstakeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnstakeProviderResponse) ProtoMessage ¶
func (*MsgUnstakeProviderResponse) ProtoMessage()
func (*MsgUnstakeProviderResponse) Reset ¶
func (m *MsgUnstakeProviderResponse) Reset()
func (*MsgUnstakeProviderResponse) Size ¶
func (m *MsgUnstakeProviderResponse) Size() (n int)
func (*MsgUnstakeProviderResponse) String ¶
func (m *MsgUnstakeProviderResponse) String() string
func (*MsgUnstakeProviderResponse) Unmarshal ¶
func (m *MsgUnstakeProviderResponse) Unmarshal(dAtA []byte) error
func (*MsgUnstakeProviderResponse) XXX_DiscardUnknown ¶
func (m *MsgUnstakeProviderResponse) XXX_DiscardUnknown()
func (*MsgUnstakeProviderResponse) XXX_Marshal ¶
func (m *MsgUnstakeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnstakeProviderResponse) XXX_Merge ¶
func (m *MsgUnstakeProviderResponse) XXX_Merge(src proto.Message)
func (*MsgUnstakeProviderResponse) XXX_Size ¶
func (m *MsgUnstakeProviderResponse) XXX_Size() int
func (*MsgUnstakeProviderResponse) XXX_Unmarshal ¶
func (m *MsgUnstakeProviderResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { MinStakeProvider github_com_cosmos_cosmos_sdk_types.Coin `` /* 152-byte string literal not displayed */ MinStakeClient github_com_cosmos_cosmos_sdk_types.Coin `` /* 146-byte string literal not displayed */ MintCoinsPerCU github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ BurnCoinsPerCU github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */ FraudStakeSlashingFactor github_com_cosmos_cosmos_sdk_types.Dec `` /* 176-byte string literal not displayed */ FraudSlashingAmount uint64 `protobuf:"varint,6,opt,name=fraudSlashingAmount,proto3" json:"fraudSlashingAmount,omitempty" yaml:"fraud_slashing_amount"` ServicersToPairCount uint64 `protobuf:"varint,7,opt,name=servicersToPairCount,proto3" json:"servicersToPairCount,omitempty" yaml:"servicers_to_pair_count"` EpochBlocksOverlap uint64 `protobuf:"varint,8,opt,name=epochBlocksOverlap,proto3" json:"epochBlocksOverlap,omitempty" yaml:"epoch_blocks_overlap"` StakeToMaxCUList StakeToMaxCUList `` /* 137-byte string literal not displayed */ UnpayLimit github_com_cosmos_cosmos_sdk_types.Dec `` /* 133-byte string literal not displayed */ SlashLimit github_com_cosmos_cosmos_sdk_types.Dec `` /* 133-byte string literal not displayed */ DataReliabilityReward github_com_cosmos_cosmos_sdk_types.Dec `` /* 167-byte string literal not displayed */ QoSWeight github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( minStakeProvider sdk.Coin, minStakeClient sdk.Coin, mintCoinsPerCU sdk.Dec, burnCoinsPerCU sdk.Dec, fraudStakeSlashingFactor sdk.Dec, fraudSlashingAmount uint64, servicersToPairCount uint64, epochBlocksOverlap uint64, stakeToMaxCUList StakeToMaxCUList, unpayLimit sdk.Dec, slashLimit sdk.Dec, dataReliabilityReward sdk.Dec, qoSWeight sdk.Dec, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetEpochBlocksOverlap ¶
func (*Params) GetFraudSlashingAmount ¶ added in v0.4.3
func (*Params) GetServicersToPairCount ¶ added in v0.4.3
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs get the params.ParamSet
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type ProviderPaymentStorage ¶
type ProviderPaymentStorage struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` UniquePaymentStorageClientProvider []*UniquePaymentStorageClientProvider `protobuf:"bytes,2,rep,name=uniquePaymentStorageClientProvider,proto3" json:"uniquePaymentStorageClientProvider,omitempty"` Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` UnresponsivenessComplaints []string `` /* 139-byte string literal not displayed */ }
func (*ProviderPaymentStorage) Descriptor ¶
func (*ProviderPaymentStorage) Descriptor() ([]byte, []int)
func (*ProviderPaymentStorage) GetEpoch ¶
func (m *ProviderPaymentStorage) GetEpoch() uint64
func (*ProviderPaymentStorage) GetIndex ¶
func (m *ProviderPaymentStorage) GetIndex() string
func (*ProviderPaymentStorage) GetUniquePaymentStorageClientProvider ¶ added in v0.4.3
func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProvider() []*UniquePaymentStorageClientProvider
func (*ProviderPaymentStorage) GetUnresponsivenessComplaints ¶ added in v0.4.3
func (m *ProviderPaymentStorage) GetUnresponsivenessComplaints() []string
func (*ProviderPaymentStorage) Marshal ¶
func (m *ProviderPaymentStorage) Marshal() (dAtA []byte, err error)
func (*ProviderPaymentStorage) MarshalTo ¶
func (m *ProviderPaymentStorage) MarshalTo(dAtA []byte) (int, error)
func (*ProviderPaymentStorage) MarshalToSizedBuffer ¶
func (m *ProviderPaymentStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderPaymentStorage) ProtoMessage ¶
func (*ProviderPaymentStorage) ProtoMessage()
func (*ProviderPaymentStorage) Reset ¶
func (m *ProviderPaymentStorage) Reset()
func (*ProviderPaymentStorage) Size ¶
func (m *ProviderPaymentStorage) Size() (n int)
func (*ProviderPaymentStorage) String ¶
func (m *ProviderPaymentStorage) String() string
func (*ProviderPaymentStorage) Unmarshal ¶
func (m *ProviderPaymentStorage) Unmarshal(dAtA []byte) error
func (*ProviderPaymentStorage) XXX_DiscardUnknown ¶
func (m *ProviderPaymentStorage) XXX_DiscardUnknown()
func (*ProviderPaymentStorage) XXX_Marshal ¶
func (m *ProviderPaymentStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderPaymentStorage) XXX_Merge ¶
func (m *ProviderPaymentStorage) XXX_Merge(src proto.Message)
func (*ProviderPaymentStorage) XXX_Size ¶
func (m *ProviderPaymentStorage) XXX_Size() int
func (*ProviderPaymentStorage) XXX_Unmarshal ¶
func (m *ProviderPaymentStorage) XXX_Unmarshal(b []byte) error
type QualityOfServiceReport ¶
type QualityOfServiceReport struct { Latency github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=latency,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"latency" yaml:"Latency"` Availability github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */ Sync github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=sync,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"sync" yaml:"sync"` }
func (*QualityOfServiceReport) ComputeQoS ¶
func (qos *QualityOfServiceReport) ComputeQoS() (sdk.Dec, error)
func (*QualityOfServiceReport) Descriptor ¶
func (*QualityOfServiceReport) Descriptor() ([]byte, []int)
func (*QualityOfServiceReport) Marshal ¶
func (m *QualityOfServiceReport) Marshal() (dAtA []byte, err error)
func (*QualityOfServiceReport) MarshalTo ¶
func (m *QualityOfServiceReport) MarshalTo(dAtA []byte) (int, error)
func (*QualityOfServiceReport) MarshalToSizedBuffer ¶
func (m *QualityOfServiceReport) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QualityOfServiceReport) ProtoMessage ¶
func (*QualityOfServiceReport) ProtoMessage()
func (*QualityOfServiceReport) Reset ¶
func (m *QualityOfServiceReport) Reset()
func (*QualityOfServiceReport) Size ¶
func (m *QualityOfServiceReport) Size() (n int)
func (*QualityOfServiceReport) String ¶
func (m *QualityOfServiceReport) String() string
func (*QualityOfServiceReport) Unmarshal ¶
func (m *QualityOfServiceReport) Unmarshal(dAtA []byte) error
func (*QualityOfServiceReport) XXX_DiscardUnknown ¶
func (m *QualityOfServiceReport) XXX_DiscardUnknown()
func (*QualityOfServiceReport) XXX_Marshal ¶
func (m *QualityOfServiceReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QualityOfServiceReport) XXX_Merge ¶
func (m *QualityOfServiceReport) XXX_Merge(src proto.Message)
func (*QualityOfServiceReport) XXX_Size ¶
func (m *QualityOfServiceReport) XXX_Size() int
func (*QualityOfServiceReport) XXX_Unmarshal ¶
func (m *QualityOfServiceReport) XXX_Unmarshal(b []byte) error
type QueryAllEpochPaymentsRequest ¶
type QueryAllEpochPaymentsRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllEpochPaymentsRequest) Descriptor ¶
func (*QueryAllEpochPaymentsRequest) Descriptor() ([]byte, []int)
func (*QueryAllEpochPaymentsRequest) GetPagination ¶
func (m *QueryAllEpochPaymentsRequest) GetPagination() *query.PageRequest
func (*QueryAllEpochPaymentsRequest) Marshal ¶
func (m *QueryAllEpochPaymentsRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllEpochPaymentsRequest) MarshalTo ¶
func (m *QueryAllEpochPaymentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllEpochPaymentsRequest) MarshalToSizedBuffer ¶
func (m *QueryAllEpochPaymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllEpochPaymentsRequest) ProtoMessage ¶
func (*QueryAllEpochPaymentsRequest) ProtoMessage()
func (*QueryAllEpochPaymentsRequest) Reset ¶
func (m *QueryAllEpochPaymentsRequest) Reset()
func (*QueryAllEpochPaymentsRequest) Size ¶
func (m *QueryAllEpochPaymentsRequest) Size() (n int)
func (*QueryAllEpochPaymentsRequest) String ¶
func (m *QueryAllEpochPaymentsRequest) String() string
func (*QueryAllEpochPaymentsRequest) Unmarshal ¶
func (m *QueryAllEpochPaymentsRequest) Unmarshal(dAtA []byte) error
func (*QueryAllEpochPaymentsRequest) XXX_DiscardUnknown ¶
func (m *QueryAllEpochPaymentsRequest) XXX_DiscardUnknown()
func (*QueryAllEpochPaymentsRequest) XXX_Marshal ¶
func (m *QueryAllEpochPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllEpochPaymentsRequest) XXX_Merge ¶
func (m *QueryAllEpochPaymentsRequest) XXX_Merge(src proto.Message)
func (*QueryAllEpochPaymentsRequest) XXX_Size ¶
func (m *QueryAllEpochPaymentsRequest) XXX_Size() int
func (*QueryAllEpochPaymentsRequest) XXX_Unmarshal ¶
func (m *QueryAllEpochPaymentsRequest) XXX_Unmarshal(b []byte) error
type QueryAllEpochPaymentsResponse ¶
type QueryAllEpochPaymentsResponse struct { EpochPayments []EpochPayments `protobuf:"bytes,1,rep,name=epochPayments,proto3" json:"epochPayments"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllEpochPaymentsResponse) Descriptor ¶
func (*QueryAllEpochPaymentsResponse) Descriptor() ([]byte, []int)
func (*QueryAllEpochPaymentsResponse) GetEpochPayments ¶
func (m *QueryAllEpochPaymentsResponse) GetEpochPayments() []EpochPayments
func (*QueryAllEpochPaymentsResponse) GetPagination ¶
func (m *QueryAllEpochPaymentsResponse) GetPagination() *query.PageResponse
func (*QueryAllEpochPaymentsResponse) Marshal ¶
func (m *QueryAllEpochPaymentsResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllEpochPaymentsResponse) MarshalTo ¶
func (m *QueryAllEpochPaymentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllEpochPaymentsResponse) MarshalToSizedBuffer ¶
func (m *QueryAllEpochPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllEpochPaymentsResponse) ProtoMessage ¶
func (*QueryAllEpochPaymentsResponse) ProtoMessage()
func (*QueryAllEpochPaymentsResponse) Reset ¶
func (m *QueryAllEpochPaymentsResponse) Reset()
func (*QueryAllEpochPaymentsResponse) Size ¶
func (m *QueryAllEpochPaymentsResponse) Size() (n int)
func (*QueryAllEpochPaymentsResponse) String ¶
func (m *QueryAllEpochPaymentsResponse) String() string
func (*QueryAllEpochPaymentsResponse) Unmarshal ¶
func (m *QueryAllEpochPaymentsResponse) Unmarshal(dAtA []byte) error
func (*QueryAllEpochPaymentsResponse) XXX_DiscardUnknown ¶
func (m *QueryAllEpochPaymentsResponse) XXX_DiscardUnknown()
func (*QueryAllEpochPaymentsResponse) XXX_Marshal ¶
func (m *QueryAllEpochPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllEpochPaymentsResponse) XXX_Merge ¶
func (m *QueryAllEpochPaymentsResponse) XXX_Merge(src proto.Message)
func (*QueryAllEpochPaymentsResponse) XXX_Size ¶
func (m *QueryAllEpochPaymentsResponse) XXX_Size() int
func (*QueryAllEpochPaymentsResponse) XXX_Unmarshal ¶
func (m *QueryAllEpochPaymentsResponse) XXX_Unmarshal(b []byte) error
type QueryAllProviderPaymentStorageRequest ¶
type QueryAllProviderPaymentStorageRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllProviderPaymentStorageRequest) Descriptor ¶
func (*QueryAllProviderPaymentStorageRequest) Descriptor() ([]byte, []int)
func (*QueryAllProviderPaymentStorageRequest) GetPagination ¶
func (m *QueryAllProviderPaymentStorageRequest) GetPagination() *query.PageRequest
func (*QueryAllProviderPaymentStorageRequest) Marshal ¶
func (m *QueryAllProviderPaymentStorageRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllProviderPaymentStorageRequest) MarshalTo ¶
func (m *QueryAllProviderPaymentStorageRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllProviderPaymentStorageRequest) MarshalToSizedBuffer ¶
func (m *QueryAllProviderPaymentStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllProviderPaymentStorageRequest) ProtoMessage ¶
func (*QueryAllProviderPaymentStorageRequest) ProtoMessage()
func (*QueryAllProviderPaymentStorageRequest) Reset ¶
func (m *QueryAllProviderPaymentStorageRequest) Reset()
func (*QueryAllProviderPaymentStorageRequest) Size ¶
func (m *QueryAllProviderPaymentStorageRequest) Size() (n int)
func (*QueryAllProviderPaymentStorageRequest) String ¶
func (m *QueryAllProviderPaymentStorageRequest) String() string
func (*QueryAllProviderPaymentStorageRequest) Unmarshal ¶
func (m *QueryAllProviderPaymentStorageRequest) Unmarshal(dAtA []byte) error
func (*QueryAllProviderPaymentStorageRequest) XXX_DiscardUnknown ¶
func (m *QueryAllProviderPaymentStorageRequest) XXX_DiscardUnknown()
func (*QueryAllProviderPaymentStorageRequest) XXX_Marshal ¶
func (m *QueryAllProviderPaymentStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllProviderPaymentStorageRequest) XXX_Merge ¶
func (m *QueryAllProviderPaymentStorageRequest) XXX_Merge(src proto.Message)
func (*QueryAllProviderPaymentStorageRequest) XXX_Size ¶
func (m *QueryAllProviderPaymentStorageRequest) XXX_Size() int
func (*QueryAllProviderPaymentStorageRequest) XXX_Unmarshal ¶
func (m *QueryAllProviderPaymentStorageRequest) XXX_Unmarshal(b []byte) error
type QueryAllProviderPaymentStorageResponse ¶
type QueryAllProviderPaymentStorageResponse struct { ProviderPaymentStorage []ProviderPaymentStorage `protobuf:"bytes,1,rep,name=providerPaymentStorage,proto3" json:"providerPaymentStorage"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllProviderPaymentStorageResponse) Descriptor ¶
func (*QueryAllProviderPaymentStorageResponse) Descriptor() ([]byte, []int)
func (*QueryAllProviderPaymentStorageResponse) GetPagination ¶
func (m *QueryAllProviderPaymentStorageResponse) GetPagination() *query.PageResponse
func (*QueryAllProviderPaymentStorageResponse) GetProviderPaymentStorage ¶
func (m *QueryAllProviderPaymentStorageResponse) GetProviderPaymentStorage() []ProviderPaymentStorage
func (*QueryAllProviderPaymentStorageResponse) Marshal ¶
func (m *QueryAllProviderPaymentStorageResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllProviderPaymentStorageResponse) MarshalTo ¶
func (m *QueryAllProviderPaymentStorageResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllProviderPaymentStorageResponse) MarshalToSizedBuffer ¶
func (m *QueryAllProviderPaymentStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllProviderPaymentStorageResponse) ProtoMessage ¶
func (*QueryAllProviderPaymentStorageResponse) ProtoMessage()
func (*QueryAllProviderPaymentStorageResponse) Reset ¶
func (m *QueryAllProviderPaymentStorageResponse) Reset()
func (*QueryAllProviderPaymentStorageResponse) Size ¶
func (m *QueryAllProviderPaymentStorageResponse) Size() (n int)
func (*QueryAllProviderPaymentStorageResponse) String ¶
func (m *QueryAllProviderPaymentStorageResponse) String() string
func (*QueryAllProviderPaymentStorageResponse) Unmarshal ¶
func (m *QueryAllProviderPaymentStorageResponse) Unmarshal(dAtA []byte) error
func (*QueryAllProviderPaymentStorageResponse) XXX_DiscardUnknown ¶
func (m *QueryAllProviderPaymentStorageResponse) XXX_DiscardUnknown()
func (*QueryAllProviderPaymentStorageResponse) XXX_Marshal ¶
func (m *QueryAllProviderPaymentStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllProviderPaymentStorageResponse) XXX_Merge ¶
func (m *QueryAllProviderPaymentStorageResponse) XXX_Merge(src proto.Message)
func (*QueryAllProviderPaymentStorageResponse) XXX_Size ¶
func (m *QueryAllProviderPaymentStorageResponse) XXX_Size() int
func (*QueryAllProviderPaymentStorageResponse) XXX_Unmarshal ¶
func (m *QueryAllProviderPaymentStorageResponse) XXX_Unmarshal(b []byte) error
type QueryAllUniquePaymentStorageClientProviderRequest ¶
type QueryAllUniquePaymentStorageClientProviderRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}
func (*QueryAllUniquePaymentStorageClientProviderRequest) Descriptor ¶
func (*QueryAllUniquePaymentStorageClientProviderRequest) Descriptor() ([]byte, []int)
func (*QueryAllUniquePaymentStorageClientProviderRequest) GetPagination ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) GetPagination() *query.PageRequest
func (*QueryAllUniquePaymentStorageClientProviderRequest) Marshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) Marshal() (dAtA []byte, err error)
func (*QueryAllUniquePaymentStorageClientProviderRequest) MarshalTo ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllUniquePaymentStorageClientProviderRequest) ProtoMessage ¶
func (*QueryAllUniquePaymentStorageClientProviderRequest) ProtoMessage()
func (*QueryAllUniquePaymentStorageClientProviderRequest) Reset ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) Reset()
func (*QueryAllUniquePaymentStorageClientProviderRequest) Size ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) Size() (n int)
func (*QueryAllUniquePaymentStorageClientProviderRequest) String ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) String() string
func (*QueryAllUniquePaymentStorageClientProviderRequest) Unmarshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) Unmarshal(dAtA []byte) error
func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown()
func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Marshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Merge ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Merge(src proto.Message)
func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Size ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Size() int
func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Unmarshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Unmarshal(b []byte) error
type QueryAllUniquePaymentStorageClientProviderResponse ¶
type QueryAllUniquePaymentStorageClientProviderResponse struct { UniquePaymentStorageClientProvider []UniquePaymentStorageClientProvider `protobuf:"bytes,1,rep,name=uniquePaymentStorageClientProvider,proto3" json:"uniquePaymentStorageClientProvider"` Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
func (*QueryAllUniquePaymentStorageClientProviderResponse) Descriptor ¶
func (*QueryAllUniquePaymentStorageClientProviderResponse) Descriptor() ([]byte, []int)
func (*QueryAllUniquePaymentStorageClientProviderResponse) GetPagination ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) GetPagination() *query.PageResponse
func (*QueryAllUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider() []UniquePaymentStorageClientProvider
func (*QueryAllUniquePaymentStorageClientProviderResponse) Marshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) Marshal() (dAtA []byte, err error)
func (*QueryAllUniquePaymentStorageClientProviderResponse) MarshalTo ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAllUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAllUniquePaymentStorageClientProviderResponse) ProtoMessage ¶
func (*QueryAllUniquePaymentStorageClientProviderResponse) ProtoMessage()
func (*QueryAllUniquePaymentStorageClientProviderResponse) Reset ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) Reset()
func (*QueryAllUniquePaymentStorageClientProviderResponse) Size ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) Size() (n int)
func (*QueryAllUniquePaymentStorageClientProviderResponse) String ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) String() string
func (*QueryAllUniquePaymentStorageClientProviderResponse) Unmarshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) Unmarshal(dAtA []byte) error
func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown()
func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Marshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Merge ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Merge(src proto.Message)
func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Size ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Size() int
func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Unmarshal ¶
func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Parameters queries the parameters of the module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Queries a list of Providers items. Providers(ctx context.Context, in *QueryProvidersRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error) // Queries a list of Clients items. Clients(ctx context.Context, in *QueryClientsRequest, opts ...grpc.CallOption) (*QueryClientsResponse, error) // Queries a list of GetPairing items. GetPairing(ctx context.Context, in *QueryGetPairingRequest, opts ...grpc.CallOption) (*QueryGetPairingResponse, error) // Queries a list of VerifyPairing items. VerifyPairing(ctx context.Context, in *QueryVerifyPairingRequest, opts ...grpc.CallOption) (*QueryVerifyPairingResponse, error) // Queries a UniquePaymentStorageClientProvider by index. UniquePaymentStorageClientProvider(ctx context.Context, in *QueryGetUniquePaymentStorageClientProviderRequest, opts ...grpc.CallOption) (*QueryGetUniquePaymentStorageClientProviderResponse, error) // Queries a list of UniquePaymentStorageClientProvider items. UniquePaymentStorageClientProviderAll(ctx context.Context, in *QueryAllUniquePaymentStorageClientProviderRequest, opts ...grpc.CallOption) (*QueryAllUniquePaymentStorageClientProviderResponse, error) // Queries a ProviderPaymentStorage by index. ProviderPaymentStorage(ctx context.Context, in *QueryGetProviderPaymentStorageRequest, opts ...grpc.CallOption) (*QueryGetProviderPaymentStorageResponse, error) // Queries a list of ProviderPaymentStorage items. ProviderPaymentStorageAll(ctx context.Context, in *QueryAllProviderPaymentStorageRequest, opts ...grpc.CallOption) (*QueryAllProviderPaymentStorageResponse, error) // Queries a EpochPayments by index. EpochPayments(ctx context.Context, in *QueryGetEpochPaymentsRequest, opts ...grpc.CallOption) (*QueryGetEpochPaymentsResponse, error) // Queries a list of EpochPayments items. EpochPaymentsAll(ctx context.Context, in *QueryAllEpochPaymentsRequest, opts ...grpc.CallOption) (*QueryAllEpochPaymentsResponse, error) // Queries a UserEntry items. UserEntry(ctx context.Context, in *QueryUserEntryRequest, opts ...grpc.CallOption) (*QueryUserEntryResponse, error) }
QueryClient is the client API for Query service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewQueryClient ¶
func NewQueryClient(cc grpc1.ClientConn) QueryClient
type QueryClientsRequest ¶ added in v0.4.3
type QueryClientsRequest struct {
ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
}
func (*QueryClientsRequest) Descriptor ¶ added in v0.4.3
func (*QueryClientsRequest) Descriptor() ([]byte, []int)
func (*QueryClientsRequest) GetChainID ¶ added in v0.4.3
func (m *QueryClientsRequest) GetChainID() string
func (*QueryClientsRequest) Marshal ¶ added in v0.4.3
func (m *QueryClientsRequest) Marshal() (dAtA []byte, err error)
func (*QueryClientsRequest) MarshalTo ¶ added in v0.4.3
func (m *QueryClientsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientsRequest) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *QueryClientsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientsRequest) ProtoMessage ¶ added in v0.4.3
func (*QueryClientsRequest) ProtoMessage()
func (*QueryClientsRequest) Reset ¶ added in v0.4.3
func (m *QueryClientsRequest) Reset()
func (*QueryClientsRequest) Size ¶ added in v0.4.3
func (m *QueryClientsRequest) Size() (n int)
func (*QueryClientsRequest) String ¶ added in v0.4.3
func (m *QueryClientsRequest) String() string
func (*QueryClientsRequest) Unmarshal ¶ added in v0.4.3
func (m *QueryClientsRequest) Unmarshal(dAtA []byte) error
func (*QueryClientsRequest) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *QueryClientsRequest) XXX_DiscardUnknown()
func (*QueryClientsRequest) XXX_Marshal ¶ added in v0.4.3
func (m *QueryClientsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientsRequest) XXX_Merge ¶ added in v0.4.3
func (m *QueryClientsRequest) XXX_Merge(src proto.Message)
func (*QueryClientsRequest) XXX_Size ¶ added in v0.4.3
func (m *QueryClientsRequest) XXX_Size() int
func (*QueryClientsRequest) XXX_Unmarshal ¶ added in v0.4.3
func (m *QueryClientsRequest) XXX_Unmarshal(b []byte) error
type QueryClientsResponse ¶ added in v0.4.3
type QueryClientsResponse struct { StakeEntry []types.StakeEntry `protobuf:"bytes,1,rep,name=stakeEntry,proto3" json:"stakeEntry"` Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` }
func (*QueryClientsResponse) Descriptor ¶ added in v0.4.3
func (*QueryClientsResponse) Descriptor() ([]byte, []int)
func (*QueryClientsResponse) GetOutput ¶ added in v0.4.3
func (m *QueryClientsResponse) GetOutput() string
func (*QueryClientsResponse) GetStakeEntry ¶ added in v0.4.3
func (m *QueryClientsResponse) GetStakeEntry() []types.StakeEntry
func (*QueryClientsResponse) Marshal ¶ added in v0.4.3
func (m *QueryClientsResponse) Marshal() (dAtA []byte, err error)
func (*QueryClientsResponse) MarshalTo ¶ added in v0.4.3
func (m *QueryClientsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryClientsResponse) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *QueryClientsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryClientsResponse) ProtoMessage ¶ added in v0.4.3
func (*QueryClientsResponse) ProtoMessage()
func (*QueryClientsResponse) Reset ¶ added in v0.4.3
func (m *QueryClientsResponse) Reset()
func (*QueryClientsResponse) Size ¶ added in v0.4.3
func (m *QueryClientsResponse) Size() (n int)
func (*QueryClientsResponse) String ¶ added in v0.4.3
func (m *QueryClientsResponse) String() string
func (*QueryClientsResponse) Unmarshal ¶ added in v0.4.3
func (m *QueryClientsResponse) Unmarshal(dAtA []byte) error
func (*QueryClientsResponse) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *QueryClientsResponse) XXX_DiscardUnknown()
func (*QueryClientsResponse) XXX_Marshal ¶ added in v0.4.3
func (m *QueryClientsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryClientsResponse) XXX_Merge ¶ added in v0.4.3
func (m *QueryClientsResponse) XXX_Merge(src proto.Message)
func (*QueryClientsResponse) XXX_Size ¶ added in v0.4.3
func (m *QueryClientsResponse) XXX_Size() int
func (*QueryClientsResponse) XXX_Unmarshal ¶ added in v0.4.3
func (m *QueryClientsResponse) XXX_Unmarshal(b []byte) error
type QueryGetEpochPaymentsRequest ¶
type QueryGetEpochPaymentsRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetEpochPaymentsRequest) Descriptor ¶
func (*QueryGetEpochPaymentsRequest) Descriptor() ([]byte, []int)
func (*QueryGetEpochPaymentsRequest) GetIndex ¶
func (m *QueryGetEpochPaymentsRequest) GetIndex() string
func (*QueryGetEpochPaymentsRequest) Marshal ¶
func (m *QueryGetEpochPaymentsRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetEpochPaymentsRequest) MarshalTo ¶
func (m *QueryGetEpochPaymentsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetEpochPaymentsRequest) MarshalToSizedBuffer ¶
func (m *QueryGetEpochPaymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetEpochPaymentsRequest) ProtoMessage ¶
func (*QueryGetEpochPaymentsRequest) ProtoMessage()
func (*QueryGetEpochPaymentsRequest) Reset ¶
func (m *QueryGetEpochPaymentsRequest) Reset()
func (*QueryGetEpochPaymentsRequest) Size ¶
func (m *QueryGetEpochPaymentsRequest) Size() (n int)
func (*QueryGetEpochPaymentsRequest) String ¶
func (m *QueryGetEpochPaymentsRequest) String() string
func (*QueryGetEpochPaymentsRequest) Unmarshal ¶
func (m *QueryGetEpochPaymentsRequest) Unmarshal(dAtA []byte) error
func (*QueryGetEpochPaymentsRequest) XXX_DiscardUnknown ¶
func (m *QueryGetEpochPaymentsRequest) XXX_DiscardUnknown()
func (*QueryGetEpochPaymentsRequest) XXX_Marshal ¶
func (m *QueryGetEpochPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetEpochPaymentsRequest) XXX_Merge ¶
func (m *QueryGetEpochPaymentsRequest) XXX_Merge(src proto.Message)
func (*QueryGetEpochPaymentsRequest) XXX_Size ¶
func (m *QueryGetEpochPaymentsRequest) XXX_Size() int
func (*QueryGetEpochPaymentsRequest) XXX_Unmarshal ¶
func (m *QueryGetEpochPaymentsRequest) XXX_Unmarshal(b []byte) error
type QueryGetEpochPaymentsResponse ¶
type QueryGetEpochPaymentsResponse struct {
EpochPayments EpochPayments `protobuf:"bytes,1,opt,name=epochPayments,proto3" json:"epochPayments"`
}
func (*QueryGetEpochPaymentsResponse) Descriptor ¶
func (*QueryGetEpochPaymentsResponse) Descriptor() ([]byte, []int)
func (*QueryGetEpochPaymentsResponse) GetEpochPayments ¶
func (m *QueryGetEpochPaymentsResponse) GetEpochPayments() EpochPayments
func (*QueryGetEpochPaymentsResponse) Marshal ¶
func (m *QueryGetEpochPaymentsResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetEpochPaymentsResponse) MarshalTo ¶
func (m *QueryGetEpochPaymentsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetEpochPaymentsResponse) MarshalToSizedBuffer ¶
func (m *QueryGetEpochPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetEpochPaymentsResponse) ProtoMessage ¶
func (*QueryGetEpochPaymentsResponse) ProtoMessage()
func (*QueryGetEpochPaymentsResponse) Reset ¶
func (m *QueryGetEpochPaymentsResponse) Reset()
func (*QueryGetEpochPaymentsResponse) Size ¶
func (m *QueryGetEpochPaymentsResponse) Size() (n int)
func (*QueryGetEpochPaymentsResponse) String ¶
func (m *QueryGetEpochPaymentsResponse) String() string
func (*QueryGetEpochPaymentsResponse) Unmarshal ¶
func (m *QueryGetEpochPaymentsResponse) Unmarshal(dAtA []byte) error
func (*QueryGetEpochPaymentsResponse) XXX_DiscardUnknown ¶
func (m *QueryGetEpochPaymentsResponse) XXX_DiscardUnknown()
func (*QueryGetEpochPaymentsResponse) XXX_Marshal ¶
func (m *QueryGetEpochPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetEpochPaymentsResponse) XXX_Merge ¶
func (m *QueryGetEpochPaymentsResponse) XXX_Merge(src proto.Message)
func (*QueryGetEpochPaymentsResponse) XXX_Size ¶
func (m *QueryGetEpochPaymentsResponse) XXX_Size() int
func (*QueryGetEpochPaymentsResponse) XXX_Unmarshal ¶
func (m *QueryGetEpochPaymentsResponse) XXX_Unmarshal(b []byte) error
type QueryGetPairingRequest ¶
type QueryGetPairingRequest struct { ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` Client string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` }
func (*QueryGetPairingRequest) Descriptor ¶
func (*QueryGetPairingRequest) Descriptor() ([]byte, []int)
func (*QueryGetPairingRequest) GetChainID ¶
func (m *QueryGetPairingRequest) GetChainID() string
func (*QueryGetPairingRequest) GetClient ¶
func (m *QueryGetPairingRequest) GetClient() string
func (*QueryGetPairingRequest) Marshal ¶
func (m *QueryGetPairingRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetPairingRequest) MarshalTo ¶
func (m *QueryGetPairingRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPairingRequest) MarshalToSizedBuffer ¶
func (m *QueryGetPairingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPairingRequest) ProtoMessage ¶
func (*QueryGetPairingRequest) ProtoMessage()
func (*QueryGetPairingRequest) Reset ¶
func (m *QueryGetPairingRequest) Reset()
func (*QueryGetPairingRequest) Size ¶
func (m *QueryGetPairingRequest) Size() (n int)
func (*QueryGetPairingRequest) String ¶
func (m *QueryGetPairingRequest) String() string
func (*QueryGetPairingRequest) Unmarshal ¶
func (m *QueryGetPairingRequest) Unmarshal(dAtA []byte) error
func (*QueryGetPairingRequest) XXX_DiscardUnknown ¶
func (m *QueryGetPairingRequest) XXX_DiscardUnknown()
func (*QueryGetPairingRequest) XXX_Marshal ¶
func (m *QueryGetPairingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPairingRequest) XXX_Merge ¶
func (m *QueryGetPairingRequest) XXX_Merge(src proto.Message)
func (*QueryGetPairingRequest) XXX_Size ¶
func (m *QueryGetPairingRequest) XXX_Size() int
func (*QueryGetPairingRequest) XXX_Unmarshal ¶
func (m *QueryGetPairingRequest) XXX_Unmarshal(b []byte) error
type QueryGetPairingResponse ¶
type QueryGetPairingResponse struct { Providers []types.StakeEntry `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers"` CurrentEpoch uint64 `protobuf:"varint,2,opt,name=currentEpoch,proto3" json:"currentEpoch,omitempty"` TimeLeftToNextPairing uint64 `protobuf:"varint,3,opt,name=timeLeftToNextPairing,proto3" json:"timeLeftToNextPairing,omitempty"` SpecLastUpdatedBlock uint64 `protobuf:"varint,4,opt,name=specLastUpdatedBlock,proto3" json:"specLastUpdatedBlock,omitempty"` }
func (*QueryGetPairingResponse) Descriptor ¶
func (*QueryGetPairingResponse) Descriptor() ([]byte, []int)
func (*QueryGetPairingResponse) GetCurrentEpoch ¶
func (m *QueryGetPairingResponse) GetCurrentEpoch() uint64
func (*QueryGetPairingResponse) GetProviders ¶
func (m *QueryGetPairingResponse) GetProviders() []types.StakeEntry
func (*QueryGetPairingResponse) GetSpecLastUpdatedBlock ¶
func (m *QueryGetPairingResponse) GetSpecLastUpdatedBlock() uint64
func (*QueryGetPairingResponse) GetTimeLeftToNextPairing ¶
func (m *QueryGetPairingResponse) GetTimeLeftToNextPairing() uint64
func (*QueryGetPairingResponse) Marshal ¶
func (m *QueryGetPairingResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetPairingResponse) MarshalTo ¶
func (m *QueryGetPairingResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetPairingResponse) MarshalToSizedBuffer ¶
func (m *QueryGetPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetPairingResponse) ProtoMessage ¶
func (*QueryGetPairingResponse) ProtoMessage()
func (*QueryGetPairingResponse) Reset ¶
func (m *QueryGetPairingResponse) Reset()
func (*QueryGetPairingResponse) Size ¶
func (m *QueryGetPairingResponse) Size() (n int)
func (*QueryGetPairingResponse) String ¶
func (m *QueryGetPairingResponse) String() string
func (*QueryGetPairingResponse) Unmarshal ¶
func (m *QueryGetPairingResponse) Unmarshal(dAtA []byte) error
func (*QueryGetPairingResponse) XXX_DiscardUnknown ¶
func (m *QueryGetPairingResponse) XXX_DiscardUnknown()
func (*QueryGetPairingResponse) XXX_Marshal ¶
func (m *QueryGetPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetPairingResponse) XXX_Merge ¶
func (m *QueryGetPairingResponse) XXX_Merge(src proto.Message)
func (*QueryGetPairingResponse) XXX_Size ¶
func (m *QueryGetPairingResponse) XXX_Size() int
func (*QueryGetPairingResponse) XXX_Unmarshal ¶
func (m *QueryGetPairingResponse) XXX_Unmarshal(b []byte) error
type QueryGetProviderPaymentStorageRequest ¶
type QueryGetProviderPaymentStorageRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetProviderPaymentStorageRequest) Descriptor ¶
func (*QueryGetProviderPaymentStorageRequest) Descriptor() ([]byte, []int)
func (*QueryGetProviderPaymentStorageRequest) GetIndex ¶
func (m *QueryGetProviderPaymentStorageRequest) GetIndex() string
func (*QueryGetProviderPaymentStorageRequest) Marshal ¶
func (m *QueryGetProviderPaymentStorageRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetProviderPaymentStorageRequest) MarshalTo ¶
func (m *QueryGetProviderPaymentStorageRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetProviderPaymentStorageRequest) MarshalToSizedBuffer ¶
func (m *QueryGetProviderPaymentStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetProviderPaymentStorageRequest) ProtoMessage ¶
func (*QueryGetProviderPaymentStorageRequest) ProtoMessage()
func (*QueryGetProviderPaymentStorageRequest) Reset ¶
func (m *QueryGetProviderPaymentStorageRequest) Reset()
func (*QueryGetProviderPaymentStorageRequest) Size ¶
func (m *QueryGetProviderPaymentStorageRequest) Size() (n int)
func (*QueryGetProviderPaymentStorageRequest) String ¶
func (m *QueryGetProviderPaymentStorageRequest) String() string
func (*QueryGetProviderPaymentStorageRequest) Unmarshal ¶
func (m *QueryGetProviderPaymentStorageRequest) Unmarshal(dAtA []byte) error
func (*QueryGetProviderPaymentStorageRequest) XXX_DiscardUnknown ¶
func (m *QueryGetProviderPaymentStorageRequest) XXX_DiscardUnknown()
func (*QueryGetProviderPaymentStorageRequest) XXX_Marshal ¶
func (m *QueryGetProviderPaymentStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetProviderPaymentStorageRequest) XXX_Merge ¶
func (m *QueryGetProviderPaymentStorageRequest) XXX_Merge(src proto.Message)
func (*QueryGetProviderPaymentStorageRequest) XXX_Size ¶
func (m *QueryGetProviderPaymentStorageRequest) XXX_Size() int
func (*QueryGetProviderPaymentStorageRequest) XXX_Unmarshal ¶
func (m *QueryGetProviderPaymentStorageRequest) XXX_Unmarshal(b []byte) error
type QueryGetProviderPaymentStorageResponse ¶
type QueryGetProviderPaymentStorageResponse struct {
ProviderPaymentStorage ProviderPaymentStorage `protobuf:"bytes,1,opt,name=providerPaymentStorage,proto3" json:"providerPaymentStorage"`
}
func (*QueryGetProviderPaymentStorageResponse) Descriptor ¶
func (*QueryGetProviderPaymentStorageResponse) Descriptor() ([]byte, []int)
func (*QueryGetProviderPaymentStorageResponse) GetProviderPaymentStorage ¶
func (m *QueryGetProviderPaymentStorageResponse) GetProviderPaymentStorage() ProviderPaymentStorage
func (*QueryGetProviderPaymentStorageResponse) Marshal ¶
func (m *QueryGetProviderPaymentStorageResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetProviderPaymentStorageResponse) MarshalTo ¶
func (m *QueryGetProviderPaymentStorageResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetProviderPaymentStorageResponse) MarshalToSizedBuffer ¶
func (m *QueryGetProviderPaymentStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetProviderPaymentStorageResponse) ProtoMessage ¶
func (*QueryGetProviderPaymentStorageResponse) ProtoMessage()
func (*QueryGetProviderPaymentStorageResponse) Reset ¶
func (m *QueryGetProviderPaymentStorageResponse) Reset()
func (*QueryGetProviderPaymentStorageResponse) Size ¶
func (m *QueryGetProviderPaymentStorageResponse) Size() (n int)
func (*QueryGetProviderPaymentStorageResponse) String ¶
func (m *QueryGetProviderPaymentStorageResponse) String() string
func (*QueryGetProviderPaymentStorageResponse) Unmarshal ¶
func (m *QueryGetProviderPaymentStorageResponse) Unmarshal(dAtA []byte) error
func (*QueryGetProviderPaymentStorageResponse) XXX_DiscardUnknown ¶
func (m *QueryGetProviderPaymentStorageResponse) XXX_DiscardUnknown()
func (*QueryGetProviderPaymentStorageResponse) XXX_Marshal ¶
func (m *QueryGetProviderPaymentStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetProviderPaymentStorageResponse) XXX_Merge ¶
func (m *QueryGetProviderPaymentStorageResponse) XXX_Merge(src proto.Message)
func (*QueryGetProviderPaymentStorageResponse) XXX_Size ¶
func (m *QueryGetProviderPaymentStorageResponse) XXX_Size() int
func (*QueryGetProviderPaymentStorageResponse) XXX_Unmarshal ¶
func (m *QueryGetProviderPaymentStorageResponse) XXX_Unmarshal(b []byte) error
type QueryGetUniquePaymentStorageClientProviderRequest ¶
type QueryGetUniquePaymentStorageClientProviderRequest struct {
Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}
func (*QueryGetUniquePaymentStorageClientProviderRequest) Descriptor ¶
func (*QueryGetUniquePaymentStorageClientProviderRequest) Descriptor() ([]byte, []int)
func (*QueryGetUniquePaymentStorageClientProviderRequest) GetIndex ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) GetIndex() string
func (*QueryGetUniquePaymentStorageClientProviderRequest) Marshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) Marshal() (dAtA []byte, err error)
func (*QueryGetUniquePaymentStorageClientProviderRequest) MarshalTo ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetUniquePaymentStorageClientProviderRequest) ProtoMessage ¶
func (*QueryGetUniquePaymentStorageClientProviderRequest) ProtoMessage()
func (*QueryGetUniquePaymentStorageClientProviderRequest) Reset ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) Reset()
func (*QueryGetUniquePaymentStorageClientProviderRequest) Size ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) Size() (n int)
func (*QueryGetUniquePaymentStorageClientProviderRequest) String ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) String() string
func (*QueryGetUniquePaymentStorageClientProviderRequest) Unmarshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) Unmarshal(dAtA []byte) error
func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown()
func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Marshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Merge ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Merge(src proto.Message)
func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Size ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Size() int
func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Unmarshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Unmarshal(b []byte) error
type QueryGetUniquePaymentStorageClientProviderResponse ¶
type QueryGetUniquePaymentStorageClientProviderResponse struct {
UniquePaymentStorageClientProvider UniquePaymentStorageClientProvider `protobuf:"bytes,1,opt,name=uniquePaymentStorageClientProvider,proto3" json:"uniquePaymentStorageClientProvider"`
}
func (*QueryGetUniquePaymentStorageClientProviderResponse) Descriptor ¶
func (*QueryGetUniquePaymentStorageClientProviderResponse) Descriptor() ([]byte, []int)
func (*QueryGetUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider() UniquePaymentStorageClientProvider
func (*QueryGetUniquePaymentStorageClientProviderResponse) Marshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) Marshal() (dAtA []byte, err error)
func (*QueryGetUniquePaymentStorageClientProviderResponse) MarshalTo ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryGetUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryGetUniquePaymentStorageClientProviderResponse) ProtoMessage ¶
func (*QueryGetUniquePaymentStorageClientProviderResponse) ProtoMessage()
func (*QueryGetUniquePaymentStorageClientProviderResponse) Reset ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) Reset()
func (*QueryGetUniquePaymentStorageClientProviderResponse) Size ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) Size() (n int)
func (*QueryGetUniquePaymentStorageClientProviderResponse) String ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) String() string
func (*QueryGetUniquePaymentStorageClientProviderResponse) Unmarshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) Unmarshal(dAtA []byte) error
func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown()
func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Marshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Merge ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Merge(src proto.Message)
func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Size ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Size() int
func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Unmarshal ¶
func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Unmarshal(b []byte) error
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params holds all the parameters of this module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryProvidersRequest ¶
type QueryProvidersRequest struct {
ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
}
func (*QueryProvidersRequest) Descriptor ¶
func (*QueryProvidersRequest) Descriptor() ([]byte, []int)
func (*QueryProvidersRequest) GetChainID ¶
func (m *QueryProvidersRequest) GetChainID() string
func (*QueryProvidersRequest) Marshal ¶
func (m *QueryProvidersRequest) Marshal() (dAtA []byte, err error)
func (*QueryProvidersRequest) MarshalTo ¶
func (m *QueryProvidersRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProvidersRequest) MarshalToSizedBuffer ¶
func (m *QueryProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProvidersRequest) ProtoMessage ¶
func (*QueryProvidersRequest) ProtoMessage()
func (*QueryProvidersRequest) Reset ¶
func (m *QueryProvidersRequest) Reset()
func (*QueryProvidersRequest) Size ¶
func (m *QueryProvidersRequest) Size() (n int)
func (*QueryProvidersRequest) String ¶
func (m *QueryProvidersRequest) String() string
func (*QueryProvidersRequest) Unmarshal ¶
func (m *QueryProvidersRequest) Unmarshal(dAtA []byte) error
func (*QueryProvidersRequest) XXX_DiscardUnknown ¶
func (m *QueryProvidersRequest) XXX_DiscardUnknown()
func (*QueryProvidersRequest) XXX_Marshal ¶
func (m *QueryProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProvidersRequest) XXX_Merge ¶
func (m *QueryProvidersRequest) XXX_Merge(src proto.Message)
func (*QueryProvidersRequest) XXX_Size ¶
func (m *QueryProvidersRequest) XXX_Size() int
func (*QueryProvidersRequest) XXX_Unmarshal ¶
func (m *QueryProvidersRequest) XXX_Unmarshal(b []byte) error
type QueryProvidersResponse ¶
type QueryProvidersResponse struct { StakeEntry []types.StakeEntry `protobuf:"bytes,1,rep,name=stakeEntry,proto3" json:"stakeEntry"` Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` }
func (*QueryProvidersResponse) Descriptor ¶
func (*QueryProvidersResponse) Descriptor() ([]byte, []int)
func (*QueryProvidersResponse) GetOutput ¶ added in v0.4.3
func (m *QueryProvidersResponse) GetOutput() string
func (*QueryProvidersResponse) GetStakeEntry ¶
func (m *QueryProvidersResponse) GetStakeEntry() []types.StakeEntry
func (*QueryProvidersResponse) Marshal ¶
func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)
func (*QueryProvidersResponse) MarshalTo ¶
func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProvidersResponse) MarshalToSizedBuffer ¶
func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProvidersResponse) ProtoMessage ¶
func (*QueryProvidersResponse) ProtoMessage()
func (*QueryProvidersResponse) Reset ¶
func (m *QueryProvidersResponse) Reset()
func (*QueryProvidersResponse) Size ¶
func (m *QueryProvidersResponse) Size() (n int)
func (*QueryProvidersResponse) String ¶
func (m *QueryProvidersResponse) String() string
func (*QueryProvidersResponse) Unmarshal ¶
func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error
func (*QueryProvidersResponse) XXX_DiscardUnknown ¶
func (m *QueryProvidersResponse) XXX_DiscardUnknown()
func (*QueryProvidersResponse) XXX_Marshal ¶
func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProvidersResponse) XXX_Merge ¶
func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)
func (*QueryProvidersResponse) XXX_Size ¶
func (m *QueryProvidersResponse) XXX_Size() int
func (*QueryProvidersResponse) XXX_Unmarshal ¶
func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error
type QueryServer ¶
type QueryServer interface { // Parameters queries the parameters of the module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Queries a list of Providers items. Providers(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error) // Queries a list of Clients items. Clients(context.Context, *QueryClientsRequest) (*QueryClientsResponse, error) // Queries a list of GetPairing items. GetPairing(context.Context, *QueryGetPairingRequest) (*QueryGetPairingResponse, error) // Queries a list of VerifyPairing items. VerifyPairing(context.Context, *QueryVerifyPairingRequest) (*QueryVerifyPairingResponse, error) // Queries a UniquePaymentStorageClientProvider by index. UniquePaymentStorageClientProvider(context.Context, *QueryGetUniquePaymentStorageClientProviderRequest) (*QueryGetUniquePaymentStorageClientProviderResponse, error) // Queries a list of UniquePaymentStorageClientProvider items. UniquePaymentStorageClientProviderAll(context.Context, *QueryAllUniquePaymentStorageClientProviderRequest) (*QueryAllUniquePaymentStorageClientProviderResponse, error) // Queries a ProviderPaymentStorage by index. ProviderPaymentStorage(context.Context, *QueryGetProviderPaymentStorageRequest) (*QueryGetProviderPaymentStorageResponse, error) // Queries a list of ProviderPaymentStorage items. ProviderPaymentStorageAll(context.Context, *QueryAllProviderPaymentStorageRequest) (*QueryAllProviderPaymentStorageResponse, error) // Queries a EpochPayments by index. EpochPayments(context.Context, *QueryGetEpochPaymentsRequest) (*QueryGetEpochPaymentsResponse, error) // Queries a list of EpochPayments items. EpochPaymentsAll(context.Context, *QueryAllEpochPaymentsRequest) (*QueryAllEpochPaymentsResponse, error) // Queries a UserEntry items. UserEntry(context.Context, *QueryUserEntryRequest) (*QueryUserEntryResponse, error) }
QueryServer is the server API for Query service.
type QueryUserEntryRequest ¶
type QueryUserEntryRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"` Block uint64 `protobuf:"varint,3,opt,name=block,proto3" json:"block,omitempty"` }
func (*QueryUserEntryRequest) Descriptor ¶
func (*QueryUserEntryRequest) Descriptor() ([]byte, []int)
func (*QueryUserEntryRequest) GetAddress ¶
func (m *QueryUserEntryRequest) GetAddress() string
func (*QueryUserEntryRequest) GetBlock ¶
func (m *QueryUserEntryRequest) GetBlock() uint64
func (*QueryUserEntryRequest) GetChainID ¶
func (m *QueryUserEntryRequest) GetChainID() string
func (*QueryUserEntryRequest) Marshal ¶
func (m *QueryUserEntryRequest) Marshal() (dAtA []byte, err error)
func (*QueryUserEntryRequest) MarshalTo ¶
func (m *QueryUserEntryRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserEntryRequest) MarshalToSizedBuffer ¶
func (m *QueryUserEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserEntryRequest) ProtoMessage ¶
func (*QueryUserEntryRequest) ProtoMessage()
func (*QueryUserEntryRequest) Reset ¶
func (m *QueryUserEntryRequest) Reset()
func (*QueryUserEntryRequest) Size ¶
func (m *QueryUserEntryRequest) Size() (n int)
func (*QueryUserEntryRequest) String ¶
func (m *QueryUserEntryRequest) String() string
func (*QueryUserEntryRequest) Unmarshal ¶
func (m *QueryUserEntryRequest) Unmarshal(dAtA []byte) error
func (*QueryUserEntryRequest) XXX_DiscardUnknown ¶
func (m *QueryUserEntryRequest) XXX_DiscardUnknown()
func (*QueryUserEntryRequest) XXX_Marshal ¶
func (m *QueryUserEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserEntryRequest) XXX_Merge ¶
func (m *QueryUserEntryRequest) XXX_Merge(src proto.Message)
func (*QueryUserEntryRequest) XXX_Size ¶
func (m *QueryUserEntryRequest) XXX_Size() int
func (*QueryUserEntryRequest) XXX_Unmarshal ¶
func (m *QueryUserEntryRequest) XXX_Unmarshal(b []byte) error
type QueryUserEntryResponse ¶
type QueryUserEntryResponse struct { Consumer types.StakeEntry `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer"` MaxCU uint64 `protobuf:"varint,2,opt,name=maxCU,proto3" json:"maxCU,omitempty"` }
func (*QueryUserEntryResponse) Descriptor ¶
func (*QueryUserEntryResponse) Descriptor() ([]byte, []int)
func (*QueryUserEntryResponse) GetConsumer ¶
func (m *QueryUserEntryResponse) GetConsumer() types.StakeEntry
func (*QueryUserEntryResponse) GetMaxCU ¶
func (m *QueryUserEntryResponse) GetMaxCU() uint64
func (*QueryUserEntryResponse) Marshal ¶
func (m *QueryUserEntryResponse) Marshal() (dAtA []byte, err error)
func (*QueryUserEntryResponse) MarshalTo ¶
func (m *QueryUserEntryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryUserEntryResponse) MarshalToSizedBuffer ¶
func (m *QueryUserEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryUserEntryResponse) ProtoMessage ¶
func (*QueryUserEntryResponse) ProtoMessage()
func (*QueryUserEntryResponse) Reset ¶
func (m *QueryUserEntryResponse) Reset()
func (*QueryUserEntryResponse) Size ¶
func (m *QueryUserEntryResponse) Size() (n int)
func (*QueryUserEntryResponse) String ¶
func (m *QueryUserEntryResponse) String() string
func (*QueryUserEntryResponse) Unmarshal ¶
func (m *QueryUserEntryResponse) Unmarshal(dAtA []byte) error
func (*QueryUserEntryResponse) XXX_DiscardUnknown ¶
func (m *QueryUserEntryResponse) XXX_DiscardUnknown()
func (*QueryUserEntryResponse) XXX_Marshal ¶
func (m *QueryUserEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryUserEntryResponse) XXX_Merge ¶
func (m *QueryUserEntryResponse) XXX_Merge(src proto.Message)
func (*QueryUserEntryResponse) XXX_Size ¶
func (m *QueryUserEntryResponse) XXX_Size() int
func (*QueryUserEntryResponse) XXX_Unmarshal ¶
func (m *QueryUserEntryResponse) XXX_Unmarshal(b []byte) error
type QueryVerifyPairingRequest ¶
type QueryVerifyPairingRequest struct { ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` Client string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"` Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` Block uint64 `protobuf:"varint,4,opt,name=block,proto3" json:"block,omitempty"` }
func (*QueryVerifyPairingRequest) Descriptor ¶
func (*QueryVerifyPairingRequest) Descriptor() ([]byte, []int)
func (*QueryVerifyPairingRequest) GetBlock ¶
func (m *QueryVerifyPairingRequest) GetBlock() uint64
func (*QueryVerifyPairingRequest) GetChainID ¶
func (m *QueryVerifyPairingRequest) GetChainID() string
func (*QueryVerifyPairingRequest) GetClient ¶
func (m *QueryVerifyPairingRequest) GetClient() string
func (*QueryVerifyPairingRequest) GetProvider ¶
func (m *QueryVerifyPairingRequest) GetProvider() string
func (*QueryVerifyPairingRequest) Marshal ¶
func (m *QueryVerifyPairingRequest) Marshal() (dAtA []byte, err error)
func (*QueryVerifyPairingRequest) MarshalTo ¶
func (m *QueryVerifyPairingRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryVerifyPairingRequest) MarshalToSizedBuffer ¶
func (m *QueryVerifyPairingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVerifyPairingRequest) ProtoMessage ¶
func (*QueryVerifyPairingRequest) ProtoMessage()
func (*QueryVerifyPairingRequest) Reset ¶
func (m *QueryVerifyPairingRequest) Reset()
func (*QueryVerifyPairingRequest) Size ¶
func (m *QueryVerifyPairingRequest) Size() (n int)
func (*QueryVerifyPairingRequest) String ¶
func (m *QueryVerifyPairingRequest) String() string
func (*QueryVerifyPairingRequest) Unmarshal ¶
func (m *QueryVerifyPairingRequest) Unmarshal(dAtA []byte) error
func (*QueryVerifyPairingRequest) XXX_DiscardUnknown ¶
func (m *QueryVerifyPairingRequest) XXX_DiscardUnknown()
func (*QueryVerifyPairingRequest) XXX_Marshal ¶
func (m *QueryVerifyPairingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVerifyPairingRequest) XXX_Merge ¶
func (m *QueryVerifyPairingRequest) XXX_Merge(src proto.Message)
func (*QueryVerifyPairingRequest) XXX_Size ¶
func (m *QueryVerifyPairingRequest) XXX_Size() int
func (*QueryVerifyPairingRequest) XXX_Unmarshal ¶
func (m *QueryVerifyPairingRequest) XXX_Unmarshal(b []byte) error
type QueryVerifyPairingResponse ¶
type QueryVerifyPairingResponse struct { Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"` Index int64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` }
func (*QueryVerifyPairingResponse) Descriptor ¶
func (*QueryVerifyPairingResponse) Descriptor() ([]byte, []int)
func (*QueryVerifyPairingResponse) GetIndex ¶ added in v0.4.3
func (m *QueryVerifyPairingResponse) GetIndex() int64
func (*QueryVerifyPairingResponse) GetValid ¶
func (m *QueryVerifyPairingResponse) GetValid() bool
func (*QueryVerifyPairingResponse) Marshal ¶
func (m *QueryVerifyPairingResponse) Marshal() (dAtA []byte, err error)
func (*QueryVerifyPairingResponse) MarshalTo ¶
func (m *QueryVerifyPairingResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryVerifyPairingResponse) MarshalToSizedBuffer ¶
func (m *QueryVerifyPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryVerifyPairingResponse) ProtoMessage ¶
func (*QueryVerifyPairingResponse) ProtoMessage()
func (*QueryVerifyPairingResponse) Reset ¶
func (m *QueryVerifyPairingResponse) Reset()
func (*QueryVerifyPairingResponse) Size ¶
func (m *QueryVerifyPairingResponse) Size() (n int)
func (*QueryVerifyPairingResponse) String ¶
func (m *QueryVerifyPairingResponse) String() string
func (*QueryVerifyPairingResponse) Unmarshal ¶
func (m *QueryVerifyPairingResponse) Unmarshal(dAtA []byte) error
func (*QueryVerifyPairingResponse) XXX_DiscardUnknown ¶
func (m *QueryVerifyPairingResponse) XXX_DiscardUnknown()
func (*QueryVerifyPairingResponse) XXX_Marshal ¶
func (m *QueryVerifyPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryVerifyPairingResponse) XXX_Merge ¶
func (m *QueryVerifyPairingResponse) XXX_Merge(src proto.Message)
func (*QueryVerifyPairingResponse) XXX_Size ¶
func (m *QueryVerifyPairingResponse) XXX_Size() int
func (*QueryVerifyPairingResponse) XXX_Unmarshal ¶
func (m *QueryVerifyPairingResponse) XXX_Unmarshal(b []byte) error
type RelayCacheGet ¶
type RelayCacheGet struct { Request *RelayRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` ApiInterface string `protobuf:"bytes,2,opt,name=apiInterface,proto3" json:"apiInterface,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` ChainID string `protobuf:"bytes,4,opt,name=chainID,proto3" json:"chainID,omitempty"` Finalized bool `protobuf:"varint,5,opt,name=finalized,proto3" json:"finalized,omitempty"` }
func (*RelayCacheGet) Descriptor ¶
func (*RelayCacheGet) Descriptor() ([]byte, []int)
func (*RelayCacheGet) GetApiInterface ¶ added in v0.4.3
func (m *RelayCacheGet) GetApiInterface() string
func (*RelayCacheGet) GetBlockHash ¶
func (m *RelayCacheGet) GetBlockHash() []byte
func (*RelayCacheGet) GetChainID ¶ added in v0.4.3
func (m *RelayCacheGet) GetChainID() string
func (*RelayCacheGet) GetFinalized ¶
func (m *RelayCacheGet) GetFinalized() bool
func (*RelayCacheGet) GetRequest ¶ added in v0.4.3
func (m *RelayCacheGet) GetRequest() *RelayRequest
func (*RelayCacheGet) Marshal ¶
func (m *RelayCacheGet) Marshal() (dAtA []byte, err error)
func (*RelayCacheGet) MarshalToSizedBuffer ¶
func (m *RelayCacheGet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayCacheGet) ProtoMessage ¶
func (*RelayCacheGet) ProtoMessage()
func (*RelayCacheGet) Reset ¶
func (m *RelayCacheGet) Reset()
func (*RelayCacheGet) Size ¶
func (m *RelayCacheGet) Size() (n int)
func (*RelayCacheGet) String ¶
func (m *RelayCacheGet) String() string
func (*RelayCacheGet) Unmarshal ¶
func (m *RelayCacheGet) Unmarshal(dAtA []byte) error
func (*RelayCacheGet) XXX_DiscardUnknown ¶
func (m *RelayCacheGet) XXX_DiscardUnknown()
func (*RelayCacheGet) XXX_Marshal ¶
func (m *RelayCacheGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayCacheGet) XXX_Merge ¶
func (m *RelayCacheGet) XXX_Merge(src proto.Message)
func (*RelayCacheGet) XXX_Size ¶
func (m *RelayCacheGet) XXX_Size() int
func (*RelayCacheGet) XXX_Unmarshal ¶
func (m *RelayCacheGet) XXX_Unmarshal(b []byte) error
type RelayCacheSet ¶
type RelayCacheSet struct { Request *RelayRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` ApiInterface string `protobuf:"bytes,2,opt,name=apiInterface,proto3" json:"apiInterface,omitempty"` BlockHash []byte `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"` ChainID string `protobuf:"bytes,4,opt,name=chainID,proto3" json:"chainID,omitempty"` BucketID string `protobuf:"bytes,5,opt,name=bucketID,proto3" json:"bucketID,omitempty"` Response *RelayReply `protobuf:"bytes,6,opt,name=response,proto3" json:"response,omitempty"` Finalized bool `protobuf:"varint,7,opt,name=finalized,proto3" json:"finalized,omitempty"` }
func (*RelayCacheSet) Descriptor ¶
func (*RelayCacheSet) Descriptor() ([]byte, []int)
func (*RelayCacheSet) GetApiInterface ¶ added in v0.4.3
func (m *RelayCacheSet) GetApiInterface() string
func (*RelayCacheSet) GetBlockHash ¶
func (m *RelayCacheSet) GetBlockHash() []byte
func (*RelayCacheSet) GetBucketID ¶ added in v0.4.3
func (m *RelayCacheSet) GetBucketID() string
func (*RelayCacheSet) GetChainID ¶ added in v0.4.3
func (m *RelayCacheSet) GetChainID() string
func (*RelayCacheSet) GetFinalized ¶
func (m *RelayCacheSet) GetFinalized() bool
func (*RelayCacheSet) GetRequest ¶ added in v0.4.3
func (m *RelayCacheSet) GetRequest() *RelayRequest
func (*RelayCacheSet) GetResponse ¶
func (m *RelayCacheSet) GetResponse() *RelayReply
func (*RelayCacheSet) Marshal ¶
func (m *RelayCacheSet) Marshal() (dAtA []byte, err error)
func (*RelayCacheSet) MarshalToSizedBuffer ¶
func (m *RelayCacheSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayCacheSet) ProtoMessage ¶
func (*RelayCacheSet) ProtoMessage()
func (*RelayCacheSet) Reset ¶
func (m *RelayCacheSet) Reset()
func (*RelayCacheSet) Size ¶
func (m *RelayCacheSet) Size() (n int)
func (*RelayCacheSet) String ¶
func (m *RelayCacheSet) String() string
func (*RelayCacheSet) Unmarshal ¶
func (m *RelayCacheSet) Unmarshal(dAtA []byte) error
func (*RelayCacheSet) XXX_DiscardUnknown ¶
func (m *RelayCacheSet) XXX_DiscardUnknown()
func (*RelayCacheSet) XXX_Marshal ¶
func (m *RelayCacheSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayCacheSet) XXX_Merge ¶
func (m *RelayCacheSet) XXX_Merge(src proto.Message)
func (*RelayCacheSet) XXX_Size ¶
func (m *RelayCacheSet) XXX_Size() int
func (*RelayCacheSet) XXX_Unmarshal ¶
func (m *RelayCacheSet) XXX_Unmarshal(b []byte) error
type RelayReply ¶
type RelayReply struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Sig []byte `protobuf:"bytes,2,opt,name=sig,proto3" json:"sig,omitempty"` Nonce uint32 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"` LatestBlock int64 `protobuf:"varint,4,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"` FinalizedBlocksHashes []byte `` /* 126-byte string literal not displayed */ SigBlocks []byte `protobuf:"bytes,6,opt,name=sig_blocks,json=sigBlocks,proto3" json:"sig_blocks,omitempty"` }
func (*RelayReply) Descriptor ¶
func (*RelayReply) Descriptor() ([]byte, []int)
func (*RelayReply) GetData ¶
func (m *RelayReply) GetData() []byte
func (*RelayReply) GetFinalizedBlocksHashes ¶
func (m *RelayReply) GetFinalizedBlocksHashes() []byte
func (*RelayReply) GetLatestBlock ¶
func (m *RelayReply) GetLatestBlock() int64
func (*RelayReply) GetNonce ¶ added in v0.4.3
func (m *RelayReply) GetNonce() uint32
func (*RelayReply) GetSig ¶
func (m *RelayReply) GetSig() []byte
func (*RelayReply) GetSigBlocks ¶
func (m *RelayReply) GetSigBlocks() []byte
func (*RelayReply) Marshal ¶
func (m *RelayReply) Marshal() (dAtA []byte, err error)
func (*RelayReply) MarshalToSizedBuffer ¶
func (m *RelayReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayReply) ProtoMessage ¶
func (*RelayReply) ProtoMessage()
func (*RelayReply) Reset ¶
func (m *RelayReply) Reset()
func (*RelayReply) Size ¶
func (m *RelayReply) Size() (n int)
func (*RelayReply) String ¶
func (m *RelayReply) String() string
func (*RelayReply) Unmarshal ¶
func (m *RelayReply) Unmarshal(dAtA []byte) error
func (*RelayReply) XXX_DiscardUnknown ¶
func (m *RelayReply) XXX_DiscardUnknown()
func (*RelayReply) XXX_Marshal ¶
func (m *RelayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayReply) XXX_Merge ¶
func (m *RelayReply) XXX_Merge(src proto.Message)
func (*RelayReply) XXX_Size ¶
func (m *RelayReply) XXX_Size() int
func (*RelayReply) XXX_Unmarshal ¶
func (m *RelayReply) XXX_Unmarshal(b []byte) error
type RelayRequest ¶
type RelayRequest struct { ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"` ConnectionType string `protobuf:"bytes,2,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"` ApiUrl string `protobuf:"bytes,3,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"` SessionId uint64 `protobuf:"varint,4,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` CuSum uint64 `protobuf:"varint,5,opt,name=cu_sum,json=cuSum,proto3" json:"cu_sum,omitempty"` Data []byte `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"` Sig []byte `protobuf:"bytes,7,opt,name=sig,proto3" json:"sig,omitempty"` Provider string `protobuf:"bytes,8,opt,name=provider,proto3" json:"provider,omitempty"` BlockHeight int64 `protobuf:"varint,9,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` RelayNum uint64 `protobuf:"varint,10,opt,name=relay_num,json=relayNum,proto3" json:"relay_num,omitempty"` RequestBlock int64 `protobuf:"varint,11,opt,name=request_block,json=requestBlock,proto3" json:"request_block,omitempty"` DataReliability *VRFData `protobuf:"bytes,12,opt,name=DataReliability,proto3" json:"DataReliability,omitempty"` QoSReport *QualityOfServiceReport `protobuf:"bytes,13,opt,name=QoSReport,proto3" json:"QoSReport,omitempty"` UnresponsiveProviders []byte `protobuf:"bytes,14,opt,name=unresponsive_providers,json=unresponsiveProviders,proto3" json:"unresponsive_providers,omitempty"` }
func (*RelayRequest) Descriptor ¶
func (*RelayRequest) Descriptor() ([]byte, []int)
func (*RelayRequest) GetApiUrl ¶ added in v0.4.3
func (m *RelayRequest) GetApiUrl() string
func (*RelayRequest) GetBlockHeight ¶ added in v0.4.3
func (m *RelayRequest) GetBlockHeight() int64
func (*RelayRequest) GetChainID ¶ added in v0.4.3
func (m *RelayRequest) GetChainID() string
func (*RelayRequest) GetConnectionType ¶ added in v0.4.3
func (m *RelayRequest) GetConnectionType() string
func (*RelayRequest) GetCuSum ¶ added in v0.4.3
func (m *RelayRequest) GetCuSum() uint64
func (*RelayRequest) GetData ¶ added in v0.4.3
func (m *RelayRequest) GetData() []byte
func (*RelayRequest) GetDataReliability ¶ added in v0.4.3
func (m *RelayRequest) GetDataReliability() *VRFData
func (*RelayRequest) GetProvider ¶ added in v0.4.3
func (m *RelayRequest) GetProvider() string
func (*RelayRequest) GetQoSReport ¶ added in v0.4.3
func (m *RelayRequest) GetQoSReport() *QualityOfServiceReport
func (*RelayRequest) GetRelayNum ¶ added in v0.4.3
func (m *RelayRequest) GetRelayNum() uint64
func (*RelayRequest) GetRequestBlock ¶ added in v0.4.3
func (m *RelayRequest) GetRequestBlock() int64
func (*RelayRequest) GetSessionId ¶ added in v0.4.3
func (m *RelayRequest) GetSessionId() uint64
func (*RelayRequest) GetSig ¶ added in v0.4.3
func (m *RelayRequest) GetSig() []byte
func (*RelayRequest) GetUnresponsiveProviders ¶ added in v0.4.3
func (m *RelayRequest) GetUnresponsiveProviders() []byte
func (*RelayRequest) Marshal ¶
func (m *RelayRequest) Marshal() (dAtA []byte, err error)
func (*RelayRequest) MarshalToSizedBuffer ¶
func (m *RelayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayRequest) ProtoMessage ¶
func (*RelayRequest) ProtoMessage()
func (*RelayRequest) Reset ¶
func (m *RelayRequest) Reset()
func (*RelayRequest) ShallowCopy ¶ added in v0.4.3
func (m *RelayRequest) ShallowCopy() *RelayRequest
ShallowCopy makes a shallow copy of the relay request, and returns it A shallow copy includes the values of all fields in the original struct, but any nested values (such as slices, maps, and pointers) are shared between the original and the copy.
func (*RelayRequest) Size ¶
func (m *RelayRequest) Size() (n int)
func (*RelayRequest) String ¶
func (m *RelayRequest) String() string
func (*RelayRequest) Unmarshal ¶
func (m *RelayRequest) Unmarshal(dAtA []byte) error
func (*RelayRequest) XXX_DiscardUnknown ¶
func (m *RelayRequest) XXX_DiscardUnknown()
func (*RelayRequest) XXX_Marshal ¶
func (m *RelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayRequest) XXX_Merge ¶
func (m *RelayRequest) XXX_Merge(src proto.Message)
func (*RelayRequest) XXX_Size ¶
func (m *RelayRequest) XXX_Size() int
func (*RelayRequest) XXX_Unmarshal ¶
func (m *RelayRequest) XXX_Unmarshal(b []byte) error
type RelayerCacheClient ¶
type RelayerCacheClient interface { GetRelay(ctx context.Context, in *RelayCacheGet, opts ...grpc.CallOption) (*RelayReply, error) SetRelay(ctx context.Context, in *RelayCacheSet, opts ...grpc.CallOption) (*emptypb.Empty, error) Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CacheUsage, error) }
RelayerCacheClient is the client API for RelayerCache service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRelayerCacheClient ¶
func NewRelayerCacheClient(cc grpc1.ClientConn) RelayerCacheClient
type RelayerCacheServer ¶
type RelayerCacheServer interface { GetRelay(context.Context, *RelayCacheGet) (*RelayReply, error) SetRelay(context.Context, *RelayCacheSet) (*emptypb.Empty, error) Health(context.Context, *emptypb.Empty) (*CacheUsage, error) }
RelayerCacheServer is the server API for RelayerCache service.
type RelayerClient ¶
type RelayerClient interface { Relay(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (*RelayReply, error) RelaySubscribe(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (Relayer_RelaySubscribeClient, error) }
RelayerClient is the client API for Relayer service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewRelayerClient ¶
func NewRelayerClient(cc grpc1.ClientConn) RelayerClient
type RelayerServer ¶
type RelayerServer interface { Relay(context.Context, *RelayRequest) (*RelayReply, error) RelaySubscribe(*RelayRequest, Relayer_RelaySubscribeServer) error }
RelayerServer is the server API for Relayer service.
type Relayer_RelaySubscribeClient ¶
type Relayer_RelaySubscribeClient interface { Recv() (*RelayReply, error) grpc.ClientStream }
type Relayer_RelaySubscribeServer ¶
type Relayer_RelaySubscribeServer interface { Send(*RelayReply) error grpc.ServerStream }
type SpecKeeper ¶
type SpecKeeper interface { // Methods imported from spec should be defined here IsSpecFoundAndActive(ctx sdk.Context, chainID string) (foundAndActive bool, found bool) GetSpec(ctx sdk.Context, index string) (val spectypes.Spec, found bool) GeolocationCount(ctx sdk.Context) uint64 GetExpectedInterfacesForSpec(ctx sdk.Context, chainID string) map[string]bool }
type StakeToMaxCU ¶ added in v0.4.3
type StakeToMaxCU struct { StakeThreshold types.Coin `protobuf:"bytes,1,opt,name=StakeThreshold,proto3" json:"StakeThreshold"` MaxComputeUnits uint64 `protobuf:"varint,2,opt,name=MaxComputeUnits,proto3" json:"MaxComputeUnits,omitempty"` }
func (*StakeToMaxCU) Descriptor ¶ added in v0.4.3
func (*StakeToMaxCU) Descriptor() ([]byte, []int)
func (*StakeToMaxCU) GetMaxComputeUnits ¶ added in v0.4.3
func (m *StakeToMaxCU) GetMaxComputeUnits() uint64
func (*StakeToMaxCU) GetStakeThreshold ¶ added in v0.4.3
func (m *StakeToMaxCU) GetStakeThreshold() types.Coin
func (*StakeToMaxCU) Marshal ¶ added in v0.4.3
func (m *StakeToMaxCU) Marshal() (dAtA []byte, err error)
func (*StakeToMaxCU) MarshalTo ¶ added in v0.4.3
func (m *StakeToMaxCU) MarshalTo(dAtA []byte) (int, error)
func (*StakeToMaxCU) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *StakeToMaxCU) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakeToMaxCU) ProtoMessage ¶ added in v0.4.3
func (*StakeToMaxCU) ProtoMessage()
func (*StakeToMaxCU) Reset ¶ added in v0.4.3
func (m *StakeToMaxCU) Reset()
func (*StakeToMaxCU) Size ¶ added in v0.4.3
func (m *StakeToMaxCU) Size() (n int)
func (*StakeToMaxCU) String ¶ added in v0.4.3
func (m *StakeToMaxCU) String() string
func (*StakeToMaxCU) Unmarshal ¶ added in v0.4.3
func (m *StakeToMaxCU) Unmarshal(dAtA []byte) error
func (*StakeToMaxCU) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *StakeToMaxCU) XXX_DiscardUnknown()
func (*StakeToMaxCU) XXX_Marshal ¶ added in v0.4.3
func (m *StakeToMaxCU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeToMaxCU) XXX_Merge ¶ added in v0.4.3
func (m *StakeToMaxCU) XXX_Merge(src proto.Message)
func (*StakeToMaxCU) XXX_Size ¶ added in v0.4.3
func (m *StakeToMaxCU) XXX_Size() int
func (*StakeToMaxCU) XXX_Unmarshal ¶ added in v0.4.3
func (m *StakeToMaxCU) XXX_Unmarshal(b []byte) error
type StakeToMaxCUList ¶ added in v0.4.3
type StakeToMaxCUList struct {
List []StakeToMaxCU `protobuf:"bytes,1,rep,name=List,proto3" json:"List"`
}
var ( KeyStakeToMaxCUList = []byte("StakeToMaxCUList") // TODO: Determine the default value DefaultStakeToMaxCUList StakeToMaxCUList = StakeToMaxCUList{List: []StakeToMaxCU{ {sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(1)}, 5000}, {sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(500)}, 15000}, {sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(2000)}, 50000}, {sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(5000)}, 250000}, {sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(100000)}, 500000}, {sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(9999900000)}, 9999999999}, }} )
func (StakeToMaxCUList) Compare ¶ added in v0.4.3
func (cuList StakeToMaxCUList) Compare(other StakeToMaxCUList) int
func (*StakeToMaxCUList) Descriptor ¶ added in v0.4.3
func (*StakeToMaxCUList) Descriptor() ([]byte, []int)
func (StakeToMaxCUList) Equal ¶ added in v0.4.3
func (cuList StakeToMaxCUList) Equal(other StakeToMaxCUList) bool
reference: https://github.com/gogo/protobuf/blob/master/custom_types.md
func (*StakeToMaxCUList) GetList ¶ added in v0.4.3
func (m *StakeToMaxCUList) GetList() []StakeToMaxCU
func (*StakeToMaxCUList) Marshal ¶ added in v0.4.3
func (m *StakeToMaxCUList) Marshal() (dAtA []byte, err error)
func (StakeToMaxCUList) MarshalJSON ¶ added in v0.4.3
func (cuList StakeToMaxCUList) MarshalJSON() ([]byte, error)
func (*StakeToMaxCUList) MarshalTo ¶ added in v0.4.3
func (m *StakeToMaxCUList) MarshalTo(dAtA []byte) (int, error)
func (*StakeToMaxCUList) MarshalToSizedBuffer ¶ added in v0.4.3
func (m *StakeToMaxCUList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StakeToMaxCUList) ProtoMessage ¶ added in v0.4.3
func (*StakeToMaxCUList) ProtoMessage()
func (*StakeToMaxCUList) Reset ¶ added in v0.4.3
func (m *StakeToMaxCUList) Reset()
func (*StakeToMaxCUList) Size ¶ added in v0.4.3
func (m *StakeToMaxCUList) Size() (n int)
func (*StakeToMaxCUList) String ¶ added in v0.4.3
func (m *StakeToMaxCUList) String() string
func (*StakeToMaxCUList) Unmarshal ¶ added in v0.4.3
func (m *StakeToMaxCUList) Unmarshal(dAtA []byte) error
func (*StakeToMaxCUList) UnmarshalJSON ¶ added in v0.4.3
func (cuList *StakeToMaxCUList) UnmarshalJSON(data []byte) error
func (*StakeToMaxCUList) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *StakeToMaxCUList) XXX_DiscardUnknown()
func (*StakeToMaxCUList) XXX_Marshal ¶ added in v0.4.3
func (m *StakeToMaxCUList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StakeToMaxCUList) XXX_Merge ¶ added in v0.4.3
func (m *StakeToMaxCUList) XXX_Merge(src proto.Message)
func (*StakeToMaxCUList) XXX_Size ¶ added in v0.4.3
func (m *StakeToMaxCUList) XXX_Size() int
func (*StakeToMaxCUList) XXX_Unmarshal ¶ added in v0.4.3
func (m *StakeToMaxCUList) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) RelayPayment ¶
func (*UnimplementedMsgServer) RelayPayment(ctx context.Context, req *MsgRelayPayment) (*MsgRelayPaymentResponse, error)
func (*UnimplementedMsgServer) StakeClient ¶ added in v0.4.3
func (*UnimplementedMsgServer) StakeClient(ctx context.Context, req *MsgStakeClient) (*MsgStakeClientResponse, error)
func (*UnimplementedMsgServer) StakeProvider ¶
func (*UnimplementedMsgServer) StakeProvider(ctx context.Context, req *MsgStakeProvider) (*MsgStakeProviderResponse, error)
func (*UnimplementedMsgServer) UnstakeClient ¶ added in v0.4.3
func (*UnimplementedMsgServer) UnstakeClient(ctx context.Context, req *MsgUnstakeClient) (*MsgUnstakeClientResponse, error)
func (*UnimplementedMsgServer) UnstakeProvider ¶
func (*UnimplementedMsgServer) UnstakeProvider(ctx context.Context, req *MsgUnstakeProvider) (*MsgUnstakeProviderResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Clients ¶ added in v0.4.3
func (*UnimplementedQueryServer) Clients(ctx context.Context, req *QueryClientsRequest) (*QueryClientsResponse, error)
func (*UnimplementedQueryServer) EpochPayments ¶
func (*UnimplementedQueryServer) EpochPayments(ctx context.Context, req *QueryGetEpochPaymentsRequest) (*QueryGetEpochPaymentsResponse, error)
func (*UnimplementedQueryServer) EpochPaymentsAll ¶
func (*UnimplementedQueryServer) EpochPaymentsAll(ctx context.Context, req *QueryAllEpochPaymentsRequest) (*QueryAllEpochPaymentsResponse, error)
func (*UnimplementedQueryServer) GetPairing ¶
func (*UnimplementedQueryServer) GetPairing(ctx context.Context, req *QueryGetPairingRequest) (*QueryGetPairingResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) ProviderPaymentStorage ¶
func (*UnimplementedQueryServer) ProviderPaymentStorage(ctx context.Context, req *QueryGetProviderPaymentStorageRequest) (*QueryGetProviderPaymentStorageResponse, error)
func (*UnimplementedQueryServer) ProviderPaymentStorageAll ¶
func (*UnimplementedQueryServer) ProviderPaymentStorageAll(ctx context.Context, req *QueryAllProviderPaymentStorageRequest) (*QueryAllProviderPaymentStorageResponse, error)
func (*UnimplementedQueryServer) Providers ¶
func (*UnimplementedQueryServer) Providers(ctx context.Context, req *QueryProvidersRequest) (*QueryProvidersResponse, error)
func (*UnimplementedQueryServer) UniquePaymentStorageClientProvider ¶
func (*UnimplementedQueryServer) UniquePaymentStorageClientProvider(ctx context.Context, req *QueryGetUniquePaymentStorageClientProviderRequest) (*QueryGetUniquePaymentStorageClientProviderResponse, error)
func (*UnimplementedQueryServer) UniquePaymentStorageClientProviderAll ¶
func (*UnimplementedQueryServer) UniquePaymentStorageClientProviderAll(ctx context.Context, req *QueryAllUniquePaymentStorageClientProviderRequest) (*QueryAllUniquePaymentStorageClientProviderResponse, error)
func (*UnimplementedQueryServer) UserEntry ¶
func (*UnimplementedQueryServer) UserEntry(ctx context.Context, req *QueryUserEntryRequest) (*QueryUserEntryResponse, error)
func (*UnimplementedQueryServer) VerifyPairing ¶
func (*UnimplementedQueryServer) VerifyPairing(ctx context.Context, req *QueryVerifyPairingRequest) (*QueryVerifyPairingResponse, error)
type UnimplementedRelayerCacheServer ¶
type UnimplementedRelayerCacheServer struct { }
UnimplementedRelayerCacheServer can be embedded to have forward compatible implementations.
func (*UnimplementedRelayerCacheServer) GetRelay ¶
func (*UnimplementedRelayerCacheServer) GetRelay(ctx context.Context, req *RelayCacheGet) (*RelayReply, error)
func (*UnimplementedRelayerCacheServer) Health ¶
func (*UnimplementedRelayerCacheServer) Health(ctx context.Context, req *emptypb.Empty) (*CacheUsage, error)
func (*UnimplementedRelayerCacheServer) SetRelay ¶
func (*UnimplementedRelayerCacheServer) SetRelay(ctx context.Context, req *RelayCacheSet) (*emptypb.Empty, error)
type UnimplementedRelayerServer ¶
type UnimplementedRelayerServer struct { }
UnimplementedRelayerServer can be embedded to have forward compatible implementations.
func (*UnimplementedRelayerServer) Relay ¶
func (*UnimplementedRelayerServer) Relay(ctx context.Context, req *RelayRequest) (*RelayReply, error)
func (*UnimplementedRelayerServer) RelaySubscribe ¶
func (*UnimplementedRelayerServer) RelaySubscribe(req *RelayRequest, srv Relayer_RelaySubscribeServer) error
type UniquePaymentStorageClientProvider ¶
type UniquePaymentStorageClientProvider struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Block uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"` UsedCU uint64 `protobuf:"varint,3,opt,name=usedCU,proto3" json:"usedCU,omitempty"` }
func (*UniquePaymentStorageClientProvider) Descriptor ¶
func (*UniquePaymentStorageClientProvider) Descriptor() ([]byte, []int)
func (*UniquePaymentStorageClientProvider) GetBlock ¶
func (m *UniquePaymentStorageClientProvider) GetBlock() uint64
func (*UniquePaymentStorageClientProvider) GetIndex ¶
func (m *UniquePaymentStorageClientProvider) GetIndex() string
func (*UniquePaymentStorageClientProvider) GetUsedCU ¶
func (m *UniquePaymentStorageClientProvider) GetUsedCU() uint64
func (*UniquePaymentStorageClientProvider) Marshal ¶
func (m *UniquePaymentStorageClientProvider) Marshal() (dAtA []byte, err error)
func (*UniquePaymentStorageClientProvider) MarshalTo ¶
func (m *UniquePaymentStorageClientProvider) MarshalTo(dAtA []byte) (int, error)
func (*UniquePaymentStorageClientProvider) MarshalToSizedBuffer ¶
func (m *UniquePaymentStorageClientProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniquePaymentStorageClientProvider) ProtoMessage ¶
func (*UniquePaymentStorageClientProvider) ProtoMessage()
func (*UniquePaymentStorageClientProvider) Reset ¶
func (m *UniquePaymentStorageClientProvider) Reset()
func (*UniquePaymentStorageClientProvider) Size ¶
func (m *UniquePaymentStorageClientProvider) Size() (n int)
func (*UniquePaymentStorageClientProvider) String ¶
func (m *UniquePaymentStorageClientProvider) String() string
func (*UniquePaymentStorageClientProvider) Unmarshal ¶
func (m *UniquePaymentStorageClientProvider) Unmarshal(dAtA []byte) error
func (*UniquePaymentStorageClientProvider) XXX_DiscardUnknown ¶
func (m *UniquePaymentStorageClientProvider) XXX_DiscardUnknown()
func (*UniquePaymentStorageClientProvider) XXX_Marshal ¶
func (m *UniquePaymentStorageClientProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniquePaymentStorageClientProvider) XXX_Merge ¶
func (m *UniquePaymentStorageClientProvider) XXX_Merge(src proto.Message)
func (*UniquePaymentStorageClientProvider) XXX_Size ¶
func (m *UniquePaymentStorageClientProvider) XXX_Size() int
func (*UniquePaymentStorageClientProvider) XXX_Unmarshal ¶
func (m *UniquePaymentStorageClientProvider) XXX_Unmarshal(b []byte) error
type VRFData ¶ added in v0.4.3
type VRFData struct { Differentiator bool `protobuf:"varint,1,opt,name=differentiator,proto3" json:"differentiator,omitempty"` VrfValue []byte `protobuf:"bytes,2,opt,name=vrf_value,json=vrfValue,proto3" json:"vrf_value,omitempty"` VrfProof []byte `protobuf:"bytes,3,opt,name=vrf_proof,json=vrfProof,proto3" json:"vrf_proof,omitempty"` ProviderSig []byte `protobuf:"bytes,4,opt,name=provider_sig,json=providerSig,proto3" json:"provider_sig,omitempty"` AllDataHash []byte `protobuf:"bytes,5,opt,name=allDataHash,proto3" json:"allDataHash,omitempty"` QueryHash []byte `protobuf:"bytes,6,opt,name=queryHash,proto3" json:"queryHash,omitempty"` Sig []byte `protobuf:"bytes,7,opt,name=sig,proto3" json:"sig,omitempty"` }
func (*VRFData) Descriptor ¶ added in v0.4.3
func (*VRFData) GetAllDataHash ¶ added in v0.4.3
func (*VRFData) GetDifferentiator ¶ added in v0.4.3
func (*VRFData) GetProviderSig ¶ added in v0.4.3
func (*VRFData) GetQueryHash ¶ added in v0.4.3
func (*VRFData) GetVrfProof ¶ added in v0.4.3
func (*VRFData) GetVrfValue ¶ added in v0.4.3
func (*VRFData) MarshalToSizedBuffer ¶ added in v0.4.3
func (*VRFData) ProtoMessage ¶ added in v0.4.3
func (*VRFData) ProtoMessage()
func (*VRFData) XXX_DiscardUnknown ¶ added in v0.4.3
func (m *VRFData) XXX_DiscardUnknown()
func (*VRFData) XXX_Marshal ¶ added in v0.4.3
func (*VRFData) XXX_Unmarshal ¶ added in v0.4.3
Source Files ¶
- QualityOfServiceReport.go
- codec.go
- epoch_payments.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_epoch_payments.go
- key_provider_payment_storage.go
- key_unique_payment_storage_client_provider.go
- keys.go
- message_relay_payment.go
- message_stake_client.go
- message_stake_provider.go
- message_unstake_client.go
- message_unstake_provider.go
- params.go
- params.pb.go
- provider_payment_storage.pb.go
- query.pb.go
- query.pb.gw.go
- relay.pb.go
- relayCache.pb.go
- relay_extensions.go
- stake_to_max_cu_list.go
- stake_to_max_cu_list.pb.go
- tx.pb.go
- types.go
- unique_payment_storage_client_provider.pb.go