Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func BadgeUsedCuKey(badgeSig []byte, providerAddress string) []byte
- func CreateAddressEpochBadgeMapKey(address string, epoch uint64) string
- func EpochPaymentsKey(index string) []byte
- func KeyPrefix(p string) []byte
- func ParamKeyTable() paramtypes.KeyTable
- func ProviderPaymentStorageKey(index string) []byte
- func RegisterBadgeGeneratorServer(s grpc1.Server, srv BadgeGeneratorServer)
- 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 UniquePaymentStorageClientProviderKey(index string) []byte
- type AccountKeeper
- type Badge
- func (b Badge) DataToSign() []byte
- func (*Badge) Descriptor() ([]byte, []int)
- func (m *Badge) GetAddress() string
- func (m *Badge) GetCuAllocation() uint64
- func (m *Badge) GetEpoch() uint64
- func (m *Badge) GetLavaChainId() string
- func (m *Badge) GetProjectSig() []byte
- func (b Badge) GetSignature() []byte
- func (b Badge) HashRounds() int
- func (badge Badge) IsBadgeValid(clientAddr string, lavaChainID string, epoch uint64) bool
- func (m *Badge) Marshal() (dAtA []byte, err error)
- func (m *Badge) MarshalTo(dAtA []byte) (int, error)
- func (m *Badge) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Badge) ProtoMessage()
- func (m *Badge) Reset()
- func (m *Badge) Size() (n int)
- func (m *Badge) String() string
- func (m *Badge) Unmarshal(dAtA []byte) error
- func (m *Badge) XXX_DiscardUnknown()
- func (m *Badge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Badge) XXX_Merge(src proto.Message)
- func (m *Badge) XXX_Size() int
- func (m *Badge) XXX_Unmarshal(b []byte) error
- type BadgeGeneratorClient
- type BadgeGeneratorServer
- type BadgeUsedCu
- func (*BadgeUsedCu) Descriptor() ([]byte, []int)
- func (m *BadgeUsedCu) GetBadgeUsedCuKey() []byte
- func (m *BadgeUsedCu) GetUsedCu() uint64
- func (m *BadgeUsedCu) Marshal() (dAtA []byte, err error)
- func (m *BadgeUsedCu) MarshalTo(dAtA []byte) (int, error)
- func (m *BadgeUsedCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BadgeUsedCu) ProtoMessage()
- func (m *BadgeUsedCu) Reset()
- func (m *BadgeUsedCu) Size() (n int)
- func (m *BadgeUsedCu) String() string
- func (m *BadgeUsedCu) Unmarshal(dAtA []byte) error
- func (m *BadgeUsedCu) XXX_DiscardUnknown()
- func (m *BadgeUsedCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BadgeUsedCu) XXX_Merge(src proto.Message)
- func (m *BadgeUsedCu) XXX_Size() int
- func (m *BadgeUsedCu) XXX_Unmarshal(b []byte) error
- 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) GetIndex() string
- func (m *EpochPayments) GetProviderPaymentStorageKeys() []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 GenerateBadgeRequest
- func (*GenerateBadgeRequest) Descriptor() ([]byte, []int)
- func (m *GenerateBadgeRequest) GetBadgeAddress() string
- func (m *GenerateBadgeRequest) GetProjectId() string
- func (m *GenerateBadgeRequest) GetSpecId() string
- func (m *GenerateBadgeRequest) Marshal() (dAtA []byte, err error)
- func (m *GenerateBadgeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GenerateBadgeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenerateBadgeRequest) ProtoMessage()
- func (m *GenerateBadgeRequest) Reset()
- func (m *GenerateBadgeRequest) Size() (n int)
- func (m *GenerateBadgeRequest) String() string
- func (m *GenerateBadgeRequest) Unmarshal(dAtA []byte) error
- func (m *GenerateBadgeRequest) XXX_DiscardUnknown()
- func (m *GenerateBadgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateBadgeRequest) XXX_Merge(src proto.Message)
- func (m *GenerateBadgeRequest) XXX_Size() int
- func (m *GenerateBadgeRequest) XXX_Unmarshal(b []byte) error
- type GenerateBadgeResponse
- func (*GenerateBadgeResponse) Descriptor() ([]byte, []int)
- func (m *GenerateBadgeResponse) GetBadge() *Badge
- func (m *GenerateBadgeResponse) GetBadgeSignerAddress() string
- func (m *GenerateBadgeResponse) GetPairingList() []*types.StakeEntry
- func (m *GenerateBadgeResponse) Marshal() (dAtA []byte, err error)
- func (m *GenerateBadgeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GenerateBadgeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenerateBadgeResponse) ProtoMessage()
- func (m *GenerateBadgeResponse) Reset()
- func (m *GenerateBadgeResponse) Size() (n int)
- func (m *GenerateBadgeResponse) String() string
- func (m *GenerateBadgeResponse) Unmarshal(dAtA []byte) error
- func (m *GenerateBadgeResponse) XXX_DiscardUnknown()
- func (m *GenerateBadgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenerateBadgeResponse) XXX_Merge(src proto.Message)
- func (m *GenerateBadgeResponse) XXX_Size() int
- func (m *GenerateBadgeResponse) XXX_Unmarshal(b []byte) error
- type GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) GetBadgeUsedCuList() []BadgeUsedCu
- func (m *GenesisState) GetBadgesTS() []types.RawMessage
- 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 GeoLocation
- func (*GeoLocation) Descriptor() ([]byte, []int)
- func (m *GeoLocation) GetGeoLocation() uint64
- func (m *GeoLocation) GetProviders() []*ProviderInfo
- func (m *GeoLocation) Marshal() (dAtA []byte, err error)
- func (m *GeoLocation) MarshalTo(dAtA []byte) (int, error)
- func (m *GeoLocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GeoLocation) ProtoMessage()
- func (m *GeoLocation) Reset()
- func (m *GeoLocation) Size() (n int)
- func (m *GeoLocation) String() string
- func (m *GeoLocation) Unmarshal(dAtA []byte) error
- func (m *GeoLocation) XXX_DiscardUnknown()
- func (m *GeoLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GeoLocation) XXX_Merge(src proto.Message)
- func (m *GeoLocation) XXX_Size() int
- func (m *GeoLocation) XXX_Unmarshal(b []byte) error
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)
- func (m *Metadata) GetName() string
- func (m *Metadata) GetValue() string
- func (m *Metadata) Marshal() (dAtA []byte, err error)
- func (m *Metadata) MarshalTo(dAtA []byte) (int, error)
- func (m *Metadata) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Metadata) ProtoMessage()
- func (m *Metadata) Reset()
- func (m *Metadata) Size() (n int)
- func (m *Metadata) String() string
- func (m *Metadata) Unmarshal(dAtA []byte) error
- func (m *Metadata) XXX_DiscardUnknown()
- func (m *Metadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Metadata) XXX_Merge(src proto.Message)
- func (m *Metadata) XXX_Size() int
- func (m *Metadata) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgFreezeProvider
- func (*MsgFreezeProvider) Descriptor() ([]byte, []int)
- func (m *MsgFreezeProvider) GetChainIds() []string
- func (m *MsgFreezeProvider) GetCreator() string
- func (m *MsgFreezeProvider) GetReason() string
- func (msg *MsgFreezeProvider) GetSignBytes() []byte
- func (msg *MsgFreezeProvider) GetSigners() []sdk.AccAddress
- func (m *MsgFreezeProvider) Marshal() (dAtA []byte, err error)
- func (m *MsgFreezeProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFreezeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFreezeProvider) ProtoMessage()
- func (m *MsgFreezeProvider) Reset()
- func (msg *MsgFreezeProvider) Route() string
- func (m *MsgFreezeProvider) Size() (n int)
- func (m *MsgFreezeProvider) String() string
- func (msg *MsgFreezeProvider) Type() string
- func (m *MsgFreezeProvider) Unmarshal(dAtA []byte) error
- func (msg *MsgFreezeProvider) ValidateBasic() error
- func (m *MsgFreezeProvider) XXX_DiscardUnknown()
- func (m *MsgFreezeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFreezeProvider) XXX_Merge(src proto.Message)
- func (m *MsgFreezeProvider) XXX_Size() int
- func (m *MsgFreezeProvider) XXX_Unmarshal(b []byte) error
- type MsgFreezeProviderResponse
- func (*MsgFreezeProviderResponse) Descriptor() ([]byte, []int)
- func (m *MsgFreezeProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgFreezeProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgFreezeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgFreezeProviderResponse) ProtoMessage()
- func (m *MsgFreezeProviderResponse) Reset()
- func (m *MsgFreezeProviderResponse) Size() (n int)
- func (m *MsgFreezeProviderResponse) String() string
- func (m *MsgFreezeProviderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgFreezeProviderResponse) XXX_DiscardUnknown()
- func (m *MsgFreezeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgFreezeProviderResponse) XXX_Merge(src proto.Message)
- func (m *MsgFreezeProviderResponse) XXX_Size() int
- func (m *MsgFreezeProviderResponse) XXX_Unmarshal(b []byte) error
- type MsgRelayPayment
- func (*MsgRelayPayment) Descriptor() ([]byte, []int)
- func (m *MsgRelayPayment) GetCreator() string
- func (m *MsgRelayPayment) GetDescriptionString() string
- func (m *MsgRelayPayment) GetRelays() []*RelaySession
- 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 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 MsgUnfreezeProvider
- func (*MsgUnfreezeProvider) Descriptor() ([]byte, []int)
- func (m *MsgUnfreezeProvider) GetChainIds() []string
- func (m *MsgUnfreezeProvider) GetCreator() string
- func (msg *MsgUnfreezeProvider) GetSignBytes() []byte
- func (msg *MsgUnfreezeProvider) GetSigners() []sdk.AccAddress
- func (m *MsgUnfreezeProvider) Marshal() (dAtA []byte, err error)
- func (m *MsgUnfreezeProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnfreezeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnfreezeProvider) ProtoMessage()
- func (m *MsgUnfreezeProvider) Reset()
- func (msg *MsgUnfreezeProvider) Route() string
- func (m *MsgUnfreezeProvider) Size() (n int)
- func (m *MsgUnfreezeProvider) String() string
- func (msg *MsgUnfreezeProvider) Type() string
- func (m *MsgUnfreezeProvider) Unmarshal(dAtA []byte) error
- func (msg *MsgUnfreezeProvider) ValidateBasic() error
- func (m *MsgUnfreezeProvider) XXX_DiscardUnknown()
- func (m *MsgUnfreezeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnfreezeProvider) XXX_Merge(src proto.Message)
- func (m *MsgUnfreezeProvider) XXX_Size() int
- func (m *MsgUnfreezeProvider) XXX_Unmarshal(b []byte) error
- type MsgUnfreezeProviderResponse
- func (*MsgUnfreezeProviderResponse) Descriptor() ([]byte, []int)
- func (m *MsgUnfreezeProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgUnfreezeProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgUnfreezeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgUnfreezeProviderResponse) ProtoMessage()
- func (m *MsgUnfreezeProviderResponse) Reset()
- func (m *MsgUnfreezeProviderResponse) Size() (n int)
- func (m *MsgUnfreezeProviderResponse) String() string
- func (m *MsgUnfreezeProviderResponse) Unmarshal(dAtA []byte) error
- func (m *MsgUnfreezeProviderResponse) XXX_DiscardUnknown()
- func (m *MsgUnfreezeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgUnfreezeProviderResponse) XXX_Merge(src proto.Message)
- func (m *MsgUnfreezeProviderResponse) XXX_Size() int
- func (m *MsgUnfreezeProviderResponse) 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) GetRecommendedEpochNumToCollectPayment() 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 PlanKeeper
- type ProjectsKeeper
- type ProviderInfo
- func (*ProviderInfo) Descriptor() ([]byte, []int)
- func (m *ProviderInfo) GetAddress() string
- func (m *ProviderInfo) GetEndpoints() []types.Endpoint
- func (m *ProviderInfo) GetExpirationEpoch() uint64
- func (m *ProviderInfo) Marshal() (dAtA []byte, err error)
- func (m *ProviderInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderInfo) ProtoMessage()
- func (m *ProviderInfo) Reset()
- func (m *ProviderInfo) Size() (n int)
- func (m *ProviderInfo) String() string
- func (m *ProviderInfo) Unmarshal(dAtA []byte) error
- func (m *ProviderInfo) XXX_DiscardUnknown()
- func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderInfo) XXX_Merge(src proto.Message)
- func (m *ProviderInfo) XXX_Size() int
- func (m *ProviderInfo) XXX_Unmarshal(b []byte) error
- type ProviderPaymentStorage
- func (*ProviderPaymentStorage) Descriptor() ([]byte, []int)
- func (m *ProviderPaymentStorage) GetComplainersTotalCu() uint64
- func (m *ProviderPaymentStorage) GetEpoch() uint64
- func (m *ProviderPaymentStorage) GetIndex() string
- func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys() []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 QueryAccountInfoResponse
- func (*QueryAccountInfoResponse) Descriptor() ([]byte, []int)
- func (m *QueryAccountInfoResponse) GetConsumer() []types.StakeEntry
- func (m *QueryAccountInfoResponse) GetFrozen() []types.StakeEntry
- func (m *QueryAccountInfoResponse) GetProject() *types2.Project
- func (m *QueryAccountInfoResponse) GetProvider() []types.StakeEntry
- func (m *QueryAccountInfoResponse) GetSubscription() *types1.Subscription
- func (m *QueryAccountInfoResponse) GetUnstaked() []types.StakeEntry
- func (m *QueryAccountInfoResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryAccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryAccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryAccountInfoResponse) ProtoMessage()
- func (m *QueryAccountInfoResponse) Reset()
- func (m *QueryAccountInfoResponse) Size() (n int)
- func (m *QueryAccountInfoResponse) String() string
- func (m *QueryAccountInfoResponse) Unmarshal(dAtA []byte) error
- func (m *QueryAccountInfoResponse) XXX_DiscardUnknown()
- func (m *QueryAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryAccountInfoResponse) XXX_Merge(src proto.Message)
- func (m *QueryAccountInfoResponse) XXX_Size() int
- func (m *QueryAccountInfoResponse) 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 QueryEffectivePolicyRequest
- func (*QueryEffectivePolicyRequest) Descriptor() ([]byte, []int)
- func (m *QueryEffectivePolicyRequest) GetConsumer() string
- func (m *QueryEffectivePolicyRequest) GetSpecID() string
- func (m *QueryEffectivePolicyRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryEffectivePolicyRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEffectivePolicyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEffectivePolicyRequest) ProtoMessage()
- func (m *QueryEffectivePolicyRequest) Reset()
- func (m *QueryEffectivePolicyRequest) Size() (n int)
- func (m *QueryEffectivePolicyRequest) String() string
- func (m *QueryEffectivePolicyRequest) Unmarshal(dAtA []byte) error
- func (m *QueryEffectivePolicyRequest) XXX_DiscardUnknown()
- func (m *QueryEffectivePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEffectivePolicyRequest) XXX_Merge(src proto.Message)
- func (m *QueryEffectivePolicyRequest) XXX_Size() int
- func (m *QueryEffectivePolicyRequest) XXX_Unmarshal(b []byte) error
- type QueryEffectivePolicyResponse
- func (*QueryEffectivePolicyResponse) Descriptor() ([]byte, []int)
- func (m *QueryEffectivePolicyResponse) GetPolicy() *types3.Policy
- func (m *QueryEffectivePolicyResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryEffectivePolicyResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryEffectivePolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryEffectivePolicyResponse) ProtoMessage()
- func (m *QueryEffectivePolicyResponse) Reset()
- func (m *QueryEffectivePolicyResponse) Size() (n int)
- func (m *QueryEffectivePolicyResponse) String() string
- func (m *QueryEffectivePolicyResponse) Unmarshal(dAtA []byte) error
- func (m *QueryEffectivePolicyResponse) XXX_DiscardUnknown()
- func (m *QueryEffectivePolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryEffectivePolicyResponse) XXX_Merge(src proto.Message)
- func (m *QueryEffectivePolicyResponse) XXX_Size() int
- func (m *QueryEffectivePolicyResponse) 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) GetBlockOfNextPairing() uint64
- 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) GetShowFrozen() bool
- 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 QuerySdkPairingResponse
- func (*QuerySdkPairingResponse) Descriptor() ([]byte, []int)
- func (m *QuerySdkPairingResponse) GetMaxCu() uint64
- func (m *QuerySdkPairingResponse) GetPairing() *QueryGetPairingResponse
- func (m *QuerySdkPairingResponse) GetSpec() *types4.Spec
- func (m *QuerySdkPairingResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySdkPairingResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySdkPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySdkPairingResponse) ProtoMessage()
- func (m *QuerySdkPairingResponse) Reset()
- func (m *QuerySdkPairingResponse) Size() (n int)
- func (m *QuerySdkPairingResponse) String() string
- func (m *QuerySdkPairingResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySdkPairingResponse) XXX_DiscardUnknown()
- func (m *QuerySdkPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySdkPairingResponse) XXX_Merge(src proto.Message)
- func (m *QuerySdkPairingResponse) XXX_Size() int
- func (m *QuerySdkPairingResponse) XXX_Unmarshal(b []byte) error
- type QueryServer
- type QueryStaticProvidersListRequest
- func (*QueryStaticProvidersListRequest) Descriptor() ([]byte, []int)
- func (m *QueryStaticProvidersListRequest) GetChainID() string
- func (m *QueryStaticProvidersListRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryStaticProvidersListRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStaticProvidersListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStaticProvidersListRequest) ProtoMessage()
- func (m *QueryStaticProvidersListRequest) Reset()
- func (m *QueryStaticProvidersListRequest) Size() (n int)
- func (m *QueryStaticProvidersListRequest) String() string
- func (m *QueryStaticProvidersListRequest) Unmarshal(dAtA []byte) error
- func (m *QueryStaticProvidersListRequest) XXX_DiscardUnknown()
- func (m *QueryStaticProvidersListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStaticProvidersListRequest) XXX_Merge(src proto.Message)
- func (m *QueryStaticProvidersListRequest) XXX_Size() int
- func (m *QueryStaticProvidersListRequest) XXX_Unmarshal(b []byte) error
- type QueryStaticProvidersListResponse
- func (*QueryStaticProvidersListResponse) Descriptor() ([]byte, []int)
- func (m *QueryStaticProvidersListResponse) GetProviders() []types.StakeEntry
- func (m *QueryStaticProvidersListResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryStaticProvidersListResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryStaticProvidersListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryStaticProvidersListResponse) ProtoMessage()
- func (m *QueryStaticProvidersListResponse) Reset()
- func (m *QueryStaticProvidersListResponse) Size() (n int)
- func (m *QueryStaticProvidersListResponse) String() string
- func (m *QueryStaticProvidersListResponse) Unmarshal(dAtA []byte) error
- func (m *QueryStaticProvidersListResponse) XXX_DiscardUnknown()
- func (m *QueryStaticProvidersListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryStaticProvidersListResponse) XXX_Merge(src proto.Message)
- func (m *QueryStaticProvidersListResponse) XXX_Size() int
- func (m *QueryStaticProvidersListResponse) XXX_Unmarshal(b []byte) error
- 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) GetCuPerEpoch() uint64
- func (m *QueryVerifyPairingResponse) GetPairedProviders() uint64
- func (m *QueryVerifyPairingResponse) GetProjectId() string
- 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 RelayExchange
- type RelayFinalization
- type RelayPrivateData
- func (*RelayPrivateData) Descriptor() ([]byte, []int)
- func (m *RelayPrivateData) GetAddon() string
- func (m *RelayPrivateData) GetApiInterface() string
- func (m *RelayPrivateData) GetApiUrl() string
- func (m *RelayPrivateData) GetConnectionType() string
- func (rp RelayPrivateData) GetContentHashData() []byte
- func (m *RelayPrivateData) GetData() []byte
- func (m *RelayPrivateData) GetExtensions() []string
- func (m *RelayPrivateData) GetMetadata() []Metadata
- func (m *RelayPrivateData) GetRequestBlock() int64
- func (m *RelayPrivateData) GetSalt() []byte
- func (m *RelayPrivateData) Marshal() (dAtA []byte, err error)
- func (m *RelayPrivateData) MarshalTo(dAtA []byte) (int, error)
- func (m *RelayPrivateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelayPrivateData) ProtoMessage()
- func (m *RelayPrivateData) Reset()
- func (m *RelayPrivateData) Size() (n int)
- func (m *RelayPrivateData) String() string
- func (m *RelayPrivateData) Unmarshal(dAtA []byte) error
- func (m *RelayPrivateData) XXX_DiscardUnknown()
- func (m *RelayPrivateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelayPrivateData) XXX_Merge(src proto.Message)
- func (m *RelayPrivateData) XXX_Size() int
- func (m *RelayPrivateData) 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) GetMetadata() []Metadata
- 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) GetRelayData() *RelayPrivateData
- func (m *RelayRequest) GetRelaySession() *RelaySession
- 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) 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 RelaySession
- func (rs RelaySession) CalculateHashForFinalization() []byte
- func (rs RelaySession) DataToSign() []byte
- func (*RelaySession) Descriptor() ([]byte, []int)
- func (m *RelaySession) GetBadge() *Badge
- func (m *RelaySession) GetContentHash() []byte
- func (m *RelaySession) GetCuSum() uint64
- func (m *RelaySession) GetEpoch() int64
- func (m *RelaySession) GetLavaChainId() string
- func (m *RelaySession) GetProvider() string
- func (m *RelaySession) GetQosExcellenceReport() *QualityOfServiceReport
- func (m *RelaySession) GetQosReport() *QualityOfServiceReport
- func (m *RelaySession) GetRelayNum() uint64
- func (m *RelaySession) GetSessionId() uint64
- func (m *RelaySession) GetSig() []byte
- func (rs RelaySession) GetSignature() []byte
- func (m *RelaySession) GetSpecId() string
- func (m *RelaySession) GetUnresponsiveProviders() []byte
- func (rs RelaySession) HashRounds() int
- func (m *RelaySession) Marshal() (dAtA []byte, err error)
- func (m *RelaySession) MarshalTo(dAtA []byte) (int, error)
- func (m *RelaySession) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RelaySession) ProtoMessage()
- func (m *RelaySession) Reset()
- func (m *RelaySession) Size() (n int)
- func (m *RelaySession) String() string
- func (m *RelaySession) Unmarshal(dAtA []byte) error
- func (m *RelaySession) XXX_DiscardUnknown()
- func (m *RelaySession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RelaySession) XXX_Merge(src proto.Message)
- func (m *RelaySession) XXX_Size() int
- func (m *RelaySession) XXX_Unmarshal(b []byte) error
- type RelayerCacheClient
- type RelayerCacheServer
- type RelayerClient
- type RelayerServer
- type Relayer_RelaySubscribeClient
- type Relayer_RelaySubscribeServer
- type SpecKeeper
- type StaticProvidersList
- func (*StaticProvidersList) Descriptor() ([]byte, []int)
- func (m *StaticProvidersList) GetChainId() string
- func (m *StaticProvidersList) GetDescription() string
- func (m *StaticProvidersList) GetGeolocations() []*GeoLocation
- func (m *StaticProvidersList) Marshal() (dAtA []byte, err error)
- func (m *StaticProvidersList) MarshalTo(dAtA []byte) (int, error)
- func (m *StaticProvidersList) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*StaticProvidersList) ProtoMessage()
- func (m *StaticProvidersList) Reset()
- func (m *StaticProvidersList) Size() (n int)
- func (m *StaticProvidersList) String() string
- func (m *StaticProvidersList) Unmarshal(dAtA []byte) error
- func (m *StaticProvidersList) XXX_DiscardUnknown()
- func (m *StaticProvidersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StaticProvidersList) XXX_Merge(src proto.Message)
- func (m *StaticProvidersList) XXX_Size() int
- func (m *StaticProvidersList) XXX_Unmarshal(b []byte) error
- type SubscriptionKeeper
- type UnimplementedBadgeGeneratorServer
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) FreezeProvider(ctx context.Context, req *MsgFreezeProvider) (*MsgFreezeProviderResponse, error)
- func (*UnimplementedMsgServer) RelayPayment(ctx context.Context, req *MsgRelayPayment) (*MsgRelayPaymentResponse, error)
- func (*UnimplementedMsgServer) StakeProvider(ctx context.Context, req *MsgStakeProvider) (*MsgStakeProviderResponse, error)
- func (*UnimplementedMsgServer) UnfreezeProvider(ctx context.Context, req *MsgUnfreezeProvider) (*MsgUnfreezeProviderResponse, error)
- func (*UnimplementedMsgServer) UnstakeProvider(ctx context.Context, req *MsgUnstakeProvider) (*MsgUnstakeProviderResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) EffectivePolicy(ctx context.Context, req *QueryEffectivePolicyRequest) (*QueryEffectivePolicyResponse, 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) SdkPairing(ctx context.Context, req *QueryGetPairingRequest) (*QuerySdkPairingResponse, error)
- func (*UnimplementedQueryServer) StaticProvidersList(ctx context.Context, req *QueryStaticProvidersListRequest) (*QueryStaticProvidersListResponse, 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
- func (*UnimplementedRelayerServer) Probe(ctx context.Context, req *wrapperspb.UInt64Value) (*wrapperspb.UInt64Value, error)
- func (*UnimplementedRelayerServer) Relay(ctx context.Context, req *RelayRequest) (*RelayReply, error)
- func (*UnimplementedRelayerServer) RelaySubscribe(req *RelayRequest, srv Relayer_RelaySubscribeServer) error
- 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
Constants ¶
const ( // BadgeUsedCuKeyPrefix is the prefix to retrieve all BadgeUsedCu BadgeUsedCuKeyPrefix = "BadgeUsedCu/value/" BadgeTimerStorePrefix = "BadgeTimerStore/" )
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 ( TypeMsgFreeze = "freeze" ReasonFlagName = "reason" ReasonMaxLength = 50 )
const ( ProviderStakeEventName = "stake_new_provider" ProviderStakeUpdateEventName = "stake_update_provider" ProviderUnstakeEventName = "provider_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 ( FlagMoniker = "provider-moniker" MAX_LEN_MONIKER = 50 )
const ( // Consider changing back on mainnet when providers QoS benchmarks are better // EPOCHS_NUM_TO_CHECK_CU_FOR_UNRESPONSIVE_PROVIDER uint64 = 4 // number of epochs to sum CU that the provider serviced EPOCHS_NUM_TO_CHECK_CU_FOR_UNRESPONSIVE_PROVIDER uint64 = 8 // number of epochs to sum CU that the provider serviced EPOCHS_NUM_TO_CHECK_FOR_COMPLAINERS uint64 = 2 // number of epochs to sum CU of complainers against the provider )
unresponsiveness consts
const DefaultIndex uint64 = 1
DefaultIndex is the default capability global index
const (
// EpochPaymentsKeyPrefix is the prefix to retrieve all EpochPayments
EpochPaymentsKeyPrefix = "EpochPayments/value/"
)
const FROZEN_BLOCK = math.MaxInt64
Frozen provider block const
const (
// ProviderPaymentStorageKeyPrefix is the prefix to retrieve all ProviderPaymentStorage
ProviderPaymentStorageKeyPrefix = "ProviderPaymentStorage/value/"
)
const TypeMsgRelayPayment = "relay_payment"
const TypeMsgStakeProvider = "stake_provider"
const TypeMsgUnfreeze = "unfreeze"
const TypeMsgUnstakeProvider = "unstake_provider"
const (
// UniquePaymentStorageClientProviderKeyPrefix is the prefix to retrieve all UniquePaymentStorageClientProvider
UniquePaymentStorageClientProviderKeyPrefix = "UniquePaymentStorageClientProvider/value/"
)
Variables ¶
var ( ErrInvalidLengthBadges = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowBadges = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupBadges = fmt.Errorf("proto: unexpected end of group") )
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") FreezeReasonTooLongError = sdkerrors.New("FreezeReasonTooLongError Error", 689, "The freeze reason is too long. Keep the freeze reason less than 50 characters") FreezeStakeEntryNotFoundError = sdkerrors.New("FreezeStakeEntryNotFoundError Error", 690, "can't get stake entry to freeze") MonikerTooLongError = sdkerrors.New("MonikerTooLongError Error", 691, "The provider's moniker is too long. Keep it less than 50 characters") MonikerEmptyError = sdkerrors.New("MonikerEmptyError Error", 692, "The provider's moniker cannot be empty") GeolocationNotMatchWithEndpointsError = sdkerrors.New("GeolocationNotMatchWithEndpointsError Error", 693, "The combination of the endpoints' geolocation does not match to the provider's geolocation") )
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 ( KeyMintCoinsPerCU = []byte("MintCoinsPerCU") DefaultMintCoinsPerCU sdk.Dec = sdk.NewDecWithPrec(1, 1) // 0.1 )
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 ( 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 ( KeyRecommendedEpochNumToCollectPayment = []byte("RecommendedEpochNumToCollectPayment") // the recommended amount of max epochs that a provider should wait before collecting its payment (if he'll collect later, there's a higher chance to get punished) DefaultRecommendedEpochNumToCollectPayment uint64 = 3 )
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 ( ErrInvalidLengthStaticProviders = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowStaticProviders = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupStaticProviders = 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 BadgeUsedCuKey ¶
BadgeUsedCuKey returns the store key to retrieve a BadgeUsedCu from the index fields
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 RegisterBadgeGeneratorServer ¶
func RegisterBadgeGeneratorServer(s grpc1.Server, srv BadgeGeneratorServer)
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 UniquePaymentStorageClientProviderKey ¶
UniquePaymentStorageClientProviderKey returns the store key to retrieve a UniquePaymentStorageClientProvider from the index fields
Types ¶
type AccountKeeper ¶
type AccountKeeper interface { GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI GetModuleAddress(moduleName string) sdk.AccAddress }
type Badge ¶
type Badge struct { CuAllocation uint64 `protobuf:"varint,1,opt,name=cu_allocation,json=cuAllocation,proto3" json:"cu_allocation,omitempty"` Epoch uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` LavaChainId string `protobuf:"bytes,4,opt,name=lava_chain_id,json=lavaChainId,proto3" json:"lava_chain_id,omitempty"` ProjectSig []byte `protobuf:"bytes,5,opt,name=project_sig,json=projectSig,proto3" json:"project_sig,omitempty"` }
func CreateBadge ¶
func (Badge) DataToSign ¶
func (*Badge) Descriptor ¶
func (*Badge) GetAddress ¶
func (*Badge) GetCuAllocation ¶
func (*Badge) GetLavaChainId ¶
func (*Badge) GetProjectSig ¶
func (Badge) GetSignature ¶
func (Badge) HashRounds ¶
func (Badge) IsBadgeValid ¶
check badge's basic attributes compared to the same traits from the relay request
func (*Badge) ProtoMessage ¶
func (*Badge) ProtoMessage()
func (*Badge) XXX_DiscardUnknown ¶
func (m *Badge) XXX_DiscardUnknown()
func (*Badge) XXX_Marshal ¶
func (*Badge) XXX_Unmarshal ¶
type BadgeGeneratorClient ¶
type BadgeGeneratorClient interface {
GenerateBadge(ctx context.Context, in *GenerateBadgeRequest, opts ...grpc.CallOption) (*GenerateBadgeResponse, error)
}
BadgeGeneratorClient is the client API for BadgeGenerator service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBadgeGeneratorClient ¶
func NewBadgeGeneratorClient(cc grpc1.ClientConn) BadgeGeneratorClient
type BadgeGeneratorServer ¶
type BadgeGeneratorServer interface {
GenerateBadge(context.Context, *GenerateBadgeRequest) (*GenerateBadgeResponse, error)
}
BadgeGeneratorServer is the server API for BadgeGenerator service.
type BadgeUsedCu ¶
type BadgeUsedCu struct { BadgeUsedCuKey []byte `protobuf:"bytes,1,opt,name=badge_used_cu_key,json=badgeUsedCuKey,proto3" json:"badge_used_cu_key,omitempty"` UsedCu uint64 `protobuf:"varint,2,opt,name=used_cu,json=usedCu,proto3" json:"used_cu,omitempty"` }
func (*BadgeUsedCu) Descriptor ¶
func (*BadgeUsedCu) Descriptor() ([]byte, []int)
func (*BadgeUsedCu) GetBadgeUsedCuKey ¶
func (m *BadgeUsedCu) GetBadgeUsedCuKey() []byte
func (*BadgeUsedCu) GetUsedCu ¶
func (m *BadgeUsedCu) GetUsedCu() uint64
func (*BadgeUsedCu) Marshal ¶
func (m *BadgeUsedCu) Marshal() (dAtA []byte, err error)
func (*BadgeUsedCu) MarshalToSizedBuffer ¶
func (m *BadgeUsedCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BadgeUsedCu) ProtoMessage ¶
func (*BadgeUsedCu) ProtoMessage()
func (*BadgeUsedCu) Reset ¶
func (m *BadgeUsedCu) Reset()
func (*BadgeUsedCu) Size ¶
func (m *BadgeUsedCu) Size() (n int)
func (*BadgeUsedCu) String ¶
func (m *BadgeUsedCu) String() string
func (*BadgeUsedCu) Unmarshal ¶
func (m *BadgeUsedCu) Unmarshal(dAtA []byte) error
func (*BadgeUsedCu) XXX_DiscardUnknown ¶
func (m *BadgeUsedCu) XXX_DiscardUnknown()
func (*BadgeUsedCu) XXX_Marshal ¶
func (m *BadgeUsedCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BadgeUsedCu) XXX_Merge ¶
func (m *BadgeUsedCu) XXX_Merge(src proto.Message)
func (*BadgeUsedCu) XXX_Size ¶
func (m *BadgeUsedCu) XXX_Size() int
func (*BadgeUsedCu) XXX_Unmarshal ¶
func (m *BadgeUsedCu) XXX_Unmarshal(b []byte) error
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"` ProviderPaymentStorageKeys []string `protobuf:"bytes,3,rep,name=providerPaymentStorageKeys,proto3" json:"providerPaymentStorageKeys,omitempty"` }
func (*EpochPayments) Descriptor ¶
func (*EpochPayments) Descriptor() ([]byte, []int)
func (*EpochPayments) GetIndex ¶
func (m *EpochPayments) GetIndex() string
func (*EpochPayments) GetProviderPaymentStorageKeys ¶
func (m *EpochPayments) GetProviderPaymentStorageKeys() []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) UnstakeHoldBlocksStatic(ctx sdk.Context, block uint64) (res uint64) IsEpochStart(ctx sdk.Context) (res bool) BlocksToSave(ctx sdk.Context, block uint64) (res uint64, erro error) BlocksToSaveRaw(ctx sdk.Context) (res uint64) 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, block uint64) (value []epochstoragetypes.StakeEntry) AppendUnstakeEntry(ctx sdk.Context, stakeEntry epochstoragetypes.StakeEntry, unstakeHoldBlocks uint64) error ModifyUnstakeEntry(ctx sdk.Context, stakeEntry epochstoragetypes.StakeEntry, removeIndex uint64) GetStakeStorageUnstake(ctx sdk.Context) (epochstoragetypes.StakeStorage, bool) ModifyStakeEntryCurrent(ctx sdk.Context, chainID string, stakeEntry epochstoragetypes.StakeEntry, removeIndex uint64) AppendStakeEntryCurrent(ctx sdk.Context, chainID string, stakeEntry epochstoragetypes.StakeEntry) RemoveStakeEntryCurrent(ctx sdk.Context, chainID string, idx uint64) error GetStakeEntryByAddressCurrent(ctx sdk.Context, chainID string, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64) UnstakeEntryByAddress(ctx sdk.Context, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64) GetStakeStorageCurrent(ctx sdk.Context, chainID string) (epochstoragetypes.StakeStorage, bool) GetEpochStakeEntries(ctx sdk.Context, block uint64, chainID string) (entries []epochstoragetypes.StakeEntry, found bool, epochHash []byte) 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) AddFixationRegistry(fixationKey string, getParamFunction func(sdk.Context) any) GetDeletedEpochs(ctx sdk.Context) []uint64 EpochBlocks(ctx sdk.Context, block uint64) (res uint64, err error) }
type GenerateBadgeRequest ¶
type GenerateBadgeRequest struct { BadgeAddress string `protobuf:"bytes,1,opt,name=badge_address,json=badgeAddress,proto3" json:"badge_address,omitempty"` ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` SpecId string `protobuf:"bytes,3,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` }
func (*GenerateBadgeRequest) Descriptor ¶
func (*GenerateBadgeRequest) Descriptor() ([]byte, []int)
func (*GenerateBadgeRequest) GetBadgeAddress ¶
func (m *GenerateBadgeRequest) GetBadgeAddress() string
func (*GenerateBadgeRequest) GetProjectId ¶
func (m *GenerateBadgeRequest) GetProjectId() string
func (*GenerateBadgeRequest) GetSpecId ¶
func (m *GenerateBadgeRequest) GetSpecId() string
func (*GenerateBadgeRequest) Marshal ¶
func (m *GenerateBadgeRequest) Marshal() (dAtA []byte, err error)
func (*GenerateBadgeRequest) MarshalTo ¶
func (m *GenerateBadgeRequest) MarshalTo(dAtA []byte) (int, error)
func (*GenerateBadgeRequest) MarshalToSizedBuffer ¶
func (m *GenerateBadgeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenerateBadgeRequest) ProtoMessage ¶
func (*GenerateBadgeRequest) ProtoMessage()
func (*GenerateBadgeRequest) Reset ¶
func (m *GenerateBadgeRequest) Reset()
func (*GenerateBadgeRequest) Size ¶
func (m *GenerateBadgeRequest) Size() (n int)
func (*GenerateBadgeRequest) String ¶
func (m *GenerateBadgeRequest) String() string
func (*GenerateBadgeRequest) Unmarshal ¶
func (m *GenerateBadgeRequest) Unmarshal(dAtA []byte) error
func (*GenerateBadgeRequest) XXX_DiscardUnknown ¶
func (m *GenerateBadgeRequest) XXX_DiscardUnknown()
func (*GenerateBadgeRequest) XXX_Marshal ¶
func (m *GenerateBadgeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateBadgeRequest) XXX_Merge ¶
func (m *GenerateBadgeRequest) XXX_Merge(src proto.Message)
func (*GenerateBadgeRequest) XXX_Size ¶
func (m *GenerateBadgeRequest) XXX_Size() int
func (*GenerateBadgeRequest) XXX_Unmarshal ¶
func (m *GenerateBadgeRequest) XXX_Unmarshal(b []byte) error
type GenerateBadgeResponse ¶
type GenerateBadgeResponse struct { Badge *Badge `protobuf:"bytes,1,opt,name=badge,proto3" json:"badge,omitempty"` PairingList []*types.StakeEntry `protobuf:"bytes,2,rep,name=pairing_list,json=pairingList,proto3" json:"pairing_list,omitempty"` BadgeSignerAddress string `protobuf:"bytes,3,opt,name=badge_signer_address,json=badgeSignerAddress,proto3" json:"badge_signer_address,omitempty"` }
func (*GenerateBadgeResponse) Descriptor ¶
func (*GenerateBadgeResponse) Descriptor() ([]byte, []int)
func (*GenerateBadgeResponse) GetBadge ¶
func (m *GenerateBadgeResponse) GetBadge() *Badge
func (*GenerateBadgeResponse) GetBadgeSignerAddress ¶
func (m *GenerateBadgeResponse) GetBadgeSignerAddress() string
func (*GenerateBadgeResponse) GetPairingList ¶ added in v0.12.1
func (m *GenerateBadgeResponse) GetPairingList() []*types.StakeEntry
func (*GenerateBadgeResponse) Marshal ¶
func (m *GenerateBadgeResponse) Marshal() (dAtA []byte, err error)
func (*GenerateBadgeResponse) MarshalTo ¶
func (m *GenerateBadgeResponse) MarshalTo(dAtA []byte) (int, error)
func (*GenerateBadgeResponse) MarshalToSizedBuffer ¶
func (m *GenerateBadgeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenerateBadgeResponse) ProtoMessage ¶
func (*GenerateBadgeResponse) ProtoMessage()
func (*GenerateBadgeResponse) Reset ¶
func (m *GenerateBadgeResponse) Reset()
func (*GenerateBadgeResponse) Size ¶
func (m *GenerateBadgeResponse) Size() (n int)
func (*GenerateBadgeResponse) String ¶
func (m *GenerateBadgeResponse) String() string
func (*GenerateBadgeResponse) Unmarshal ¶
func (m *GenerateBadgeResponse) Unmarshal(dAtA []byte) error
func (*GenerateBadgeResponse) XXX_DiscardUnknown ¶
func (m *GenerateBadgeResponse) XXX_DiscardUnknown()
func (*GenerateBadgeResponse) XXX_Marshal ¶
func (m *GenerateBadgeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenerateBadgeResponse) XXX_Merge ¶
func (m *GenerateBadgeResponse) XXX_Merge(src proto.Message)
func (*GenerateBadgeResponse) XXX_Size ¶
func (m *GenerateBadgeResponse) XXX_Size() int
func (*GenerateBadgeResponse) XXX_Unmarshal ¶
func (m *GenerateBadgeResponse) XXX_Unmarshal(b []byte) 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"` BadgeUsedCuList []BadgeUsedCu `protobuf:"bytes,5,rep,name=badgeUsedCuList,proto3" json:"badgeUsedCuList"` BadgesTS []types.RawMessage `protobuf:"bytes,6,rep,name=badgesTS,proto3" json:"badgesTS"` }
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) GetBadgeUsedCuList ¶
func (m *GenesisState) GetBadgeUsedCuList() []BadgeUsedCu
func (*GenesisState) GetBadgesTS ¶
func (m *GenesisState) GetBadgesTS() []types.RawMessage
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 GeoLocation ¶
type GeoLocation struct { GeoLocation uint64 `protobuf:"varint,1,opt,name=geo_location,json=geoLocation,proto3" json:"geo_location,omitempty"` Providers []*ProviderInfo `protobuf:"bytes,2,rep,name=providers,proto3" json:"providers,omitempty"` }
func (*GeoLocation) Descriptor ¶
func (*GeoLocation) Descriptor() ([]byte, []int)
func (*GeoLocation) GetGeoLocation ¶
func (m *GeoLocation) GetGeoLocation() uint64
func (*GeoLocation) GetProviders ¶
func (m *GeoLocation) GetProviders() []*ProviderInfo
func (*GeoLocation) Marshal ¶
func (m *GeoLocation) Marshal() (dAtA []byte, err error)
func (*GeoLocation) MarshalToSizedBuffer ¶
func (m *GeoLocation) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GeoLocation) ProtoMessage ¶
func (*GeoLocation) ProtoMessage()
func (*GeoLocation) Reset ¶
func (m *GeoLocation) Reset()
func (*GeoLocation) Size ¶
func (m *GeoLocation) Size() (n int)
func (*GeoLocation) String ¶
func (m *GeoLocation) String() string
func (*GeoLocation) Unmarshal ¶
func (m *GeoLocation) Unmarshal(dAtA []byte) error
func (*GeoLocation) XXX_DiscardUnknown ¶
func (m *GeoLocation) XXX_DiscardUnknown()
func (*GeoLocation) XXX_Marshal ¶
func (m *GeoLocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GeoLocation) XXX_Merge ¶
func (m *GeoLocation) XXX_Merge(src proto.Message)
func (*GeoLocation) XXX_Size ¶
func (m *GeoLocation) XXX_Size() int
func (*GeoLocation) XXX_Unmarshal ¶
func (m *GeoLocation) XXX_Unmarshal(b []byte) error
type Metadata ¶
type Metadata struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` }
func (*Metadata) Descriptor ¶
func (*Metadata) MarshalToSizedBuffer ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) XXX_DiscardUnknown ¶
func (m *Metadata) XXX_DiscardUnknown()
func (*Metadata) XXX_Marshal ¶
func (*Metadata) XXX_Unmarshal ¶
type MsgClient ¶
type MsgClient interface { StakeProvider(ctx context.Context, in *MsgStakeProvider, opts ...grpc.CallOption) (*MsgStakeProviderResponse, error) UnstakeProvider(ctx context.Context, in *MsgUnstakeProvider, opts ...grpc.CallOption) (*MsgUnstakeProviderResponse, error) RelayPayment(ctx context.Context, in *MsgRelayPayment, opts ...grpc.CallOption) (*MsgRelayPaymentResponse, error) FreezeProvider(ctx context.Context, in *MsgFreezeProvider, opts ...grpc.CallOption) (*MsgFreezeProviderResponse, error) UnfreezeProvider(ctx context.Context, in *MsgUnfreezeProvider, opts ...grpc.CallOption) (*MsgUnfreezeProviderResponse, 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 MsgFreezeProvider ¶
type MsgFreezeProvider struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainIds []string `protobuf:"bytes,2,rep,name=chainIds,proto3" json:"chainIds,omitempty"` Reason string `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"` }
func NewMsgFreeze ¶
func NewMsgFreeze(creator string, chainIds []string, reason string) *MsgFreezeProvider
func (*MsgFreezeProvider) Descriptor ¶
func (*MsgFreezeProvider) Descriptor() ([]byte, []int)
func (*MsgFreezeProvider) GetChainIds ¶
func (m *MsgFreezeProvider) GetChainIds() []string
func (*MsgFreezeProvider) GetCreator ¶
func (m *MsgFreezeProvider) GetCreator() string
func (*MsgFreezeProvider) GetReason ¶
func (m *MsgFreezeProvider) GetReason() string
func (*MsgFreezeProvider) GetSignBytes ¶
func (msg *MsgFreezeProvider) GetSignBytes() []byte
func (*MsgFreezeProvider) GetSigners ¶
func (msg *MsgFreezeProvider) GetSigners() []sdk.AccAddress
func (*MsgFreezeProvider) Marshal ¶
func (m *MsgFreezeProvider) Marshal() (dAtA []byte, err error)
func (*MsgFreezeProvider) MarshalTo ¶
func (m *MsgFreezeProvider) MarshalTo(dAtA []byte) (int, error)
func (*MsgFreezeProvider) MarshalToSizedBuffer ¶
func (m *MsgFreezeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFreezeProvider) ProtoMessage ¶
func (*MsgFreezeProvider) ProtoMessage()
func (*MsgFreezeProvider) Reset ¶
func (m *MsgFreezeProvider) Reset()
func (*MsgFreezeProvider) Route ¶
func (msg *MsgFreezeProvider) Route() string
func (*MsgFreezeProvider) Size ¶
func (m *MsgFreezeProvider) Size() (n int)
func (*MsgFreezeProvider) String ¶
func (m *MsgFreezeProvider) String() string
func (*MsgFreezeProvider) Type ¶
func (msg *MsgFreezeProvider) Type() string
func (*MsgFreezeProvider) Unmarshal ¶
func (m *MsgFreezeProvider) Unmarshal(dAtA []byte) error
func (*MsgFreezeProvider) ValidateBasic ¶
func (msg *MsgFreezeProvider) ValidateBasic() error
func (*MsgFreezeProvider) XXX_DiscardUnknown ¶
func (m *MsgFreezeProvider) XXX_DiscardUnknown()
func (*MsgFreezeProvider) XXX_Marshal ¶
func (m *MsgFreezeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFreezeProvider) XXX_Merge ¶
func (m *MsgFreezeProvider) XXX_Merge(src proto.Message)
func (*MsgFreezeProvider) XXX_Size ¶
func (m *MsgFreezeProvider) XXX_Size() int
func (*MsgFreezeProvider) XXX_Unmarshal ¶
func (m *MsgFreezeProvider) XXX_Unmarshal(b []byte) error
type MsgFreezeProviderResponse ¶
type MsgFreezeProviderResponse struct { }
func (*MsgFreezeProviderResponse) Descriptor ¶
func (*MsgFreezeProviderResponse) Descriptor() ([]byte, []int)
func (*MsgFreezeProviderResponse) Marshal ¶
func (m *MsgFreezeProviderResponse) Marshal() (dAtA []byte, err error)
func (*MsgFreezeProviderResponse) MarshalTo ¶
func (m *MsgFreezeProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgFreezeProviderResponse) MarshalToSizedBuffer ¶
func (m *MsgFreezeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgFreezeProviderResponse) ProtoMessage ¶
func (*MsgFreezeProviderResponse) ProtoMessage()
func (*MsgFreezeProviderResponse) Reset ¶
func (m *MsgFreezeProviderResponse) Reset()
func (*MsgFreezeProviderResponse) Size ¶
func (m *MsgFreezeProviderResponse) Size() (n int)
func (*MsgFreezeProviderResponse) String ¶
func (m *MsgFreezeProviderResponse) String() string
func (*MsgFreezeProviderResponse) Unmarshal ¶
func (m *MsgFreezeProviderResponse) Unmarshal(dAtA []byte) error
func (*MsgFreezeProviderResponse) XXX_DiscardUnknown ¶
func (m *MsgFreezeProviderResponse) XXX_DiscardUnknown()
func (*MsgFreezeProviderResponse) XXX_Marshal ¶
func (m *MsgFreezeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgFreezeProviderResponse) XXX_Merge ¶
func (m *MsgFreezeProviderResponse) XXX_Merge(src proto.Message)
func (*MsgFreezeProviderResponse) XXX_Size ¶
func (m *MsgFreezeProviderResponse) XXX_Size() int
func (*MsgFreezeProviderResponse) XXX_Unmarshal ¶
func (m *MsgFreezeProviderResponse) XXX_Unmarshal(b []byte) error
type MsgRelayPayment ¶
type MsgRelayPayment struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` Relays []*RelaySession `protobuf:"bytes,2,rep,name=relays,proto3" json:"relays,omitempty"` DescriptionString string `protobuf:"bytes,4,opt,name=descriptionString,proto3" json:"descriptionString,omitempty"` }
func NewMsgRelayPayment ¶
func NewMsgRelayPayment(creator string, relays []*RelaySession, 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() []*RelaySession
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) UnstakeProvider(context.Context, *MsgUnstakeProvider) (*MsgUnstakeProviderResponse, error) RelayPayment(context.Context, *MsgRelayPayment) (*MsgRelayPaymentResponse, error) FreezeProvider(context.Context, *MsgFreezeProvider) (*MsgFreezeProviderResponse, error) UnfreezeProvider(context.Context, *MsgUnfreezeProvider) (*MsgUnfreezeProviderResponse, error) }
MsgServer is the server API for Msg service.
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 MsgUnfreezeProvider ¶
type MsgUnfreezeProvider struct { Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"` ChainIds []string `protobuf:"bytes,2,rep,name=chainIds,proto3" json:"chainIds,omitempty"` }
func NewMsgUnfreeze ¶
func NewMsgUnfreeze(creator string, chainIds []string) *MsgUnfreezeProvider
func (*MsgUnfreezeProvider) Descriptor ¶
func (*MsgUnfreezeProvider) Descriptor() ([]byte, []int)
func (*MsgUnfreezeProvider) GetChainIds ¶
func (m *MsgUnfreezeProvider) GetChainIds() []string
func (*MsgUnfreezeProvider) GetCreator ¶
func (m *MsgUnfreezeProvider) GetCreator() string
func (*MsgUnfreezeProvider) GetSignBytes ¶
func (msg *MsgUnfreezeProvider) GetSignBytes() []byte
func (*MsgUnfreezeProvider) GetSigners ¶
func (msg *MsgUnfreezeProvider) GetSigners() []sdk.AccAddress
func (*MsgUnfreezeProvider) Marshal ¶
func (m *MsgUnfreezeProvider) Marshal() (dAtA []byte, err error)
func (*MsgUnfreezeProvider) MarshalTo ¶
func (m *MsgUnfreezeProvider) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnfreezeProvider) MarshalToSizedBuffer ¶
func (m *MsgUnfreezeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnfreezeProvider) ProtoMessage ¶
func (*MsgUnfreezeProvider) ProtoMessage()
func (*MsgUnfreezeProvider) Reset ¶
func (m *MsgUnfreezeProvider) Reset()
func (*MsgUnfreezeProvider) Route ¶
func (msg *MsgUnfreezeProvider) Route() string
func (*MsgUnfreezeProvider) Size ¶
func (m *MsgUnfreezeProvider) Size() (n int)
func (*MsgUnfreezeProvider) String ¶
func (m *MsgUnfreezeProvider) String() string
func (*MsgUnfreezeProvider) Type ¶
func (msg *MsgUnfreezeProvider) Type() string
func (*MsgUnfreezeProvider) Unmarshal ¶
func (m *MsgUnfreezeProvider) Unmarshal(dAtA []byte) error
func (*MsgUnfreezeProvider) ValidateBasic ¶
func (msg *MsgUnfreezeProvider) ValidateBasic() error
func (*MsgUnfreezeProvider) XXX_DiscardUnknown ¶
func (m *MsgUnfreezeProvider) XXX_DiscardUnknown()
func (*MsgUnfreezeProvider) XXX_Marshal ¶
func (m *MsgUnfreezeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnfreezeProvider) XXX_Merge ¶
func (m *MsgUnfreezeProvider) XXX_Merge(src proto.Message)
func (*MsgUnfreezeProvider) XXX_Size ¶
func (m *MsgUnfreezeProvider) XXX_Size() int
func (*MsgUnfreezeProvider) XXX_Unmarshal ¶
func (m *MsgUnfreezeProvider) XXX_Unmarshal(b []byte) error
type MsgUnfreezeProviderResponse ¶
type MsgUnfreezeProviderResponse struct { }
func (*MsgUnfreezeProviderResponse) Descriptor ¶
func (*MsgUnfreezeProviderResponse) Descriptor() ([]byte, []int)
func (*MsgUnfreezeProviderResponse) Marshal ¶
func (m *MsgUnfreezeProviderResponse) Marshal() (dAtA []byte, err error)
func (*MsgUnfreezeProviderResponse) MarshalTo ¶
func (m *MsgUnfreezeProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgUnfreezeProviderResponse) MarshalToSizedBuffer ¶
func (m *MsgUnfreezeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgUnfreezeProviderResponse) ProtoMessage ¶
func (*MsgUnfreezeProviderResponse) ProtoMessage()
func (*MsgUnfreezeProviderResponse) Reset ¶
func (m *MsgUnfreezeProviderResponse) Reset()
func (*MsgUnfreezeProviderResponse) Size ¶
func (m *MsgUnfreezeProviderResponse) Size() (n int)
func (*MsgUnfreezeProviderResponse) String ¶
func (m *MsgUnfreezeProviderResponse) String() string
func (*MsgUnfreezeProviderResponse) Unmarshal ¶
func (m *MsgUnfreezeProviderResponse) Unmarshal(dAtA []byte) error
func (*MsgUnfreezeProviderResponse) XXX_DiscardUnknown ¶
func (m *MsgUnfreezeProviderResponse) XXX_DiscardUnknown()
func (*MsgUnfreezeProviderResponse) XXX_Marshal ¶
func (m *MsgUnfreezeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgUnfreezeProviderResponse) XXX_Merge ¶
func (m *MsgUnfreezeProviderResponse) XXX_Merge(src proto.Message)
func (*MsgUnfreezeProviderResponse) XXX_Size ¶
func (m *MsgUnfreezeProviderResponse) XXX_Size() int
func (*MsgUnfreezeProviderResponse) XXX_Unmarshal ¶
func (m *MsgUnfreezeProviderResponse) 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 { MintCoinsPerCU 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"` EpochBlocksOverlap uint64 `protobuf:"varint,8,opt,name=epochBlocksOverlap,proto3" json:"epochBlocksOverlap,omitempty" yaml:"epoch_blocks_overlap"` 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 */ RecommendedEpochNumToCollectPayment uint64 `` /* 173-byte string literal not displayed */ }
Params defines the parameters for the module.
func NewParams ¶
func NewParams( mintCoinsPerCU sdk.Dec, fraudStakeSlashingFactor sdk.Dec, fraudSlashingAmount uint64, epochBlocksOverlap uint64, unpayLimit sdk.Dec, slashLimit sdk.Dec, dataReliabilityReward sdk.Dec, qoSWeight sdk.Dec, recommendedEpochNumToCollectPayment uint64, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetEpochBlocksOverlap ¶
func (*Params) GetFraudSlashingAmount ¶ added in v0.4.3
func (*Params) GetRecommendedEpochNumToCollectPayment ¶
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 PlanKeeper ¶
type ProjectsKeeper ¶
type ProjectsKeeper interface { ChargeComputeUnitsToProject(ctx sdk.Context, project projectstypes.Project, block uint64, cu uint64) (err error) GetProjectForDeveloper(ctx sdk.Context, developerKey string, blockHeight uint64) (proj projectstypes.Project, errRet error) GetProjectForBlock(ctx sdk.Context, projectID string, block uint64) (projectstypes.Project, error) }
type ProviderInfo ¶
type ProviderInfo struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Endpoints []types.Endpoint `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints"` ExpirationEpoch uint64 `protobuf:"varint,3,opt,name=expiration_epoch,json=expirationEpoch,proto3" json:"expiration_epoch,omitempty"` }
func (*ProviderInfo) Descriptor ¶
func (*ProviderInfo) Descriptor() ([]byte, []int)
func (*ProviderInfo) GetAddress ¶
func (m *ProviderInfo) GetAddress() string
func (*ProviderInfo) GetEndpoints ¶
func (m *ProviderInfo) GetEndpoints() []types.Endpoint
func (*ProviderInfo) GetExpirationEpoch ¶
func (m *ProviderInfo) GetExpirationEpoch() uint64
func (*ProviderInfo) Marshal ¶
func (m *ProviderInfo) Marshal() (dAtA []byte, err error)
func (*ProviderInfo) MarshalToSizedBuffer ¶
func (m *ProviderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderInfo) ProtoMessage ¶
func (*ProviderInfo) ProtoMessage()
func (*ProviderInfo) Reset ¶
func (m *ProviderInfo) Reset()
func (*ProviderInfo) Size ¶
func (m *ProviderInfo) Size() (n int)
func (*ProviderInfo) String ¶
func (m *ProviderInfo) String() string
func (*ProviderInfo) Unmarshal ¶
func (m *ProviderInfo) Unmarshal(dAtA []byte) error
func (*ProviderInfo) XXX_DiscardUnknown ¶
func (m *ProviderInfo) XXX_DiscardUnknown()
func (*ProviderInfo) XXX_Marshal ¶
func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderInfo) XXX_Merge ¶
func (m *ProviderInfo) XXX_Merge(src proto.Message)
func (*ProviderInfo) XXX_Size ¶
func (m *ProviderInfo) XXX_Size() int
func (*ProviderInfo) XXX_Unmarshal ¶
func (m *ProviderInfo) XXX_Unmarshal(b []byte) error
type ProviderPaymentStorage ¶
type ProviderPaymentStorage struct { Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"` Epoch uint64 `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"` UniquePaymentStorageClientProviderKeys []string `` /* 129-byte string literal not displayed */ ComplainersTotalCu uint64 `protobuf:"varint,6,opt,name=complainersTotalCu,proto3" json:"complainersTotalCu,omitempty"` }
func (*ProviderPaymentStorage) Descriptor ¶
func (*ProviderPaymentStorage) Descriptor() ([]byte, []int)
func (*ProviderPaymentStorage) GetComplainersTotalCu ¶
func (m *ProviderPaymentStorage) GetComplainersTotalCu() uint64
func (*ProviderPaymentStorage) GetEpoch ¶
func (m *ProviderPaymentStorage) GetEpoch() uint64
func (*ProviderPaymentStorage) GetIndex ¶
func (m *ProviderPaymentStorage) GetIndex() string
func (*ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys ¶
func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys() []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 QueryAccountInfoResponse ¶
type QueryAccountInfoResponse struct { Provider []types.StakeEntry `protobuf:"bytes,1,rep,name=provider,proto3" json:"provider"` Frozen []types.StakeEntry `protobuf:"bytes,2,rep,name=frozen,proto3" json:"frozen"` Consumer []types.StakeEntry `protobuf:"bytes,3,rep,name=consumer,proto3" json:"consumer"` Unstaked []types.StakeEntry `protobuf:"bytes,4,rep,name=unstaked,proto3" json:"unstaked"` Subscription *types1.Subscription `protobuf:"bytes,5,opt,name=subscription,proto3" json:"subscription,omitempty"` Project *types2.Project `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"` }
func (*QueryAccountInfoResponse) Descriptor ¶
func (*QueryAccountInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAccountInfoResponse) GetConsumer ¶ added in v0.12.0
func (m *QueryAccountInfoResponse) GetConsumer() []types.StakeEntry
func (*QueryAccountInfoResponse) GetFrozen ¶
func (m *QueryAccountInfoResponse) GetFrozen() []types.StakeEntry
func (*QueryAccountInfoResponse) GetProject ¶
func (m *QueryAccountInfoResponse) GetProject() *types2.Project
func (*QueryAccountInfoResponse) GetProvider ¶
func (m *QueryAccountInfoResponse) GetProvider() []types.StakeEntry
func (*QueryAccountInfoResponse) GetSubscription ¶
func (m *QueryAccountInfoResponse) GetSubscription() *types1.Subscription
func (*QueryAccountInfoResponse) GetUnstaked ¶
func (m *QueryAccountInfoResponse) GetUnstaked() []types.StakeEntry
func (*QueryAccountInfoResponse) Marshal ¶
func (m *QueryAccountInfoResponse) Marshal() (dAtA []byte, err error)
func (*QueryAccountInfoResponse) MarshalTo ¶
func (m *QueryAccountInfoResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryAccountInfoResponse) MarshalToSizedBuffer ¶
func (m *QueryAccountInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryAccountInfoResponse) ProtoMessage ¶
func (*QueryAccountInfoResponse) ProtoMessage()
func (*QueryAccountInfoResponse) Reset ¶
func (m *QueryAccountInfoResponse) Reset()
func (*QueryAccountInfoResponse) Size ¶
func (m *QueryAccountInfoResponse) Size() (n int)
func (*QueryAccountInfoResponse) String ¶
func (m *QueryAccountInfoResponse) String() string
func (*QueryAccountInfoResponse) Unmarshal ¶
func (m *QueryAccountInfoResponse) Unmarshal(dAtA []byte) error
func (*QueryAccountInfoResponse) XXX_DiscardUnknown ¶
func (m *QueryAccountInfoResponse) XXX_DiscardUnknown()
func (*QueryAccountInfoResponse) XXX_Marshal ¶
func (m *QueryAccountInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryAccountInfoResponse) XXX_Merge ¶
func (m *QueryAccountInfoResponse) XXX_Merge(src proto.Message)
func (*QueryAccountInfoResponse) XXX_Size ¶
func (m *QueryAccountInfoResponse) XXX_Size() int
func (*QueryAccountInfoResponse) XXX_Unmarshal ¶
func (m *QueryAccountInfoResponse) 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 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) // Queries a list of StaticProvidersList items. StaticProvidersList(ctx context.Context, in *QueryStaticProvidersListRequest, opts ...grpc.CallOption) (*QueryStaticProvidersListResponse, error) // Queries a list of EffectivePolicy items. EffectivePolicy(ctx context.Context, in *QueryEffectivePolicyRequest, opts ...grpc.CallOption) (*QueryEffectivePolicyResponse, error) // Queries a list of SdkPairing items. SdkPairing(ctx context.Context, in *QueryGetPairingRequest, opts ...grpc.CallOption) (*QuerySdkPairingResponse, 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 QueryEffectivePolicyRequest ¶
type QueryEffectivePolicyRequest struct { Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"` SpecID string `protobuf:"bytes,2,opt,name=specID,proto3" json:"specID,omitempty"` }
func (*QueryEffectivePolicyRequest) Descriptor ¶
func (*QueryEffectivePolicyRequest) Descriptor() ([]byte, []int)
func (*QueryEffectivePolicyRequest) GetConsumer ¶
func (m *QueryEffectivePolicyRequest) GetConsumer() string
func (*QueryEffectivePolicyRequest) GetSpecID ¶
func (m *QueryEffectivePolicyRequest) GetSpecID() string
func (*QueryEffectivePolicyRequest) Marshal ¶
func (m *QueryEffectivePolicyRequest) Marshal() (dAtA []byte, err error)
func (*QueryEffectivePolicyRequest) MarshalTo ¶
func (m *QueryEffectivePolicyRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryEffectivePolicyRequest) MarshalToSizedBuffer ¶
func (m *QueryEffectivePolicyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEffectivePolicyRequest) ProtoMessage ¶
func (*QueryEffectivePolicyRequest) ProtoMessage()
func (*QueryEffectivePolicyRequest) Reset ¶
func (m *QueryEffectivePolicyRequest) Reset()
func (*QueryEffectivePolicyRequest) Size ¶
func (m *QueryEffectivePolicyRequest) Size() (n int)
func (*QueryEffectivePolicyRequest) String ¶
func (m *QueryEffectivePolicyRequest) String() string
func (*QueryEffectivePolicyRequest) Unmarshal ¶
func (m *QueryEffectivePolicyRequest) Unmarshal(dAtA []byte) error
func (*QueryEffectivePolicyRequest) XXX_DiscardUnknown ¶
func (m *QueryEffectivePolicyRequest) XXX_DiscardUnknown()
func (*QueryEffectivePolicyRequest) XXX_Marshal ¶
func (m *QueryEffectivePolicyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEffectivePolicyRequest) XXX_Merge ¶
func (m *QueryEffectivePolicyRequest) XXX_Merge(src proto.Message)
func (*QueryEffectivePolicyRequest) XXX_Size ¶
func (m *QueryEffectivePolicyRequest) XXX_Size() int
func (*QueryEffectivePolicyRequest) XXX_Unmarshal ¶
func (m *QueryEffectivePolicyRequest) XXX_Unmarshal(b []byte) error
type QueryEffectivePolicyResponse ¶
type QueryEffectivePolicyResponse struct {
Policy *types3.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
}
func (*QueryEffectivePolicyResponse) Descriptor ¶
func (*QueryEffectivePolicyResponse) Descriptor() ([]byte, []int)
func (*QueryEffectivePolicyResponse) GetPolicy ¶
func (m *QueryEffectivePolicyResponse) GetPolicy() *types3.Policy
func (*QueryEffectivePolicyResponse) Marshal ¶
func (m *QueryEffectivePolicyResponse) Marshal() (dAtA []byte, err error)
func (*QueryEffectivePolicyResponse) MarshalTo ¶
func (m *QueryEffectivePolicyResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryEffectivePolicyResponse) MarshalToSizedBuffer ¶
func (m *QueryEffectivePolicyResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryEffectivePolicyResponse) ProtoMessage ¶
func (*QueryEffectivePolicyResponse) ProtoMessage()
func (*QueryEffectivePolicyResponse) Reset ¶
func (m *QueryEffectivePolicyResponse) Reset()
func (*QueryEffectivePolicyResponse) Size ¶
func (m *QueryEffectivePolicyResponse) Size() (n int)
func (*QueryEffectivePolicyResponse) String ¶
func (m *QueryEffectivePolicyResponse) String() string
func (*QueryEffectivePolicyResponse) Unmarshal ¶
func (m *QueryEffectivePolicyResponse) Unmarshal(dAtA []byte) error
func (*QueryEffectivePolicyResponse) XXX_DiscardUnknown ¶
func (m *QueryEffectivePolicyResponse) XXX_DiscardUnknown()
func (*QueryEffectivePolicyResponse) XXX_Marshal ¶
func (m *QueryEffectivePolicyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryEffectivePolicyResponse) XXX_Merge ¶
func (m *QueryEffectivePolicyResponse) XXX_Merge(src proto.Message)
func (*QueryEffectivePolicyResponse) XXX_Size ¶
func (m *QueryEffectivePolicyResponse) XXX_Size() int
func (*QueryEffectivePolicyResponse) XXX_Unmarshal ¶
func (m *QueryEffectivePolicyResponse) 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=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"` TimeLeftToNextPairing uint64 `` /* 131-byte string literal not displayed */ SpecLastUpdatedBlock uint64 `` /* 126-byte string literal not displayed */ BlockOfNextPairing uint64 `protobuf:"varint,5,opt,name=block_of_next_pairing,json=blockOfNextPairing,proto3" json:"block_of_next_pairing,omitempty"` }
func (*QueryGetPairingResponse) Descriptor ¶
func (*QueryGetPairingResponse) Descriptor() ([]byte, []int)
func (*QueryGetPairingResponse) GetBlockOfNextPairing ¶
func (m *QueryGetPairingResponse) GetBlockOfNextPairing() uint64
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"` ShowFrozen bool `protobuf:"varint,2,opt,name=showFrozen,proto3" json:"showFrozen,omitempty"` }
func (*QueryProvidersRequest) Descriptor ¶
func (*QueryProvidersRequest) Descriptor() ([]byte, []int)
func (*QueryProvidersRequest) GetChainID ¶
func (m *QueryProvidersRequest) GetChainID() string
func (*QueryProvidersRequest) GetShowFrozen ¶
func (m *QueryProvidersRequest) GetShowFrozen() bool
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 QuerySdkPairingResponse ¶
type QuerySdkPairingResponse struct { Pairing *QueryGetPairingResponse `protobuf:"bytes,1,opt,name=pairing,proto3" json:"pairing,omitempty"` MaxCu uint64 `protobuf:"varint,2,opt,name=max_cu,json=maxCu,proto3" json:"max_cu,omitempty"` Spec *types4.Spec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` }
func (*QuerySdkPairingResponse) Descriptor ¶
func (*QuerySdkPairingResponse) Descriptor() ([]byte, []int)
func (*QuerySdkPairingResponse) GetMaxCu ¶
func (m *QuerySdkPairingResponse) GetMaxCu() uint64
func (*QuerySdkPairingResponse) GetPairing ¶
func (m *QuerySdkPairingResponse) GetPairing() *QueryGetPairingResponse
func (*QuerySdkPairingResponse) GetSpec ¶
func (m *QuerySdkPairingResponse) GetSpec() *types4.Spec
func (*QuerySdkPairingResponse) Marshal ¶
func (m *QuerySdkPairingResponse) Marshal() (dAtA []byte, err error)
func (*QuerySdkPairingResponse) MarshalTo ¶
func (m *QuerySdkPairingResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySdkPairingResponse) MarshalToSizedBuffer ¶
func (m *QuerySdkPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySdkPairingResponse) ProtoMessage ¶
func (*QuerySdkPairingResponse) ProtoMessage()
func (*QuerySdkPairingResponse) Reset ¶
func (m *QuerySdkPairingResponse) Reset()
func (*QuerySdkPairingResponse) Size ¶
func (m *QuerySdkPairingResponse) Size() (n int)
func (*QuerySdkPairingResponse) String ¶
func (m *QuerySdkPairingResponse) String() string
func (*QuerySdkPairingResponse) Unmarshal ¶
func (m *QuerySdkPairingResponse) Unmarshal(dAtA []byte) error
func (*QuerySdkPairingResponse) XXX_DiscardUnknown ¶
func (m *QuerySdkPairingResponse) XXX_DiscardUnknown()
func (*QuerySdkPairingResponse) XXX_Marshal ¶
func (m *QuerySdkPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySdkPairingResponse) XXX_Merge ¶
func (m *QuerySdkPairingResponse) XXX_Merge(src proto.Message)
func (*QuerySdkPairingResponse) XXX_Size ¶
func (m *QuerySdkPairingResponse) XXX_Size() int
func (*QuerySdkPairingResponse) XXX_Unmarshal ¶
func (m *QuerySdkPairingResponse) 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 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) // Queries a list of StaticProvidersList items. StaticProvidersList(context.Context, *QueryStaticProvidersListRequest) (*QueryStaticProvidersListResponse, error) // Queries a list of EffectivePolicy items. EffectivePolicy(context.Context, *QueryEffectivePolicyRequest) (*QueryEffectivePolicyResponse, error) // Queries a list of SdkPairing items. SdkPairing(context.Context, *QueryGetPairingRequest) (*QuerySdkPairingResponse, error) }
QueryServer is the server API for Query service.
type QueryStaticProvidersListRequest ¶
type QueryStaticProvidersListRequest struct {
ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
}
func (*QueryStaticProvidersListRequest) Descriptor ¶
func (*QueryStaticProvidersListRequest) Descriptor() ([]byte, []int)
func (*QueryStaticProvidersListRequest) GetChainID ¶
func (m *QueryStaticProvidersListRequest) GetChainID() string
func (*QueryStaticProvidersListRequest) Marshal ¶
func (m *QueryStaticProvidersListRequest) Marshal() (dAtA []byte, err error)
func (*QueryStaticProvidersListRequest) MarshalTo ¶
func (m *QueryStaticProvidersListRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryStaticProvidersListRequest) MarshalToSizedBuffer ¶
func (m *QueryStaticProvidersListRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStaticProvidersListRequest) ProtoMessage ¶
func (*QueryStaticProvidersListRequest) ProtoMessage()
func (*QueryStaticProvidersListRequest) Reset ¶
func (m *QueryStaticProvidersListRequest) Reset()
func (*QueryStaticProvidersListRequest) Size ¶
func (m *QueryStaticProvidersListRequest) Size() (n int)
func (*QueryStaticProvidersListRequest) String ¶
func (m *QueryStaticProvidersListRequest) String() string
func (*QueryStaticProvidersListRequest) Unmarshal ¶
func (m *QueryStaticProvidersListRequest) Unmarshal(dAtA []byte) error
func (*QueryStaticProvidersListRequest) XXX_DiscardUnknown ¶
func (m *QueryStaticProvidersListRequest) XXX_DiscardUnknown()
func (*QueryStaticProvidersListRequest) XXX_Marshal ¶
func (m *QueryStaticProvidersListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStaticProvidersListRequest) XXX_Merge ¶
func (m *QueryStaticProvidersListRequest) XXX_Merge(src proto.Message)
func (*QueryStaticProvidersListRequest) XXX_Size ¶
func (m *QueryStaticProvidersListRequest) XXX_Size() int
func (*QueryStaticProvidersListRequest) XXX_Unmarshal ¶
func (m *QueryStaticProvidersListRequest) XXX_Unmarshal(b []byte) error
type QueryStaticProvidersListResponse ¶
type QueryStaticProvidersListResponse struct {
Providers []types.StakeEntry `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers"`
}
func (*QueryStaticProvidersListResponse) Descriptor ¶
func (*QueryStaticProvidersListResponse) Descriptor() ([]byte, []int)
func (*QueryStaticProvidersListResponse) GetProviders ¶
func (m *QueryStaticProvidersListResponse) GetProviders() []types.StakeEntry
func (*QueryStaticProvidersListResponse) Marshal ¶
func (m *QueryStaticProvidersListResponse) Marshal() (dAtA []byte, err error)
func (*QueryStaticProvidersListResponse) MarshalTo ¶
func (m *QueryStaticProvidersListResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryStaticProvidersListResponse) MarshalToSizedBuffer ¶
func (m *QueryStaticProvidersListResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryStaticProvidersListResponse) ProtoMessage ¶
func (*QueryStaticProvidersListResponse) ProtoMessage()
func (*QueryStaticProvidersListResponse) Reset ¶
func (m *QueryStaticProvidersListResponse) Reset()
func (*QueryStaticProvidersListResponse) Size ¶
func (m *QueryStaticProvidersListResponse) Size() (n int)
func (*QueryStaticProvidersListResponse) String ¶
func (m *QueryStaticProvidersListResponse) String() string
func (*QueryStaticProvidersListResponse) Unmarshal ¶
func (m *QueryStaticProvidersListResponse) Unmarshal(dAtA []byte) error
func (*QueryStaticProvidersListResponse) XXX_DiscardUnknown ¶
func (m *QueryStaticProvidersListResponse) XXX_DiscardUnknown()
func (*QueryStaticProvidersListResponse) XXX_Marshal ¶
func (m *QueryStaticProvidersListResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryStaticProvidersListResponse) XXX_Merge ¶
func (m *QueryStaticProvidersListResponse) XXX_Merge(src proto.Message)
func (*QueryStaticProvidersListResponse) XXX_Size ¶
func (m *QueryStaticProvidersListResponse) XXX_Size() int
func (*QueryStaticProvidersListResponse) XXX_Unmarshal ¶
func (m *QueryStaticProvidersListResponse) XXX_Unmarshal(b []byte) error
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"` PairedProviders uint64 `protobuf:"varint,3,opt,name=paired_providers,json=pairedProviders,proto3" json:"paired_providers,omitempty"` CuPerEpoch uint64 `protobuf:"varint,4,opt,name=cu_per_epoch,json=cuPerEpoch,proto3" json:"cu_per_epoch,omitempty"` ProjectId string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"` }
func (*QueryVerifyPairingResponse) Descriptor ¶
func (*QueryVerifyPairingResponse) Descriptor() ([]byte, []int)
func (*QueryVerifyPairingResponse) GetCuPerEpoch ¶
func (m *QueryVerifyPairingResponse) GetCuPerEpoch() uint64
func (*QueryVerifyPairingResponse) GetPairedProviders ¶
func (m *QueryVerifyPairingResponse) GetPairedProviders() uint64
func (*QueryVerifyPairingResponse) GetProjectId ¶
func (m *QueryVerifyPairingResponse) GetProjectId() string
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 RelayExchange ¶
type RelayExchange struct { Request RelayRequest Reply RelayReply }
RelayExchange consists a relay request and its corresponding response
func NewRelayExchange ¶
func NewRelayExchange(req RelayRequest, res RelayReply) RelayExchange
func (RelayExchange) DataToSign ¶
func (re RelayExchange) DataToSign() []byte
func (RelayExchange) GetSignature ¶
func (re RelayExchange) GetSignature() []byte
func (RelayExchange) HashRounds ¶
func (re RelayExchange) HashRounds() int
type RelayFinalization ¶
type RelayFinalization struct { Exchange RelayExchange Addr sdk.AccAddress }
func NewRelayFinalization ¶
func NewRelayFinalization(exch RelayExchange, addr sdk.AccAddress) RelayFinalization
func (RelayFinalization) DataToSign ¶
func (rf RelayFinalization) DataToSign() []byte
func (RelayFinalization) GetSignature ¶
func (rf RelayFinalization) GetSignature() []byte
func (RelayFinalization) HashRounds ¶
func (rf RelayFinalization) HashRounds() int
type RelayPrivateData ¶
type RelayPrivateData struct { ConnectionType string `protobuf:"bytes,1,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"` ApiUrl string `protobuf:"bytes,2,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` RequestBlock int64 `protobuf:"varint,4,opt,name=request_block,json=requestBlock,proto3" json:"request_block,omitempty"` ApiInterface string `protobuf:"bytes,5,opt,name=api_interface,json=apiInterface,proto3" json:"api_interface,omitempty"` Salt []byte `protobuf:"bytes,6,opt,name=salt,proto3" json:"salt,omitempty"` Metadata []Metadata `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata"` Addon string `protobuf:"bytes,8,opt,name=addon,proto3" json:"addon,omitempty"` Extensions []string `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty"` }
func (*RelayPrivateData) Descriptor ¶
func (*RelayPrivateData) Descriptor() ([]byte, []int)
func (*RelayPrivateData) GetAddon ¶
func (m *RelayPrivateData) GetAddon() string
func (*RelayPrivateData) GetApiInterface ¶
func (m *RelayPrivateData) GetApiInterface() string
func (*RelayPrivateData) GetApiUrl ¶
func (m *RelayPrivateData) GetApiUrl() string
func (*RelayPrivateData) GetConnectionType ¶
func (m *RelayPrivateData) GetConnectionType() string
func (RelayPrivateData) GetContentHashData ¶
func (rp RelayPrivateData) GetContentHashData() []byte
func (*RelayPrivateData) GetData ¶
func (m *RelayPrivateData) GetData() []byte
func (*RelayPrivateData) GetExtensions ¶
func (m *RelayPrivateData) GetExtensions() []string
func (*RelayPrivateData) GetMetadata ¶
func (m *RelayPrivateData) GetMetadata() []Metadata
func (*RelayPrivateData) GetRequestBlock ¶
func (m *RelayPrivateData) GetRequestBlock() int64
func (*RelayPrivateData) GetSalt ¶
func (m *RelayPrivateData) GetSalt() []byte
func (*RelayPrivateData) Marshal ¶
func (m *RelayPrivateData) Marshal() (dAtA []byte, err error)
func (*RelayPrivateData) MarshalToSizedBuffer ¶
func (m *RelayPrivateData) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelayPrivateData) ProtoMessage ¶
func (*RelayPrivateData) ProtoMessage()
func (*RelayPrivateData) Reset ¶
func (m *RelayPrivateData) Reset()
func (*RelayPrivateData) Size ¶
func (m *RelayPrivateData) Size() (n int)
func (*RelayPrivateData) String ¶
func (m *RelayPrivateData) String() string
func (*RelayPrivateData) Unmarshal ¶
func (m *RelayPrivateData) Unmarshal(dAtA []byte) error
func (*RelayPrivateData) XXX_DiscardUnknown ¶
func (m *RelayPrivateData) XXX_DiscardUnknown()
func (*RelayPrivateData) XXX_Marshal ¶
func (m *RelayPrivateData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelayPrivateData) XXX_Merge ¶
func (m *RelayPrivateData) XXX_Merge(src proto.Message)
func (*RelayPrivateData) XXX_Size ¶
func (m *RelayPrivateData) XXX_Size() int
func (*RelayPrivateData) XXX_Unmarshal ¶
func (m *RelayPrivateData) 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"` 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"` Metadata []Metadata `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata"` }
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) GetMetadata ¶
func (m *RelayReply) GetMetadata() []Metadata
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 { RelaySession *RelaySession `protobuf:"bytes,1,opt,name=relay_session,json=relaySession,proto3" json:"relay_session,omitempty"` RelayData *RelayPrivateData `protobuf:"bytes,2,opt,name=relay_data,json=relayData,proto3" json:"relay_data,omitempty"` }
func (*RelayRequest) Descriptor ¶
func (*RelayRequest) Descriptor() ([]byte, []int)
func (*RelayRequest) GetRelayData ¶
func (m *RelayRequest) GetRelayData() *RelayPrivateData
func (*RelayRequest) GetRelaySession ¶
func (m *RelayRequest) GetRelaySession() *RelaySession
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) 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 RelaySession ¶
type RelaySession struct { SpecId string `protobuf:"bytes,1,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` ContentHash []byte `protobuf:"bytes,2,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"` SessionId uint64 `protobuf:"varint,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` CuSum uint64 `protobuf:"varint,4,opt,name=cu_sum,json=cuSum,proto3" json:"cu_sum,omitempty"` Provider string `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"` RelayNum uint64 `protobuf:"varint,6,opt,name=relay_num,json=relayNum,proto3" json:"relay_num,omitempty"` QosReport *QualityOfServiceReport `protobuf:"bytes,7,opt,name=qos_report,json=qosReport,proto3" json:"qos_report,omitempty"` Epoch int64 `protobuf:"varint,8,opt,name=epoch,proto3" json:"epoch,omitempty"` UnresponsiveProviders []byte `protobuf:"bytes,9,opt,name=unresponsive_providers,json=unresponsiveProviders,proto3" json:"unresponsive_providers,omitempty"` LavaChainId string `protobuf:"bytes,10,opt,name=lava_chain_id,json=lavaChainId,proto3" json:"lava_chain_id,omitempty"` Sig []byte `protobuf:"bytes,11,opt,name=sig,proto3" json:"sig,omitempty"` Badge *Badge `protobuf:"bytes,12,opt,name=badge,proto3" json:"badge,omitempty"` QosExcellenceReport *QualityOfServiceReport `protobuf:"bytes,13,opt,name=qos_excellence_report,json=qosExcellenceReport,proto3" json:"qos_excellence_report,omitempty"` }
func (RelaySession) CalculateHashForFinalization ¶
func (rs RelaySession) CalculateHashForFinalization() []byte
func (RelaySession) DataToSign ¶
func (rs RelaySession) DataToSign() []byte
func (*RelaySession) Descriptor ¶
func (*RelaySession) Descriptor() ([]byte, []int)
func (*RelaySession) GetBadge ¶
func (m *RelaySession) GetBadge() *Badge
func (*RelaySession) GetContentHash ¶
func (m *RelaySession) GetContentHash() []byte
func (*RelaySession) GetCuSum ¶
func (m *RelaySession) GetCuSum() uint64
func (*RelaySession) GetEpoch ¶
func (m *RelaySession) GetEpoch() int64
func (*RelaySession) GetLavaChainId ¶
func (m *RelaySession) GetLavaChainId() string
func (*RelaySession) GetProvider ¶
func (m *RelaySession) GetProvider() string
func (*RelaySession) GetQosExcellenceReport ¶
func (m *RelaySession) GetQosExcellenceReport() *QualityOfServiceReport
func (*RelaySession) GetQosReport ¶
func (m *RelaySession) GetQosReport() *QualityOfServiceReport
func (*RelaySession) GetRelayNum ¶
func (m *RelaySession) GetRelayNum() uint64
func (*RelaySession) GetSessionId ¶
func (m *RelaySession) GetSessionId() uint64
func (*RelaySession) GetSig ¶
func (m *RelaySession) GetSig() []byte
func (RelaySession) GetSignature ¶
func (rs RelaySession) GetSignature() []byte
func (*RelaySession) GetSpecId ¶
func (m *RelaySession) GetSpecId() string
func (*RelaySession) GetUnresponsiveProviders ¶
func (m *RelaySession) GetUnresponsiveProviders() []byte
func (RelaySession) HashRounds ¶
func (rs RelaySession) HashRounds() int
func (*RelaySession) Marshal ¶
func (m *RelaySession) Marshal() (dAtA []byte, err error)
func (*RelaySession) MarshalToSizedBuffer ¶
func (m *RelaySession) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RelaySession) ProtoMessage ¶
func (*RelaySession) ProtoMessage()
func (*RelaySession) Reset ¶
func (m *RelaySession) Reset()
func (*RelaySession) Size ¶
func (m *RelaySession) Size() (n int)
func (*RelaySession) String ¶
func (m *RelaySession) String() string
func (*RelaySession) Unmarshal ¶
func (m *RelaySession) Unmarshal(dAtA []byte) error
func (*RelaySession) XXX_DiscardUnknown ¶
func (m *RelaySession) XXX_DiscardUnknown()
func (*RelaySession) XXX_Marshal ¶
func (m *RelaySession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RelaySession) XXX_Merge ¶
func (m *RelaySession) XXX_Merge(src proto.Message)
func (*RelaySession) XXX_Size ¶
func (m *RelaySession) XXX_Size() int
func (*RelaySession) XXX_Unmarshal ¶
func (m *RelaySession) 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) Probe(ctx context.Context, in *wrapperspb.UInt64Value, opts ...grpc.CallOption) (*wrapperspb.UInt64Value, 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 Probe(context.Context, *wrapperspb.UInt64Value) (*wrapperspb.UInt64Value, 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, providersType spectypes.Spec_ProvidersTypes) GetExpandedSpec(ctx sdk.Context, index string) (val spectypes.Spec, err error) GetSpec(ctx sdk.Context, index string) (val spectypes.Spec, found bool) // this spec is unexpanded don;t use for collections work GeolocationCount(ctx sdk.Context) uint64 GetExpectedServicesForExpandedSpec(expandedSpec spectypes.Spec, mandatory bool) map[epochstoragetypes.EndpointService]struct{} GetAllChainIDs(ctx sdk.Context) (chainIDs []string) }
type StaticProvidersList ¶
type StaticProvidersList struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` Geolocations []*GeoLocation `protobuf:"bytes,3,rep,name=geolocations,proto3" json:"geolocations,omitempty"` }
func (*StaticProvidersList) Descriptor ¶
func (*StaticProvidersList) Descriptor() ([]byte, []int)
func (*StaticProvidersList) GetChainId ¶
func (m *StaticProvidersList) GetChainId() string
func (*StaticProvidersList) GetDescription ¶
func (m *StaticProvidersList) GetDescription() string
func (*StaticProvidersList) GetGeolocations ¶
func (m *StaticProvidersList) GetGeolocations() []*GeoLocation
func (*StaticProvidersList) Marshal ¶
func (m *StaticProvidersList) Marshal() (dAtA []byte, err error)
func (*StaticProvidersList) MarshalTo ¶
func (m *StaticProvidersList) MarshalTo(dAtA []byte) (int, error)
func (*StaticProvidersList) MarshalToSizedBuffer ¶
func (m *StaticProvidersList) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*StaticProvidersList) ProtoMessage ¶
func (*StaticProvidersList) ProtoMessage()
func (*StaticProvidersList) Reset ¶
func (m *StaticProvidersList) Reset()
func (*StaticProvidersList) Size ¶
func (m *StaticProvidersList) Size() (n int)
func (*StaticProvidersList) String ¶
func (m *StaticProvidersList) String() string
func (*StaticProvidersList) Unmarshal ¶
func (m *StaticProvidersList) Unmarshal(dAtA []byte) error
func (*StaticProvidersList) XXX_DiscardUnknown ¶
func (m *StaticProvidersList) XXX_DiscardUnknown()
func (*StaticProvidersList) XXX_Marshal ¶
func (m *StaticProvidersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StaticProvidersList) XXX_Merge ¶
func (m *StaticProvidersList) XXX_Merge(src proto.Message)
func (*StaticProvidersList) XXX_Size ¶
func (m *StaticProvidersList) XXX_Size() int
func (*StaticProvidersList) XXX_Unmarshal ¶
func (m *StaticProvidersList) XXX_Unmarshal(b []byte) error
type SubscriptionKeeper ¶
type SubscriptionKeeper interface { GetPlanFromSubscription(ctx sdk.Context, consumer string) (planstypes.Plan, error) ChargeComputeUnitsToSubscription(ctx sdk.Context, subscriptionOwner string, block uint64, cuAmount uint64) error GetSubscription(ctx sdk.Context, consumer string) (val subscriptiontypes.Subscription, found bool) }
type UnimplementedBadgeGeneratorServer ¶
type UnimplementedBadgeGeneratorServer struct { }
UnimplementedBadgeGeneratorServer can be embedded to have forward compatible implementations.
func (*UnimplementedBadgeGeneratorServer) GenerateBadge ¶
func (*UnimplementedBadgeGeneratorServer) GenerateBadge(ctx context.Context, req *GenerateBadgeRequest) (*GenerateBadgeResponse, error)
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) FreezeProvider ¶
func (*UnimplementedMsgServer) FreezeProvider(ctx context.Context, req *MsgFreezeProvider) (*MsgFreezeProviderResponse, error)
func (*UnimplementedMsgServer) RelayPayment ¶
func (*UnimplementedMsgServer) RelayPayment(ctx context.Context, req *MsgRelayPayment) (*MsgRelayPaymentResponse, error)
func (*UnimplementedMsgServer) StakeProvider ¶
func (*UnimplementedMsgServer) StakeProvider(ctx context.Context, req *MsgStakeProvider) (*MsgStakeProviderResponse, error)
func (*UnimplementedMsgServer) UnfreezeProvider ¶
func (*UnimplementedMsgServer) UnfreezeProvider(ctx context.Context, req *MsgUnfreezeProvider) (*MsgUnfreezeProviderResponse, 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) EffectivePolicy ¶
func (*UnimplementedQueryServer) EffectivePolicy(ctx context.Context, req *QueryEffectivePolicyRequest) (*QueryEffectivePolicyResponse, 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) SdkPairing ¶
func (*UnimplementedQueryServer) SdkPairing(ctx context.Context, req *QueryGetPairingRequest) (*QuerySdkPairingResponse, error)
func (*UnimplementedQueryServer) StaticProvidersList ¶
func (*UnimplementedQueryServer) StaticProvidersList(ctx context.Context, req *QueryStaticProvidersListRequest) (*QueryStaticProvidersListResponse, 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) Probe ¶
func (*UnimplementedRelayerServer) Probe(ctx context.Context, req *wrapperspb.UInt64Value) (*wrapperspb.UInt64Value, error)
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
Source Files ¶
- QualityOfServiceReport.go
- badge.go
- badges.pb.go
- codec.go
- epoch_payments.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_badge_used_cu.go
- key_epoch_payments.go
- key_provider_payment_storage.go
- key_unique_payment_storage_client_provider.go
- keys.go
- message_freeze.go
- message_relay_payment.go
- message_stake_provider.go
- message_unfreeze.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_exchange.go
- relay_finalization.go
- relay_session.go
- static_providers.pb.go
- tx.pb.go
- types.go
- unique_payment_storage_client_provider.pb.go