Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Code generated by MockGen. DO NOT EDIT. Source: x/pairing/types/relay.pb.go
Generated by this command:
mockgen -source=x/pairing/types/relay.pb.go -destination x/pairing/types/relay_mock.pb.go -package types
Package types is a generated GoMock package.
Index ¶
- Constants
- Variables
- func BadgeUsedCuKey(badgeSig []byte, providerAddress string) []byte
- func CreateAddressEpochBadgeMapKey(address string, epoch uint64) string
- func DecodeProviderConsumerEpochCuKey(key string) (epoch uint64, provider string, project string, chainID string, err error)
- func DecodeProviderEpochCuKey(key string) (epoch uint64, provider string, chainID string, err error)
- func DecodeUniqueEpochSessionKey(key string) (epoch uint64, provider string, chainID string, project string, ...)
- func KeyPrefix(p string) []byte
- func NewPairingCacheKey(project string, chainID string, epoch uint64) string
- func ParamKeyTable() paramtypes.KeyTable
- func ProviderConsumerEpochCuKey(epoch uint64, provider string, project string, chainID string) []byte
- func ProviderConsumerEpochCuKeyPrefix() []byte
- func ProviderEpochComplainerCuKeyPrefix() []byte
- func ProviderEpochCuKey(epoch uint64, provider string, chainID string) []byte
- func ProviderEpochCuKeyPrefix() []byte
- func ProviderQosKey(provider string, chainID string, cluster string) string
- 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 UniqueEpochSessionKey(epoch uint64, provider string, chainID string, project string, ...) []byte
- func UniqueEpochSessionKeyPrefix() []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 (m *Badge) GetVirtualEpoch() uint64
- func (b Badge) HashRounds() int
- func (badge Badge) IsBadgeValid(clientAddr, 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 BlockHashToHeight
- func (*BlockHashToHeight) Descriptor() ([]byte, []int)
- func (m *BlockHashToHeight) GetHash() string
- func (m *BlockHashToHeight) GetHeight() int64
- func (m *BlockHashToHeight) Marshal() (dAtA []byte, err error)
- func (m *BlockHashToHeight) MarshalTo(dAtA []byte) (int, error)
- func (m *BlockHashToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BlockHashToHeight) ProtoMessage()
- func (m *BlockHashToHeight) Reset()
- func (m *BlockHashToHeight) Size() (n int)
- func (m *BlockHashToHeight) String() string
- func (m *BlockHashToHeight) Unmarshal(dAtA []byte) error
- func (m *BlockHashToHeight) XXX_DiscardUnknown()
- func (m *BlockHashToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BlockHashToHeight) XXX_Merge(src proto.Message)
- func (m *BlockHashToHeight) XXX_Size() int
- func (m *BlockHashToHeight) XXX_Unmarshal(b []byte) error
- type CacheHash
- func (*CacheHash) Descriptor() ([]byte, []int)
- func (m *CacheHash) GetChainId() string
- func (m *CacheHash) GetRequest() *RelayPrivateData
- func (m *CacheHash) Marshal() (dAtA []byte, err error)
- func (m *CacheHash) MarshalTo(dAtA []byte) (int, error)
- func (m *CacheHash) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CacheHash) ProtoMessage()
- func (m *CacheHash) Reset()
- func (m *CacheHash) Size() (n int)
- func (m *CacheHash) String() string
- func (m *CacheHash) Unmarshal(dAtA []byte) error
- func (m *CacheHash) XXX_DiscardUnknown()
- func (m *CacheHash) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheHash) XXX_Merge(src proto.Message)
- func (m *CacheHash) XXX_Size() int
- func (m *CacheHash) XXX_Unmarshal(b []byte) error
- type CacheRelayReply
- func (*CacheRelayReply) Descriptor() ([]byte, []int)
- func (m *CacheRelayReply) GetBlocksHashesToHeights() []*BlockHashToHeight
- func (m *CacheRelayReply) GetOptionalMetadata() []Metadata
- func (m *CacheRelayReply) GetReply() *RelayReply
- func (m *CacheRelayReply) GetSeenBlock() int64
- func (m *CacheRelayReply) Marshal() (dAtA []byte, err error)
- func (m *CacheRelayReply) MarshalTo(dAtA []byte) (int, error)
- func (m *CacheRelayReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CacheRelayReply) ProtoMessage()
- func (m *CacheRelayReply) Reset()
- func (m *CacheRelayReply) Size() (n int)
- func (m *CacheRelayReply) String() string
- func (m *CacheRelayReply) Unmarshal(dAtA []byte) error
- func (m *CacheRelayReply) XXX_DiscardUnknown()
- func (m *CacheRelayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CacheRelayReply) XXX_Merge(src proto.Message)
- func (m *CacheRelayReply) XXX_Size() int
- func (m *CacheRelayReply) XXX_Unmarshal(b []byte) error
- 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 ChainIDPayout
- func (*ChainIDPayout) Descriptor() ([]byte, []int)
- func (m *ChainIDPayout) GetChainId() string
- func (m *ChainIDPayout) GetPayouts() []*ProviderPayout
- func (m *ChainIDPayout) Marshal() (dAtA []byte, err error)
- func (m *ChainIDPayout) MarshalTo(dAtA []byte) (int, error)
- func (m *ChainIDPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChainIDPayout) ProtoMessage()
- func (m *ChainIDPayout) Reset()
- func (m *ChainIDPayout) Size() (n int)
- func (m *ChainIDPayout) String() string
- func (m *ChainIDPayout) Unmarshal(dAtA []byte) error
- func (m *ChainIDPayout) XXX_DiscardUnknown()
- func (m *ChainIDPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChainIDPayout) XXX_Merge(src proto.Message)
- func (m *ChainIDPayout) XXX_Size() int
- func (m *ChainIDPayout) XXX_Unmarshal(b []byte) error
- type DelegatorSlashing
- func (*DelegatorSlashing) Descriptor() ([]byte, []int)
- func (m *DelegatorSlashing) GetDelegator() string
- func (m *DelegatorSlashing) GetSlashingAmount() types.Coin
- func (m *DelegatorSlashing) Marshal() (dAtA []byte, err error)
- func (m *DelegatorSlashing) MarshalTo(dAtA []byte) (int, error)
- func (m *DelegatorSlashing) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DelegatorSlashing) ProtoMessage()
- func (m *DelegatorSlashing) Reset()
- func (m *DelegatorSlashing) Size() (n int)
- func (m *DelegatorSlashing) String() string
- func (m *DelegatorSlashing) Unmarshal(dAtA []byte) error
- func (m *DelegatorSlashing) XXX_DiscardUnknown()
- func (m *DelegatorSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DelegatorSlashing) XXX_Merge(src proto.Message)
- func (m *DelegatorSlashing) XXX_Size() int
- func (m *DelegatorSlashing) XXX_Unmarshal(b []byte) error
- type DowntimeKeeper
- type DualstakingKeeper
- type EpochstorageKeeper
- type FixationStoreKeeper
- 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) GetGetPairingResponse() *QueryGetPairingResponse
- func (m *GenerateBadgeResponse) GetSpec() *types.Spec
- 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.GenesisState
- func (m *GenesisState) GetParams() Params
- func (m *GenesisState) GetProviderConsumerEpochCus() []ProviderConsumerEpochCuGenesis
- func (m *GenesisState) GetProviderEpochComplainedCus() []ProviderEpochComplainerCuGenesis
- func (m *GenesisState) GetProviderEpochCus() []ProviderEpochCuGenesis
- func (m *GenesisState) GetProviderQosFS() types1.GenesisState
- func (m *GenesisState) GetUniqueEpochSessions() []UniqueEpochSessionGenesis
- 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 LatestBlockReport
- func (*LatestBlockReport) Descriptor() ([]byte, []int)
- func (m *LatestBlockReport) GetLatestBlock() uint64
- func (m *LatestBlockReport) GetSpecId() string
- func (m *LatestBlockReport) Marshal() (dAtA []byte, err error)
- func (m *LatestBlockReport) MarshalTo(dAtA []byte) (int, error)
- func (m *LatestBlockReport) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*LatestBlockReport) ProtoMessage()
- func (m *LatestBlockReport) Reset()
- func (m *LatestBlockReport) Size() (n int)
- func (m *LatestBlockReport) String() string
- func (m *LatestBlockReport) Unmarshal(dAtA []byte) error
- func (m *LatestBlockReport) XXX_DiscardUnknown()
- func (m *LatestBlockReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LatestBlockReport) XXX_Merge(src proto.Message)
- func (m *LatestBlockReport) XXX_Size() int
- func (m *LatestBlockReport) 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 MockRelayerClient
- func (m *MockRelayerClient) EXPECT() *MockRelayerClientMockRecorder
- func (m *MockRelayerClient) Probe(ctx context.Context, in *ProbeRequest, opts ...grpc.CallOption) (*ProbeReply, error)
- func (m *MockRelayerClient) Relay(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (*RelayReply, error)
- func (m *MockRelayerClient) RelaySubscribe(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (Relayer_RelaySubscribeClient, error)
- type MockRelayerClientMockRecorder
- type MockRelayerServer
- func (m *MockRelayerServer) EXPECT() *MockRelayerServerMockRecorder
- func (m *MockRelayerServer) Probe(arg0 context.Context, arg1 *ProbeRequest) (*ProbeReply, error)
- func (m *MockRelayerServer) Relay(arg0 context.Context, arg1 *RelayRequest) (*RelayReply, error)
- func (m *MockRelayerServer) RelaySubscribe(arg0 *RelayRequest, arg1 Relayer_RelaySubscribeServer) error
- type MockRelayerServerMockRecorder
- type MockRelayer_RelaySubscribeClient
- func (m *MockRelayer_RelaySubscribeClient) CloseSend() error
- func (m *MockRelayer_RelaySubscribeClient) Context() context.Context
- func (m *MockRelayer_RelaySubscribeClient) EXPECT() *MockRelayer_RelaySubscribeClientMockRecorder
- func (m *MockRelayer_RelaySubscribeClient) Header() (metadata.MD, error)
- func (m *MockRelayer_RelaySubscribeClient) Recv() (*RelayReply, error)
- func (m_2 *MockRelayer_RelaySubscribeClient) RecvMsg(m any) error
- func (m_2 *MockRelayer_RelaySubscribeClient) SendMsg(m any) error
- func (m *MockRelayer_RelaySubscribeClient) Trailer() metadata.MD
- type MockRelayer_RelaySubscribeClientMockRecorder
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) CloseSend() *gomock.Call
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Context() *gomock.Call
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Header() *gomock.Call
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Recv() *gomock.Call
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Trailer() *gomock.Call
- type MockRelayer_RelaySubscribeServer
- func (m *MockRelayer_RelaySubscribeServer) Context() context.Context
- func (m *MockRelayer_RelaySubscribeServer) EXPECT() *MockRelayer_RelaySubscribeServerMockRecorder
- func (m_2 *MockRelayer_RelaySubscribeServer) RecvMsg(m any) error
- func (m *MockRelayer_RelaySubscribeServer) Send(arg0 *RelayReply) error
- func (m *MockRelayer_RelaySubscribeServer) SendHeader(arg0 metadata.MD) error
- func (m_2 *MockRelayer_RelaySubscribeServer) SendMsg(m any) error
- func (m *MockRelayer_RelaySubscribeServer) SetHeader(arg0 metadata.MD) error
- func (m *MockRelayer_RelaySubscribeServer) SetTrailer(arg0 metadata.MD)
- type MockRelayer_RelaySubscribeServerMockRecorder
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) Context() *gomock.Call
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) RecvMsg(m any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) Send(arg0 any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SendHeader(arg0 any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SendMsg(m any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SetHeader(arg0 any) *gomock.Call
- func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
- 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) GetLatestBlockReports() []*LatestBlockReport
- 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) GetRejectedRelays() bool
- 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) GetAddress() string
- func (m *MsgStakeProvider) GetAmount() types.Coin
- func (m *MsgStakeProvider) GetChainID() string
- func (m *MsgStakeProvider) GetCreator() string
- func (m *MsgStakeProvider) GetDelegateCommission() uint64
- func (m *MsgStakeProvider) GetDelegateLimit() types.Coin
- func (m *MsgStakeProvider) GetDescription() types2.Description
- func (m *MsgStakeProvider) GetEndpoints() []types1.Endpoint
- func (m *MsgStakeProvider) GetGeolocation() int32
- func (msg *MsgStakeProvider) GetSignBytes() []byte
- func (msg *MsgStakeProvider) GetSigners() []sdk.AccAddress
- func (m *MsgStakeProvider) GetValidator() string
- 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) GetValidator() string
- 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 PairingRelayCache
- func (*PairingRelayCache) Descriptor() ([]byte, []int)
- func (m *PairingRelayCache) GetAllowedCu() uint64
- func (m *PairingRelayCache) GetEntries() []types.StakeEntry
- func (m *PairingRelayCache) Marshal() (dAtA []byte, err error)
- func (m *PairingRelayCache) MarshalTo(dAtA []byte) (int, error)
- func (m *PairingRelayCache) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PairingRelayCache) ProtoMessage()
- func (m *PairingRelayCache) Reset()
- func (m *PairingRelayCache) Size() (n int)
- func (m *PairingRelayCache) String() string
- func (m *PairingRelayCache) Unmarshal(dAtA []byte) error
- func (m *PairingRelayCache) XXX_DiscardUnknown()
- func (m *PairingRelayCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PairingRelayCache) XXX_Merge(src proto.Message)
- func (m *PairingRelayCache) XXX_Size() int
- func (m *PairingRelayCache) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (m *Params) GetEpochBlocksOverlap() 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 ProbeReply
- func (*ProbeReply) Descriptor() ([]byte, []int)
- func (m *ProbeReply) GetFinalizedBlocksHashes() []byte
- func (m *ProbeReply) GetGuid() uint64
- func (m *ProbeReply) GetLatestBlock() int64
- func (m *ProbeReply) GetLavaEpoch() uint64
- func (m *ProbeReply) GetLavaLatestBlock() uint64
- func (m *ProbeReply) Marshal() (dAtA []byte, err error)
- func (m *ProbeReply) MarshalTo(dAtA []byte) (int, error)
- func (m *ProbeReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProbeReply) ProtoMessage()
- func (m *ProbeReply) Reset()
- func (m *ProbeReply) Size() (n int)
- func (m *ProbeReply) String() string
- func (m *ProbeReply) Unmarshal(dAtA []byte) error
- func (m *ProbeReply) XXX_DiscardUnknown()
- func (m *ProbeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProbeReply) XXX_Merge(src proto.Message)
- func (m *ProbeReply) XXX_Size() int
- func (m *ProbeReply) XXX_Unmarshal(b []byte) error
- type ProbeRequest
- func (*ProbeRequest) Descriptor() ([]byte, []int)
- func (m *ProbeRequest) GetApiInterface() string
- func (m *ProbeRequest) GetGuid() uint64
- func (m *ProbeRequest) GetSpecId() string
- func (m *ProbeRequest) Marshal() (dAtA []byte, err error)
- func (m *ProbeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ProbeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProbeRequest) ProtoMessage()
- func (m *ProbeRequest) Reset()
- func (m *ProbeRequest) Size() (n int)
- func (m *ProbeRequest) String() string
- func (m *ProbeRequest) Unmarshal(dAtA []byte) error
- func (m *ProbeRequest) XXX_DiscardUnknown()
- func (m *ProbeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProbeRequest) XXX_Merge(src proto.Message)
- func (m *ProbeRequest) XXX_Size() int
- func (m *ProbeRequest) XXX_Unmarshal(b []byte) error
- type ProjectsKeeper
- type ProviderConsumerEpochCu
- func (*ProviderConsumerEpochCu) Descriptor() ([]byte, []int)
- func (m *ProviderConsumerEpochCu) GetCu() uint64
- func (m *ProviderConsumerEpochCu) Marshal() (dAtA []byte, err error)
- func (m *ProviderConsumerEpochCu) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderConsumerEpochCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderConsumerEpochCu) ProtoMessage()
- func (m *ProviderConsumerEpochCu) Reset()
- func (m *ProviderConsumerEpochCu) Size() (n int)
- func (m *ProviderConsumerEpochCu) String() string
- func (m *ProviderConsumerEpochCu) Unmarshal(dAtA []byte) error
- func (m *ProviderConsumerEpochCu) XXX_DiscardUnknown()
- func (m *ProviderConsumerEpochCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderConsumerEpochCu) XXX_Merge(src proto.Message)
- func (m *ProviderConsumerEpochCu) XXX_Size() int
- func (m *ProviderConsumerEpochCu) XXX_Unmarshal(b []byte) error
- type ProviderConsumerEpochCuGenesis
- func (*ProviderConsumerEpochCuGenesis) Descriptor() ([]byte, []int)
- func (m *ProviderConsumerEpochCuGenesis) GetChainId() string
- func (m *ProviderConsumerEpochCuGenesis) GetEpoch() uint64
- func (m *ProviderConsumerEpochCuGenesis) GetProject() string
- func (m *ProviderConsumerEpochCuGenesis) GetProvider() string
- func (m *ProviderConsumerEpochCuGenesis) GetProviderConsumerEpochCu() ProviderConsumerEpochCu
- func (m *ProviderConsumerEpochCuGenesis) Marshal() (dAtA []byte, err error)
- func (m *ProviderConsumerEpochCuGenesis) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderConsumerEpochCuGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderConsumerEpochCuGenesis) ProtoMessage()
- func (m *ProviderConsumerEpochCuGenesis) Reset()
- func (m *ProviderConsumerEpochCuGenesis) Size() (n int)
- func (m *ProviderConsumerEpochCuGenesis) String() string
- func (m *ProviderConsumerEpochCuGenesis) Unmarshal(dAtA []byte) error
- func (m *ProviderConsumerEpochCuGenesis) XXX_DiscardUnknown()
- func (m *ProviderConsumerEpochCuGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderConsumerEpochCuGenesis) XXX_Merge(src proto.Message)
- func (m *ProviderConsumerEpochCuGenesis) XXX_Size() int
- func (m *ProviderConsumerEpochCuGenesis) XXX_Unmarshal(b []byte) error
- type ProviderCuInfo
- func (*ProviderCuInfo) Descriptor() ([]byte, []int)
- func (m *ProviderCuInfo) GetCu() uint64
- func (m *ProviderCuInfo) GetProvider() string
- func (m *ProviderCuInfo) Marshal() (dAtA []byte, err error)
- func (m *ProviderCuInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderCuInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderCuInfo) ProtoMessage()
- func (m *ProviderCuInfo) Reset()
- func (m *ProviderCuInfo) Size() (n int)
- func (m *ProviderCuInfo) String() string
- func (m *ProviderCuInfo) Unmarshal(dAtA []byte) error
- func (m *ProviderCuInfo) XXX_DiscardUnknown()
- func (m *ProviderCuInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderCuInfo) XXX_Merge(src proto.Message)
- func (m *ProviderCuInfo) XXX_Size() int
- func (m *ProviderCuInfo) XXX_Unmarshal(b []byte) error
- type ProviderEpochComplainerCu
- func (*ProviderEpochComplainerCu) Descriptor() ([]byte, []int)
- func (m *ProviderEpochComplainerCu) GetComplainersCu() uint64
- func (m *ProviderEpochComplainerCu) Marshal() (dAtA []byte, err error)
- func (m *ProviderEpochComplainerCu) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderEpochComplainerCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderEpochComplainerCu) ProtoMessage()
- func (m *ProviderEpochComplainerCu) Reset()
- func (m *ProviderEpochComplainerCu) Size() (n int)
- func (m *ProviderEpochComplainerCu) String() string
- func (m *ProviderEpochComplainerCu) Unmarshal(dAtA []byte) error
- func (m *ProviderEpochComplainerCu) XXX_DiscardUnknown()
- func (m *ProviderEpochComplainerCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderEpochComplainerCu) XXX_Merge(src proto.Message)
- func (m *ProviderEpochComplainerCu) XXX_Size() int
- func (m *ProviderEpochComplainerCu) XXX_Unmarshal(b []byte) error
- type ProviderEpochComplainerCuGenesis
- func (*ProviderEpochComplainerCuGenesis) Descriptor() ([]byte, []int)
- func (m *ProviderEpochComplainerCuGenesis) GetChainId() string
- func (m *ProviderEpochComplainerCuGenesis) GetEpoch() uint64
- func (m *ProviderEpochComplainerCuGenesis) GetProvider() string
- func (m *ProviderEpochComplainerCuGenesis) GetProviderEpochComplainerCu() ProviderEpochComplainerCu
- func (m *ProviderEpochComplainerCuGenesis) Marshal() (dAtA []byte, err error)
- func (m *ProviderEpochComplainerCuGenesis) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderEpochComplainerCuGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderEpochComplainerCuGenesis) ProtoMessage()
- func (m *ProviderEpochComplainerCuGenesis) Reset()
- func (m *ProviderEpochComplainerCuGenesis) Size() (n int)
- func (m *ProviderEpochComplainerCuGenesis) String() string
- func (m *ProviderEpochComplainerCuGenesis) Unmarshal(dAtA []byte) error
- func (m *ProviderEpochComplainerCuGenesis) XXX_DiscardUnknown()
- func (m *ProviderEpochComplainerCuGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderEpochComplainerCuGenesis) XXX_Merge(src proto.Message)
- func (m *ProviderEpochComplainerCuGenesis) XXX_Size() int
- func (m *ProviderEpochComplainerCuGenesis) XXX_Unmarshal(b []byte) error
- type ProviderEpochCu
- func (*ProviderEpochCu) Descriptor() ([]byte, []int)
- func (m *ProviderEpochCu) GetServicedCu() uint64
- func (m *ProviderEpochCu) Marshal() (dAtA []byte, err error)
- func (m *ProviderEpochCu) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderEpochCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderEpochCu) ProtoMessage()
- func (m *ProviderEpochCu) Reset()
- func (m *ProviderEpochCu) Size() (n int)
- func (m *ProviderEpochCu) String() string
- func (m *ProviderEpochCu) Unmarshal(dAtA []byte) error
- func (m *ProviderEpochCu) XXX_DiscardUnknown()
- func (m *ProviderEpochCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderEpochCu) XXX_Merge(src proto.Message)
- func (m *ProviderEpochCu) XXX_Size() int
- func (m *ProviderEpochCu) XXX_Unmarshal(b []byte) error
- type ProviderEpochCuGenesis
- func (*ProviderEpochCuGenesis) Descriptor() ([]byte, []int)
- func (m *ProviderEpochCuGenesis) GetChainId() string
- func (m *ProviderEpochCuGenesis) GetEpoch() uint64
- func (m *ProviderEpochCuGenesis) GetProvider() string
- func (m *ProviderEpochCuGenesis) GetProviderEpochCu() ProviderEpochCu
- func (m *ProviderEpochCuGenesis) Marshal() (dAtA []byte, err error)
- func (m *ProviderEpochCuGenesis) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderEpochCuGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderEpochCuGenesis) ProtoMessage()
- func (m *ProviderEpochCuGenesis) Reset()
- func (m *ProviderEpochCuGenesis) Size() (n int)
- func (m *ProviderEpochCuGenesis) String() string
- func (m *ProviderEpochCuGenesis) Unmarshal(dAtA []byte) error
- func (m *ProviderEpochCuGenesis) XXX_DiscardUnknown()
- func (m *ProviderEpochCuGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderEpochCuGenesis) XXX_Merge(src proto.Message)
- func (m *ProviderEpochCuGenesis) XXX_Size() int
- func (m *ProviderEpochCuGenesis) XXX_Unmarshal(b []byte) error
- 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 ProviderPayout
- func (*ProviderPayout) Descriptor() ([]byte, []int)
- func (m *ProviderPayout) GetAmount() uint64
- func (m *ProviderPayout) GetProvider() string
- func (m *ProviderPayout) Marshal() (dAtA []byte, err error)
- func (m *ProviderPayout) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderPayout) ProtoMessage()
- func (m *ProviderPayout) Reset()
- func (m *ProviderPayout) Size() (n int)
- func (m *ProviderPayout) String() string
- func (m *ProviderPayout) Unmarshal(dAtA []byte) error
- func (m *ProviderPayout) XXX_DiscardUnknown()
- func (m *ProviderPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderPayout) XXX_Merge(src proto.Message)
- func (m *ProviderPayout) XXX_Size() int
- func (m *ProviderPayout) XXX_Unmarshal(b []byte) error
- type ProviderUnstakeInfo
- func (*ProviderUnstakeInfo) Descriptor() ([]byte, []int)
- func (m *ProviderUnstakeInfo) GetChainId() string
- func (m *ProviderUnstakeInfo) GetProvider() string
- func (m *ProviderUnstakeInfo) Marshal() (dAtA []byte, err error)
- func (m *ProviderUnstakeInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProviderUnstakeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProviderUnstakeInfo) ProtoMessage()
- func (m *ProviderUnstakeInfo) Reset()
- func (m *ProviderUnstakeInfo) Size() (n int)
- func (m *ProviderUnstakeInfo) String() string
- func (m *ProviderUnstakeInfo) Unmarshal(dAtA []byte) error
- func (m *ProviderUnstakeInfo) XXX_DiscardUnknown()
- func (m *ProviderUnstakeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProviderUnstakeInfo) XXX_Merge(src proto.Message)
- func (m *ProviderUnstakeInfo) XXX_Size() int
- func (m *ProviderUnstakeInfo) XXX_Unmarshal(b []byte) error
- type QualityOfServiceReport
- func (qos *QualityOfServiceReport) ComputeQoS() (sdk.Dec, error)
- func (qos *QualityOfServiceReport) ComputeQoSExcellence() (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) GetDelegationsProviders() []types4.Delegation
- func (m *QueryAccountInfoResponse) GetDelegationsValidators() []types3.DelegationResponse
- 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) GetTotalDelegations() uint64
- 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 QueryClient
- type QueryDebugQueryResponse
- func (*QueryDebugQueryResponse) Descriptor() ([]byte, []int)
- func (m *QueryDebugQueryResponse) GetBlock() uint64
- func (m *QueryDebugQueryResponse) GetBlockReward() uint64
- func (m *QueryDebugQueryResponse) GetMonthsLeft() uint64
- func (m *QueryDebugQueryResponse) GetProviderAllocPoolBalance() string
- func (m *QueryDebugQueryResponse) GetProviderDistPoolBalance() string
- func (m *QueryDebugQueryResponse) GetProviderFullReward() uint64
- func (m *QueryDebugQueryResponse) GetProviderRewardNoBonus() uint64
- func (m *QueryDebugQueryResponse) GetValAllocPoolBalance() string
- func (m *QueryDebugQueryResponse) GetValDistPoolBalance() string
- func (m *QueryDebugQueryResponse) GetValidatorReward() uint64
- func (m *QueryDebugQueryResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryDebugQueryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryDebugQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryDebugQueryResponse) ProtoMessage()
- func (m *QueryDebugQueryResponse) Reset()
- func (m *QueryDebugQueryResponse) Size() (n int)
- func (m *QueryDebugQueryResponse) String() string
- func (m *QueryDebugQueryResponse) Unmarshal(dAtA []byte) error
- func (m *QueryDebugQueryResponse) XXX_DiscardUnknown()
- func (m *QueryDebugQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryDebugQueryResponse) XXX_Merge(src proto.Message)
- func (m *QueryDebugQueryResponse) XXX_Size() int
- func (m *QueryDebugQueryResponse) XXX_Unmarshal(b []byte) error
- 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) GetPendingPolicy() *types1.Policy
- func (m *QueryEffectivePolicyResponse) GetPolicy() *types1.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 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 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 QueryProviderMonthlyPayoutRequest
- func (*QueryProviderMonthlyPayoutRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderMonthlyPayoutRequest) GetProvider() string
- func (m *QueryProviderMonthlyPayoutRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderMonthlyPayoutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderMonthlyPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderMonthlyPayoutRequest) ProtoMessage()
- func (m *QueryProviderMonthlyPayoutRequest) Reset()
- func (m *QueryProviderMonthlyPayoutRequest) Size() (n int)
- func (m *QueryProviderMonthlyPayoutRequest) String() string
- func (m *QueryProviderMonthlyPayoutRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderMonthlyPayoutRequest) XXX_DiscardUnknown()
- func (m *QueryProviderMonthlyPayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderMonthlyPayoutRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderMonthlyPayoutRequest) XXX_Size() int
- func (m *QueryProviderMonthlyPayoutRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderMonthlyPayoutResponse
- func (*QueryProviderMonthlyPayoutResponse) Descriptor() ([]byte, []int)
- func (m *QueryProviderMonthlyPayoutResponse) GetDetails() []*SubscriptionPayout
- func (m *QueryProviderMonthlyPayoutResponse) GetTotal() uint64
- func (m *QueryProviderMonthlyPayoutResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderMonthlyPayoutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderMonthlyPayoutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderMonthlyPayoutResponse) ProtoMessage()
- func (m *QueryProviderMonthlyPayoutResponse) Reset()
- func (m *QueryProviderMonthlyPayoutResponse) Size() (n int)
- func (m *QueryProviderMonthlyPayoutResponse) String() string
- func (m *QueryProviderMonthlyPayoutResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProviderMonthlyPayoutResponse) XXX_DiscardUnknown()
- func (m *QueryProviderMonthlyPayoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderMonthlyPayoutResponse) XXX_Merge(src proto.Message)
- func (m *QueryProviderMonthlyPayoutResponse) XXX_Size() int
- func (m *QueryProviderMonthlyPayoutResponse) XXX_Unmarshal(b []byte) error
- type QueryProviderPairingChanceRequest
- func (*QueryProviderPairingChanceRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderPairingChanceRequest) GetChainID() string
- func (m *QueryProviderPairingChanceRequest) GetCluster() string
- func (m *QueryProviderPairingChanceRequest) GetGeolocation() int32
- func (m *QueryProviderPairingChanceRequest) GetProvider() string
- func (m *QueryProviderPairingChanceRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderPairingChanceRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderPairingChanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderPairingChanceRequest) ProtoMessage()
- func (m *QueryProviderPairingChanceRequest) Reset()
- func (m *QueryProviderPairingChanceRequest) Size() (n int)
- func (m *QueryProviderPairingChanceRequest) String() string
- func (m *QueryProviderPairingChanceRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderPairingChanceRequest) XXX_DiscardUnknown()
- func (m *QueryProviderPairingChanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderPairingChanceRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderPairingChanceRequest) XXX_Size() int
- func (m *QueryProviderPairingChanceRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderPairingChanceResponse
- func (*QueryProviderPairingChanceResponse) Descriptor() ([]byte, []int)
- func (m *QueryProviderPairingChanceResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderPairingChanceResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderPairingChanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderPairingChanceResponse) ProtoMessage()
- func (m *QueryProviderPairingChanceResponse) Reset()
- func (m *QueryProviderPairingChanceResponse) Size() (n int)
- func (m *QueryProviderPairingChanceResponse) String() string
- func (m *QueryProviderPairingChanceResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProviderPairingChanceResponse) XXX_DiscardUnknown()
- func (m *QueryProviderPairingChanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderPairingChanceResponse) XXX_Merge(src proto.Message)
- func (m *QueryProviderPairingChanceResponse) XXX_Size() int
- func (m *QueryProviderPairingChanceResponse) XXX_Unmarshal(b []byte) error
- type QueryProviderRequest
- func (*QueryProviderRequest) Descriptor() ([]byte, []int)
- func (m *QueryProviderRequest) GetAddress() string
- func (m *QueryProviderRequest) GetChainID() string
- func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderRequest) ProtoMessage()
- func (m *QueryProviderRequest) Reset()
- func (m *QueryProviderRequest) Size() (n int)
- func (m *QueryProviderRequest) String() string
- func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProviderRequest) XXX_DiscardUnknown()
- func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderRequest) XXX_Merge(src proto.Message)
- func (m *QueryProviderRequest) XXX_Size() int
- func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error
- type QueryProviderResponse
- func (*QueryProviderResponse) Descriptor() ([]byte, []int)
- func (m *QueryProviderResponse) GetStakeEntries() []types.StakeEntry
- func (m *QueryProviderResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProviderResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProviderResponse) ProtoMessage()
- func (m *QueryProviderResponse) Reset()
- func (m *QueryProviderResponse) Size() (n int)
- func (m *QueryProviderResponse) String() string
- func (m *QueryProviderResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProviderResponse) XXX_DiscardUnknown()
- func (m *QueryProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProviderResponse) XXX_Merge(src proto.Message)
- func (m *QueryProviderResponse) XXX_Size() int
- func (m *QueryProviderResponse) XXX_Unmarshal(b []byte) error
- type QueryProvidersEpochCuRequest
- func (*QueryProvidersEpochCuRequest) Descriptor() ([]byte, []int)
- func (m *QueryProvidersEpochCuRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersEpochCuRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersEpochCuRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersEpochCuRequest) ProtoMessage()
- func (m *QueryProvidersEpochCuRequest) Reset()
- func (m *QueryProvidersEpochCuRequest) Size() (n int)
- func (m *QueryProvidersEpochCuRequest) String() string
- func (m *QueryProvidersEpochCuRequest) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersEpochCuRequest) XXX_DiscardUnknown()
- func (m *QueryProvidersEpochCuRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersEpochCuRequest) XXX_Merge(src proto.Message)
- func (m *QueryProvidersEpochCuRequest) XXX_Size() int
- func (m *QueryProvidersEpochCuRequest) XXX_Unmarshal(b []byte) error
- type QueryProvidersEpochCuResponse
- func (*QueryProvidersEpochCuResponse) Descriptor() ([]byte, []int)
- func (m *QueryProvidersEpochCuResponse) GetInfo() []ProviderCuInfo
- func (m *QueryProvidersEpochCuResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryProvidersEpochCuResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryProvidersEpochCuResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryProvidersEpochCuResponse) ProtoMessage()
- func (m *QueryProvidersEpochCuResponse) Reset()
- func (m *QueryProvidersEpochCuResponse) Size() (n int)
- func (m *QueryProvidersEpochCuResponse) String() string
- func (m *QueryProvidersEpochCuResponse) Unmarshal(dAtA []byte) error
- func (m *QueryProvidersEpochCuResponse) XXX_DiscardUnknown()
- func (m *QueryProvidersEpochCuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryProvidersEpochCuResponse) XXX_Merge(src proto.Message)
- func (m *QueryProvidersEpochCuResponse) XXX_Size() int
- func (m *QueryProvidersEpochCuResponse) 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) 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) GetDowntimeParams() *v1.Params
- func (m *QuerySdkPairingResponse) GetMaxCu() uint64
- func (m *QuerySdkPairingResponse) GetPairing() *QueryGetPairingResponse
- func (m *QuerySdkPairingResponse) GetSpec() *types2.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 QuerySubscriptionMonthlyPayoutRequest
- func (*QuerySubscriptionMonthlyPayoutRequest) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionMonthlyPayoutRequest) GetConsumer() string
- func (m *QuerySubscriptionMonthlyPayoutRequest) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionMonthlyPayoutRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionMonthlyPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionMonthlyPayoutRequest) ProtoMessage()
- func (m *QuerySubscriptionMonthlyPayoutRequest) Reset()
- func (m *QuerySubscriptionMonthlyPayoutRequest) Size() (n int)
- func (m *QuerySubscriptionMonthlyPayoutRequest) String() string
- func (m *QuerySubscriptionMonthlyPayoutRequest) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_DiscardUnknown()
- func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Size() int
- func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Unmarshal(b []byte) error
- type QuerySubscriptionMonthlyPayoutResponse
- func (*QuerySubscriptionMonthlyPayoutResponse) Descriptor() ([]byte, []int)
- func (m *QuerySubscriptionMonthlyPayoutResponse) GetDetails() []*ChainIDPayout
- func (m *QuerySubscriptionMonthlyPayoutResponse) GetTotal() uint64
- func (m *QuerySubscriptionMonthlyPayoutResponse) Marshal() (dAtA []byte, err error)
- func (m *QuerySubscriptionMonthlyPayoutResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QuerySubscriptionMonthlyPayoutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QuerySubscriptionMonthlyPayoutResponse) ProtoMessage()
- func (m *QuerySubscriptionMonthlyPayoutResponse) Reset()
- func (m *QuerySubscriptionMonthlyPayoutResponse) Size() (n int)
- func (m *QuerySubscriptionMonthlyPayoutResponse) String() string
- func (m *QuerySubscriptionMonthlyPayoutResponse) Unmarshal(dAtA []byte) error
- func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_DiscardUnknown()
- func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_Merge(src proto.Message)
- func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_Size() int
- func (m *QuerySubscriptionMonthlyPayoutResponse) 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) GetBlockHash() []byte
- func (m *RelayCacheGet) GetBlocksHashesToHeights() []*BlockHashToHeight
- func (m *RelayCacheGet) GetChainId() string
- func (m *RelayCacheGet) GetFinalized() bool
- func (m *RelayCacheGet) GetRequestHash() []byte
- func (m *RelayCacheGet) GetRequestedBlock() int64
- func (m *RelayCacheGet) GetSeenBlock() int64
- func (m *RelayCacheGet) GetSharedStateId() string
- 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) GetAverageBlockTime() int64
- func (m *RelayCacheSet) GetBlockHash() []byte
- func (m *RelayCacheSet) GetBlocksHashesToHeights() []*BlockHashToHeight
- func (m *RelayCacheSet) GetChainId() string
- func (m *RelayCacheSet) GetFinalized() bool
- func (m *RelayCacheSet) GetIsNodeError() bool
- func (m *RelayCacheSet) GetOptionalMetadata() []Metadata
- func (m *RelayCacheSet) GetRequestHash() []byte
- func (m *RelayCacheSet) GetRequestedBlock() int64
- func (m *RelayCacheSet) GetResponse() *RelayReply
- func (m *RelayCacheSet) GetSeenBlock() int64
- func (m *RelayCacheSet) GetSharedStateId() string
- 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 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) GetSeenBlock() int64
- 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() []*ReportedProvider
- 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 ReportedProvider
- func (*ReportedProvider) Descriptor() ([]byte, []int)
- func (m *ReportedProvider) GetAddress() string
- func (m *ReportedProvider) GetDisconnections() uint64
- func (m *ReportedProvider) GetErrors() uint64
- func (m *ReportedProvider) GetTimestampS() int64
- func (m *ReportedProvider) Marshal() (dAtA []byte, err error)
- func (m *ReportedProvider) MarshalTo(dAtA []byte) (int, error)
- func (m *ReportedProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ReportedProvider) ProtoMessage()
- func (m *ReportedProvider) Reset()
- func (m *ReportedProvider) Size() (n int)
- func (m *ReportedProvider) String() string
- func (m *ReportedProvider) Unmarshal(dAtA []byte) error
- func (m *ReportedProvider) XXX_DiscardUnknown()
- func (m *ReportedProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ReportedProvider) XXX_Merge(src proto.Message)
- func (m *ReportedProvider) XXX_Size() int
- func (m *ReportedProvider) XXX_Unmarshal(b []byte) error
- type SpecKeeper
- type StakingKeeper
- 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 SubscriptionPayout
- func (*SubscriptionPayout) Descriptor() ([]byte, []int)
- func (m *SubscriptionPayout) GetAmount() uint64
- func (m *SubscriptionPayout) GetChainId() string
- func (m *SubscriptionPayout) GetSubscription() string
- func (m *SubscriptionPayout) Marshal() (dAtA []byte, err error)
- func (m *SubscriptionPayout) MarshalTo(dAtA []byte) (int, error)
- func (m *SubscriptionPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SubscriptionPayout) ProtoMessage()
- func (m *SubscriptionPayout) Reset()
- func (m *SubscriptionPayout) Size() (n int)
- func (m *SubscriptionPayout) String() string
- func (m *SubscriptionPayout) Unmarshal(dAtA []byte) error
- func (m *SubscriptionPayout) XXX_DiscardUnknown()
- func (m *SubscriptionPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubscriptionPayout) XXX_Merge(src proto.Message)
- func (m *SubscriptionPayout) XXX_Size() int
- func (m *SubscriptionPayout) XXX_Unmarshal(b []byte) error
- type TimerStoreKeeper
- 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) GetPairing(ctx context.Context, req *QueryGetPairingRequest) (*QueryGetPairingResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Provider(ctx context.Context, req *QueryProviderRequest) (*QueryProviderResponse, error)
- func (*UnimplementedQueryServer) ProviderMonthlyPayout(ctx context.Context, req *QueryProviderMonthlyPayoutRequest) (*QueryProviderMonthlyPayoutResponse, error)
- func (*UnimplementedQueryServer) ProviderPairingChance(ctx context.Context, req *QueryProviderPairingChanceRequest) (*QueryProviderPairingChanceResponse, error)
- func (*UnimplementedQueryServer) Providers(ctx context.Context, req *QueryProvidersRequest) (*QueryProvidersResponse, error)
- func (*UnimplementedQueryServer) ProvidersEpochCu(ctx context.Context, req *QueryProvidersEpochCuRequest) (*QueryProvidersEpochCuResponse, error)
- func (*UnimplementedQueryServer) SdkPairing(ctx context.Context, req *QueryGetPairingRequest) (*QuerySdkPairingResponse, error)
- func (*UnimplementedQueryServer) StaticProvidersList(ctx context.Context, req *QueryStaticProvidersListRequest) (*QueryStaticProvidersListResponse, error)
- func (*UnimplementedQueryServer) SubscriptionMonthlyPayout(ctx context.Context, req *QuerySubscriptionMonthlyPayoutRequest) (*QuerySubscriptionMonthlyPayoutResponse, 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) (*CacheRelayReply, 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 *ProbeRequest) (*ProbeReply, error)
- func (*UnimplementedRelayerServer) Relay(ctx context.Context, req *RelayRequest) (*RelayReply, error)
- func (*UnimplementedRelayerServer) RelaySubscribe(req *RelayRequest, srv Relayer_RelaySubscribeServer) error
- type UniqueEpochSession
- func (*UniqueEpochSession) Descriptor() ([]byte, []int)
- func (m *UniqueEpochSession) Marshal() (dAtA []byte, err error)
- func (m *UniqueEpochSession) MarshalTo(dAtA []byte) (int, error)
- func (m *UniqueEpochSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniqueEpochSession) ProtoMessage()
- func (m *UniqueEpochSession) Reset()
- func (m *UniqueEpochSession) Size() (n int)
- func (m *UniqueEpochSession) String() string
- func (m *UniqueEpochSession) Unmarshal(dAtA []byte) error
- func (m *UniqueEpochSession) XXX_DiscardUnknown()
- func (m *UniqueEpochSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniqueEpochSession) XXX_Merge(src proto.Message)
- func (m *UniqueEpochSession) XXX_Size() int
- func (m *UniqueEpochSession) XXX_Unmarshal(b []byte) error
- type UniqueEpochSessionGenesis
- func (*UniqueEpochSessionGenesis) Descriptor() ([]byte, []int)
- func (m *UniqueEpochSessionGenesis) GetChainId() string
- func (m *UniqueEpochSessionGenesis) GetEpoch() uint64
- func (m *UniqueEpochSessionGenesis) GetProject() string
- func (m *UniqueEpochSessionGenesis) GetProvider() string
- func (m *UniqueEpochSessionGenesis) GetSessionId() uint64
- func (m *UniqueEpochSessionGenesis) Marshal() (dAtA []byte, err error)
- func (m *UniqueEpochSessionGenesis) MarshalTo(dAtA []byte) (int, error)
- func (m *UniqueEpochSessionGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UniqueEpochSessionGenesis) ProtoMessage()
- func (m *UniqueEpochSessionGenesis) Reset()
- func (m *UniqueEpochSessionGenesis) Size() (n int)
- func (m *UniqueEpochSessionGenesis) String() string
- func (m *UniqueEpochSessionGenesis) Unmarshal(dAtA []byte) error
- func (m *UniqueEpochSessionGenesis) XXX_DiscardUnknown()
- func (m *UniqueEpochSessionGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UniqueEpochSessionGenesis) XXX_Merge(src proto.Message)
- func (m *UniqueEpochSessionGenesis) XXX_Size() int
- func (m *UniqueEpochSessionGenesis) XXX_Unmarshal(b []byte) error
- type UnstakeProposal
- func (*UnstakeProposal) Descriptor() ([]byte, []int)
- func (up *UnstakeProposal) GetDescription() string
- func (up *UnstakeProposal) GetTitle() string
- func (m *UnstakeProposal) Marshal() (dAtA []byte, err error)
- func (m *UnstakeProposal) MarshalTo(dAtA []byte) (int, error)
- func (m *UnstakeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (up *UnstakeProposal) ProposalRoute() string
- func (up *UnstakeProposal) ProposalType() string
- func (*UnstakeProposal) ProtoMessage()
- func (m *UnstakeProposal) Reset()
- func (m *UnstakeProposal) Size() (n int)
- func (m *UnstakeProposal) String() string
- func (m *UnstakeProposal) Unmarshal(dAtA []byte) error
- func (up *UnstakeProposal) ValidateBasic() error
- func (m *UnstakeProposal) XXX_DiscardUnknown()
- func (m *UnstakeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnstakeProposal) XXX_Merge(src proto.Message)
- func (m *UnstakeProposal) XXX_Size() int
- func (m *UnstakeProposal) XXX_Unmarshal(b []byte) error
Constants ¶
const ( UniqueEpochSessionPrefix = "UniqueEpochSession/" ProviderEpochCuPrefix = "ProviderEpochCu/" ProviderEpochComplainerCuPrefix = "ProviderEpochComplainerCu/" ProviderConsumerEpochCuPrefix = "ProviderConsumerEpochCu/" )
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 // Proposals router keys ProposalsRouterKey = "pairingproposals" // 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" RelayPaymentEventName = "relay_payment" ProviderTemporaryJailedEventName = "provider_temporary_jailed" ProviderFreezeJailedEventName = "provider_jailed" ProviderReportedEventName = "provider_reported" LatestBlocksReportEventName = "provider_latest_block_report" RejectedCuEventName = "rejected_cu" UnstakeProposalEventName = "unstake_gov_proposal" )
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" FlagCommission = "delegate-commission" FlagDelegationLimit = "delegate-limit" FlagProvider = "provider" FlagIdentity = "identity" FlagWebsite = "website" FlagSecurityContact = "security-contact" FlagDescriptionDetails = "description-details" FlagGrantFeeAuth = "grant-provider-gas-fees-auth" MAX_ENDPOINTS_AMOUNT_PER_GEO = 5 // max number of endpoints per geolocation for provider stake entry )
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 (
ProposalUnstake = "PairingUnstake"
)
const ProviderQosStorePrefix = "ProviderQosStore/"
const TypeMsgRelayPayment = "relay_payment"
const TypeMsgStakeProvider = "stake_provider"
const TypeMsgUnfreeze = "unfreeze"
const TypeMsgUnstakeProvider = "unstake_provider"
Variables ¶
var ( ErrInvalidLengthAccountInfo = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowAccountInfo = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupAccountInfo = fmt.Errorf("proto: unexpected end of group") )
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.NewAminoCodec(Amino) )
var ( ErrInvalidLengthDebugQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowDebugQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupDebugQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthEpochCu = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowEpochCu = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupEpochCu = 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") InvalidDescriptionError = sdkerrors.New("InvalidDescriptionError Error", 691, "The provider's description is invalid") GeolocationNotMatchWithEndpointsError = sdkerrors.New("GeolocationNotMatchWithEndpointsError Error", 693, "The combination of the endpoints' geolocation does not match to the provider's geolocation") DelegateCommissionOOBError = sdkerrors.New("DelegateCommissionOOBError Error", 694, "Delegation commission out of bound [0,100]") DelegateLimitError = sdkerrors.New("DelegateLimitError Error", 695, "Delegation limit coin is invalid") ProviderRewardError = sdkerrors.New("ProviderRewardError Error", 696, "Could not calculate provider reward with delegations") UnFreezeInsufficientStakeError = sdkerrors.New("UnFreezeInsufficientStakeError Error", 697, "Could not unfreeze provider due to insufficient stake. Stake must be above minimum stake to unfreeze") InvalidCreatorAddressError = sdkerrors.New("InvalidCreatorAddressError Error", 698, "The creator address is invalid") AmountCoinError = sdkerrors.New("AmountCoinError Error", 699, "Amount limit coin is invalid") UnFreezeJailedStakeError = sdkerrors.New("UnFreezeJailedStakeError Error", 700, "Could not unfreeze provider due to being jailed") )
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 ( KeyEpochBlocksOverlap = []byte("EpochBlocksOverlap") // TODO: Determine the default value DefaultEpochBlocksOverlap uint64 = 4 )
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 ( 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 ( ErrInvalidLengthUnstakeProposal = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowUnstakeProposal = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupUnstakeProposal = fmt.Errorf("proto: unexpected end of group") )
var PairingRelayCachePrefix = []byte("PairingRelayCache")
Functions ¶
func BadgeUsedCuKey ¶
BadgeUsedCuKey returns the store key to retrieve a BadgeUsedCu from the index fields
func NewPairingCacheKey ¶ added in v2.4.0
func ParamKeyTable ¶
func ParamKeyTable() paramtypes.KeyTable
ParamKeyTable the param key table for launch module
func ProviderConsumerEpochCuKeyPrefix ¶
func ProviderConsumerEpochCuKeyPrefix() []byte
func ProviderEpochComplainerCuKeyPrefix ¶
func ProviderEpochComplainerCuKeyPrefix() []byte
func ProviderEpochCuKey ¶
func ProviderEpochCuKeyPrefix ¶
func ProviderEpochCuKeyPrefix() []byte
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 UniqueEpochSessionKey ¶
func UniqueEpochSessionKeyPrefix ¶
func UniqueEpochSessionKeyPrefix() []byte
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"` VirtualEpoch uint64 `protobuf:"varint,6,opt,name=virtual_epoch,json=virtualEpoch,proto3" json:"virtual_epoch,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) GetVirtualEpoch ¶
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 BlockHashToHeight ¶ added in v2.4.0
type BlockHashToHeight struct { Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height int64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` }
func (*BlockHashToHeight) Descriptor ¶ added in v2.4.0
func (*BlockHashToHeight) Descriptor() ([]byte, []int)
func (*BlockHashToHeight) GetHash ¶ added in v2.4.0
func (m *BlockHashToHeight) GetHash() string
func (*BlockHashToHeight) GetHeight ¶ added in v2.4.0
func (m *BlockHashToHeight) GetHeight() int64
func (*BlockHashToHeight) Marshal ¶ added in v2.4.0
func (m *BlockHashToHeight) Marshal() (dAtA []byte, err error)
func (*BlockHashToHeight) MarshalTo ¶ added in v2.4.0
func (m *BlockHashToHeight) MarshalTo(dAtA []byte) (int, error)
func (*BlockHashToHeight) MarshalToSizedBuffer ¶ added in v2.4.0
func (m *BlockHashToHeight) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BlockHashToHeight) ProtoMessage ¶ added in v2.4.0
func (*BlockHashToHeight) ProtoMessage()
func (*BlockHashToHeight) Reset ¶ added in v2.4.0
func (m *BlockHashToHeight) Reset()
func (*BlockHashToHeight) Size ¶ added in v2.4.0
func (m *BlockHashToHeight) Size() (n int)
func (*BlockHashToHeight) String ¶ added in v2.4.0
func (m *BlockHashToHeight) String() string
func (*BlockHashToHeight) Unmarshal ¶ added in v2.4.0
func (m *BlockHashToHeight) Unmarshal(dAtA []byte) error
func (*BlockHashToHeight) XXX_DiscardUnknown ¶ added in v2.4.0
func (m *BlockHashToHeight) XXX_DiscardUnknown()
func (*BlockHashToHeight) XXX_Marshal ¶ added in v2.4.0
func (m *BlockHashToHeight) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BlockHashToHeight) XXX_Merge ¶ added in v2.4.0
func (m *BlockHashToHeight) XXX_Merge(src proto.Message)
func (*BlockHashToHeight) XXX_Size ¶ added in v2.4.0
func (m *BlockHashToHeight) XXX_Size() int
func (*BlockHashToHeight) XXX_Unmarshal ¶ added in v2.4.0
func (m *BlockHashToHeight) XXX_Unmarshal(b []byte) error
type CacheHash ¶
type CacheHash struct { Request *RelayPrivateData `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` }
data containing the cache key hash
func (*CacheHash) Descriptor ¶
func (*CacheHash) GetChainId ¶
func (*CacheHash) GetRequest ¶
func (m *CacheHash) GetRequest() *RelayPrivateData
func (*CacheHash) MarshalToSizedBuffer ¶
func (*CacheHash) ProtoMessage ¶
func (*CacheHash) ProtoMessage()
func (*CacheHash) XXX_DiscardUnknown ¶
func (m *CacheHash) XXX_DiscardUnknown()
func (*CacheHash) XXX_Marshal ¶
func (*CacheHash) XXX_Unmarshal ¶
type CacheRelayReply ¶
type CacheRelayReply struct { Reply *RelayReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"` OptionalMetadata []Metadata `protobuf:"bytes,2,rep,name=optional_metadata,json=optionalMetadata,proto3" json:"optional_metadata"` SeenBlock int64 `protobuf:"varint,3,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"` BlocksHashesToHeights []*BlockHashToHeight `` /* 128-byte string literal not displayed */ }
func (*CacheRelayReply) Descriptor ¶
func (*CacheRelayReply) Descriptor() ([]byte, []int)
func (*CacheRelayReply) GetBlocksHashesToHeights ¶ added in v2.4.0
func (m *CacheRelayReply) GetBlocksHashesToHeights() []*BlockHashToHeight
func (*CacheRelayReply) GetOptionalMetadata ¶
func (m *CacheRelayReply) GetOptionalMetadata() []Metadata
func (*CacheRelayReply) GetReply ¶
func (m *CacheRelayReply) GetReply() *RelayReply
func (*CacheRelayReply) GetSeenBlock ¶
func (m *CacheRelayReply) GetSeenBlock() int64
func (*CacheRelayReply) Marshal ¶
func (m *CacheRelayReply) Marshal() (dAtA []byte, err error)
func (*CacheRelayReply) MarshalToSizedBuffer ¶
func (m *CacheRelayReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*CacheRelayReply) ProtoMessage ¶
func (*CacheRelayReply) ProtoMessage()
func (*CacheRelayReply) Reset ¶
func (m *CacheRelayReply) Reset()
func (*CacheRelayReply) Size ¶
func (m *CacheRelayReply) Size() (n int)
func (*CacheRelayReply) String ¶
func (m *CacheRelayReply) String() string
func (*CacheRelayReply) Unmarshal ¶
func (m *CacheRelayReply) Unmarshal(dAtA []byte) error
func (*CacheRelayReply) XXX_DiscardUnknown ¶
func (m *CacheRelayReply) XXX_DiscardUnknown()
func (*CacheRelayReply) XXX_Marshal ¶
func (m *CacheRelayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CacheRelayReply) XXX_Merge ¶
func (m *CacheRelayReply) XXX_Merge(src proto.Message)
func (*CacheRelayReply) XXX_Size ¶
func (m *CacheRelayReply) XXX_Size() int
func (*CacheRelayReply) XXX_Unmarshal ¶
func (m *CacheRelayReply) XXX_Unmarshal(b []byte) error
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 ChainIDPayout ¶
type ChainIDPayout struct { ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Payouts []*ProviderPayout `protobuf:"bytes,2,rep,name=payouts,proto3" json:"payouts,omitempty"` }
func (*ChainIDPayout) Descriptor ¶
func (*ChainIDPayout) Descriptor() ([]byte, []int)
func (*ChainIDPayout) GetChainId ¶
func (m *ChainIDPayout) GetChainId() string
func (*ChainIDPayout) GetPayouts ¶
func (m *ChainIDPayout) GetPayouts() []*ProviderPayout
func (*ChainIDPayout) Marshal ¶
func (m *ChainIDPayout) Marshal() (dAtA []byte, err error)
func (*ChainIDPayout) MarshalToSizedBuffer ¶
func (m *ChainIDPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ChainIDPayout) ProtoMessage ¶
func (*ChainIDPayout) ProtoMessage()
func (*ChainIDPayout) Reset ¶
func (m *ChainIDPayout) Reset()
func (*ChainIDPayout) Size ¶
func (m *ChainIDPayout) Size() (n int)
func (*ChainIDPayout) String ¶
func (m *ChainIDPayout) String() string
func (*ChainIDPayout) Unmarshal ¶
func (m *ChainIDPayout) Unmarshal(dAtA []byte) error
func (*ChainIDPayout) XXX_DiscardUnknown ¶
func (m *ChainIDPayout) XXX_DiscardUnknown()
func (*ChainIDPayout) XXX_Marshal ¶
func (m *ChainIDPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ChainIDPayout) XXX_Merge ¶
func (m *ChainIDPayout) XXX_Merge(src proto.Message)
func (*ChainIDPayout) XXX_Size ¶
func (m *ChainIDPayout) XXX_Size() int
func (*ChainIDPayout) XXX_Unmarshal ¶
func (m *ChainIDPayout) XXX_Unmarshal(b []byte) error
type DelegatorSlashing ¶
type DelegatorSlashing struct { Delegator string `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"` SlashingAmount types.Coin `protobuf:"bytes,2,opt,name=slashing_amount,json=slashingAmount,proto3" json:"slashing_amount"` }
func (*DelegatorSlashing) Descriptor ¶
func (*DelegatorSlashing) Descriptor() ([]byte, []int)
func (*DelegatorSlashing) GetDelegator ¶
func (m *DelegatorSlashing) GetDelegator() string
func (*DelegatorSlashing) GetSlashingAmount ¶
func (m *DelegatorSlashing) GetSlashingAmount() types.Coin
func (*DelegatorSlashing) Marshal ¶
func (m *DelegatorSlashing) Marshal() (dAtA []byte, err error)
func (*DelegatorSlashing) MarshalTo ¶
func (m *DelegatorSlashing) MarshalTo(dAtA []byte) (int, error)
func (*DelegatorSlashing) MarshalToSizedBuffer ¶
func (m *DelegatorSlashing) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*DelegatorSlashing) ProtoMessage ¶
func (*DelegatorSlashing) ProtoMessage()
func (*DelegatorSlashing) Reset ¶
func (m *DelegatorSlashing) Reset()
func (*DelegatorSlashing) Size ¶
func (m *DelegatorSlashing) Size() (n int)
func (*DelegatorSlashing) String ¶
func (m *DelegatorSlashing) String() string
func (*DelegatorSlashing) Unmarshal ¶
func (m *DelegatorSlashing) Unmarshal(dAtA []byte) error
func (*DelegatorSlashing) XXX_DiscardUnknown ¶
func (m *DelegatorSlashing) XXX_DiscardUnknown()
func (*DelegatorSlashing) XXX_Marshal ¶
func (m *DelegatorSlashing) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DelegatorSlashing) XXX_Merge ¶
func (m *DelegatorSlashing) XXX_Merge(src proto.Message)
func (*DelegatorSlashing) XXX_Size ¶
func (m *DelegatorSlashing) XXX_Size() int
func (*DelegatorSlashing) XXX_Unmarshal ¶
func (m *DelegatorSlashing) XXX_Unmarshal(b []byte) error
type DowntimeKeeper ¶
type DualstakingKeeper ¶
type DualstakingKeeper interface { RewardProvidersAndDelegators(ctx sdk.Context, providerAddr string, chainID string, totalReward sdk.Coins, senderModule string, calcOnlyProvider bool, calcOnlyDelegators bool, calcOnlyContributor bool) (providerReward sdk.Coins, totalRewards sdk.Coins, err error) DelegateFull(ctx sdk.Context, delegator string, validator string, provider string, chainID string, amount sdk.Coin) error UnbondFull(ctx sdk.Context, delegator string, validator string, provider string, chainID string, amount sdk.Coin, unstake bool) error GetProviderDelegators(ctx sdk.Context, provider string, epoch uint64) ([]dualstakingtypes.Delegation, error) MinSelfDelegation(ctx sdk.Context) sdk.Coin }
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 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, blockInEpoch uint64, err error) GetPreviousEpochStartForBlock(ctx sdk.Context, block uint64) (previousEpochStart uint64, erro error) GetNextEpoch(ctx sdk.Context, block uint64) (nextEpoch uint64, erro error) GetCurrentNextEpoch(ctx sdk.Context) (nextEpoch uint64) AddFixationRegistry(fixationKey string, getParamFunction func(sdk.Context) any) GetDeletedEpochs(ctx sdk.Context) []uint64 EpochBlocks(ctx sdk.Context, block uint64) (res uint64, err error) EpochBlocksRaw(ctx sdk.Context) (res uint64) GetStakeEntryCurrent(ctx sdk.Context, chainID string, provider string) (val epochstoragetypes.StakeEntry, found bool) GetAllStakeEntriesCurrentForChainId(ctx sdk.Context, chainID string) []epochstoragetypes.StakeEntry GetAllStakeEntriesForEpochChainId(ctx sdk.Context, epoch uint64, chainID string) []epochstoragetypes.StakeEntry SetStakeEntryCurrent(ctx sdk.Context, stakeEntry epochstoragetypes.StakeEntry) GetAllStakeEntriesCurrent(ctx sdk.Context) []epochstoragetypes.StakeEntry RemoveStakeEntryCurrent(ctx sdk.Context, chainID string, provider string) GetEpochHash(ctx sdk.Context, epoch uint64) []byte }
type FixationStoreKeeper ¶
type FixationStoreKeeper interface {
NewFixationStore(storeKey storetypes.StoreKey, prefix string) *fixationstoretypes.FixationStore
}
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"` GetPairingResponse *QueryGetPairingResponse `protobuf:"bytes,2,opt,name=get_pairing_response,json=getPairingResponse,proto3" json:"get_pairing_response,omitempty"` BadgeSignerAddress string `protobuf:"bytes,3,opt,name=badge_signer_address,json=badgeSignerAddress,proto3" json:"badge_signer_address,omitempty"` Spec *types.Spec `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,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) GetGetPairingResponse ¶
func (m *GenerateBadgeResponse) GetGetPairingResponse() *QueryGetPairingResponse
func (*GenerateBadgeResponse) GetSpec ¶
func (m *GenerateBadgeResponse) GetSpec() *types.Spec
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"` BadgeUsedCuList []BadgeUsedCu `protobuf:"bytes,5,rep,name=badgeUsedCuList,proto3" json:"badgeUsedCuList"` BadgesTS types.GenesisState `protobuf:"bytes,6,opt,name=badgesTS,proto3" json:"badgesTS"` ProviderQosFS types1.GenesisState `protobuf:"bytes,7,opt,name=providerQosFS,proto3" json:"providerQosFS"` UniqueEpochSessions []UniqueEpochSessionGenesis `protobuf:"bytes,8,rep,name=unique_epoch_sessions,json=uniqueEpochSessions,proto3" json:"unique_epoch_sessions"` ProviderEpochCus []ProviderEpochCuGenesis `protobuf:"bytes,9,rep,name=provider_epoch_cus,json=providerEpochCus,proto3" json:"provider_epoch_cus"` ProviderEpochComplainedCus []ProviderEpochComplainerCuGenesis `` /* 134-byte string literal not displayed */ ProviderConsumerEpochCus []ProviderConsumerEpochCuGenesis `` /* 128-byte string literal not displayed */ }
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.GenesisState
func (*GenesisState) GetParams ¶
func (m *GenesisState) GetParams() Params
func (*GenesisState) GetProviderConsumerEpochCus ¶
func (m *GenesisState) GetProviderConsumerEpochCus() []ProviderConsumerEpochCuGenesis
func (*GenesisState) GetProviderEpochComplainedCus ¶
func (m *GenesisState) GetProviderEpochComplainedCus() []ProviderEpochComplainerCuGenesis
func (*GenesisState) GetProviderEpochCus ¶
func (m *GenesisState) GetProviderEpochCus() []ProviderEpochCuGenesis
func (*GenesisState) GetProviderQosFS ¶
func (m *GenesisState) GetProviderQosFS() types1.GenesisState
func (*GenesisState) GetUniqueEpochSessions ¶
func (m *GenesisState) GetUniqueEpochSessions() []UniqueEpochSessionGenesis
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 LatestBlockReport ¶
type LatestBlockReport struct { SpecId string `protobuf:"bytes,1,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` LatestBlock uint64 `protobuf:"varint,2,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"` }
func (*LatestBlockReport) Descriptor ¶
func (*LatestBlockReport) Descriptor() ([]byte, []int)
func (*LatestBlockReport) GetLatestBlock ¶
func (m *LatestBlockReport) GetLatestBlock() uint64
func (*LatestBlockReport) GetSpecId ¶
func (m *LatestBlockReport) GetSpecId() string
func (*LatestBlockReport) Marshal ¶
func (m *LatestBlockReport) Marshal() (dAtA []byte, err error)
func (*LatestBlockReport) MarshalTo ¶
func (m *LatestBlockReport) MarshalTo(dAtA []byte) (int, error)
func (*LatestBlockReport) MarshalToSizedBuffer ¶
func (m *LatestBlockReport) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*LatestBlockReport) ProtoMessage ¶
func (*LatestBlockReport) ProtoMessage()
func (*LatestBlockReport) Reset ¶
func (m *LatestBlockReport) Reset()
func (*LatestBlockReport) Size ¶
func (m *LatestBlockReport) Size() (n int)
func (*LatestBlockReport) String ¶
func (m *LatestBlockReport) String() string
func (*LatestBlockReport) Unmarshal ¶
func (m *LatestBlockReport) Unmarshal(dAtA []byte) error
func (*LatestBlockReport) XXX_DiscardUnknown ¶
func (m *LatestBlockReport) XXX_DiscardUnknown()
func (*LatestBlockReport) XXX_Marshal ¶
func (m *LatestBlockReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LatestBlockReport) XXX_Merge ¶
func (m *LatestBlockReport) XXX_Merge(src proto.Message)
func (*LatestBlockReport) XXX_Size ¶
func (m *LatestBlockReport) XXX_Size() int
func (*LatestBlockReport) XXX_Unmarshal ¶
func (m *LatestBlockReport) 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 MockRelayerClient ¶ added in v2.4.0
type MockRelayerClient struct {
// contains filtered or unexported fields
}
MockRelayerClient is a mock of RelayerClient interface.
func NewMockRelayerClient ¶ added in v2.4.0
func NewMockRelayerClient(ctrl *gomock.Controller) *MockRelayerClient
NewMockRelayerClient creates a new mock instance.
func (*MockRelayerClient) EXPECT ¶ added in v2.4.0
func (m *MockRelayerClient) EXPECT() *MockRelayerClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelayerClient) Probe ¶ added in v2.4.0
func (m *MockRelayerClient) Probe(ctx context.Context, in *ProbeRequest, opts ...grpc.CallOption) (*ProbeReply, error)
Probe mocks base method.
func (*MockRelayerClient) Relay ¶ added in v2.4.0
func (m *MockRelayerClient) Relay(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (*RelayReply, error)
Relay mocks base method.
func (*MockRelayerClient) RelaySubscribe ¶ added in v2.4.0
func (m *MockRelayerClient) RelaySubscribe(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (Relayer_RelaySubscribeClient, error)
RelaySubscribe mocks base method.
type MockRelayerClientMockRecorder ¶ added in v2.4.0
type MockRelayerClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayerClientMockRecorder is the mock recorder for MockRelayerClient.
func (*MockRelayerClientMockRecorder) Probe ¶ added in v2.4.0
func (mr *MockRelayerClientMockRecorder) Probe(ctx, in any, opts ...any) *gomock.Call
Probe indicates an expected call of Probe.
func (*MockRelayerClientMockRecorder) Relay ¶ added in v2.4.0
func (mr *MockRelayerClientMockRecorder) Relay(ctx, in any, opts ...any) *gomock.Call
Relay indicates an expected call of Relay.
func (*MockRelayerClientMockRecorder) RelaySubscribe ¶ added in v2.4.0
func (mr *MockRelayerClientMockRecorder) RelaySubscribe(ctx, in any, opts ...any) *gomock.Call
RelaySubscribe indicates an expected call of RelaySubscribe.
type MockRelayerServer ¶ added in v2.4.0
type MockRelayerServer struct {
// contains filtered or unexported fields
}
MockRelayerServer is a mock of RelayerServer interface.
func NewMockRelayerServer ¶ added in v2.4.0
func NewMockRelayerServer(ctrl *gomock.Controller) *MockRelayerServer
NewMockRelayerServer creates a new mock instance.
func (*MockRelayerServer) EXPECT ¶ added in v2.4.0
func (m *MockRelayerServer) EXPECT() *MockRelayerServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelayerServer) Probe ¶ added in v2.4.0
func (m *MockRelayerServer) Probe(arg0 context.Context, arg1 *ProbeRequest) (*ProbeReply, error)
Probe mocks base method.
func (*MockRelayerServer) Relay ¶ added in v2.4.0
func (m *MockRelayerServer) Relay(arg0 context.Context, arg1 *RelayRequest) (*RelayReply, error)
Relay mocks base method.
func (*MockRelayerServer) RelaySubscribe ¶ added in v2.4.0
func (m *MockRelayerServer) RelaySubscribe(arg0 *RelayRequest, arg1 Relayer_RelaySubscribeServer) error
RelaySubscribe mocks base method.
type MockRelayerServerMockRecorder ¶ added in v2.4.0
type MockRelayerServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayerServerMockRecorder is the mock recorder for MockRelayerServer.
func (*MockRelayerServerMockRecorder) Probe ¶ added in v2.4.0
func (mr *MockRelayerServerMockRecorder) Probe(arg0, arg1 any) *gomock.Call
Probe indicates an expected call of Probe.
func (*MockRelayerServerMockRecorder) Relay ¶ added in v2.4.0
func (mr *MockRelayerServerMockRecorder) Relay(arg0, arg1 any) *gomock.Call
Relay indicates an expected call of Relay.
func (*MockRelayerServerMockRecorder) RelaySubscribe ¶ added in v2.4.0
func (mr *MockRelayerServerMockRecorder) RelaySubscribe(arg0, arg1 any) *gomock.Call
RelaySubscribe indicates an expected call of RelaySubscribe.
type MockRelayer_RelaySubscribeClient ¶ added in v2.4.0
type MockRelayer_RelaySubscribeClient struct {
// contains filtered or unexported fields
}
MockRelayer_RelaySubscribeClient is a mock of Relayer_RelaySubscribeClient interface.
func NewMockRelayer_RelaySubscribeClient ¶ added in v2.4.0
func NewMockRelayer_RelaySubscribeClient(ctrl *gomock.Controller) *MockRelayer_RelaySubscribeClient
NewMockRelayer_RelaySubscribeClient creates a new mock instance.
func (*MockRelayer_RelaySubscribeClient) CloseSend ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeClient) CloseSend() error
CloseSend mocks base method.
func (*MockRelayer_RelaySubscribeClient) Context ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeClient) Context() context.Context
Context mocks base method.
func (*MockRelayer_RelaySubscribeClient) EXPECT ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeClient) EXPECT() *MockRelayer_RelaySubscribeClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelayer_RelaySubscribeClient) Header ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeClient) Header() (metadata.MD, error)
Header mocks base method.
func (*MockRelayer_RelaySubscribeClient) Recv ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeClient) Recv() (*RelayReply, error)
Recv mocks base method.
func (*MockRelayer_RelaySubscribeClient) RecvMsg ¶ added in v2.4.0
func (m_2 *MockRelayer_RelaySubscribeClient) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockRelayer_RelaySubscribeClient) SendMsg ¶ added in v2.4.0
func (m_2 *MockRelayer_RelaySubscribeClient) SendMsg(m any) error
SendMsg mocks base method.
func (*MockRelayer_RelaySubscribeClient) Trailer ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeClient) Trailer() metadata.MD
Trailer mocks base method.
type MockRelayer_RelaySubscribeClientMockRecorder ¶ added in v2.4.0
type MockRelayer_RelaySubscribeClientMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayer_RelaySubscribeClientMockRecorder is the mock recorder for MockRelayer_RelaySubscribeClient.
func (*MockRelayer_RelaySubscribeClientMockRecorder) CloseSend ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) CloseSend() *gomock.Call
CloseSend indicates an expected call of CloseSend.
func (*MockRelayer_RelaySubscribeClientMockRecorder) Context ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockRelayer_RelaySubscribeClientMockRecorder) Header ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Header() *gomock.Call
Header indicates an expected call of Header.
func (*MockRelayer_RelaySubscribeClientMockRecorder) Recv ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Recv() *gomock.Call
Recv indicates an expected call of Recv.
func (*MockRelayer_RelaySubscribeClientMockRecorder) RecvMsg ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockRelayer_RelaySubscribeClientMockRecorder) SendMsg ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockRelayer_RelaySubscribeClientMockRecorder) Trailer ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeClientMockRecorder) Trailer() *gomock.Call
Trailer indicates an expected call of Trailer.
type MockRelayer_RelaySubscribeServer ¶ added in v2.4.0
type MockRelayer_RelaySubscribeServer struct {
// contains filtered or unexported fields
}
MockRelayer_RelaySubscribeServer is a mock of Relayer_RelaySubscribeServer interface.
func NewMockRelayer_RelaySubscribeServer ¶ added in v2.4.0
func NewMockRelayer_RelaySubscribeServer(ctrl *gomock.Controller) *MockRelayer_RelaySubscribeServer
NewMockRelayer_RelaySubscribeServer creates a new mock instance.
func (*MockRelayer_RelaySubscribeServer) Context ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeServer) Context() context.Context
Context mocks base method.
func (*MockRelayer_RelaySubscribeServer) EXPECT ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeServer) EXPECT() *MockRelayer_RelaySubscribeServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRelayer_RelaySubscribeServer) RecvMsg ¶ added in v2.4.0
func (m_2 *MockRelayer_RelaySubscribeServer) RecvMsg(m any) error
RecvMsg mocks base method.
func (*MockRelayer_RelaySubscribeServer) Send ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeServer) Send(arg0 *RelayReply) error
Send mocks base method.
func (*MockRelayer_RelaySubscribeServer) SendHeader ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeServer) SendHeader(arg0 metadata.MD) error
SendHeader mocks base method.
func (*MockRelayer_RelaySubscribeServer) SendMsg ¶ added in v2.4.0
func (m_2 *MockRelayer_RelaySubscribeServer) SendMsg(m any) error
SendMsg mocks base method.
func (*MockRelayer_RelaySubscribeServer) SetHeader ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeServer) SetHeader(arg0 metadata.MD) error
SetHeader mocks base method.
func (*MockRelayer_RelaySubscribeServer) SetTrailer ¶ added in v2.4.0
func (m *MockRelayer_RelaySubscribeServer) SetTrailer(arg0 metadata.MD)
SetTrailer mocks base method.
type MockRelayer_RelaySubscribeServerMockRecorder ¶ added in v2.4.0
type MockRelayer_RelaySubscribeServerMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayer_RelaySubscribeServerMockRecorder is the mock recorder for MockRelayer_RelaySubscribeServer.
func (*MockRelayer_RelaySubscribeServerMockRecorder) Context ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) Context() *gomock.Call
Context indicates an expected call of Context.
func (*MockRelayer_RelaySubscribeServerMockRecorder) RecvMsg ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) RecvMsg(m any) *gomock.Call
RecvMsg indicates an expected call of RecvMsg.
func (*MockRelayer_RelaySubscribeServerMockRecorder) Send ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) Send(arg0 any) *gomock.Call
Send indicates an expected call of Send.
func (*MockRelayer_RelaySubscribeServerMockRecorder) SendHeader ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SendHeader(arg0 any) *gomock.Call
SendHeader indicates an expected call of SendHeader.
func (*MockRelayer_RelaySubscribeServerMockRecorder) SendMsg ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SendMsg(m any) *gomock.Call
SendMsg indicates an expected call of SendMsg.
func (*MockRelayer_RelaySubscribeServerMockRecorder) SetHeader ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SetHeader(arg0 any) *gomock.Call
SetHeader indicates an expected call of SetHeader.
func (*MockRelayer_RelaySubscribeServerMockRecorder) SetTrailer ¶ added in v2.4.0
func (mr *MockRelayer_RelaySubscribeServerMockRecorder) SetTrailer(arg0 any) *gomock.Call
SetTrailer indicates an expected call of SetTrailer.
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"` LatestBlockReports []*LatestBlockReport `protobuf:"bytes,5,rep,name=latest_block_reports,json=latestBlockReports,proto3" json:"latest_block_reports,omitempty"` }
func NewMsgRelayPayment ¶
func NewMsgRelayPayment(creator string, relays []*RelaySession, description string, latestBlocks []*LatestBlockReport) *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) GetLatestBlockReports ¶
func (m *MsgRelayPayment) GetLatestBlockReports() []*LatestBlockReport
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 {
RejectedRelays bool `protobuf:"varint,1,opt,name=rejected_relays,json=rejectedRelays,proto3" json:"rejected_relays,omitempty"`
}
func (*MsgRelayPaymentResponse) Descriptor ¶
func (*MsgRelayPaymentResponse) Descriptor() ([]byte, []int)
func (*MsgRelayPaymentResponse) GetRejectedRelays ¶
func (m *MsgRelayPaymentResponse) GetRejectedRelays() bool
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 int32 `protobuf:"varint,5,opt,name=geolocation,proto3" json:"geolocation,omitempty"` DelegateLimit types.Coin `protobuf:"bytes,7,opt,name=delegate_limit,json=delegateLimit,proto3" json:"delegate_limit"` DelegateCommission uint64 `protobuf:"varint,8,opt,name=delegate_commission,json=delegateCommission,proto3" json:"delegate_commission,omitempty"` Validator string `protobuf:"bytes,9,opt,name=validator,proto3" json:"validator,omitempty"` Address string `protobuf:"bytes,10,opt,name=address,proto3" json:"address,omitempty"` Description types2.Description `protobuf:"bytes,11,opt,name=description,proto3" json:"description"` }
func NewMsgStakeProvider ¶
func NewMsgStakeProvider(creator, validator, chainID string, amount sdk.Coin, endpoints []epochstoragetypes.Endpoint, geolocation int32, delegateLimit sdk.Coin, delegateCommission uint64, provider string, description stakingtypes.Description) *MsgStakeProvider
func (*MsgStakeProvider) Descriptor ¶
func (*MsgStakeProvider) Descriptor() ([]byte, []int)
func (*MsgStakeProvider) GetAddress ¶
func (m *MsgStakeProvider) GetAddress() string
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) GetDelegateCommission ¶
func (m *MsgStakeProvider) GetDelegateCommission() uint64
func (*MsgStakeProvider) GetDelegateLimit ¶
func (m *MsgStakeProvider) GetDelegateLimit() types.Coin
func (*MsgStakeProvider) GetDescription ¶
func (m *MsgStakeProvider) GetDescription() types2.Description
func (*MsgStakeProvider) GetEndpoints ¶
func (m *MsgStakeProvider) GetEndpoints() []types1.Endpoint
func (*MsgStakeProvider) GetGeolocation ¶
func (m *MsgStakeProvider) GetGeolocation() int32
func (*MsgStakeProvider) GetSignBytes ¶
func (msg *MsgStakeProvider) GetSignBytes() []byte
func (*MsgStakeProvider) GetSigners ¶
func (msg *MsgStakeProvider) GetSigners() []sdk.AccAddress
func (*MsgStakeProvider) GetValidator ¶
func (m *MsgStakeProvider) GetValidator() string
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"` Validator string `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"` }
func NewMsgUnstakeProvider ¶
func NewMsgUnstakeProvider(creator, chainID, validator 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) GetValidator ¶
func (m *MsgUnstakeProvider) GetValidator() string
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 PairingRelayCache ¶ added in v2.4.0
type PairingRelayCache struct { Entries []types.StakeEntry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries"` AllowedCu uint64 `protobuf:"varint,2,opt,name=allowed_cu,json=allowedCu,proto3" json:"allowed_cu,omitempty"` }
func (*PairingRelayCache) Descriptor ¶ added in v2.4.0
func (*PairingRelayCache) Descriptor() ([]byte, []int)
func (*PairingRelayCache) GetAllowedCu ¶ added in v2.4.0
func (m *PairingRelayCache) GetAllowedCu() uint64
func (*PairingRelayCache) GetEntries ¶ added in v2.4.0
func (m *PairingRelayCache) GetEntries() []types.StakeEntry
func (*PairingRelayCache) Marshal ¶ added in v2.4.0
func (m *PairingRelayCache) Marshal() (dAtA []byte, err error)
func (*PairingRelayCache) MarshalTo ¶ added in v2.4.0
func (m *PairingRelayCache) MarshalTo(dAtA []byte) (int, error)
func (*PairingRelayCache) MarshalToSizedBuffer ¶ added in v2.4.0
func (m *PairingRelayCache) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*PairingRelayCache) ProtoMessage ¶ added in v2.4.0
func (*PairingRelayCache) ProtoMessage()
func (*PairingRelayCache) Reset ¶ added in v2.4.0
func (m *PairingRelayCache) Reset()
func (*PairingRelayCache) Size ¶ added in v2.4.0
func (m *PairingRelayCache) Size() (n int)
func (*PairingRelayCache) String ¶ added in v2.4.0
func (m *PairingRelayCache) String() string
func (*PairingRelayCache) Unmarshal ¶ added in v2.4.0
func (m *PairingRelayCache) Unmarshal(dAtA []byte) error
func (*PairingRelayCache) XXX_DiscardUnknown ¶ added in v2.4.0
func (m *PairingRelayCache) XXX_DiscardUnknown()
func (*PairingRelayCache) XXX_Marshal ¶ added in v2.4.0
func (m *PairingRelayCache) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PairingRelayCache) XXX_Merge ¶ added in v2.4.0
func (m *PairingRelayCache) XXX_Merge(src proto.Message)
func (*PairingRelayCache) XXX_Size ¶ added in v2.4.0
func (m *PairingRelayCache) XXX_Size() int
func (*PairingRelayCache) XXX_Unmarshal ¶ added in v2.4.0
func (m *PairingRelayCache) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { EpochBlocksOverlap uint64 `protobuf:"varint,8,opt,name=epochBlocksOverlap,proto3" json:"epochBlocksOverlap,omitempty" yaml:"epoch_blocks_overlap"` 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( epochBlocksOverlap uint64, qoSWeight sdk.Dec, recommendedEpochNumToCollectPayment uint64, ) Params
NewParams creates a new Params instance
func (*Params) Descriptor ¶
func (*Params) GetEpochBlocksOverlap ¶
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 ProbeReply ¶
type ProbeReply struct { Guid uint64 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"` LatestBlock int64 `protobuf:"varint,2,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"` FinalizedBlocksHashes []byte `` /* 126-byte string literal not displayed */ LavaEpoch uint64 `protobuf:"varint,4,opt,name=lava_epoch,json=lavaEpoch,proto3" json:"lava_epoch,omitempty"` LavaLatestBlock uint64 `protobuf:"varint,5,opt,name=lava_latest_block,json=lavaLatestBlock,proto3" json:"lava_latest_block,omitempty"` }
func (*ProbeReply) Descriptor ¶
func (*ProbeReply) Descriptor() ([]byte, []int)
func (*ProbeReply) GetFinalizedBlocksHashes ¶
func (m *ProbeReply) GetFinalizedBlocksHashes() []byte
func (*ProbeReply) GetGuid ¶
func (m *ProbeReply) GetGuid() uint64
func (*ProbeReply) GetLatestBlock ¶
func (m *ProbeReply) GetLatestBlock() int64
func (*ProbeReply) GetLavaEpoch ¶
func (m *ProbeReply) GetLavaEpoch() uint64
func (*ProbeReply) GetLavaLatestBlock ¶
func (m *ProbeReply) GetLavaLatestBlock() uint64
func (*ProbeReply) Marshal ¶
func (m *ProbeReply) Marshal() (dAtA []byte, err error)
func (*ProbeReply) MarshalToSizedBuffer ¶
func (m *ProbeReply) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProbeReply) ProtoMessage ¶
func (*ProbeReply) ProtoMessage()
func (*ProbeReply) Reset ¶
func (m *ProbeReply) Reset()
func (*ProbeReply) Size ¶
func (m *ProbeReply) Size() (n int)
func (*ProbeReply) String ¶
func (m *ProbeReply) String() string
func (*ProbeReply) Unmarshal ¶
func (m *ProbeReply) Unmarshal(dAtA []byte) error
func (*ProbeReply) XXX_DiscardUnknown ¶
func (m *ProbeReply) XXX_DiscardUnknown()
func (*ProbeReply) XXX_Marshal ¶
func (m *ProbeReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProbeReply) XXX_Merge ¶
func (m *ProbeReply) XXX_Merge(src proto.Message)
func (*ProbeReply) XXX_Size ¶
func (m *ProbeReply) XXX_Size() int
func (*ProbeReply) XXX_Unmarshal ¶
func (m *ProbeReply) XXX_Unmarshal(b []byte) error
type ProbeRequest ¶
type ProbeRequest struct { Guid uint64 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"` SpecId string `protobuf:"bytes,2,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"` ApiInterface string `protobuf:"bytes,3,opt,name=api_interface,json=apiInterface,proto3" json:"api_interface,omitempty"` }
func (*ProbeRequest) Descriptor ¶
func (*ProbeRequest) Descriptor() ([]byte, []int)
func (*ProbeRequest) GetApiInterface ¶
func (m *ProbeRequest) GetApiInterface() string
func (*ProbeRequest) GetGuid ¶
func (m *ProbeRequest) GetGuid() uint64
func (*ProbeRequest) GetSpecId ¶
func (m *ProbeRequest) GetSpecId() string
func (*ProbeRequest) Marshal ¶
func (m *ProbeRequest) Marshal() (dAtA []byte, err error)
func (*ProbeRequest) MarshalToSizedBuffer ¶
func (m *ProbeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProbeRequest) ProtoMessage ¶
func (*ProbeRequest) ProtoMessage()
func (*ProbeRequest) Reset ¶
func (m *ProbeRequest) Reset()
func (*ProbeRequest) Size ¶
func (m *ProbeRequest) Size() (n int)
func (*ProbeRequest) String ¶
func (m *ProbeRequest) String() string
func (*ProbeRequest) Unmarshal ¶
func (m *ProbeRequest) Unmarshal(dAtA []byte) error
func (*ProbeRequest) XXX_DiscardUnknown ¶
func (m *ProbeRequest) XXX_DiscardUnknown()
func (*ProbeRequest) XXX_Marshal ¶
func (m *ProbeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProbeRequest) XXX_Merge ¶
func (m *ProbeRequest) XXX_Merge(src proto.Message)
func (*ProbeRequest) XXX_Size ¶
func (m *ProbeRequest) XXX_Size() int
func (*ProbeRequest) XXX_Unmarshal ¶
func (m *ProbeRequest) XXX_Unmarshal(b []byte) error
type ProjectsKeeper ¶
type ProjectsKeeper interface { ChargeComputeUnitsToProject(ctx sdk.Context, project projectstypes.Project, block, 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 ProviderConsumerEpochCu ¶
type ProviderConsumerEpochCu struct {
Cu uint64 `protobuf:"varint,1,opt,name=cu,proto3" json:"cu,omitempty"`
}
ProviderConsumerEpochCu is used to track the CU between a specific provider and consumer in a specific epoch It's kept in a epoch-prefixed store with a unique index: provider and project ID
func (*ProviderConsumerEpochCu) Descriptor ¶
func (*ProviderConsumerEpochCu) Descriptor() ([]byte, []int)
func (*ProviderConsumerEpochCu) GetCu ¶
func (m *ProviderConsumerEpochCu) GetCu() uint64
func (*ProviderConsumerEpochCu) Marshal ¶
func (m *ProviderConsumerEpochCu) Marshal() (dAtA []byte, err error)
func (*ProviderConsumerEpochCu) MarshalTo ¶
func (m *ProviderConsumerEpochCu) MarshalTo(dAtA []byte) (int, error)
func (*ProviderConsumerEpochCu) MarshalToSizedBuffer ¶
func (m *ProviderConsumerEpochCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderConsumerEpochCu) ProtoMessage ¶
func (*ProviderConsumerEpochCu) ProtoMessage()
func (*ProviderConsumerEpochCu) Reset ¶
func (m *ProviderConsumerEpochCu) Reset()
func (*ProviderConsumerEpochCu) Size ¶
func (m *ProviderConsumerEpochCu) Size() (n int)
func (*ProviderConsumerEpochCu) String ¶
func (m *ProviderConsumerEpochCu) String() string
func (*ProviderConsumerEpochCu) Unmarshal ¶
func (m *ProviderConsumerEpochCu) Unmarshal(dAtA []byte) error
func (*ProviderConsumerEpochCu) XXX_DiscardUnknown ¶
func (m *ProviderConsumerEpochCu) XXX_DiscardUnknown()
func (*ProviderConsumerEpochCu) XXX_Marshal ¶
func (m *ProviderConsumerEpochCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderConsumerEpochCu) XXX_Merge ¶
func (m *ProviderConsumerEpochCu) XXX_Merge(src proto.Message)
func (*ProviderConsumerEpochCu) XXX_Size ¶
func (m *ProviderConsumerEpochCu) XXX_Size() int
func (*ProviderConsumerEpochCu) XXX_Unmarshal ¶
func (m *ProviderConsumerEpochCu) XXX_Unmarshal(b []byte) error
type ProviderConsumerEpochCuGenesis ¶
type ProviderConsumerEpochCuGenesis struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ProviderConsumerEpochCu ProviderConsumerEpochCu `protobuf:"bytes,5,opt,name=provider_consumer_epoch_cu,json=providerConsumerEpochCu,proto3" json:"provider_consumer_epoch_cu"` }
func (*ProviderConsumerEpochCuGenesis) Descriptor ¶
func (*ProviderConsumerEpochCuGenesis) Descriptor() ([]byte, []int)
func (*ProviderConsumerEpochCuGenesis) GetChainId ¶
func (m *ProviderConsumerEpochCuGenesis) GetChainId() string
func (*ProviderConsumerEpochCuGenesis) GetEpoch ¶
func (m *ProviderConsumerEpochCuGenesis) GetEpoch() uint64
func (*ProviderConsumerEpochCuGenesis) GetProject ¶
func (m *ProviderConsumerEpochCuGenesis) GetProject() string
func (*ProviderConsumerEpochCuGenesis) GetProvider ¶
func (m *ProviderConsumerEpochCuGenesis) GetProvider() string
func (*ProviderConsumerEpochCuGenesis) GetProviderConsumerEpochCu ¶
func (m *ProviderConsumerEpochCuGenesis) GetProviderConsumerEpochCu() ProviderConsumerEpochCu
func (*ProviderConsumerEpochCuGenesis) Marshal ¶
func (m *ProviderConsumerEpochCuGenesis) Marshal() (dAtA []byte, err error)
func (*ProviderConsumerEpochCuGenesis) MarshalTo ¶
func (m *ProviderConsumerEpochCuGenesis) MarshalTo(dAtA []byte) (int, error)
func (*ProviderConsumerEpochCuGenesis) MarshalToSizedBuffer ¶
func (m *ProviderConsumerEpochCuGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderConsumerEpochCuGenesis) ProtoMessage ¶
func (*ProviderConsumerEpochCuGenesis) ProtoMessage()
func (*ProviderConsumerEpochCuGenesis) Reset ¶
func (m *ProviderConsumerEpochCuGenesis) Reset()
func (*ProviderConsumerEpochCuGenesis) Size ¶
func (m *ProviderConsumerEpochCuGenesis) Size() (n int)
func (*ProviderConsumerEpochCuGenesis) String ¶
func (m *ProviderConsumerEpochCuGenesis) String() string
func (*ProviderConsumerEpochCuGenesis) Unmarshal ¶
func (m *ProviderConsumerEpochCuGenesis) Unmarshal(dAtA []byte) error
func (*ProviderConsumerEpochCuGenesis) XXX_DiscardUnknown ¶
func (m *ProviderConsumerEpochCuGenesis) XXX_DiscardUnknown()
func (*ProviderConsumerEpochCuGenesis) XXX_Marshal ¶
func (m *ProviderConsumerEpochCuGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderConsumerEpochCuGenesis) XXX_Merge ¶
func (m *ProviderConsumerEpochCuGenesis) XXX_Merge(src proto.Message)
func (*ProviderConsumerEpochCuGenesis) XXX_Size ¶
func (m *ProviderConsumerEpochCuGenesis) XXX_Size() int
func (*ProviderConsumerEpochCuGenesis) XXX_Unmarshal ¶
func (m *ProviderConsumerEpochCuGenesis) XXX_Unmarshal(b []byte) error
type ProviderCuInfo ¶
type ProviderCuInfo struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` Cu uint64 `protobuf:"varint,2,opt,name=cu,proto3" json:"cu,omitempty"` }
func (*ProviderCuInfo) Descriptor ¶
func (*ProviderCuInfo) Descriptor() ([]byte, []int)
func (*ProviderCuInfo) GetCu ¶
func (m *ProviderCuInfo) GetCu() uint64
func (*ProviderCuInfo) GetProvider ¶
func (m *ProviderCuInfo) GetProvider() string
func (*ProviderCuInfo) Marshal ¶
func (m *ProviderCuInfo) Marshal() (dAtA []byte, err error)
func (*ProviderCuInfo) MarshalToSizedBuffer ¶
func (m *ProviderCuInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderCuInfo) ProtoMessage ¶
func (*ProviderCuInfo) ProtoMessage()
func (*ProviderCuInfo) Reset ¶
func (m *ProviderCuInfo) Reset()
func (*ProviderCuInfo) Size ¶
func (m *ProviderCuInfo) Size() (n int)
func (*ProviderCuInfo) String ¶
func (m *ProviderCuInfo) String() string
func (*ProviderCuInfo) Unmarshal ¶
func (m *ProviderCuInfo) Unmarshal(dAtA []byte) error
func (*ProviderCuInfo) XXX_DiscardUnknown ¶
func (m *ProviderCuInfo) XXX_DiscardUnknown()
func (*ProviderCuInfo) XXX_Marshal ¶
func (m *ProviderCuInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderCuInfo) XXX_Merge ¶
func (m *ProviderCuInfo) XXX_Merge(src proto.Message)
func (*ProviderCuInfo) XXX_Size ¶
func (m *ProviderCuInfo) XXX_Size() int
func (*ProviderCuInfo) XXX_Unmarshal ¶
func (m *ProviderCuInfo) XXX_Unmarshal(b []byte) error
type ProviderEpochComplainerCu ¶
type ProviderEpochComplainerCu struct {
ComplainersCu uint64 `protobuf:"varint,1,opt,name=complainers_cu,json=complainersCu,proto3" json:"complainers_cu,omitempty"`
}
ProviderEpochComplainerCu is used to track the CU complained of a specific provider in a specific epoch It's kept in a epoch-prefixed store with a unique index: provider address
func (*ProviderEpochComplainerCu) Descriptor ¶
func (*ProviderEpochComplainerCu) Descriptor() ([]byte, []int)
func (*ProviderEpochComplainerCu) GetComplainersCu ¶
func (m *ProviderEpochComplainerCu) GetComplainersCu() uint64
func (*ProviderEpochComplainerCu) Marshal ¶
func (m *ProviderEpochComplainerCu) Marshal() (dAtA []byte, err error)
func (*ProviderEpochComplainerCu) MarshalTo ¶
func (m *ProviderEpochComplainerCu) MarshalTo(dAtA []byte) (int, error)
func (*ProviderEpochComplainerCu) MarshalToSizedBuffer ¶
func (m *ProviderEpochComplainerCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderEpochComplainerCu) ProtoMessage ¶
func (*ProviderEpochComplainerCu) ProtoMessage()
func (*ProviderEpochComplainerCu) Reset ¶
func (m *ProviderEpochComplainerCu) Reset()
func (*ProviderEpochComplainerCu) Size ¶
func (m *ProviderEpochComplainerCu) Size() (n int)
func (*ProviderEpochComplainerCu) String ¶
func (m *ProviderEpochComplainerCu) String() string
func (*ProviderEpochComplainerCu) Unmarshal ¶
func (m *ProviderEpochComplainerCu) Unmarshal(dAtA []byte) error
func (*ProviderEpochComplainerCu) XXX_DiscardUnknown ¶
func (m *ProviderEpochComplainerCu) XXX_DiscardUnknown()
func (*ProviderEpochComplainerCu) XXX_Marshal ¶
func (m *ProviderEpochComplainerCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderEpochComplainerCu) XXX_Merge ¶
func (m *ProviderEpochComplainerCu) XXX_Merge(src proto.Message)
func (*ProviderEpochComplainerCu) XXX_Size ¶
func (m *ProviderEpochComplainerCu) XXX_Size() int
func (*ProviderEpochComplainerCu) XXX_Unmarshal ¶
func (m *ProviderEpochComplainerCu) XXX_Unmarshal(b []byte) error
type ProviderEpochComplainerCuGenesis ¶
type ProviderEpochComplainerCuGenesis struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ProviderEpochComplainerCu ProviderEpochComplainerCu `` /* 130-byte string literal not displayed */ }
func (*ProviderEpochComplainerCuGenesis) Descriptor ¶
func (*ProviderEpochComplainerCuGenesis) Descriptor() ([]byte, []int)
func (*ProviderEpochComplainerCuGenesis) GetChainId ¶
func (m *ProviderEpochComplainerCuGenesis) GetChainId() string
func (*ProviderEpochComplainerCuGenesis) GetEpoch ¶
func (m *ProviderEpochComplainerCuGenesis) GetEpoch() uint64
func (*ProviderEpochComplainerCuGenesis) GetProvider ¶
func (m *ProviderEpochComplainerCuGenesis) GetProvider() string
func (*ProviderEpochComplainerCuGenesis) GetProviderEpochComplainerCu ¶
func (m *ProviderEpochComplainerCuGenesis) GetProviderEpochComplainerCu() ProviderEpochComplainerCu
func (*ProviderEpochComplainerCuGenesis) Marshal ¶
func (m *ProviderEpochComplainerCuGenesis) Marshal() (dAtA []byte, err error)
func (*ProviderEpochComplainerCuGenesis) MarshalTo ¶
func (m *ProviderEpochComplainerCuGenesis) MarshalTo(dAtA []byte) (int, error)
func (*ProviderEpochComplainerCuGenesis) MarshalToSizedBuffer ¶
func (m *ProviderEpochComplainerCuGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderEpochComplainerCuGenesis) ProtoMessage ¶
func (*ProviderEpochComplainerCuGenesis) ProtoMessage()
func (*ProviderEpochComplainerCuGenesis) Reset ¶
func (m *ProviderEpochComplainerCuGenesis) Reset()
func (*ProviderEpochComplainerCuGenesis) Size ¶
func (m *ProviderEpochComplainerCuGenesis) Size() (n int)
func (*ProviderEpochComplainerCuGenesis) String ¶
func (m *ProviderEpochComplainerCuGenesis) String() string
func (*ProviderEpochComplainerCuGenesis) Unmarshal ¶
func (m *ProviderEpochComplainerCuGenesis) Unmarshal(dAtA []byte) error
func (*ProviderEpochComplainerCuGenesis) XXX_DiscardUnknown ¶
func (m *ProviderEpochComplainerCuGenesis) XXX_DiscardUnknown()
func (*ProviderEpochComplainerCuGenesis) XXX_Marshal ¶
func (m *ProviderEpochComplainerCuGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderEpochComplainerCuGenesis) XXX_Merge ¶
func (m *ProviderEpochComplainerCuGenesis) XXX_Merge(src proto.Message)
func (*ProviderEpochComplainerCuGenesis) XXX_Size ¶
func (m *ProviderEpochComplainerCuGenesis) XXX_Size() int
func (*ProviderEpochComplainerCuGenesis) XXX_Unmarshal ¶
func (m *ProviderEpochComplainerCuGenesis) XXX_Unmarshal(b []byte) error
type ProviderEpochCu ¶
type ProviderEpochCu struct {
ServicedCu uint64 `protobuf:"varint,1,opt,name=serviced_cu,json=servicedCu,proto3" json:"serviced_cu,omitempty"`
}
ProviderEpochCu is used to track the CU of a specific provider in a specific epoch It's kept in a epoch-prefixed store with a unique index: provider address
func (*ProviderEpochCu) Descriptor ¶
func (*ProviderEpochCu) Descriptor() ([]byte, []int)
func (*ProviderEpochCu) GetServicedCu ¶
func (m *ProviderEpochCu) GetServicedCu() uint64
func (*ProviderEpochCu) Marshal ¶
func (m *ProviderEpochCu) Marshal() (dAtA []byte, err error)
func (*ProviderEpochCu) MarshalToSizedBuffer ¶
func (m *ProviderEpochCu) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderEpochCu) ProtoMessage ¶
func (*ProviderEpochCu) ProtoMessage()
func (*ProviderEpochCu) Reset ¶
func (m *ProviderEpochCu) Reset()
func (*ProviderEpochCu) Size ¶
func (m *ProviderEpochCu) Size() (n int)
func (*ProviderEpochCu) String ¶
func (m *ProviderEpochCu) String() string
func (*ProviderEpochCu) Unmarshal ¶
func (m *ProviderEpochCu) Unmarshal(dAtA []byte) error
func (*ProviderEpochCu) XXX_DiscardUnknown ¶
func (m *ProviderEpochCu) XXX_DiscardUnknown()
func (*ProviderEpochCu) XXX_Marshal ¶
func (m *ProviderEpochCu) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderEpochCu) XXX_Merge ¶
func (m *ProviderEpochCu) XXX_Merge(src proto.Message)
func (*ProviderEpochCu) XXX_Size ¶
func (m *ProviderEpochCu) XXX_Size() int
func (*ProviderEpochCu) XXX_Unmarshal ¶
func (m *ProviderEpochCu) XXX_Unmarshal(b []byte) error
type ProviderEpochCuGenesis ¶
type ProviderEpochCuGenesis struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` ProviderEpochCu ProviderEpochCu `protobuf:"bytes,4,opt,name=provider_epoch_cu,json=providerEpochCu,proto3" json:"provider_epoch_cu"` }
func (*ProviderEpochCuGenesis) Descriptor ¶
func (*ProviderEpochCuGenesis) Descriptor() ([]byte, []int)
func (*ProviderEpochCuGenesis) GetChainId ¶
func (m *ProviderEpochCuGenesis) GetChainId() string
func (*ProviderEpochCuGenesis) GetEpoch ¶
func (m *ProviderEpochCuGenesis) GetEpoch() uint64
func (*ProviderEpochCuGenesis) GetProvider ¶
func (m *ProviderEpochCuGenesis) GetProvider() string
func (*ProviderEpochCuGenesis) GetProviderEpochCu ¶
func (m *ProviderEpochCuGenesis) GetProviderEpochCu() ProviderEpochCu
func (*ProviderEpochCuGenesis) Marshal ¶
func (m *ProviderEpochCuGenesis) Marshal() (dAtA []byte, err error)
func (*ProviderEpochCuGenesis) MarshalTo ¶
func (m *ProviderEpochCuGenesis) MarshalTo(dAtA []byte) (int, error)
func (*ProviderEpochCuGenesis) MarshalToSizedBuffer ¶
func (m *ProviderEpochCuGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderEpochCuGenesis) ProtoMessage ¶
func (*ProviderEpochCuGenesis) ProtoMessage()
func (*ProviderEpochCuGenesis) Reset ¶
func (m *ProviderEpochCuGenesis) Reset()
func (*ProviderEpochCuGenesis) Size ¶
func (m *ProviderEpochCuGenesis) Size() (n int)
func (*ProviderEpochCuGenesis) String ¶
func (m *ProviderEpochCuGenesis) String() string
func (*ProviderEpochCuGenesis) Unmarshal ¶
func (m *ProviderEpochCuGenesis) Unmarshal(dAtA []byte) error
func (*ProviderEpochCuGenesis) XXX_DiscardUnknown ¶
func (m *ProviderEpochCuGenesis) XXX_DiscardUnknown()
func (*ProviderEpochCuGenesis) XXX_Marshal ¶
func (m *ProviderEpochCuGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderEpochCuGenesis) XXX_Merge ¶
func (m *ProviderEpochCuGenesis) XXX_Merge(src proto.Message)
func (*ProviderEpochCuGenesis) XXX_Size ¶
func (m *ProviderEpochCuGenesis) XXX_Size() int
func (*ProviderEpochCuGenesis) XXX_Unmarshal ¶
func (m *ProviderEpochCuGenesis) XXX_Unmarshal(b []byte) 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 ProviderPayout ¶
type ProviderPayout struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` Amount uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*ProviderPayout) Descriptor ¶
func (*ProviderPayout) Descriptor() ([]byte, []int)
func (*ProviderPayout) GetAmount ¶
func (m *ProviderPayout) GetAmount() uint64
func (*ProviderPayout) GetProvider ¶
func (m *ProviderPayout) GetProvider() string
func (*ProviderPayout) Marshal ¶
func (m *ProviderPayout) Marshal() (dAtA []byte, err error)
func (*ProviderPayout) MarshalToSizedBuffer ¶
func (m *ProviderPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderPayout) ProtoMessage ¶
func (*ProviderPayout) ProtoMessage()
func (*ProviderPayout) Reset ¶
func (m *ProviderPayout) Reset()
func (*ProviderPayout) Size ¶
func (m *ProviderPayout) Size() (n int)
func (*ProviderPayout) String ¶
func (m *ProviderPayout) String() string
func (*ProviderPayout) Unmarshal ¶
func (m *ProviderPayout) Unmarshal(dAtA []byte) error
func (*ProviderPayout) XXX_DiscardUnknown ¶
func (m *ProviderPayout) XXX_DiscardUnknown()
func (*ProviderPayout) XXX_Marshal ¶
func (m *ProviderPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderPayout) XXX_Merge ¶
func (m *ProviderPayout) XXX_Merge(src proto.Message)
func (*ProviderPayout) XXX_Size ¶
func (m *ProviderPayout) XXX_Size() int
func (*ProviderPayout) XXX_Unmarshal ¶
func (m *ProviderPayout) XXX_Unmarshal(b []byte) error
type ProviderUnstakeInfo ¶
type ProviderUnstakeInfo struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` }
func (*ProviderUnstakeInfo) Descriptor ¶
func (*ProviderUnstakeInfo) Descriptor() ([]byte, []int)
func (*ProviderUnstakeInfo) GetChainId ¶
func (m *ProviderUnstakeInfo) GetChainId() string
func (*ProviderUnstakeInfo) GetProvider ¶
func (m *ProviderUnstakeInfo) GetProvider() string
func (*ProviderUnstakeInfo) Marshal ¶
func (m *ProviderUnstakeInfo) Marshal() (dAtA []byte, err error)
func (*ProviderUnstakeInfo) MarshalTo ¶
func (m *ProviderUnstakeInfo) MarshalTo(dAtA []byte) (int, error)
func (*ProviderUnstakeInfo) MarshalToSizedBuffer ¶
func (m *ProviderUnstakeInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProviderUnstakeInfo) ProtoMessage ¶
func (*ProviderUnstakeInfo) ProtoMessage()
func (*ProviderUnstakeInfo) Reset ¶
func (m *ProviderUnstakeInfo) Reset()
func (*ProviderUnstakeInfo) Size ¶
func (m *ProviderUnstakeInfo) Size() (n int)
func (*ProviderUnstakeInfo) String ¶
func (m *ProviderUnstakeInfo) String() string
func (*ProviderUnstakeInfo) Unmarshal ¶
func (m *ProviderUnstakeInfo) Unmarshal(dAtA []byte) error
func (*ProviderUnstakeInfo) XXX_DiscardUnknown ¶
func (m *ProviderUnstakeInfo) XXX_DiscardUnknown()
func (*ProviderUnstakeInfo) XXX_Marshal ¶
func (m *ProviderUnstakeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProviderUnstakeInfo) XXX_Merge ¶
func (m *ProviderUnstakeInfo) XXX_Merge(src proto.Message)
func (*ProviderUnstakeInfo) XXX_Size ¶
func (m *ProviderUnstakeInfo) XXX_Size() int
func (*ProviderUnstakeInfo) XXX_Unmarshal ¶
func (m *ProviderUnstakeInfo) 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) ComputeQoSExcellence ¶
func (qos *QualityOfServiceReport) ComputeQoSExcellence() (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"` 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"` DelegationsValidators []types3.DelegationResponse `protobuf:"bytes,7,rep,name=delegations_validators,json=delegationsValidators,proto3" json:"delegations_validators"` DelegationsProviders []types4.Delegation `protobuf:"bytes,8,rep,name=delegations_providers,json=delegationsProviders,proto3" json:"delegations_providers"` TotalDelegations uint64 `protobuf:"varint,9,opt,name=total_delegations,json=totalDelegations,proto3" json:"total_delegations,omitempty"` }
func (*QueryAccountInfoResponse) Descriptor ¶
func (*QueryAccountInfoResponse) Descriptor() ([]byte, []int)
func (*QueryAccountInfoResponse) GetDelegationsProviders ¶
func (m *QueryAccountInfoResponse) GetDelegationsProviders() []types4.Delegation
func (*QueryAccountInfoResponse) GetDelegationsValidators ¶
func (m *QueryAccountInfoResponse) GetDelegationsValidators() []types3.DelegationResponse
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) GetTotalDelegations ¶
func (m *QueryAccountInfoResponse) GetTotalDelegations() uint64
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 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 Provider item. Provider(ctx context.Context, in *QueryProviderRequest, opts ...grpc.CallOption) (*QueryProviderResponse, 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 list of ProviderPairingChance items. ProviderPairingChance(ctx context.Context, in *QueryProviderPairingChanceRequest, opts ...grpc.CallOption) (*QueryProviderPairingChanceResponse, 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 the expected monthly payout of a specific provider ProviderMonthlyPayout(ctx context.Context, in *QueryProviderMonthlyPayoutRequest, opts ...grpc.CallOption) (*QueryProviderMonthlyPayoutResponse, error) // Queries the expected monthly payout of a specific subscription SubscriptionMonthlyPayout(ctx context.Context, in *QuerySubscriptionMonthlyPayoutRequest, opts ...grpc.CallOption) (*QuerySubscriptionMonthlyPayoutResponse, error) // Queries a list of SdkPairing items. SdkPairing(ctx context.Context, in *QueryGetPairingRequest, opts ...grpc.CallOption) (*QuerySdkPairingResponse, error) // Queries a for the aggregated CU of all ProviderEpochCu objects all the providers. ProvidersEpochCu(ctx context.Context, in *QueryProvidersEpochCuRequest, opts ...grpc.CallOption) (*QueryProvidersEpochCuResponse, 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 QueryDebugQueryResponse ¶
type QueryDebugQueryResponse struct { BlockReward uint64 `protobuf:"varint,1,opt,name=block_reward,json=blockReward,proto3" json:"block_reward,omitempty"` ValDistPoolBalance string `protobuf:"bytes,2,opt,name=val_dist_pool_balance,json=valDistPoolBalance,proto3" json:"val_dist_pool_balance,omitempty"` ValAllocPoolBalance string `protobuf:"bytes,3,opt,name=val_alloc_pool_balance,json=valAllocPoolBalance,proto3" json:"val_alloc_pool_balance,omitempty"` ProviderDistPoolBalance string `` /* 134-byte string literal not displayed */ ProviderAllocPoolBalance string `` /* 137-byte string literal not displayed */ ProviderFullReward uint64 `protobuf:"varint,6,opt,name=provider_full_reward,json=providerFullReward,proto3" json:"provider_full_reward,omitempty"` ProviderRewardNoBonus uint64 `` /* 129-byte string literal not displayed */ Block uint64 `protobuf:"varint,8,opt,name=block,proto3" json:"block,omitempty"` MonthsLeft uint64 `protobuf:"varint,9,opt,name=months_left,json=monthsLeft,proto3" json:"months_left,omitempty"` ValidatorReward uint64 `protobuf:"varint,10,opt,name=validator_reward,json=validatorReward,proto3" json:"validator_reward,omitempty"` }
func (*QueryDebugQueryResponse) Descriptor ¶
func (*QueryDebugQueryResponse) Descriptor() ([]byte, []int)
func (*QueryDebugQueryResponse) GetBlock ¶
func (m *QueryDebugQueryResponse) GetBlock() uint64
func (*QueryDebugQueryResponse) GetBlockReward ¶
func (m *QueryDebugQueryResponse) GetBlockReward() uint64
func (*QueryDebugQueryResponse) GetMonthsLeft ¶
func (m *QueryDebugQueryResponse) GetMonthsLeft() uint64
func (*QueryDebugQueryResponse) GetProviderAllocPoolBalance ¶
func (m *QueryDebugQueryResponse) GetProviderAllocPoolBalance() string
func (*QueryDebugQueryResponse) GetProviderDistPoolBalance ¶
func (m *QueryDebugQueryResponse) GetProviderDistPoolBalance() string
func (*QueryDebugQueryResponse) GetProviderFullReward ¶
func (m *QueryDebugQueryResponse) GetProviderFullReward() uint64
func (*QueryDebugQueryResponse) GetProviderRewardNoBonus ¶
func (m *QueryDebugQueryResponse) GetProviderRewardNoBonus() uint64
func (*QueryDebugQueryResponse) GetValAllocPoolBalance ¶
func (m *QueryDebugQueryResponse) GetValAllocPoolBalance() string
func (*QueryDebugQueryResponse) GetValDistPoolBalance ¶
func (m *QueryDebugQueryResponse) GetValDistPoolBalance() string
func (*QueryDebugQueryResponse) GetValidatorReward ¶
func (m *QueryDebugQueryResponse) GetValidatorReward() uint64
func (*QueryDebugQueryResponse) Marshal ¶
func (m *QueryDebugQueryResponse) Marshal() (dAtA []byte, err error)
func (*QueryDebugQueryResponse) MarshalTo ¶
func (m *QueryDebugQueryResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryDebugQueryResponse) MarshalToSizedBuffer ¶
func (m *QueryDebugQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryDebugQueryResponse) ProtoMessage ¶
func (*QueryDebugQueryResponse) ProtoMessage()
func (*QueryDebugQueryResponse) Reset ¶
func (m *QueryDebugQueryResponse) Reset()
func (*QueryDebugQueryResponse) Size ¶
func (m *QueryDebugQueryResponse) Size() (n int)
func (*QueryDebugQueryResponse) String ¶
func (m *QueryDebugQueryResponse) String() string
func (*QueryDebugQueryResponse) Unmarshal ¶
func (m *QueryDebugQueryResponse) Unmarshal(dAtA []byte) error
func (*QueryDebugQueryResponse) XXX_DiscardUnknown ¶
func (m *QueryDebugQueryResponse) XXX_DiscardUnknown()
func (*QueryDebugQueryResponse) XXX_Marshal ¶
func (m *QueryDebugQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryDebugQueryResponse) XXX_Merge ¶
func (m *QueryDebugQueryResponse) XXX_Merge(src proto.Message)
func (*QueryDebugQueryResponse) XXX_Size ¶
func (m *QueryDebugQueryResponse) XXX_Size() int
func (*QueryDebugQueryResponse) XXX_Unmarshal ¶
func (m *QueryDebugQueryResponse) XXX_Unmarshal(b []byte) error
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 *types1.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"` PendingPolicy *types1.Policy `protobuf:"bytes,2,opt,name=pending_policy,json=pendingPolicy,proto3" json:"pending_policy,omitempty"` }
func (*QueryEffectivePolicyResponse) Descriptor ¶
func (*QueryEffectivePolicyResponse) Descriptor() ([]byte, []int)
func (*QueryEffectivePolicyResponse) GetPendingPolicy ¶
func (m *QueryEffectivePolicyResponse) GetPendingPolicy() *types1.Policy
func (*QueryEffectivePolicyResponse) GetPolicy ¶
func (m *QueryEffectivePolicyResponse) GetPolicy() *types1.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 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 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 QueryProviderMonthlyPayoutRequest ¶
type QueryProviderMonthlyPayoutRequest struct {
Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
}
func (*QueryProviderMonthlyPayoutRequest) Descriptor ¶
func (*QueryProviderMonthlyPayoutRequest) Descriptor() ([]byte, []int)
func (*QueryProviderMonthlyPayoutRequest) GetProvider ¶
func (m *QueryProviderMonthlyPayoutRequest) GetProvider() string
func (*QueryProviderMonthlyPayoutRequest) Marshal ¶
func (m *QueryProviderMonthlyPayoutRequest) Marshal() (dAtA []byte, err error)
func (*QueryProviderMonthlyPayoutRequest) MarshalTo ¶
func (m *QueryProviderMonthlyPayoutRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderMonthlyPayoutRequest) MarshalToSizedBuffer ¶
func (m *QueryProviderMonthlyPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderMonthlyPayoutRequest) ProtoMessage ¶
func (*QueryProviderMonthlyPayoutRequest) ProtoMessage()
func (*QueryProviderMonthlyPayoutRequest) Reset ¶
func (m *QueryProviderMonthlyPayoutRequest) Reset()
func (*QueryProviderMonthlyPayoutRequest) Size ¶
func (m *QueryProviderMonthlyPayoutRequest) Size() (n int)
func (*QueryProviderMonthlyPayoutRequest) String ¶
func (m *QueryProviderMonthlyPayoutRequest) String() string
func (*QueryProviderMonthlyPayoutRequest) Unmarshal ¶
func (m *QueryProviderMonthlyPayoutRequest) Unmarshal(dAtA []byte) error
func (*QueryProviderMonthlyPayoutRequest) XXX_DiscardUnknown ¶
func (m *QueryProviderMonthlyPayoutRequest) XXX_DiscardUnknown()
func (*QueryProviderMonthlyPayoutRequest) XXX_Marshal ¶
func (m *QueryProviderMonthlyPayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderMonthlyPayoutRequest) XXX_Merge ¶
func (m *QueryProviderMonthlyPayoutRequest) XXX_Merge(src proto.Message)
func (*QueryProviderMonthlyPayoutRequest) XXX_Size ¶
func (m *QueryProviderMonthlyPayoutRequest) XXX_Size() int
func (*QueryProviderMonthlyPayoutRequest) XXX_Unmarshal ¶
func (m *QueryProviderMonthlyPayoutRequest) XXX_Unmarshal(b []byte) error
type QueryProviderMonthlyPayoutResponse ¶
type QueryProviderMonthlyPayoutResponse struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Details []*SubscriptionPayout `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` }
func (*QueryProviderMonthlyPayoutResponse) Descriptor ¶
func (*QueryProviderMonthlyPayoutResponse) Descriptor() ([]byte, []int)
func (*QueryProviderMonthlyPayoutResponse) GetDetails ¶
func (m *QueryProviderMonthlyPayoutResponse) GetDetails() []*SubscriptionPayout
func (*QueryProviderMonthlyPayoutResponse) GetTotal ¶
func (m *QueryProviderMonthlyPayoutResponse) GetTotal() uint64
func (*QueryProviderMonthlyPayoutResponse) Marshal ¶
func (m *QueryProviderMonthlyPayoutResponse) Marshal() (dAtA []byte, err error)
func (*QueryProviderMonthlyPayoutResponse) MarshalTo ¶
func (m *QueryProviderMonthlyPayoutResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderMonthlyPayoutResponse) MarshalToSizedBuffer ¶
func (m *QueryProviderMonthlyPayoutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderMonthlyPayoutResponse) ProtoMessage ¶
func (*QueryProviderMonthlyPayoutResponse) ProtoMessage()
func (*QueryProviderMonthlyPayoutResponse) Reset ¶
func (m *QueryProviderMonthlyPayoutResponse) Reset()
func (*QueryProviderMonthlyPayoutResponse) Size ¶
func (m *QueryProviderMonthlyPayoutResponse) Size() (n int)
func (*QueryProviderMonthlyPayoutResponse) String ¶
func (m *QueryProviderMonthlyPayoutResponse) String() string
func (*QueryProviderMonthlyPayoutResponse) Unmarshal ¶
func (m *QueryProviderMonthlyPayoutResponse) Unmarshal(dAtA []byte) error
func (*QueryProviderMonthlyPayoutResponse) XXX_DiscardUnknown ¶
func (m *QueryProviderMonthlyPayoutResponse) XXX_DiscardUnknown()
func (*QueryProviderMonthlyPayoutResponse) XXX_Marshal ¶
func (m *QueryProviderMonthlyPayoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderMonthlyPayoutResponse) XXX_Merge ¶
func (m *QueryProviderMonthlyPayoutResponse) XXX_Merge(src proto.Message)
func (*QueryProviderMonthlyPayoutResponse) XXX_Size ¶
func (m *QueryProviderMonthlyPayoutResponse) XXX_Size() int
func (*QueryProviderMonthlyPayoutResponse) XXX_Unmarshal ¶
func (m *QueryProviderMonthlyPayoutResponse) XXX_Unmarshal(b []byte) error
type QueryProviderPairingChanceRequest ¶
type QueryProviderPairingChanceRequest struct { Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"` Geolocation int32 `protobuf:"varint,3,opt,name=geolocation,proto3" json:"geolocation,omitempty"` Cluster string `protobuf:"bytes,4,opt,name=cluster,proto3" json:"cluster,omitempty"` }
func (*QueryProviderPairingChanceRequest) Descriptor ¶
func (*QueryProviderPairingChanceRequest) Descriptor() ([]byte, []int)
func (*QueryProviderPairingChanceRequest) GetChainID ¶
func (m *QueryProviderPairingChanceRequest) GetChainID() string
func (*QueryProviderPairingChanceRequest) GetCluster ¶
func (m *QueryProviderPairingChanceRequest) GetCluster() string
func (*QueryProviderPairingChanceRequest) GetGeolocation ¶
func (m *QueryProviderPairingChanceRequest) GetGeolocation() int32
func (*QueryProviderPairingChanceRequest) GetProvider ¶
func (m *QueryProviderPairingChanceRequest) GetProvider() string
func (*QueryProviderPairingChanceRequest) Marshal ¶
func (m *QueryProviderPairingChanceRequest) Marshal() (dAtA []byte, err error)
func (*QueryProviderPairingChanceRequest) MarshalTo ¶
func (m *QueryProviderPairingChanceRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderPairingChanceRequest) MarshalToSizedBuffer ¶
func (m *QueryProviderPairingChanceRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderPairingChanceRequest) ProtoMessage ¶
func (*QueryProviderPairingChanceRequest) ProtoMessage()
func (*QueryProviderPairingChanceRequest) Reset ¶
func (m *QueryProviderPairingChanceRequest) Reset()
func (*QueryProviderPairingChanceRequest) Size ¶
func (m *QueryProviderPairingChanceRequest) Size() (n int)
func (*QueryProviderPairingChanceRequest) String ¶
func (m *QueryProviderPairingChanceRequest) String() string
func (*QueryProviderPairingChanceRequest) Unmarshal ¶
func (m *QueryProviderPairingChanceRequest) Unmarshal(dAtA []byte) error
func (*QueryProviderPairingChanceRequest) XXX_DiscardUnknown ¶
func (m *QueryProviderPairingChanceRequest) XXX_DiscardUnknown()
func (*QueryProviderPairingChanceRequest) XXX_Marshal ¶
func (m *QueryProviderPairingChanceRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderPairingChanceRequest) XXX_Merge ¶
func (m *QueryProviderPairingChanceRequest) XXX_Merge(src proto.Message)
func (*QueryProviderPairingChanceRequest) XXX_Size ¶
func (m *QueryProviderPairingChanceRequest) XXX_Size() int
func (*QueryProviderPairingChanceRequest) XXX_Unmarshal ¶
func (m *QueryProviderPairingChanceRequest) XXX_Unmarshal(b []byte) error
type QueryProviderPairingChanceResponse ¶
type QueryProviderPairingChanceResponse struct {
Chance github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=chance,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"chance"`
}
func (*QueryProviderPairingChanceResponse) Descriptor ¶
func (*QueryProviderPairingChanceResponse) Descriptor() ([]byte, []int)
func (*QueryProviderPairingChanceResponse) Marshal ¶
func (m *QueryProviderPairingChanceResponse) Marshal() (dAtA []byte, err error)
func (*QueryProviderPairingChanceResponse) MarshalTo ¶
func (m *QueryProviderPairingChanceResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderPairingChanceResponse) MarshalToSizedBuffer ¶
func (m *QueryProviderPairingChanceResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderPairingChanceResponse) ProtoMessage ¶
func (*QueryProviderPairingChanceResponse) ProtoMessage()
func (*QueryProviderPairingChanceResponse) Reset ¶
func (m *QueryProviderPairingChanceResponse) Reset()
func (*QueryProviderPairingChanceResponse) Size ¶
func (m *QueryProviderPairingChanceResponse) Size() (n int)
func (*QueryProviderPairingChanceResponse) String ¶
func (m *QueryProviderPairingChanceResponse) String() string
func (*QueryProviderPairingChanceResponse) Unmarshal ¶
func (m *QueryProviderPairingChanceResponse) Unmarshal(dAtA []byte) error
func (*QueryProviderPairingChanceResponse) XXX_DiscardUnknown ¶
func (m *QueryProviderPairingChanceResponse) XXX_DiscardUnknown()
func (*QueryProviderPairingChanceResponse) XXX_Marshal ¶
func (m *QueryProviderPairingChanceResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderPairingChanceResponse) XXX_Merge ¶
func (m *QueryProviderPairingChanceResponse) XXX_Merge(src proto.Message)
func (*QueryProviderPairingChanceResponse) XXX_Size ¶
func (m *QueryProviderPairingChanceResponse) XXX_Size() int
func (*QueryProviderPairingChanceResponse) XXX_Unmarshal ¶
func (m *QueryProviderPairingChanceResponse) XXX_Unmarshal(b []byte) error
type QueryProviderRequest ¶
type QueryProviderRequest 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"` }
func (*QueryProviderRequest) Descriptor ¶
func (*QueryProviderRequest) Descriptor() ([]byte, []int)
func (*QueryProviderRequest) GetAddress ¶
func (m *QueryProviderRequest) GetAddress() string
func (*QueryProviderRequest) GetChainID ¶
func (m *QueryProviderRequest) GetChainID() string
func (*QueryProviderRequest) Marshal ¶
func (m *QueryProviderRequest) Marshal() (dAtA []byte, err error)
func (*QueryProviderRequest) MarshalTo ¶
func (m *QueryProviderRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderRequest) MarshalToSizedBuffer ¶
func (m *QueryProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderRequest) ProtoMessage ¶
func (*QueryProviderRequest) ProtoMessage()
func (*QueryProviderRequest) Reset ¶
func (m *QueryProviderRequest) Reset()
func (*QueryProviderRequest) Size ¶
func (m *QueryProviderRequest) Size() (n int)
func (*QueryProviderRequest) String ¶
func (m *QueryProviderRequest) String() string
func (*QueryProviderRequest) Unmarshal ¶
func (m *QueryProviderRequest) Unmarshal(dAtA []byte) error
func (*QueryProviderRequest) XXX_DiscardUnknown ¶
func (m *QueryProviderRequest) XXX_DiscardUnknown()
func (*QueryProviderRequest) XXX_Marshal ¶
func (m *QueryProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderRequest) XXX_Merge ¶
func (m *QueryProviderRequest) XXX_Merge(src proto.Message)
func (*QueryProviderRequest) XXX_Size ¶
func (m *QueryProviderRequest) XXX_Size() int
func (*QueryProviderRequest) XXX_Unmarshal ¶
func (m *QueryProviderRequest) XXX_Unmarshal(b []byte) error
type QueryProviderResponse ¶
type QueryProviderResponse struct {
StakeEntries []types.StakeEntry `protobuf:"bytes,1,rep,name=stakeEntries,proto3" json:"stakeEntries"`
}
func (*QueryProviderResponse) Descriptor ¶
func (*QueryProviderResponse) Descriptor() ([]byte, []int)
func (*QueryProviderResponse) GetStakeEntries ¶
func (m *QueryProviderResponse) GetStakeEntries() []types.StakeEntry
func (*QueryProviderResponse) Marshal ¶
func (m *QueryProviderResponse) Marshal() (dAtA []byte, err error)
func (*QueryProviderResponse) MarshalTo ¶
func (m *QueryProviderResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProviderResponse) MarshalToSizedBuffer ¶
func (m *QueryProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProviderResponse) ProtoMessage ¶
func (*QueryProviderResponse) ProtoMessage()
func (*QueryProviderResponse) Reset ¶
func (m *QueryProviderResponse) Reset()
func (*QueryProviderResponse) Size ¶
func (m *QueryProviderResponse) Size() (n int)
func (*QueryProviderResponse) String ¶
func (m *QueryProviderResponse) String() string
func (*QueryProviderResponse) Unmarshal ¶
func (m *QueryProviderResponse) Unmarshal(dAtA []byte) error
func (*QueryProviderResponse) XXX_DiscardUnknown ¶
func (m *QueryProviderResponse) XXX_DiscardUnknown()
func (*QueryProviderResponse) XXX_Marshal ¶
func (m *QueryProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProviderResponse) XXX_Merge ¶
func (m *QueryProviderResponse) XXX_Merge(src proto.Message)
func (*QueryProviderResponse) XXX_Size ¶
func (m *QueryProviderResponse) XXX_Size() int
func (*QueryProviderResponse) XXX_Unmarshal ¶
func (m *QueryProviderResponse) XXX_Unmarshal(b []byte) error
type QueryProvidersEpochCuRequest ¶
type QueryProvidersEpochCuRequest struct { }
func (*QueryProvidersEpochCuRequest) Descriptor ¶
func (*QueryProvidersEpochCuRequest) Descriptor() ([]byte, []int)
func (*QueryProvidersEpochCuRequest) Marshal ¶
func (m *QueryProvidersEpochCuRequest) Marshal() (dAtA []byte, err error)
func (*QueryProvidersEpochCuRequest) MarshalTo ¶
func (m *QueryProvidersEpochCuRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryProvidersEpochCuRequest) MarshalToSizedBuffer ¶
func (m *QueryProvidersEpochCuRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProvidersEpochCuRequest) ProtoMessage ¶
func (*QueryProvidersEpochCuRequest) ProtoMessage()
func (*QueryProvidersEpochCuRequest) Reset ¶
func (m *QueryProvidersEpochCuRequest) Reset()
func (*QueryProvidersEpochCuRequest) Size ¶
func (m *QueryProvidersEpochCuRequest) Size() (n int)
func (*QueryProvidersEpochCuRequest) String ¶
func (m *QueryProvidersEpochCuRequest) String() string
func (*QueryProvidersEpochCuRequest) Unmarshal ¶
func (m *QueryProvidersEpochCuRequest) Unmarshal(dAtA []byte) error
func (*QueryProvidersEpochCuRequest) XXX_DiscardUnknown ¶
func (m *QueryProvidersEpochCuRequest) XXX_DiscardUnknown()
func (*QueryProvidersEpochCuRequest) XXX_Marshal ¶
func (m *QueryProvidersEpochCuRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProvidersEpochCuRequest) XXX_Merge ¶
func (m *QueryProvidersEpochCuRequest) XXX_Merge(src proto.Message)
func (*QueryProvidersEpochCuRequest) XXX_Size ¶
func (m *QueryProvidersEpochCuRequest) XXX_Size() int
func (*QueryProvidersEpochCuRequest) XXX_Unmarshal ¶
func (m *QueryProvidersEpochCuRequest) XXX_Unmarshal(b []byte) error
type QueryProvidersEpochCuResponse ¶
type QueryProvidersEpochCuResponse struct {
Info []ProviderCuInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info"`
}
func (*QueryProvidersEpochCuResponse) Descriptor ¶
func (*QueryProvidersEpochCuResponse) Descriptor() ([]byte, []int)
func (*QueryProvidersEpochCuResponse) GetInfo ¶
func (m *QueryProvidersEpochCuResponse) GetInfo() []ProviderCuInfo
func (*QueryProvidersEpochCuResponse) Marshal ¶
func (m *QueryProvidersEpochCuResponse) Marshal() (dAtA []byte, err error)
func (*QueryProvidersEpochCuResponse) MarshalTo ¶
func (m *QueryProvidersEpochCuResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryProvidersEpochCuResponse) MarshalToSizedBuffer ¶
func (m *QueryProvidersEpochCuResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryProvidersEpochCuResponse) ProtoMessage ¶
func (*QueryProvidersEpochCuResponse) ProtoMessage()
func (*QueryProvidersEpochCuResponse) Reset ¶
func (m *QueryProvidersEpochCuResponse) Reset()
func (*QueryProvidersEpochCuResponse) Size ¶
func (m *QueryProvidersEpochCuResponse) Size() (n int)
func (*QueryProvidersEpochCuResponse) String ¶
func (m *QueryProvidersEpochCuResponse) String() string
func (*QueryProvidersEpochCuResponse) Unmarshal ¶
func (m *QueryProvidersEpochCuResponse) Unmarshal(dAtA []byte) error
func (*QueryProvidersEpochCuResponse) XXX_DiscardUnknown ¶
func (m *QueryProvidersEpochCuResponse) XXX_DiscardUnknown()
func (*QueryProvidersEpochCuResponse) XXX_Marshal ¶
func (m *QueryProvidersEpochCuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryProvidersEpochCuResponse) XXX_Merge ¶
func (m *QueryProvidersEpochCuResponse) XXX_Merge(src proto.Message)
func (*QueryProvidersEpochCuResponse) XXX_Size ¶
func (m *QueryProvidersEpochCuResponse) XXX_Size() int
func (*QueryProvidersEpochCuResponse) XXX_Unmarshal ¶
func (m *QueryProvidersEpochCuResponse) 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"`
}
func (*QueryProvidersResponse) Descriptor ¶
func (*QueryProvidersResponse) Descriptor() ([]byte, []int)
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 *types2.Spec `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"` DowntimeParams *v1.Params `protobuf:"bytes,4,opt,name=downtime_params,json=downtimeParams,proto3" json:"downtime_params,omitempty"` }
func (*QuerySdkPairingResponse) Descriptor ¶
func (*QuerySdkPairingResponse) Descriptor() ([]byte, []int)
func (*QuerySdkPairingResponse) GetDowntimeParams ¶
func (m *QuerySdkPairingResponse) GetDowntimeParams() *v1.Params
func (*QuerySdkPairingResponse) GetMaxCu ¶
func (m *QuerySdkPairingResponse) GetMaxCu() uint64
func (*QuerySdkPairingResponse) GetPairing ¶
func (m *QuerySdkPairingResponse) GetPairing() *QueryGetPairingResponse
func (*QuerySdkPairingResponse) GetSpec ¶
func (m *QuerySdkPairingResponse) GetSpec() *types2.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 Provider item. Provider(context.Context, *QueryProviderRequest) (*QueryProviderResponse, 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 list of ProviderPairingChance items. ProviderPairingChance(context.Context, *QueryProviderPairingChanceRequest) (*QueryProviderPairingChanceResponse, 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 the expected monthly payout of a specific provider ProviderMonthlyPayout(context.Context, *QueryProviderMonthlyPayoutRequest) (*QueryProviderMonthlyPayoutResponse, error) // Queries the expected monthly payout of a specific subscription SubscriptionMonthlyPayout(context.Context, *QuerySubscriptionMonthlyPayoutRequest) (*QuerySubscriptionMonthlyPayoutResponse, error) // Queries a list of SdkPairing items. SdkPairing(context.Context, *QueryGetPairingRequest) (*QuerySdkPairingResponse, error) // Queries a for the aggregated CU of all ProviderEpochCu objects all the providers. ProvidersEpochCu(context.Context, *QueryProvidersEpochCuRequest) (*QueryProvidersEpochCuResponse, 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 QuerySubscriptionMonthlyPayoutRequest ¶
type QuerySubscriptionMonthlyPayoutRequest struct {
Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"`
}
func (*QuerySubscriptionMonthlyPayoutRequest) Descriptor ¶
func (*QuerySubscriptionMonthlyPayoutRequest) Descriptor() ([]byte, []int)
func (*QuerySubscriptionMonthlyPayoutRequest) GetConsumer ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) GetConsumer() string
func (*QuerySubscriptionMonthlyPayoutRequest) Marshal ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionMonthlyPayoutRequest) MarshalTo ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionMonthlyPayoutRequest) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionMonthlyPayoutRequest) ProtoMessage ¶
func (*QuerySubscriptionMonthlyPayoutRequest) ProtoMessage()
func (*QuerySubscriptionMonthlyPayoutRequest) Reset ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) Reset()
func (*QuerySubscriptionMonthlyPayoutRequest) Size ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) Size() (n int)
func (*QuerySubscriptionMonthlyPayoutRequest) String ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) String() string
func (*QuerySubscriptionMonthlyPayoutRequest) Unmarshal ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionMonthlyPayoutRequest) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_DiscardUnknown()
func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Marshal ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Merge ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Merge(src proto.Message)
func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Size ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Size() int
func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Unmarshal ¶
func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_Unmarshal(b []byte) error
type QuerySubscriptionMonthlyPayoutResponse ¶
type QuerySubscriptionMonthlyPayoutResponse struct { Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` Details []*ChainIDPayout `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"` }
func (*QuerySubscriptionMonthlyPayoutResponse) Descriptor ¶
func (*QuerySubscriptionMonthlyPayoutResponse) Descriptor() ([]byte, []int)
func (*QuerySubscriptionMonthlyPayoutResponse) GetDetails ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) GetDetails() []*ChainIDPayout
func (*QuerySubscriptionMonthlyPayoutResponse) GetTotal ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) GetTotal() uint64
func (*QuerySubscriptionMonthlyPayoutResponse) Marshal ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) Marshal() (dAtA []byte, err error)
func (*QuerySubscriptionMonthlyPayoutResponse) MarshalTo ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) MarshalTo(dAtA []byte) (int, error)
func (*QuerySubscriptionMonthlyPayoutResponse) MarshalToSizedBuffer ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QuerySubscriptionMonthlyPayoutResponse) ProtoMessage ¶
func (*QuerySubscriptionMonthlyPayoutResponse) ProtoMessage()
func (*QuerySubscriptionMonthlyPayoutResponse) Reset ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) Reset()
func (*QuerySubscriptionMonthlyPayoutResponse) Size ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) Size() (n int)
func (*QuerySubscriptionMonthlyPayoutResponse) String ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) String() string
func (*QuerySubscriptionMonthlyPayoutResponse) Unmarshal ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) Unmarshal(dAtA []byte) error
func (*QuerySubscriptionMonthlyPayoutResponse) XXX_DiscardUnknown ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_DiscardUnknown()
func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Marshal ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Merge ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_Merge(src proto.Message)
func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Size ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_Size() int
func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Unmarshal ¶
func (m *QuerySubscriptionMonthlyPayoutResponse) 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 { RequestHash []byte `protobuf:"bytes,1,opt,name=request_hash,json=requestHash,proto3" json:"request_hash,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Finalized bool `protobuf:"varint,3,opt,name=finalized,proto3" json:"finalized,omitempty"` RequestedBlock int64 `protobuf:"varint,4,opt,name=requested_block,json=requestedBlock,proto3" json:"requested_block,omitempty"` ChainId string `protobuf:"bytes,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` SeenBlock int64 `protobuf:"varint,7,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"` BlocksHashesToHeights []*BlockHashToHeight `` /* 128-byte string literal not displayed */ }
func (*RelayCacheGet) Descriptor ¶
func (*RelayCacheGet) Descriptor() ([]byte, []int)
func (*RelayCacheGet) GetBlockHash ¶
func (m *RelayCacheGet) GetBlockHash() []byte
func (*RelayCacheGet) GetBlocksHashesToHeights ¶ added in v2.4.0
func (m *RelayCacheGet) GetBlocksHashesToHeights() []*BlockHashToHeight
func (*RelayCacheGet) GetChainId ¶
func (m *RelayCacheGet) GetChainId() string
func (*RelayCacheGet) GetFinalized ¶
func (m *RelayCacheGet) GetFinalized() bool
func (*RelayCacheGet) GetRequestHash ¶
func (m *RelayCacheGet) GetRequestHash() []byte
func (*RelayCacheGet) GetRequestedBlock ¶
func (m *RelayCacheGet) GetRequestedBlock() int64
func (*RelayCacheGet) GetSeenBlock ¶
func (m *RelayCacheGet) GetSeenBlock() int64
func (*RelayCacheGet) GetSharedStateId ¶
func (m *RelayCacheGet) GetSharedStateId() string
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 { RequestHash []byte `protobuf:"bytes,1,opt,name=request_hash,json=requestHash,proto3" json:"request_hash,omitempty"` BlockHash []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"` Response *RelayReply `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"` Finalized bool `protobuf:"varint,4,opt,name=finalized,proto3" json:"finalized,omitempty"` OptionalMetadata []Metadata `protobuf:"bytes,5,rep,name=optional_metadata,json=optionalMetadata,proto3" json:"optional_metadata"` RequestedBlock int64 `protobuf:"varint,7,opt,name=requested_block,json=requestedBlock,proto3" json:"requested_block,omitempty"` ChainId string `protobuf:"bytes,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` SeenBlock int64 `protobuf:"varint,10,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"` AverageBlockTime int64 `protobuf:"varint,11,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"` IsNodeError bool `protobuf:"varint,12,opt,name=is_node_error,json=isNodeError,proto3" json:"is_node_error,omitempty"` BlocksHashesToHeights []*BlockHashToHeight `` /* 129-byte string literal not displayed */ }
func (*RelayCacheSet) Descriptor ¶
func (*RelayCacheSet) Descriptor() ([]byte, []int)
func (*RelayCacheSet) GetAverageBlockTime ¶
func (m *RelayCacheSet) GetAverageBlockTime() int64
func (*RelayCacheSet) GetBlockHash ¶
func (m *RelayCacheSet) GetBlockHash() []byte
func (*RelayCacheSet) GetBlocksHashesToHeights ¶ added in v2.4.0
func (m *RelayCacheSet) GetBlocksHashesToHeights() []*BlockHashToHeight
func (*RelayCacheSet) GetChainId ¶
func (m *RelayCacheSet) GetChainId() string
func (*RelayCacheSet) GetFinalized ¶
func (m *RelayCacheSet) GetFinalized() bool
func (*RelayCacheSet) GetIsNodeError ¶
func (m *RelayCacheSet) GetIsNodeError() bool
func (*RelayCacheSet) GetOptionalMetadata ¶
func (m *RelayCacheSet) GetOptionalMetadata() []Metadata
func (*RelayCacheSet) GetRequestHash ¶
func (m *RelayCacheSet) GetRequestHash() []byte
func (*RelayCacheSet) GetRequestedBlock ¶
func (m *RelayCacheSet) GetRequestedBlock() int64
func (*RelayCacheSet) GetResponse ¶
func (m *RelayCacheSet) GetResponse() *RelayReply
func (*RelayCacheSet) GetSeenBlock ¶
func (m *RelayCacheSet) GetSeenBlock() int64
func (*RelayCacheSet) GetSharedStateId ¶
func (m *RelayCacheSet) GetSharedStateId() string
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 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"` SeenBlock int64 `protobuf:"varint,10,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,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) GetSeenBlock ¶
func (m *RelayPrivateData) GetSeenBlock() int64
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 []*ReportedProvider `protobuf:"bytes,9,rep,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() []*ReportedProvider
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) (*CacheRelayReply, 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) (*CacheRelayReply, 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 *ProbeRequest, opts ...grpc.CallOption) (*ProbeReply, 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, *ProbeRequest) (*ProbeReply, 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 ReportedProvider ¶
type ReportedProvider struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` Disconnections uint64 `protobuf:"varint,2,opt,name=disconnections,proto3" json:"disconnections,omitempty"` Errors uint64 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"` TimestampS int64 `protobuf:"varint,4,opt,name=timestamp_s,json=timestampS,proto3" json:"timestamp_s,omitempty"` }
func (*ReportedProvider) Descriptor ¶
func (*ReportedProvider) Descriptor() ([]byte, []int)
func (*ReportedProvider) GetAddress ¶
func (m *ReportedProvider) GetAddress() string
func (*ReportedProvider) GetDisconnections ¶
func (m *ReportedProvider) GetDisconnections() uint64
func (*ReportedProvider) GetErrors ¶
func (m *ReportedProvider) GetErrors() uint64
func (*ReportedProvider) GetTimestampS ¶
func (m *ReportedProvider) GetTimestampS() int64
func (*ReportedProvider) Marshal ¶
func (m *ReportedProvider) Marshal() (dAtA []byte, err error)
func (*ReportedProvider) MarshalToSizedBuffer ¶
func (m *ReportedProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ReportedProvider) ProtoMessage ¶
func (*ReportedProvider) ProtoMessage()
func (*ReportedProvider) Reset ¶
func (m *ReportedProvider) Reset()
func (*ReportedProvider) Size ¶
func (m *ReportedProvider) Size() (n int)
func (*ReportedProvider) String ¶
func (m *ReportedProvider) String() string
func (*ReportedProvider) Unmarshal ¶
func (m *ReportedProvider) Unmarshal(dAtA []byte) error
func (*ReportedProvider) XXX_DiscardUnknown ¶
func (m *ReportedProvider) XXX_DiscardUnknown()
func (*ReportedProvider) XXX_Marshal ¶
func (m *ReportedProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ReportedProvider) XXX_Merge ¶
func (m *ReportedProvider) XXX_Merge(src proto.Message)
func (*ReportedProvider) XXX_Size ¶
func (m *ReportedProvider) XXX_Size() int
func (*ReportedProvider) XXX_Unmarshal ¶
func (m *ReportedProvider) XXX_Unmarshal(b []byte) error
type SpecKeeper ¶
type SpecKeeper interface { // Methods imported from spec should be defined here IsSpecFoundAndActive(ctx sdk.Context, chainID string) (foundAndActive, 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 GetExpectedServicesForExpandedSpec(expandedSpec spectypes.Spec, mandatory bool) map[epochstoragetypes.EndpointService]struct{} GetAllChainIDs(ctx sdk.Context) (chainIDs []string) GetMinStake(ctx sdk.Context, chainID string) sdk.Coin }
type StakingKeeper ¶
type StakingKeeper interface { GetAllDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress) []stakingtypes.Delegation GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool) BondDenom(ctx sdk.Context) string GetUnbondingDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (unbondingDelegations []stakingtypes.UnbondingDelegation) SlashUnbondingDelegation(ctx sdk.Context, unbondingDelegation stakingtypes.UnbondingDelegation, infractionHeight int64, slashFactor sdk.Dec) (totalSlashAmount math.Int) Undelegate(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, sharesAmount sdk.Dec) (time.Time, error) }
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, block uint64) (planstypes.Plan, error) ChargeComputeUnitsToSubscription(ctx sdk.Context, subscriptionOwner string, block, cuAmount uint64) (subscriptiontypes.Subscription, error) GetSubscription(ctx sdk.Context, consumer string) (val subscriptiontypes.Subscription, found bool) GetAllSubTrackedCuIndices(ctx sdk.Context, sub string) []string GetTrackedCu(ctx sdk.Context, sub string, provider string, chainID string, block uint64) (cu uint64, found bool, key string) CalcTotalMonthlyReward(ctx sdk.Context, totalAmount math.Int, trackedCu uint64, totalCuUsedBySub uint64) math.Int AddTrackedCu(ctx sdk.Context, sub string, provider string, chainID string, cu uint64, block uint64) error GetAllSubscriptionsIndices(ctx sdk.Context) []string AppendAdjustment(ctx sdk.Context, consumer string, provider string, totalConsumerUsage uint64, usageWithThisProvider uint64) CalculateParticipationFees(ctx sdk.Context, reward sdk.Coin) (sdk.Coins, sdk.Coins, error) GetAllClusters(ctx sdk.Context) []string }
type SubscriptionPayout ¶
type SubscriptionPayout struct { Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"` ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` Amount uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` }
func (*SubscriptionPayout) Descriptor ¶
func (*SubscriptionPayout) Descriptor() ([]byte, []int)
func (*SubscriptionPayout) GetAmount ¶
func (m *SubscriptionPayout) GetAmount() uint64
func (*SubscriptionPayout) GetChainId ¶
func (m *SubscriptionPayout) GetChainId() string
func (*SubscriptionPayout) GetSubscription ¶
func (m *SubscriptionPayout) GetSubscription() string
func (*SubscriptionPayout) Marshal ¶
func (m *SubscriptionPayout) Marshal() (dAtA []byte, err error)
func (*SubscriptionPayout) MarshalTo ¶
func (m *SubscriptionPayout) MarshalTo(dAtA []byte) (int, error)
func (*SubscriptionPayout) MarshalToSizedBuffer ¶
func (m *SubscriptionPayout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SubscriptionPayout) ProtoMessage ¶
func (*SubscriptionPayout) ProtoMessage()
func (*SubscriptionPayout) Reset ¶
func (m *SubscriptionPayout) Reset()
func (*SubscriptionPayout) Size ¶
func (m *SubscriptionPayout) Size() (n int)
func (*SubscriptionPayout) String ¶
func (m *SubscriptionPayout) String() string
func (*SubscriptionPayout) Unmarshal ¶
func (m *SubscriptionPayout) Unmarshal(dAtA []byte) error
func (*SubscriptionPayout) XXX_DiscardUnknown ¶
func (m *SubscriptionPayout) XXX_DiscardUnknown()
func (*SubscriptionPayout) XXX_Marshal ¶
func (m *SubscriptionPayout) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubscriptionPayout) XXX_Merge ¶
func (m *SubscriptionPayout) XXX_Merge(src proto.Message)
func (*SubscriptionPayout) XXX_Size ¶
func (m *SubscriptionPayout) XXX_Size() int
func (*SubscriptionPayout) XXX_Unmarshal ¶
func (m *SubscriptionPayout) XXX_Unmarshal(b []byte) error
type TimerStoreKeeper ¶
type TimerStoreKeeper interface {
NewTimerStoreBeginBlock(storeKey storetypes.StoreKey, prefix string) *timerstoretypes.TimerStore
}
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) 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) Provider ¶
func (*UnimplementedQueryServer) Provider(ctx context.Context, req *QueryProviderRequest) (*QueryProviderResponse, error)
func (*UnimplementedQueryServer) ProviderMonthlyPayout ¶
func (*UnimplementedQueryServer) ProviderMonthlyPayout(ctx context.Context, req *QueryProviderMonthlyPayoutRequest) (*QueryProviderMonthlyPayoutResponse, error)
func (*UnimplementedQueryServer) ProviderPairingChance ¶
func (*UnimplementedQueryServer) ProviderPairingChance(ctx context.Context, req *QueryProviderPairingChanceRequest) (*QueryProviderPairingChanceResponse, error)
func (*UnimplementedQueryServer) Providers ¶
func (*UnimplementedQueryServer) Providers(ctx context.Context, req *QueryProvidersRequest) (*QueryProvidersResponse, error)
func (*UnimplementedQueryServer) ProvidersEpochCu ¶
func (*UnimplementedQueryServer) ProvidersEpochCu(ctx context.Context, req *QueryProvidersEpochCuRequest) (*QueryProvidersEpochCuResponse, 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) SubscriptionMonthlyPayout ¶
func (*UnimplementedQueryServer) SubscriptionMonthlyPayout(ctx context.Context, req *QuerySubscriptionMonthlyPayoutRequest) (*QuerySubscriptionMonthlyPayoutResponse, 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) (*CacheRelayReply, 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 *ProbeRequest) (*ProbeReply, 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 UniqueEpochSession ¶
type UniqueEpochSession struct { }
UniqueEpochSession is used to detect double spend attacks It's kept in a epoch-prefixed store with a unique index: provider, project ID, chain ID and session ID
func (*UniqueEpochSession) Descriptor ¶
func (*UniqueEpochSession) Descriptor() ([]byte, []int)
func (*UniqueEpochSession) Marshal ¶
func (m *UniqueEpochSession) Marshal() (dAtA []byte, err error)
func (*UniqueEpochSession) MarshalTo ¶
func (m *UniqueEpochSession) MarshalTo(dAtA []byte) (int, error)
func (*UniqueEpochSession) MarshalToSizedBuffer ¶
func (m *UniqueEpochSession) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniqueEpochSession) ProtoMessage ¶
func (*UniqueEpochSession) ProtoMessage()
func (*UniqueEpochSession) Reset ¶
func (m *UniqueEpochSession) Reset()
func (*UniqueEpochSession) Size ¶
func (m *UniqueEpochSession) Size() (n int)
func (*UniqueEpochSession) String ¶
func (m *UniqueEpochSession) String() string
func (*UniqueEpochSession) Unmarshal ¶
func (m *UniqueEpochSession) Unmarshal(dAtA []byte) error
func (*UniqueEpochSession) XXX_DiscardUnknown ¶
func (m *UniqueEpochSession) XXX_DiscardUnknown()
func (*UniqueEpochSession) XXX_Marshal ¶
func (m *UniqueEpochSession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniqueEpochSession) XXX_Merge ¶
func (m *UniqueEpochSession) XXX_Merge(src proto.Message)
func (*UniqueEpochSession) XXX_Size ¶
func (m *UniqueEpochSession) XXX_Size() int
func (*UniqueEpochSession) XXX_Unmarshal ¶
func (m *UniqueEpochSession) XXX_Unmarshal(b []byte) error
type UniqueEpochSessionGenesis ¶
type UniqueEpochSessionGenesis struct { Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Project string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"` ChainId string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"` SessionId uint64 `protobuf:"varint,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"` }
func (*UniqueEpochSessionGenesis) Descriptor ¶
func (*UniqueEpochSessionGenesis) Descriptor() ([]byte, []int)
func (*UniqueEpochSessionGenesis) GetChainId ¶
func (m *UniqueEpochSessionGenesis) GetChainId() string
func (*UniqueEpochSessionGenesis) GetEpoch ¶
func (m *UniqueEpochSessionGenesis) GetEpoch() uint64
func (*UniqueEpochSessionGenesis) GetProject ¶
func (m *UniqueEpochSessionGenesis) GetProject() string
func (*UniqueEpochSessionGenesis) GetProvider ¶
func (m *UniqueEpochSessionGenesis) GetProvider() string
func (*UniqueEpochSessionGenesis) GetSessionId ¶
func (m *UniqueEpochSessionGenesis) GetSessionId() uint64
func (*UniqueEpochSessionGenesis) Marshal ¶
func (m *UniqueEpochSessionGenesis) Marshal() (dAtA []byte, err error)
func (*UniqueEpochSessionGenesis) MarshalTo ¶
func (m *UniqueEpochSessionGenesis) MarshalTo(dAtA []byte) (int, error)
func (*UniqueEpochSessionGenesis) MarshalToSizedBuffer ¶
func (m *UniqueEpochSessionGenesis) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UniqueEpochSessionGenesis) ProtoMessage ¶
func (*UniqueEpochSessionGenesis) ProtoMessage()
func (*UniqueEpochSessionGenesis) Reset ¶
func (m *UniqueEpochSessionGenesis) Reset()
func (*UniqueEpochSessionGenesis) Size ¶
func (m *UniqueEpochSessionGenesis) Size() (n int)
func (*UniqueEpochSessionGenesis) String ¶
func (m *UniqueEpochSessionGenesis) String() string
func (*UniqueEpochSessionGenesis) Unmarshal ¶
func (m *UniqueEpochSessionGenesis) Unmarshal(dAtA []byte) error
func (*UniqueEpochSessionGenesis) XXX_DiscardUnknown ¶
func (m *UniqueEpochSessionGenesis) XXX_DiscardUnknown()
func (*UniqueEpochSessionGenesis) XXX_Marshal ¶
func (m *UniqueEpochSessionGenesis) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UniqueEpochSessionGenesis) XXX_Merge ¶
func (m *UniqueEpochSessionGenesis) XXX_Merge(src proto.Message)
func (*UniqueEpochSessionGenesis) XXX_Size ¶
func (m *UniqueEpochSessionGenesis) XXX_Size() int
func (*UniqueEpochSessionGenesis) XXX_Unmarshal ¶
func (m *UniqueEpochSessionGenesis) XXX_Unmarshal(b []byte) error
type UnstakeProposal ¶
type UnstakeProposal struct { Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` ProvidersInfo []ProviderUnstakeInfo `protobuf:"bytes,3,rep,name=providers_info,json=providersInfo,proto3" json:"providers_info"` DelegatorsSlashing []DelegatorSlashing `protobuf:"bytes,4,rep,name=DelegatorsSlashing,proto3" json:"DelegatorsSlashing"` }
func NewUnstakeProposal ¶
func NewUnstakeProposal(title, description string, providers []ProviderUnstakeInfo, delegatorsSlashing []DelegatorSlashing) *UnstakeProposal
func (*UnstakeProposal) Descriptor ¶
func (*UnstakeProposal) Descriptor() ([]byte, []int)
func (*UnstakeProposal) GetDescription ¶
func (up *UnstakeProposal) GetDescription() string
GetDescription returns the description of a proposal.
func (*UnstakeProposal) GetTitle ¶
func (up *UnstakeProposal) GetTitle() string
GetTitle returns the title of a proposal.
func (*UnstakeProposal) Marshal ¶
func (m *UnstakeProposal) Marshal() (dAtA []byte, err error)
func (*UnstakeProposal) MarshalToSizedBuffer ¶
func (m *UnstakeProposal) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*UnstakeProposal) ProposalRoute ¶
func (up *UnstakeProposal) ProposalRoute() string
ProposalRoute returns the routing key of a proposal.
func (*UnstakeProposal) ProposalType ¶
func (up *UnstakeProposal) ProposalType() string
ProposalType returns the type of a proposal.
func (*UnstakeProposal) ProtoMessage ¶
func (*UnstakeProposal) ProtoMessage()
func (*UnstakeProposal) Reset ¶
func (m *UnstakeProposal) Reset()
func (*UnstakeProposal) Size ¶
func (m *UnstakeProposal) Size() (n int)
func (*UnstakeProposal) String ¶
func (m *UnstakeProposal) String() string
func (*UnstakeProposal) Unmarshal ¶
func (m *UnstakeProposal) Unmarshal(dAtA []byte) error
func (*UnstakeProposal) ValidateBasic ¶
func (up *UnstakeProposal) ValidateBasic() error
ValidateBasic validates the proposal
func (*UnstakeProposal) XXX_DiscardUnknown ¶
func (m *UnstakeProposal) XXX_DiscardUnknown()
func (*UnstakeProposal) XXX_Marshal ¶
func (m *UnstakeProposal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnstakeProposal) XXX_Merge ¶
func (m *UnstakeProposal) XXX_Merge(src proto.Message)
func (*UnstakeProposal) XXX_Size ¶
func (m *UnstakeProposal) XXX_Size() int
func (*UnstakeProposal) XXX_Unmarshal ¶
func (m *UnstakeProposal) XXX_Unmarshal(b []byte) error
Source Files ¶
- QualityOfServiceReport.go
- account_info.pb.go
- badge.go
- badges.pb.go
- codec.go
- debug_query.pb.go
- epoch_cu.go
- epoch_cu.pb.go
- errors.go
- expected_keepers.go
- genesis.go
- genesis.pb.go
- key_badge_used_cu.go
- key_provider_qos.go
- keys.go
- message_freeze.go
- message_relay_payment.go
- message_stake_provider.go
- message_unfreeze.go
- message_unstake_provider.go
- pairing_cache.go
- params.go
- params.pb.go
- query.pb.go
- query.pb.gw.go
- relay.pb.go
- relayCache.pb.go
- relay_exchange.go
- relay_mock.pb.go
- relay_session.go
- static_providers.pb.go
- tx.pb.go
- types.go
- unstake_proposal.go
- unstake_proposal.pb.go