types

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0 Imports: 37 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	// ModuleName defines the module name
	ModuleName = "pairing"

	// StoreKey defines the primary module store key
	StoreKey = ModuleName

	// RouterKey is the message route for slashing
	RouterKey = ModuleName

	// QuerierRoute defines the module's query routing key
	QuerierRoute = ModuleName

	// MemStoreKey defines the in-memory store key
	MemStoreKey = "mem_pairing"
)
View Source
const (
	TypeMsgFreeze   = "freeze"
	ReasonFlagName  = "reason"
	ReasonMaxLength = 50
)
View Source
const (
	ProviderStakeEventName       = "stake_new_provider"
	ConsumerStakeEventName       = "stake_new_consumer"
	ProviderStakeUpdateEventName = "stake_update_provider"
	ConsumerStakeUpdateEventName = "stake_update_consumer"
	ProviderUnstakeEventName     = "provider_unstake_commit"
	ConsumerUnstakeEventName     = "consumer_unstake_commit"

	ConsumerInsufficientFundsToStayStakedEventName = "consumer_insufficient_funds_to_stay_staked"
	RelayPaymentEventName                          = "relay_payment"
	UnresponsiveProviderUnstakeFailedEventName     = "unresponsive_provider"
	ProviderJailedEventName                        = "provider_jailed"
)
View Source
const (
	UnstakeDescriptionClientUnstake     = "Client unstaked entry"
	UnstakeDescriptionProviderUnstake   = "Provider unstaked entry"
	UnstakeDescriptionInsufficientFunds = "client stake is below the minimum stake required"
)

unstake description strings

View Source
const (
	FlagMoniker     = "provider-moniker"
	MAX_LEN_MONIKER = 50
)
View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	// EpochPaymentsKeyPrefix is the prefix to retrieve all EpochPayments
	EpochPaymentsKeyPrefix = "EpochPayments/value/"
)
View Source
const (
	// ProviderPaymentStorageKeyPrefix is the prefix to retrieve all ProviderPaymentStorage
	ProviderPaymentStorageKeyPrefix = "ProviderPaymentStorage/value/"
)
View Source
const TypeMsgRelayPayment = "relay_payment"
View Source
const TypeMsgStakeClient = "stake_client"
View Source
const TypeMsgStakeProvider = "stake_provider"
View Source
const TypeMsgUnfreeze = "unfreeze"
View Source
const TypeMsgUnstakeClient = "unstake_client"
View Source
const TypeMsgUnstakeProvider = "unstake_provider"
View Source
const (
	// UniquePaymentStorageClientProviderKeyPrefix is the prefix to retrieve all UniquePaymentStorageClientProvider
	UniquePaymentStorageClientProviderKeyPrefix = "UniquePaymentStorageClientProvider/value/"
)

Variables

View Source
var (
	ErrInvalidLengthEpochPayments        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEpochPayments          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEpochPayments = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrSample                                          = sdkerrors.Register(ModuleName, 1100, "sample error")
	NoPreviousEpochForAverageBlockTimeCalculationError = sdkerrors.New("NoPreviousEpochForAverageBlockTimeCalculationError Error", 685, "Can't get previous epoch for average block time calculation.")
	PreviousEpochStartIsBlockZeroError                 = sdkerrors.New("PreviousEpochStartIsBlockZeroError Error", 686, "Previous epoch start is block 0, can't be used for average block time calculation (core.Block(0) panics).")
	AverageBlockTimeIsLessOrEqualToZeroError           = sdkerrors.New("AverageBlockTimeIsLessOrEqualToZeroError Error", 687, "The calculated average block time is less or equal to zero")
	NotEnoughBlocksToCalculateAverageBlockTimeError    = sdkerrors.New("NotEnoughBlocksToCalculateAverageBlockTimeError Error", 688, "There isn't enough blocks in the previous epoch to calculate average block time")
	FreezeReasonTooLongError                           = sdkerrors.New("FreezeReasonTooLongError Error", 689, "The freeze reason is too long. Keep the freeze reason less than 50 characters")
	FreezeStakeEntryNotFoundError                      = sdkerrors.New("FreezeStakeEntryNotFoundError Error", 690, "can't get stake entry to freeze")
	MonikerTooLongError                                = sdkerrors.New("MonikerTooLongError Error", 691, "The provider's moniker is too long. Keep it less than 50 characters")
	MonikerEmptyError                                  = sdkerrors.New("MonikerEmptyError Error", 692, "The provider's moniker cannot be empty")
)

x/pairing module sentinel errors

View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	KeyMintCoinsPerCU             = []byte("MintCoinsPerCU")
	DefaultMintCoinsPerCU sdk.Dec = sdk.NewDecWithPrec(1, 1) // 0.1
)
View Source
var (
	KeyBurnCoinsPerCU             = []byte("BurnCoinsPerCU")
	DefaultBurnCoinsPerCU sdk.Dec = sdk.NewDecWithPrec(5, 2) // 0.05
)
View Source
var (
	KeyFraudStakeSlashingFactor = []byte("FraudStakeSlashingFactor")
	// TODO: Determine the default value
	DefaultFraudStakeSlashingFactor sdk.Dec = sdk.NewDecWithPrec(0, 0) // 0
)
View Source
var (
	KeyFraudSlashingAmount = []byte("FraudSlashingAmount")
	// TODO: Determine the default value
	DefaultFraudSlashingAmount uint64 = 0
)
View Source
var (
	KeyServicersToPairCount = []byte("ServicersToPairCount")
	// TODO: Determine the default value
	DefaultServicersToPairCount uint64 = 2
)
View Source
var (
	KeyEpochBlocksOverlap = []byte("EpochBlocksOverlap")
	// TODO: Determine the default value
	DefaultEpochBlocksOverlap uint64 = 5
)
View Source
var (
	KeyUnpayLimit             = []byte("UnpayLimit")
	DefaultUnpayLimit sdk.Dec = sdk.NewDecWithPrec(1, 1) // 0.1 = 10%
)
View Source
var (
	KeySlashLimit             = []byte("SlashLimit")
	DefaultSlashLimit sdk.Dec = sdk.NewDecWithPrec(2, 1) // 0.2 = 20%
)
View Source
var (
	KeyDataReliabilityReward             = []byte("DataReliabilityReward")
	DefaultDataReliabilityReward sdk.Dec = sdk.NewDecWithPrec(5, 2) // 0.05
)
View Source
var (
	KeyQoSWeight             = []byte("QoSWeight")
	DefaultQoSWeight sdk.Dec = sdk.NewDecWithPrec(5, 1) // 0.5
)
View Source
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
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProviderPaymentStorage        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProviderPaymentStorage          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProviderPaymentStorage = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRelay        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRelay          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRelay = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthRelayCache        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowRelayCache          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupRelayCache = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStakeToMaxCuList        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStakeToMaxCuList          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStakeToMaxCuList = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthStaticProviders        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowStaticProviders          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupStaticProviders = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthUniquePaymentStorageClientProvider        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUniquePaymentStorageClientProvider          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUniquePaymentStorageClientProvider = fmt.Errorf("proto: unexpected end of group")
)

Functions

func EpochPaymentsKey

func EpochPaymentsKey(
	index string,
) []byte

EpochPaymentsKey returns the store key to retrieve a EpochPayments from the index fields

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func ProviderPaymentStorageKey

func ProviderPaymentStorageKey(
	index string,
) []byte

ProviderPaymentStorageKey returns the store key to retrieve a ProviderPaymentStorage from the index fields

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func RegisterRelayerCacheServer

func RegisterRelayerCacheServer(s grpc1.Server, srv RelayerCacheServer)

func RegisterRelayerServer

func RegisterRelayerServer(s grpc1.Server, srv RelayerServer)

func StakeNewEventName added in v0.4.3

func StakeNewEventName(isProvider bool) string

func StakeUpdateEventName added in v0.4.3

func StakeUpdateEventName(isProvider bool) string

func UniquePaymentStorageClientProviderKey

func UniquePaymentStorageClientProviderKey(
	index string,
) []byte

UniquePaymentStorageClientProviderKey returns the store key to retrieve a UniquePaymentStorageClientProvider from the index fields

func UnstakeCommitNewEventName added in v0.4.3

func UnstakeCommitNewEventName(isProvider bool) string

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        int64  `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
	BadgePk      []byte `protobuf:"bytes,3,opt,name=badge_pk,json=badgePk,proto3" json:"badge_pk,omitempty"`
	SpecId       string `protobuf:"bytes,4,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
	ProjectSig   []byte `protobuf:"bytes,5,opt,name=project_sig,json=projectSig,proto3" json:"project_sig,omitempty"`
}

func (*Badge) Descriptor

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

func (*Badge) GetBadgePk added in v0.9.0

func (m *Badge) GetBadgePk() []byte

func (*Badge) GetCuAllocation

func (m *Badge) GetCuAllocation() uint64

func (*Badge) GetEpoch

func (m *Badge) GetEpoch() int64

func (*Badge) GetProjectSig

func (m *Badge) GetProjectSig() []byte

func (*Badge) GetSpecId added in v0.9.0

func (m *Badge) GetSpecId() string

func (*Badge) Marshal

func (m *Badge) Marshal() (dAtA []byte, err error)

func (*Badge) MarshalTo

func (m *Badge) MarshalTo(dAtA []byte) (int, error)

func (*Badge) MarshalToSizedBuffer

func (m *Badge) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Badge) ProtoMessage

func (*Badge) ProtoMessage()

func (*Badge) Reset

func (m *Badge) Reset()

func (*Badge) Size

func (m *Badge) Size() (n int)

func (*Badge) String

func (m *Badge) String() string

func (*Badge) Unmarshal

func (m *Badge) Unmarshal(dAtA []byte) error

func (*Badge) XXX_DiscardUnknown

func (m *Badge) XXX_DiscardUnknown()

func (*Badge) XXX_Marshal

func (m *Badge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Badge) XXX_Merge

func (m *Badge) XXX_Merge(src proto.Message)

func (*Badge) XXX_Size

func (m *Badge) XXX_Size() int

func (*Badge) XXX_Unmarshal

func (m *Badge) XXX_Unmarshal(b []byte) error

type BankKeeper

type BankKeeper interface {
	SpendableCoins(ctx sdk.Context, addr sdk.AccAddress) sdk.Coins
	GetBalance(ctx sdk.Context, addr sdk.AccAddress, denom string) sdk.Coin
	SendCoinsFromAccountToModule(ctx sdk.Context, senderAddr sdk.AccAddress, recipientModule string, amt sdk.Coins) error
	SendCoinsFromModuleToAccount(ctx sdk.Context, senderModule string, recipientAddr sdk.AccAddress, amt sdk.Coins) error
	MintCoins(ctx sdk.Context, moduleName string, amounts sdk.Coins) error
}

BankKeeper defines the expected interface needed to retrieve account balances.

type CacheUsage

type CacheUsage struct {
	CacheHits   uint64 `protobuf:"varint,1,opt,name=CacheHits,proto3" json:"CacheHits,omitempty"`
	CacheMisses uint64 `protobuf:"varint,2,opt,name=CacheMisses,proto3" json:"CacheMisses,omitempty"`
}

func (*CacheUsage) Descriptor

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

func (*CacheUsage) GetCacheHits

func (m *CacheUsage) GetCacheHits() uint64

func (*CacheUsage) GetCacheMisses

func (m *CacheUsage) GetCacheMisses() uint64

func (*CacheUsage) Marshal

func (m *CacheUsage) Marshal() (dAtA []byte, err error)

func (*CacheUsage) MarshalTo

func (m *CacheUsage) MarshalTo(dAtA []byte) (int, 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 ClientProviderOverusedCUPercent

type ClientProviderOverusedCUPercent struct {
	TotalOverusedPercent    float64
	OverusedPercentProvider float64
}

type ClientUsedCU

type ClientUsedCU struct {
	TotalUsed uint64
	Providers map[string]uint64
}

type EpochPayments

type EpochPayments struct {
	Index                      string   `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	ProviderPaymentStorageKeys []string `protobuf:"bytes,3,rep,name=providerPaymentStorageKeys,proto3" json:"providerPaymentStorageKeys,omitempty"`
}

func (*EpochPayments) Descriptor

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

func (*EpochPayments) GetIndex

func (m *EpochPayments) GetIndex() string

func (*EpochPayments) GetProviderPaymentStorageKeys

func (m *EpochPayments) GetProviderPaymentStorageKeys() []string

func (*EpochPayments) Marshal

func (m *EpochPayments) Marshal() (dAtA []byte, err error)

func (*EpochPayments) MarshalTo

func (m *EpochPayments) MarshalTo(dAtA []byte) (int, error)

func (*EpochPayments) MarshalToSizedBuffer

func (m *EpochPayments) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EpochPayments) ProtoMessage

func (*EpochPayments) ProtoMessage()

func (*EpochPayments) Reset

func (m *EpochPayments) Reset()

func (*EpochPayments) Size

func (m *EpochPayments) Size() (n int)

func (*EpochPayments) String

func (m *EpochPayments) String() string

func (*EpochPayments) Unmarshal

func (m *EpochPayments) Unmarshal(dAtA []byte) error

func (*EpochPayments) XXX_DiscardUnknown

func (m *EpochPayments) XXX_DiscardUnknown()

func (*EpochPayments) XXX_Marshal

func (m *EpochPayments) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EpochPayments) XXX_Merge

func (m *EpochPayments) XXX_Merge(src proto.Message)

func (*EpochPayments) XXX_Size

func (m *EpochPayments) XXX_Size() int

func (*EpochPayments) XXX_Unmarshal

func (m *EpochPayments) XXX_Unmarshal(b []byte) error

type EpochstorageKeeper

type EpochstorageKeeper interface {
	// Methods imported from epochStorage should be defined here
	// Methods imported from bank should be defined here
	GetParamForBlock(ctx sdk.Context, fixationKey string, block uint64, param any) error
	GetEpochStart(ctx sdk.Context) uint64
	GetEarliestEpochStart(ctx sdk.Context) uint64
	UnstakeHoldBlocks(ctx sdk.Context, block uint64) (res uint64)
	UnstakeHoldBlocksStatic(ctx sdk.Context, block uint64) (res uint64)
	IsEpochStart(ctx sdk.Context) (res bool)
	BlocksToSave(ctx sdk.Context, block uint64) (res uint64, erro error)
	GetEpochStartForBlock(ctx sdk.Context, block uint64) (epochStart uint64, blockInEpoch uint64, err error)
	GetPreviousEpochStartForBlock(ctx sdk.Context, block uint64) (previousEpochStart uint64, erro error)
	PopUnstakeEntries(ctx sdk.Context, storageType string, block uint64) (value []epochstoragetypes.StakeEntry)
	AppendUnstakeEntry(ctx sdk.Context, storageType string, stakeEntry epochstoragetypes.StakeEntry, unstakeHoldBlocks uint64) error
	ModifyUnstakeEntry(ctx sdk.Context, storageType string, stakeEntry epochstoragetypes.StakeEntry, removeIndex uint64)
	GetStakeStorageUnstake(ctx sdk.Context, storageType string) (epochstoragetypes.StakeStorage, bool)
	ModifyStakeEntryCurrent(ctx sdk.Context, storageType string, chainID string, stakeEntry epochstoragetypes.StakeEntry, removeIndex uint64)
	AppendStakeEntryCurrent(ctx sdk.Context, storageType string, chainID string, stakeEntry epochstoragetypes.StakeEntry)
	RemoveStakeEntryCurrent(ctx sdk.Context, storageType string, chainID string, idx uint64) error
	GetStakeEntryByAddressCurrent(ctx sdk.Context, storageType string, chainID string, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64)
	UnstakeEntryByAddress(ctx sdk.Context, storageType string, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64)
	GetStakeStorageCurrent(ctx sdk.Context, storageType string, chainID string) (epochstoragetypes.StakeStorage, bool)
	GetEpochStakeEntries(ctx sdk.Context, block uint64, storageType string, chainID string) (entries []epochstoragetypes.StakeEntry, found bool, epochHash []byte)
	GetStakeEntryByAddressFromStorage(ctx sdk.Context, stakeStorage epochstoragetypes.StakeStorage, address sdk.AccAddress) (value epochstoragetypes.StakeEntry, found bool, index uint64)
	GetNextEpoch(ctx sdk.Context, block uint64) (nextEpoch uint64, erro error)
	GetStakeEntryForClientEpoch(ctx sdk.Context, chainID string, selectedClient sdk.AccAddress, epoch uint64) (entry *epochstoragetypes.StakeEntry, err error)
	BypassCurrentAndAppendNewEpochStakeEntry(ctx sdk.Context, storageType string, chainID string, stakeEntry epochstoragetypes.StakeEntry) (added bool, err error)
	AddFixationRegistry(fixationKey string, getParamFunction func(sdk.Context) any)
	GetDeletedEpochs(ctx sdk.Context) []uint64
	EpochBlocks(ctx sdk.Context, block uint64) (res uint64, err error)
}

type GenesisState

type GenesisState struct {
	Params                                 Params                               `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	UniquePaymentStorageClientProviderList []UniquePaymentStorageClientProvider `protobuf:"bytes,2,rep,name=uniquePaymentStorageClientProviderList,proto3" json:"uniquePaymentStorageClientProviderList"`
	ProviderPaymentStorageList             []ProviderPaymentStorage             `protobuf:"bytes,3,rep,name=providerPaymentStorageList,proto3" json:"providerPaymentStorageList"`
	EpochPaymentsList                      []EpochPayments                      `protobuf:"bytes,4,rep,name=epochPaymentsList,proto3" json:"epochPaymentsList"`
}

GenesisState defines the pairing module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetEpochPaymentsList

func (m *GenesisState) GetEpochPaymentsList() []EpochPayments

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetProviderPaymentStorageList

func (m *GenesisState) GetProviderPaymentStorageList() []ProviderPaymentStorage

func (*GenesisState) GetUniquePaymentStorageClientProviderList

func (m *GenesisState) GetUniquePaymentStorageClientProviderList() []UniquePaymentStorageClientProvider

func (*GenesisState) Marshal

func (m *GenesisState) Marshal() (dAtA []byte, err error)

func (*GenesisState) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *GeoLocation) MarshalTo(dAtA []byte) (int, 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 MsgClient

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"`
	VRFs              []*VRFData      `protobuf:"bytes,3,rep,name=VRFs,proto3" json:"VRFs,omitempty"`
	DescriptionString string          `protobuf:"bytes,4,opt,name=descriptionString,proto3" json:"descriptionString,omitempty"`
}

func NewMsgRelayPayment

func NewMsgRelayPayment(creator string, relays []*RelaySession, dataReliabilityProofs []*VRFData, description string) *MsgRelayPayment

func (*MsgRelayPayment) Descriptor

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

func (*MsgRelayPayment) GetCreator

func (m *MsgRelayPayment) GetCreator() string

func (*MsgRelayPayment) GetDescriptionString

func (m *MsgRelayPayment) GetDescriptionString() string

func (*MsgRelayPayment) GetRelays

func (m *MsgRelayPayment) GetRelays() []*RelaySession

func (*MsgRelayPayment) GetSignBytes

func (msg *MsgRelayPayment) GetSignBytes() []byte

func (*MsgRelayPayment) GetSigners

func (msg *MsgRelayPayment) GetSigners() []sdk.AccAddress

func (*MsgRelayPayment) GetVRFs added in v0.9.0

func (m *MsgRelayPayment) GetVRFs() []*VRFData

func (*MsgRelayPayment) Marshal

func (m *MsgRelayPayment) Marshal() (dAtA []byte, err error)

func (*MsgRelayPayment) MarshalTo

func (m *MsgRelayPayment) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayPayment) MarshalToSizedBuffer

func (m *MsgRelayPayment) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayPayment) ProtoMessage

func (*MsgRelayPayment) ProtoMessage()

func (*MsgRelayPayment) Reset

func (m *MsgRelayPayment) Reset()

func (*MsgRelayPayment) Route

func (msg *MsgRelayPayment) Route() string

func (*MsgRelayPayment) Size

func (m *MsgRelayPayment) Size() (n int)

func (*MsgRelayPayment) String

func (m *MsgRelayPayment) String() string

func (*MsgRelayPayment) Type

func (msg *MsgRelayPayment) Type() string

func (*MsgRelayPayment) Unmarshal

func (m *MsgRelayPayment) Unmarshal(dAtA []byte) error

func (*MsgRelayPayment) ValidateBasic

func (msg *MsgRelayPayment) ValidateBasic() error

func (*MsgRelayPayment) XXX_DiscardUnknown

func (m *MsgRelayPayment) XXX_DiscardUnknown()

func (*MsgRelayPayment) XXX_Marshal

func (m *MsgRelayPayment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayPayment) XXX_Merge

func (m *MsgRelayPayment) XXX_Merge(src proto.Message)

func (*MsgRelayPayment) XXX_Size

func (m *MsgRelayPayment) XXX_Size() int

func (*MsgRelayPayment) XXX_Unmarshal

func (m *MsgRelayPayment) XXX_Unmarshal(b []byte) error

type MsgRelayPaymentResponse

type MsgRelayPaymentResponse struct {
}

func (*MsgRelayPaymentResponse) Descriptor

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

func (*MsgRelayPaymentResponse) Marshal

func (m *MsgRelayPaymentResponse) Marshal() (dAtA []byte, err error)

func (*MsgRelayPaymentResponse) MarshalTo

func (m *MsgRelayPaymentResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgRelayPaymentResponse) MarshalToSizedBuffer

func (m *MsgRelayPaymentResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgRelayPaymentResponse) ProtoMessage

func (*MsgRelayPaymentResponse) ProtoMessage()

func (*MsgRelayPaymentResponse) Reset

func (m *MsgRelayPaymentResponse) Reset()

func (*MsgRelayPaymentResponse) Size

func (m *MsgRelayPaymentResponse) Size() (n int)

func (*MsgRelayPaymentResponse) String

func (m *MsgRelayPaymentResponse) String() string

func (*MsgRelayPaymentResponse) Unmarshal

func (m *MsgRelayPaymentResponse) Unmarshal(dAtA []byte) error

func (*MsgRelayPaymentResponse) XXX_DiscardUnknown

func (m *MsgRelayPaymentResponse) XXX_DiscardUnknown()

func (*MsgRelayPaymentResponse) XXX_Marshal

func (m *MsgRelayPaymentResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgRelayPaymentResponse) XXX_Merge

func (m *MsgRelayPaymentResponse) XXX_Merge(src proto.Message)

func (*MsgRelayPaymentResponse) XXX_Size

func (m *MsgRelayPaymentResponse) XXX_Size() int

func (*MsgRelayPaymentResponse) XXX_Unmarshal

func (m *MsgRelayPaymentResponse) XXX_Unmarshal(b []byte) error

type MsgStakeClient added in v0.4.3

type MsgStakeClient struct {
	Creator     string     `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainID     string     `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Amount      types.Coin `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	Geolocation uint64     `protobuf:"varint,4,opt,name=geolocation,proto3" json:"geolocation,omitempty"`
	Vrfpk       string     `protobuf:"bytes,5,opt,name=vrfpk,proto3" json:"vrfpk,omitempty"`
}

func NewMsgStakeClient added in v0.4.3

func NewMsgStakeClient(creator string, chainID string, amount sdk.Coin, geolocation uint64, vrfpk string) *MsgStakeClient

func (*MsgStakeClient) Descriptor added in v0.4.3

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

func (*MsgStakeClient) GetAmount added in v0.4.3

func (m *MsgStakeClient) GetAmount() types.Coin

func (*MsgStakeClient) GetChainID added in v0.4.3

func (m *MsgStakeClient) GetChainID() string

func (*MsgStakeClient) GetCreator added in v0.4.3

func (m *MsgStakeClient) GetCreator() string

func (*MsgStakeClient) GetGeolocation added in v0.4.3

func (m *MsgStakeClient) GetGeolocation() uint64

func (*MsgStakeClient) GetSignBytes added in v0.4.3

func (msg *MsgStakeClient) GetSignBytes() []byte

func (*MsgStakeClient) GetSigners added in v0.4.3

func (msg *MsgStakeClient) GetSigners() []sdk.AccAddress

func (*MsgStakeClient) GetVrfpk added in v0.4.3

func (m *MsgStakeClient) GetVrfpk() string

func (*MsgStakeClient) Marshal added in v0.4.3

func (m *MsgStakeClient) Marshal() (dAtA []byte, err error)

func (*MsgStakeClient) MarshalTo added in v0.4.3

func (m *MsgStakeClient) MarshalTo(dAtA []byte) (int, error)

func (*MsgStakeClient) MarshalToSizedBuffer added in v0.4.3

func (m *MsgStakeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStakeClient) ProtoMessage added in v0.4.3

func (*MsgStakeClient) ProtoMessage()

func (*MsgStakeClient) Reset added in v0.4.3

func (m *MsgStakeClient) Reset()

func (*MsgStakeClient) Route added in v0.4.3

func (msg *MsgStakeClient) Route() string

func (*MsgStakeClient) Size added in v0.4.3

func (m *MsgStakeClient) Size() (n int)

func (*MsgStakeClient) String added in v0.4.3

func (m *MsgStakeClient) String() string

func (*MsgStakeClient) Type added in v0.4.3

func (msg *MsgStakeClient) Type() string

func (*MsgStakeClient) Unmarshal added in v0.4.3

func (m *MsgStakeClient) Unmarshal(dAtA []byte) error

func (*MsgStakeClient) ValidateBasic added in v0.4.3

func (msg *MsgStakeClient) ValidateBasic() error

func (*MsgStakeClient) XXX_DiscardUnknown added in v0.4.3

func (m *MsgStakeClient) XXX_DiscardUnknown()

func (*MsgStakeClient) XXX_Marshal added in v0.4.3

func (m *MsgStakeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStakeClient) XXX_Merge added in v0.4.3

func (m *MsgStakeClient) XXX_Merge(src proto.Message)

func (*MsgStakeClient) XXX_Size added in v0.4.3

func (m *MsgStakeClient) XXX_Size() int

func (*MsgStakeClient) XXX_Unmarshal added in v0.4.3

func (m *MsgStakeClient) XXX_Unmarshal(b []byte) error

type MsgStakeClientResponse added in v0.4.3

type MsgStakeClientResponse struct {
}

func (*MsgStakeClientResponse) Descriptor added in v0.4.3

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

func (*MsgStakeClientResponse) Marshal added in v0.4.3

func (m *MsgStakeClientResponse) Marshal() (dAtA []byte, err error)

func (*MsgStakeClientResponse) MarshalTo added in v0.4.3

func (m *MsgStakeClientResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgStakeClientResponse) MarshalToSizedBuffer added in v0.4.3

func (m *MsgStakeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgStakeClientResponse) ProtoMessage added in v0.4.3

func (*MsgStakeClientResponse) ProtoMessage()

func (*MsgStakeClientResponse) Reset added in v0.4.3

func (m *MsgStakeClientResponse) Reset()

func (*MsgStakeClientResponse) Size added in v0.4.3

func (m *MsgStakeClientResponse) Size() (n int)

func (*MsgStakeClientResponse) String added in v0.4.3

func (m *MsgStakeClientResponse) String() string

func (*MsgStakeClientResponse) Unmarshal added in v0.4.3

func (m *MsgStakeClientResponse) Unmarshal(dAtA []byte) error

func (*MsgStakeClientResponse) XXX_DiscardUnknown added in v0.4.3

func (m *MsgStakeClientResponse) XXX_DiscardUnknown()

func (*MsgStakeClientResponse) XXX_Marshal added in v0.4.3

func (m *MsgStakeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgStakeClientResponse) XXX_Merge added in v0.4.3

func (m *MsgStakeClientResponse) XXX_Merge(src proto.Message)

func (*MsgStakeClientResponse) XXX_Size added in v0.4.3

func (m *MsgStakeClientResponse) XXX_Size() int

func (*MsgStakeClientResponse) XXX_Unmarshal added in v0.4.3

func (m *MsgStakeClientResponse) XXX_Unmarshal(b []byte) error

type MsgStakeProvider

type MsgStakeProvider struct {
	Creator     string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainID     string            `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Amount      types.Coin        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	Endpoints   []types1.Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints"`
	Geolocation uint64            `protobuf:"varint,5,opt,name=geolocation,proto3" json:"geolocation,omitempty"`
	Moniker     string            `protobuf:"bytes,6,opt,name=moniker,proto3" json:"moniker,omitempty"`
}

func NewMsgStakeProvider

func NewMsgStakeProvider(creator string, chainID string, amount sdk.Coin, endpoints []epochstoragetypes.Endpoint, geolocation uint64, moniker string) *MsgStakeProvider

func (*MsgStakeProvider) Descriptor

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

func (*MsgStakeProvider) GetAmount

func (m *MsgStakeProvider) GetAmount() types.Coin

func (*MsgStakeProvider) GetChainID

func (m *MsgStakeProvider) GetChainID() string

func (*MsgStakeProvider) GetCreator

func (m *MsgStakeProvider) GetCreator() string

func (*MsgStakeProvider) GetEndpoints

func (m *MsgStakeProvider) GetEndpoints() []types1.Endpoint

func (*MsgStakeProvider) GetGeolocation

func (m *MsgStakeProvider) GetGeolocation() uint64

func (*MsgStakeProvider) GetMoniker

func (m *MsgStakeProvider) GetMoniker() string

func (*MsgStakeProvider) GetSignBytes

func (msg *MsgStakeProvider) GetSignBytes() []byte

func (*MsgStakeProvider) GetSigners

func (msg *MsgStakeProvider) GetSigners() []sdk.AccAddress

func (*MsgStakeProvider) Marshal

func (m *MsgStakeProvider) Marshal() (dAtA []byte, err error)

func (*MsgStakeProvider) MarshalTo

func (m *MsgStakeProvider) MarshalTo(dAtA []byte) (int, 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 MsgUnstakeClient added in v0.4.3

type MsgUnstakeClient struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
}

func NewMsgUnstakeClient added in v0.4.3

func NewMsgUnstakeClient(creator string, chainID string) *MsgUnstakeClient

func (*MsgUnstakeClient) Descriptor added in v0.4.3

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

func (*MsgUnstakeClient) GetChainID added in v0.4.3

func (m *MsgUnstakeClient) GetChainID() string

func (*MsgUnstakeClient) GetCreator added in v0.4.3

func (m *MsgUnstakeClient) GetCreator() string

func (*MsgUnstakeClient) GetSignBytes added in v0.4.3

func (msg *MsgUnstakeClient) GetSignBytes() []byte

func (*MsgUnstakeClient) GetSigners added in v0.4.3

func (msg *MsgUnstakeClient) GetSigners() []sdk.AccAddress

func (*MsgUnstakeClient) Marshal added in v0.4.3

func (m *MsgUnstakeClient) Marshal() (dAtA []byte, err error)

func (*MsgUnstakeClient) MarshalTo added in v0.4.3

func (m *MsgUnstakeClient) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnstakeClient) MarshalToSizedBuffer added in v0.4.3

func (m *MsgUnstakeClient) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnstakeClient) ProtoMessage added in v0.4.3

func (*MsgUnstakeClient) ProtoMessage()

func (*MsgUnstakeClient) Reset added in v0.4.3

func (m *MsgUnstakeClient) Reset()

func (*MsgUnstakeClient) Route added in v0.4.3

func (msg *MsgUnstakeClient) Route() string

func (*MsgUnstakeClient) Size added in v0.4.3

func (m *MsgUnstakeClient) Size() (n int)

func (*MsgUnstakeClient) String added in v0.4.3

func (m *MsgUnstakeClient) String() string

func (*MsgUnstakeClient) Type added in v0.4.3

func (msg *MsgUnstakeClient) Type() string

func (*MsgUnstakeClient) Unmarshal added in v0.4.3

func (m *MsgUnstakeClient) Unmarshal(dAtA []byte) error

func (*MsgUnstakeClient) ValidateBasic added in v0.4.3

func (msg *MsgUnstakeClient) ValidateBasic() error

func (*MsgUnstakeClient) XXX_DiscardUnknown added in v0.4.3

func (m *MsgUnstakeClient) XXX_DiscardUnknown()

func (*MsgUnstakeClient) XXX_Marshal added in v0.4.3

func (m *MsgUnstakeClient) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnstakeClient) XXX_Merge added in v0.4.3

func (m *MsgUnstakeClient) XXX_Merge(src proto.Message)

func (*MsgUnstakeClient) XXX_Size added in v0.4.3

func (m *MsgUnstakeClient) XXX_Size() int

func (*MsgUnstakeClient) XXX_Unmarshal added in v0.4.3

func (m *MsgUnstakeClient) XXX_Unmarshal(b []byte) error

type MsgUnstakeClientResponse added in v0.4.3

type MsgUnstakeClientResponse struct {
}

func (*MsgUnstakeClientResponse) Descriptor added in v0.4.3

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

func (*MsgUnstakeClientResponse) Marshal added in v0.4.3

func (m *MsgUnstakeClientResponse) Marshal() (dAtA []byte, err error)

func (*MsgUnstakeClientResponse) MarshalTo added in v0.4.3

func (m *MsgUnstakeClientResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnstakeClientResponse) MarshalToSizedBuffer added in v0.4.3

func (m *MsgUnstakeClientResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnstakeClientResponse) ProtoMessage added in v0.4.3

func (*MsgUnstakeClientResponse) ProtoMessage()

func (*MsgUnstakeClientResponse) Reset added in v0.4.3

func (m *MsgUnstakeClientResponse) Reset()

func (*MsgUnstakeClientResponse) Size added in v0.4.3

func (m *MsgUnstakeClientResponse) Size() (n int)

func (*MsgUnstakeClientResponse) String added in v0.4.3

func (m *MsgUnstakeClientResponse) String() string

func (*MsgUnstakeClientResponse) Unmarshal added in v0.4.3

func (m *MsgUnstakeClientResponse) Unmarshal(dAtA []byte) error

func (*MsgUnstakeClientResponse) XXX_DiscardUnknown added in v0.4.3

func (m *MsgUnstakeClientResponse) XXX_DiscardUnknown()

func (*MsgUnstakeClientResponse) XXX_Marshal added in v0.4.3

func (m *MsgUnstakeClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnstakeClientResponse) XXX_Merge added in v0.4.3

func (m *MsgUnstakeClientResponse) XXX_Merge(src proto.Message)

func (*MsgUnstakeClientResponse) XXX_Size added in v0.4.3

func (m *MsgUnstakeClientResponse) XXX_Size() int

func (*MsgUnstakeClientResponse) XXX_Unmarshal added in v0.4.3

func (m *MsgUnstakeClientResponse) XXX_Unmarshal(b []byte) error

type MsgUnstakeProvider

type MsgUnstakeProvider struct {
	Creator string `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
}

func NewMsgUnstakeProvider

func NewMsgUnstakeProvider(creator string, chainID string) *MsgUnstakeProvider

func (*MsgUnstakeProvider) Descriptor

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

func (*MsgUnstakeProvider) GetChainID

func (m *MsgUnstakeProvider) GetChainID() string

func (*MsgUnstakeProvider) GetCreator

func (m *MsgUnstakeProvider) GetCreator() string

func (*MsgUnstakeProvider) GetSignBytes

func (msg *MsgUnstakeProvider) GetSignBytes() []byte

func (*MsgUnstakeProvider) GetSigners

func (msg *MsgUnstakeProvider) GetSigners() []sdk.AccAddress

func (*MsgUnstakeProvider) Marshal

func (m *MsgUnstakeProvider) Marshal() (dAtA []byte, err error)

func (*MsgUnstakeProvider) MarshalTo

func (m *MsgUnstakeProvider) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnstakeProvider) MarshalToSizedBuffer

func (m *MsgUnstakeProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnstakeProvider) ProtoMessage

func (*MsgUnstakeProvider) ProtoMessage()

func (*MsgUnstakeProvider) Reset

func (m *MsgUnstakeProvider) Reset()

func (*MsgUnstakeProvider) Route

func (msg *MsgUnstakeProvider) Route() string

func (*MsgUnstakeProvider) Size

func (m *MsgUnstakeProvider) Size() (n int)

func (*MsgUnstakeProvider) String

func (m *MsgUnstakeProvider) String() string

func (*MsgUnstakeProvider) Type

func (msg *MsgUnstakeProvider) Type() string

func (*MsgUnstakeProvider) Unmarshal

func (m *MsgUnstakeProvider) Unmarshal(dAtA []byte) error

func (*MsgUnstakeProvider) ValidateBasic

func (msg *MsgUnstakeProvider) ValidateBasic() error

func (*MsgUnstakeProvider) XXX_DiscardUnknown

func (m *MsgUnstakeProvider) XXX_DiscardUnknown()

func (*MsgUnstakeProvider) XXX_Marshal

func (m *MsgUnstakeProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnstakeProvider) XXX_Merge

func (m *MsgUnstakeProvider) XXX_Merge(src proto.Message)

func (*MsgUnstakeProvider) XXX_Size

func (m *MsgUnstakeProvider) XXX_Size() int

func (*MsgUnstakeProvider) XXX_Unmarshal

func (m *MsgUnstakeProvider) XXX_Unmarshal(b []byte) error

type MsgUnstakeProviderResponse

type MsgUnstakeProviderResponse struct {
}

func (*MsgUnstakeProviderResponse) Descriptor

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

func (*MsgUnstakeProviderResponse) Marshal

func (m *MsgUnstakeProviderResponse) Marshal() (dAtA []byte, err error)

func (*MsgUnstakeProviderResponse) MarshalTo

func (m *MsgUnstakeProviderResponse) MarshalTo(dAtA []byte) (int, error)

func (*MsgUnstakeProviderResponse) MarshalToSizedBuffer

func (m *MsgUnstakeProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgUnstakeProviderResponse) ProtoMessage

func (*MsgUnstakeProviderResponse) ProtoMessage()

func (*MsgUnstakeProviderResponse) Reset

func (m *MsgUnstakeProviderResponse) Reset()

func (*MsgUnstakeProviderResponse) Size

func (m *MsgUnstakeProviderResponse) Size() (n int)

func (*MsgUnstakeProviderResponse) String

func (m *MsgUnstakeProviderResponse) String() string

func (*MsgUnstakeProviderResponse) Unmarshal

func (m *MsgUnstakeProviderResponse) Unmarshal(dAtA []byte) error

func (*MsgUnstakeProviderResponse) XXX_DiscardUnknown

func (m *MsgUnstakeProviderResponse) XXX_DiscardUnknown()

func (*MsgUnstakeProviderResponse) XXX_Marshal

func (m *MsgUnstakeProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgUnstakeProviderResponse) XXX_Merge

func (m *MsgUnstakeProviderResponse) XXX_Merge(src proto.Message)

func (*MsgUnstakeProviderResponse) XXX_Size

func (m *MsgUnstakeProviderResponse) XXX_Size() int

func (*MsgUnstakeProviderResponse) XXX_Unmarshal

func (m *MsgUnstakeProviderResponse) XXX_Unmarshal(b []byte) error

type Params

type Params struct {
	MintCoinsPerCU                      github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
	BurnCoinsPerCU                      github_com_cosmos_cosmos_sdk_types.Dec `` /* 146-byte string literal not displayed */
	FraudStakeSlashingFactor            github_com_cosmos_cosmos_sdk_types.Dec `` /* 176-byte string literal not displayed */
	FraudSlashingAmount                 uint64                                 `protobuf:"varint,6,opt,name=fraudSlashingAmount,proto3" json:"fraudSlashingAmount,omitempty" yaml:"fraud_slashing_amount"`
	ServicersToPairCount                uint64                                 `protobuf:"varint,7,opt,name=servicersToPairCount,proto3" json:"servicersToPairCount,omitempty" yaml:"servicers_to_pair_count"`
	EpochBlocksOverlap                  uint64                                 `protobuf:"varint,8,opt,name=epochBlocksOverlap,proto3" json:"epochBlocksOverlap,omitempty" yaml:"epoch_blocks_overlap"`
	StakeToMaxCUList                    StakeToMaxCUList                       `` /* 137-byte string literal not displayed */
	UnpayLimit                          github_com_cosmos_cosmos_sdk_types.Dec `` /* 133-byte string literal not displayed */
	SlashLimit                          github_com_cosmos_cosmos_sdk_types.Dec `` /* 133-byte string literal not displayed */
	DataReliabilityReward               github_com_cosmos_cosmos_sdk_types.Dec `` /* 167-byte string literal not displayed */
	QoSWeight                           github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
	RecommendedEpochNumToCollectPayment uint64                                 `` /* 173-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	mintCoinsPerCU sdk.Dec,
	burnCoinsPerCU sdk.Dec,
	fraudStakeSlashingFactor sdk.Dec,
	fraudSlashingAmount uint64,
	servicersToPairCount uint64,
	epochBlocksOverlap uint64,
	stakeToMaxCUList StakeToMaxCUList,
	unpayLimit sdk.Dec,
	slashLimit sdk.Dec,
	dataReliabilityReward sdk.Dec,
	qoSWeight sdk.Dec,
	recommendedEpochNumToCollectPayment uint64,
) Params

NewParams creates a new Params instance

func (*Params) Descriptor

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

func (*Params) GetEpochBlocksOverlap

func (m *Params) GetEpochBlocksOverlap() uint64

func (*Params) GetFraudSlashingAmount added in v0.4.3

func (m *Params) GetFraudSlashingAmount() uint64

func (*Params) GetRecommendedEpochNumToCollectPayment

func (m *Params) GetRecommendedEpochNumToCollectPayment() uint64

func (*Params) GetServicersToPairCount added in v0.4.3

func (m *Params) GetServicersToPairCount() uint64

func (*Params) Marshal

func (m *Params) Marshal() (dAtA []byte, err error)

func (*Params) MarshalTo

func (m *Params) MarshalTo(dAtA []byte) (int, error)

func (*Params) MarshalToSizedBuffer

func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Params) ParamSetPairs

func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs get the params.ParamSet

func (*Params) ProtoMessage

func (*Params) ProtoMessage()

func (*Params) Reset

func (m *Params) Reset()

func (*Params) Size

func (m *Params) Size() (n int)

func (Params) String

func (p Params) String() string

String implements the Stringer interface.

func (*Params) Unmarshal

func (m *Params) Unmarshal(dAtA []byte) error

func (Params) Validate

func (p Params) Validate() error

Validate validates the set of params

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Params) XXX_Merge

func (m *Params) XXX_Merge(src proto.Message)

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

func (m *Params) XXX_Unmarshal(b []byte) error

type ProjectsKeeper

type ProjectsKeeper interface {
	ChargeComputeUnitsToProject(ctx sdk.Context, project projectstypes.Project, cu uint64) (err error)
	GetProjectForDeveloper(ctx sdk.Context, developerKey string, blockHeight uint64) (proj projectstypes.Project, vrfpk string, errRet 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) MarshalTo

func (m *ProviderInfo) MarshalTo(dAtA []byte) (int, error)

func (*ProviderInfo) MarshalToSizedBuffer

func (m *ProviderInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderInfo) ProtoMessage

func (*ProviderInfo) ProtoMessage()

func (*ProviderInfo) Reset

func (m *ProviderInfo) Reset()

func (*ProviderInfo) Size

func (m *ProviderInfo) Size() (n int)

func (*ProviderInfo) String

func (m *ProviderInfo) String() string

func (*ProviderInfo) Unmarshal

func (m *ProviderInfo) Unmarshal(dAtA []byte) error

func (*ProviderInfo) XXX_DiscardUnknown

func (m *ProviderInfo) XXX_DiscardUnknown()

func (*ProviderInfo) XXX_Marshal

func (m *ProviderInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderInfo) XXX_Merge

func (m *ProviderInfo) XXX_Merge(src proto.Message)

func (*ProviderInfo) XXX_Size

func (m *ProviderInfo) XXX_Size() int

func (*ProviderInfo) XXX_Unmarshal

func (m *ProviderInfo) XXX_Unmarshal(b []byte) error

type ProviderPaymentStorage

type ProviderPaymentStorage struct {
	Index                                  string   `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Epoch                                  uint64   `protobuf:"varint,3,opt,name=epoch,proto3" json:"epoch,omitempty"`
	UniquePaymentStorageClientProviderKeys []string `` /* 129-byte string literal not displayed */
	ComplainersTotalCu                     uint64   `protobuf:"varint,6,opt,name=complainersTotalCu,proto3" json:"complainersTotalCu,omitempty"`
}

func (*ProviderPaymentStorage) Descriptor

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

func (*ProviderPaymentStorage) GetComplainersTotalCu

func (m *ProviderPaymentStorage) GetComplainersTotalCu() uint64

func (*ProviderPaymentStorage) GetEpoch

func (m *ProviderPaymentStorage) GetEpoch() uint64

func (*ProviderPaymentStorage) GetIndex

func (m *ProviderPaymentStorage) GetIndex() string

func (*ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys

func (m *ProviderPaymentStorage) GetUniquePaymentStorageClientProviderKeys() []string

func (*ProviderPaymentStorage) Marshal

func (m *ProviderPaymentStorage) Marshal() (dAtA []byte, err error)

func (*ProviderPaymentStorage) MarshalTo

func (m *ProviderPaymentStorage) MarshalTo(dAtA []byte) (int, error)

func (*ProviderPaymentStorage) MarshalToSizedBuffer

func (m *ProviderPaymentStorage) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProviderPaymentStorage) ProtoMessage

func (*ProviderPaymentStorage) ProtoMessage()

func (*ProviderPaymentStorage) Reset

func (m *ProviderPaymentStorage) Reset()

func (*ProviderPaymentStorage) Size

func (m *ProviderPaymentStorage) Size() (n int)

func (*ProviderPaymentStorage) String

func (m *ProviderPaymentStorage) String() string

func (*ProviderPaymentStorage) Unmarshal

func (m *ProviderPaymentStorage) Unmarshal(dAtA []byte) error

func (*ProviderPaymentStorage) XXX_DiscardUnknown

func (m *ProviderPaymentStorage) XXX_DiscardUnknown()

func (*ProviderPaymentStorage) XXX_Marshal

func (m *ProviderPaymentStorage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProviderPaymentStorage) XXX_Merge

func (m *ProviderPaymentStorage) XXX_Merge(src proto.Message)

func (*ProviderPaymentStorage) XXX_Size

func (m *ProviderPaymentStorage) XXX_Size() int

func (*ProviderPaymentStorage) XXX_Unmarshal

func (m *ProviderPaymentStorage) XXX_Unmarshal(b []byte) error

type QualityOfServiceReport

type QualityOfServiceReport struct {
	Latency      github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,1,opt,name=latency,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"latency" yaml:"Latency"`
	Availability github_com_cosmos_cosmos_sdk_types.Dec `` /* 137-byte string literal not displayed */
	Sync         github_com_cosmos_cosmos_sdk_types.Dec `protobuf:"bytes,3,opt,name=sync,proto3,customtype=github.com/cosmos/cosmos-sdk/types.Dec" json:"sync" yaml:"sync"`
}

func (*QualityOfServiceReport) ComputeQoS

func (qos *QualityOfServiceReport) ComputeQoS() (sdk.Dec, error)

func (*QualityOfServiceReport) Descriptor

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

func (*QualityOfServiceReport) Marshal

func (m *QualityOfServiceReport) Marshal() (dAtA []byte, err error)

func (*QualityOfServiceReport) MarshalTo

func (m *QualityOfServiceReport) MarshalTo(dAtA []byte) (int, error)

func (*QualityOfServiceReport) MarshalToSizedBuffer

func (m *QualityOfServiceReport) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QualityOfServiceReport) ProtoMessage

func (*QualityOfServiceReport) ProtoMessage()

func (*QualityOfServiceReport) Reset

func (m *QualityOfServiceReport) Reset()

func (*QualityOfServiceReport) Size

func (m *QualityOfServiceReport) Size() (n int)

func (*QualityOfServiceReport) String

func (m *QualityOfServiceReport) String() string

func (*QualityOfServiceReport) Unmarshal

func (m *QualityOfServiceReport) Unmarshal(dAtA []byte) error

func (*QualityOfServiceReport) XXX_DiscardUnknown

func (m *QualityOfServiceReport) XXX_DiscardUnknown()

func (*QualityOfServiceReport) XXX_Marshal

func (m *QualityOfServiceReport) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QualityOfServiceReport) XXX_Merge

func (m *QualityOfServiceReport) XXX_Merge(src proto.Message)

func (*QualityOfServiceReport) XXX_Size

func (m *QualityOfServiceReport) XXX_Size() int

func (*QualityOfServiceReport) XXX_Unmarshal

func (m *QualityOfServiceReport) XXX_Unmarshal(b []byte) error

type QueryAllEpochPaymentsRequest

type QueryAllEpochPaymentsRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllEpochPaymentsRequest) Descriptor

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

func (*QueryAllEpochPaymentsRequest) GetPagination

func (m *QueryAllEpochPaymentsRequest) GetPagination() *query.PageRequest

func (*QueryAllEpochPaymentsRequest) Marshal

func (m *QueryAllEpochPaymentsRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllEpochPaymentsRequest) MarshalTo

func (m *QueryAllEpochPaymentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllEpochPaymentsRequest) MarshalToSizedBuffer

func (m *QueryAllEpochPaymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllEpochPaymentsRequest) ProtoMessage

func (*QueryAllEpochPaymentsRequest) ProtoMessage()

func (*QueryAllEpochPaymentsRequest) Reset

func (m *QueryAllEpochPaymentsRequest) Reset()

func (*QueryAllEpochPaymentsRequest) Size

func (m *QueryAllEpochPaymentsRequest) Size() (n int)

func (*QueryAllEpochPaymentsRequest) String

func (*QueryAllEpochPaymentsRequest) Unmarshal

func (m *QueryAllEpochPaymentsRequest) Unmarshal(dAtA []byte) error

func (*QueryAllEpochPaymentsRequest) XXX_DiscardUnknown

func (m *QueryAllEpochPaymentsRequest) XXX_DiscardUnknown()

func (*QueryAllEpochPaymentsRequest) XXX_Marshal

func (m *QueryAllEpochPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllEpochPaymentsRequest) XXX_Merge

func (m *QueryAllEpochPaymentsRequest) XXX_Merge(src proto.Message)

func (*QueryAllEpochPaymentsRequest) XXX_Size

func (m *QueryAllEpochPaymentsRequest) XXX_Size() int

func (*QueryAllEpochPaymentsRequest) XXX_Unmarshal

func (m *QueryAllEpochPaymentsRequest) XXX_Unmarshal(b []byte) error

type QueryAllEpochPaymentsResponse

type QueryAllEpochPaymentsResponse struct {
	EpochPayments []EpochPayments     `protobuf:"bytes,1,rep,name=epochPayments,proto3" json:"epochPayments"`
	Pagination    *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllEpochPaymentsResponse) Descriptor

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

func (*QueryAllEpochPaymentsResponse) GetEpochPayments

func (m *QueryAllEpochPaymentsResponse) GetEpochPayments() []EpochPayments

func (*QueryAllEpochPaymentsResponse) GetPagination

func (m *QueryAllEpochPaymentsResponse) GetPagination() *query.PageResponse

func (*QueryAllEpochPaymentsResponse) Marshal

func (m *QueryAllEpochPaymentsResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllEpochPaymentsResponse) MarshalTo

func (m *QueryAllEpochPaymentsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllEpochPaymentsResponse) MarshalToSizedBuffer

func (m *QueryAllEpochPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllEpochPaymentsResponse) ProtoMessage

func (*QueryAllEpochPaymentsResponse) ProtoMessage()

func (*QueryAllEpochPaymentsResponse) Reset

func (m *QueryAllEpochPaymentsResponse) Reset()

func (*QueryAllEpochPaymentsResponse) Size

func (m *QueryAllEpochPaymentsResponse) Size() (n int)

func (*QueryAllEpochPaymentsResponse) String

func (*QueryAllEpochPaymentsResponse) Unmarshal

func (m *QueryAllEpochPaymentsResponse) Unmarshal(dAtA []byte) error

func (*QueryAllEpochPaymentsResponse) XXX_DiscardUnknown

func (m *QueryAllEpochPaymentsResponse) XXX_DiscardUnknown()

func (*QueryAllEpochPaymentsResponse) XXX_Marshal

func (m *QueryAllEpochPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllEpochPaymentsResponse) XXX_Merge

func (m *QueryAllEpochPaymentsResponse) XXX_Merge(src proto.Message)

func (*QueryAllEpochPaymentsResponse) XXX_Size

func (m *QueryAllEpochPaymentsResponse) XXX_Size() int

func (*QueryAllEpochPaymentsResponse) XXX_Unmarshal

func (m *QueryAllEpochPaymentsResponse) XXX_Unmarshal(b []byte) error

type QueryAllProviderPaymentStorageRequest

type QueryAllProviderPaymentStorageRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProviderPaymentStorageRequest) Descriptor

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

func (*QueryAllProviderPaymentStorageRequest) GetPagination

func (*QueryAllProviderPaymentStorageRequest) Marshal

func (m *QueryAllProviderPaymentStorageRequest) Marshal() (dAtA []byte, err error)

func (*QueryAllProviderPaymentStorageRequest) MarshalTo

func (m *QueryAllProviderPaymentStorageRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProviderPaymentStorageRequest) MarshalToSizedBuffer

func (m *QueryAllProviderPaymentStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProviderPaymentStorageRequest) ProtoMessage

func (*QueryAllProviderPaymentStorageRequest) ProtoMessage()

func (*QueryAllProviderPaymentStorageRequest) Reset

func (*QueryAllProviderPaymentStorageRequest) Size

func (*QueryAllProviderPaymentStorageRequest) String

func (*QueryAllProviderPaymentStorageRequest) Unmarshal

func (m *QueryAllProviderPaymentStorageRequest) Unmarshal(dAtA []byte) error

func (*QueryAllProviderPaymentStorageRequest) XXX_DiscardUnknown

func (m *QueryAllProviderPaymentStorageRequest) XXX_DiscardUnknown()

func (*QueryAllProviderPaymentStorageRequest) XXX_Marshal

func (m *QueryAllProviderPaymentStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProviderPaymentStorageRequest) XXX_Merge

func (*QueryAllProviderPaymentStorageRequest) XXX_Size

func (*QueryAllProviderPaymentStorageRequest) XXX_Unmarshal

func (m *QueryAllProviderPaymentStorageRequest) XXX_Unmarshal(b []byte) error

type QueryAllProviderPaymentStorageResponse

type QueryAllProviderPaymentStorageResponse struct {
	ProviderPaymentStorage []ProviderPaymentStorage `protobuf:"bytes,1,rep,name=providerPaymentStorage,proto3" json:"providerPaymentStorage"`
	Pagination             *query.PageResponse      `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllProviderPaymentStorageResponse) Descriptor

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

func (*QueryAllProviderPaymentStorageResponse) GetPagination

func (*QueryAllProviderPaymentStorageResponse) GetProviderPaymentStorage

func (m *QueryAllProviderPaymentStorageResponse) GetProviderPaymentStorage() []ProviderPaymentStorage

func (*QueryAllProviderPaymentStorageResponse) Marshal

func (m *QueryAllProviderPaymentStorageResponse) Marshal() (dAtA []byte, err error)

func (*QueryAllProviderPaymentStorageResponse) MarshalTo

func (m *QueryAllProviderPaymentStorageResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryAllProviderPaymentStorageResponse) MarshalToSizedBuffer

func (m *QueryAllProviderPaymentStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllProviderPaymentStorageResponse) ProtoMessage

func (*QueryAllProviderPaymentStorageResponse) Reset

func (*QueryAllProviderPaymentStorageResponse) Size

func (*QueryAllProviderPaymentStorageResponse) String

func (*QueryAllProviderPaymentStorageResponse) Unmarshal

func (m *QueryAllProviderPaymentStorageResponse) Unmarshal(dAtA []byte) error

func (*QueryAllProviderPaymentStorageResponse) XXX_DiscardUnknown

func (m *QueryAllProviderPaymentStorageResponse) XXX_DiscardUnknown()

func (*QueryAllProviderPaymentStorageResponse) XXX_Marshal

func (m *QueryAllProviderPaymentStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllProviderPaymentStorageResponse) XXX_Merge

func (*QueryAllProviderPaymentStorageResponse) XXX_Size

func (*QueryAllProviderPaymentStorageResponse) XXX_Unmarshal

func (m *QueryAllProviderPaymentStorageResponse) XXX_Unmarshal(b []byte) error

type QueryAllUniquePaymentStorageClientProviderRequest

type QueryAllUniquePaymentStorageClientProviderRequest struct {
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllUniquePaymentStorageClientProviderRequest) Descriptor

func (*QueryAllUniquePaymentStorageClientProviderRequest) GetPagination

func (*QueryAllUniquePaymentStorageClientProviderRequest) Marshal

func (*QueryAllUniquePaymentStorageClientProviderRequest) MarshalTo

func (*QueryAllUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer

func (m *QueryAllUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllUniquePaymentStorageClientProviderRequest) ProtoMessage

func (*QueryAllUniquePaymentStorageClientProviderRequest) Reset

func (*QueryAllUniquePaymentStorageClientProviderRequest) Size

func (*QueryAllUniquePaymentStorageClientProviderRequest) String

func (*QueryAllUniquePaymentStorageClientProviderRequest) Unmarshal

func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown

func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown()

func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Marshal

func (m *QueryAllUniquePaymentStorageClientProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Merge

func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Size

func (*QueryAllUniquePaymentStorageClientProviderRequest) XXX_Unmarshal

type QueryAllUniquePaymentStorageClientProviderResponse

type QueryAllUniquePaymentStorageClientProviderResponse struct {
	UniquePaymentStorageClientProvider []UniquePaymentStorageClientProvider `protobuf:"bytes,1,rep,name=uniquePaymentStorageClientProvider,proto3" json:"uniquePaymentStorageClientProvider"`
	Pagination                         *query.PageResponse                  `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

func (*QueryAllUniquePaymentStorageClientProviderResponse) Descriptor

func (*QueryAllUniquePaymentStorageClientProviderResponse) GetPagination

func (*QueryAllUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider

func (*QueryAllUniquePaymentStorageClientProviderResponse) Marshal

func (*QueryAllUniquePaymentStorageClientProviderResponse) MarshalTo

func (*QueryAllUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer

func (m *QueryAllUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryAllUniquePaymentStorageClientProviderResponse) ProtoMessage

func (*QueryAllUniquePaymentStorageClientProviderResponse) Reset

func (*QueryAllUniquePaymentStorageClientProviderResponse) Size

func (*QueryAllUniquePaymentStorageClientProviderResponse) String

func (*QueryAllUniquePaymentStorageClientProviderResponse) Unmarshal

func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown

func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Marshal

func (m *QueryAllUniquePaymentStorageClientProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Merge

func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Size

func (*QueryAllUniquePaymentStorageClientProviderResponse) XXX_Unmarshal

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Providers items.
	Providers(ctx context.Context, in *QueryProvidersRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
	// Queries a list of Clients items.
	Clients(ctx context.Context, in *QueryClientsRequest, opts ...grpc.CallOption) (*QueryClientsResponse, error)
	// Queries a list of GetPairing items.
	GetPairing(ctx context.Context, in *QueryGetPairingRequest, opts ...grpc.CallOption) (*QueryGetPairingResponse, error)
	// Queries a list of VerifyPairing items.
	VerifyPairing(ctx context.Context, in *QueryVerifyPairingRequest, opts ...grpc.CallOption) (*QueryVerifyPairingResponse, error)
	// Queries a UniquePaymentStorageClientProvider by index.
	UniquePaymentStorageClientProvider(ctx context.Context, in *QueryGetUniquePaymentStorageClientProviderRequest, opts ...grpc.CallOption) (*QueryGetUniquePaymentStorageClientProviderResponse, error)
	// Queries a list of UniquePaymentStorageClientProvider items.
	UniquePaymentStorageClientProviderAll(ctx context.Context, in *QueryAllUniquePaymentStorageClientProviderRequest, opts ...grpc.CallOption) (*QueryAllUniquePaymentStorageClientProviderResponse, error)
	// Queries a ProviderPaymentStorage by index.
	ProviderPaymentStorage(ctx context.Context, in *QueryGetProviderPaymentStorageRequest, opts ...grpc.CallOption) (*QueryGetProviderPaymentStorageResponse, error)
	// Queries a list of ProviderPaymentStorage items.
	ProviderPaymentStorageAll(ctx context.Context, in *QueryAllProviderPaymentStorageRequest, opts ...grpc.CallOption) (*QueryAllProviderPaymentStorageResponse, error)
	// Queries a EpochPayments by index.
	EpochPayments(ctx context.Context, in *QueryGetEpochPaymentsRequest, opts ...grpc.CallOption) (*QueryGetEpochPaymentsResponse, error)
	// Queries a list of EpochPayments items.
	EpochPaymentsAll(ctx context.Context, in *QueryAllEpochPaymentsRequest, opts ...grpc.CallOption) (*QueryAllEpochPaymentsResponse, error)
	// Queries a UserEntry items.
	UserEntry(ctx context.Context, in *QueryUserEntryRequest, opts ...grpc.CallOption) (*QueryUserEntryResponse, error)
	// Queries a list of StaticProvidersList items.
	StaticProvidersList(ctx context.Context, in *QueryStaticProvidersListRequest, opts ...grpc.CallOption) (*QueryStaticProvidersListResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryClientsRequest added in v0.4.3

type QueryClientsRequest struct {
	ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
}

func (*QueryClientsRequest) Descriptor added in v0.4.3

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

func (*QueryClientsRequest) GetChainID added in v0.4.3

func (m *QueryClientsRequest) GetChainID() string

func (*QueryClientsRequest) Marshal added in v0.4.3

func (m *QueryClientsRequest) Marshal() (dAtA []byte, err error)

func (*QueryClientsRequest) MarshalTo added in v0.4.3

func (m *QueryClientsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryClientsRequest) MarshalToSizedBuffer added in v0.4.3

func (m *QueryClientsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClientsRequest) ProtoMessage added in v0.4.3

func (*QueryClientsRequest) ProtoMessage()

func (*QueryClientsRequest) Reset added in v0.4.3

func (m *QueryClientsRequest) Reset()

func (*QueryClientsRequest) Size added in v0.4.3

func (m *QueryClientsRequest) Size() (n int)

func (*QueryClientsRequest) String added in v0.4.3

func (m *QueryClientsRequest) String() string

func (*QueryClientsRequest) Unmarshal added in v0.4.3

func (m *QueryClientsRequest) Unmarshal(dAtA []byte) error

func (*QueryClientsRequest) XXX_DiscardUnknown added in v0.4.3

func (m *QueryClientsRequest) XXX_DiscardUnknown()

func (*QueryClientsRequest) XXX_Marshal added in v0.4.3

func (m *QueryClientsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClientsRequest) XXX_Merge added in v0.4.3

func (m *QueryClientsRequest) XXX_Merge(src proto.Message)

func (*QueryClientsRequest) XXX_Size added in v0.4.3

func (m *QueryClientsRequest) XXX_Size() int

func (*QueryClientsRequest) XXX_Unmarshal added in v0.4.3

func (m *QueryClientsRequest) XXX_Unmarshal(b []byte) error

type QueryClientsResponse added in v0.4.3

type QueryClientsResponse struct {
	StakeEntry []types.StakeEntry `protobuf:"bytes,1,rep,name=stakeEntry,proto3" json:"stakeEntry"`
	Output     string             `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
}

func (*QueryClientsResponse) Descriptor added in v0.4.3

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

func (*QueryClientsResponse) GetOutput added in v0.4.3

func (m *QueryClientsResponse) GetOutput() string

func (*QueryClientsResponse) GetStakeEntry added in v0.4.3

func (m *QueryClientsResponse) GetStakeEntry() []types.StakeEntry

func (*QueryClientsResponse) Marshal added in v0.4.3

func (m *QueryClientsResponse) Marshal() (dAtA []byte, err error)

func (*QueryClientsResponse) MarshalTo added in v0.4.3

func (m *QueryClientsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryClientsResponse) MarshalToSizedBuffer added in v0.4.3

func (m *QueryClientsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryClientsResponse) ProtoMessage added in v0.4.3

func (*QueryClientsResponse) ProtoMessage()

func (*QueryClientsResponse) Reset added in v0.4.3

func (m *QueryClientsResponse) Reset()

func (*QueryClientsResponse) Size added in v0.4.3

func (m *QueryClientsResponse) Size() (n int)

func (*QueryClientsResponse) String added in v0.4.3

func (m *QueryClientsResponse) String() string

func (*QueryClientsResponse) Unmarshal added in v0.4.3

func (m *QueryClientsResponse) Unmarshal(dAtA []byte) error

func (*QueryClientsResponse) XXX_DiscardUnknown added in v0.4.3

func (m *QueryClientsResponse) XXX_DiscardUnknown()

func (*QueryClientsResponse) XXX_Marshal added in v0.4.3

func (m *QueryClientsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryClientsResponse) XXX_Merge added in v0.4.3

func (m *QueryClientsResponse) XXX_Merge(src proto.Message)

func (*QueryClientsResponse) XXX_Size added in v0.4.3

func (m *QueryClientsResponse) XXX_Size() int

func (*QueryClientsResponse) XXX_Unmarshal added in v0.4.3

func (m *QueryClientsResponse) XXX_Unmarshal(b []byte) error

type QueryGetEpochPaymentsRequest

type QueryGetEpochPaymentsRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetEpochPaymentsRequest) Descriptor

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

func (*QueryGetEpochPaymentsRequest) GetIndex

func (m *QueryGetEpochPaymentsRequest) GetIndex() string

func (*QueryGetEpochPaymentsRequest) Marshal

func (m *QueryGetEpochPaymentsRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetEpochPaymentsRequest) MarshalTo

func (m *QueryGetEpochPaymentsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetEpochPaymentsRequest) MarshalToSizedBuffer

func (m *QueryGetEpochPaymentsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetEpochPaymentsRequest) ProtoMessage

func (*QueryGetEpochPaymentsRequest) ProtoMessage()

func (*QueryGetEpochPaymentsRequest) Reset

func (m *QueryGetEpochPaymentsRequest) Reset()

func (*QueryGetEpochPaymentsRequest) Size

func (m *QueryGetEpochPaymentsRequest) Size() (n int)

func (*QueryGetEpochPaymentsRequest) String

func (*QueryGetEpochPaymentsRequest) Unmarshal

func (m *QueryGetEpochPaymentsRequest) Unmarshal(dAtA []byte) error

func (*QueryGetEpochPaymentsRequest) XXX_DiscardUnknown

func (m *QueryGetEpochPaymentsRequest) XXX_DiscardUnknown()

func (*QueryGetEpochPaymentsRequest) XXX_Marshal

func (m *QueryGetEpochPaymentsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetEpochPaymentsRequest) XXX_Merge

func (m *QueryGetEpochPaymentsRequest) XXX_Merge(src proto.Message)

func (*QueryGetEpochPaymentsRequest) XXX_Size

func (m *QueryGetEpochPaymentsRequest) XXX_Size() int

func (*QueryGetEpochPaymentsRequest) XXX_Unmarshal

func (m *QueryGetEpochPaymentsRequest) XXX_Unmarshal(b []byte) error

type QueryGetEpochPaymentsResponse

type QueryGetEpochPaymentsResponse struct {
	EpochPayments EpochPayments `protobuf:"bytes,1,opt,name=epochPayments,proto3" json:"epochPayments"`
}

func (*QueryGetEpochPaymentsResponse) Descriptor

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

func (*QueryGetEpochPaymentsResponse) GetEpochPayments

func (m *QueryGetEpochPaymentsResponse) GetEpochPayments() EpochPayments

func (*QueryGetEpochPaymentsResponse) Marshal

func (m *QueryGetEpochPaymentsResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetEpochPaymentsResponse) MarshalTo

func (m *QueryGetEpochPaymentsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetEpochPaymentsResponse) MarshalToSizedBuffer

func (m *QueryGetEpochPaymentsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetEpochPaymentsResponse) ProtoMessage

func (*QueryGetEpochPaymentsResponse) ProtoMessage()

func (*QueryGetEpochPaymentsResponse) Reset

func (m *QueryGetEpochPaymentsResponse) Reset()

func (*QueryGetEpochPaymentsResponse) Size

func (m *QueryGetEpochPaymentsResponse) Size() (n int)

func (*QueryGetEpochPaymentsResponse) String

func (*QueryGetEpochPaymentsResponse) Unmarshal

func (m *QueryGetEpochPaymentsResponse) Unmarshal(dAtA []byte) error

func (*QueryGetEpochPaymentsResponse) XXX_DiscardUnknown

func (m *QueryGetEpochPaymentsResponse) XXX_DiscardUnknown()

func (*QueryGetEpochPaymentsResponse) XXX_Marshal

func (m *QueryGetEpochPaymentsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetEpochPaymentsResponse) XXX_Merge

func (m *QueryGetEpochPaymentsResponse) XXX_Merge(src proto.Message)

func (*QueryGetEpochPaymentsResponse) XXX_Size

func (m *QueryGetEpochPaymentsResponse) XXX_Size() int

func (*QueryGetEpochPaymentsResponse) XXX_Unmarshal

func (m *QueryGetEpochPaymentsResponse) XXX_Unmarshal(b []byte) error

type QueryGetPairingRequest

type QueryGetPairingRequest struct {
	ChainID string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Client  string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
}

func (*QueryGetPairingRequest) Descriptor

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

func (*QueryGetPairingRequest) GetChainID

func (m *QueryGetPairingRequest) GetChainID() string

func (*QueryGetPairingRequest) GetClient

func (m *QueryGetPairingRequest) GetClient() string

func (*QueryGetPairingRequest) Marshal

func (m *QueryGetPairingRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetPairingRequest) MarshalTo

func (m *QueryGetPairingRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPairingRequest) MarshalToSizedBuffer

func (m *QueryGetPairingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPairingRequest) ProtoMessage

func (*QueryGetPairingRequest) ProtoMessage()

func (*QueryGetPairingRequest) Reset

func (m *QueryGetPairingRequest) Reset()

func (*QueryGetPairingRequest) Size

func (m *QueryGetPairingRequest) Size() (n int)

func (*QueryGetPairingRequest) String

func (m *QueryGetPairingRequest) String() string

func (*QueryGetPairingRequest) Unmarshal

func (m *QueryGetPairingRequest) Unmarshal(dAtA []byte) error

func (*QueryGetPairingRequest) XXX_DiscardUnknown

func (m *QueryGetPairingRequest) XXX_DiscardUnknown()

func (*QueryGetPairingRequest) XXX_Marshal

func (m *QueryGetPairingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPairingRequest) XXX_Merge

func (m *QueryGetPairingRequest) XXX_Merge(src proto.Message)

func (*QueryGetPairingRequest) XXX_Size

func (m *QueryGetPairingRequest) XXX_Size() int

func (*QueryGetPairingRequest) XXX_Unmarshal

func (m *QueryGetPairingRequest) XXX_Unmarshal(b []byte) error

type QueryGetPairingResponse

type QueryGetPairingResponse struct {
	Providers             []types.StakeEntry `protobuf:"bytes,1,rep,name=providers,proto3" json:"providers"`
	CurrentEpoch          uint64             `protobuf:"varint,2,opt,name=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"`
	TimeLeftToNextPairing uint64             `` /* 131-byte string literal not displayed */
	SpecLastUpdatedBlock  uint64             `` /* 126-byte string literal not displayed */
	BlockOfNextPairing    uint64             `protobuf:"varint,5,opt,name=block_of_next_pairing,json=blockOfNextPairing,proto3" json:"block_of_next_pairing,omitempty"`
}

func (*QueryGetPairingResponse) Descriptor

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

func (*QueryGetPairingResponse) GetBlockOfNextPairing

func (m *QueryGetPairingResponse) GetBlockOfNextPairing() uint64

func (*QueryGetPairingResponse) GetCurrentEpoch

func (m *QueryGetPairingResponse) GetCurrentEpoch() uint64

func (*QueryGetPairingResponse) GetProviders

func (m *QueryGetPairingResponse) GetProviders() []types.StakeEntry

func (*QueryGetPairingResponse) GetSpecLastUpdatedBlock

func (m *QueryGetPairingResponse) GetSpecLastUpdatedBlock() uint64

func (*QueryGetPairingResponse) GetTimeLeftToNextPairing

func (m *QueryGetPairingResponse) GetTimeLeftToNextPairing() uint64

func (*QueryGetPairingResponse) Marshal

func (m *QueryGetPairingResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetPairingResponse) MarshalTo

func (m *QueryGetPairingResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetPairingResponse) MarshalToSizedBuffer

func (m *QueryGetPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetPairingResponse) ProtoMessage

func (*QueryGetPairingResponse) ProtoMessage()

func (*QueryGetPairingResponse) Reset

func (m *QueryGetPairingResponse) Reset()

func (*QueryGetPairingResponse) Size

func (m *QueryGetPairingResponse) Size() (n int)

func (*QueryGetPairingResponse) String

func (m *QueryGetPairingResponse) String() string

func (*QueryGetPairingResponse) Unmarshal

func (m *QueryGetPairingResponse) Unmarshal(dAtA []byte) error

func (*QueryGetPairingResponse) XXX_DiscardUnknown

func (m *QueryGetPairingResponse) XXX_DiscardUnknown()

func (*QueryGetPairingResponse) XXX_Marshal

func (m *QueryGetPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetPairingResponse) XXX_Merge

func (m *QueryGetPairingResponse) XXX_Merge(src proto.Message)

func (*QueryGetPairingResponse) XXX_Size

func (m *QueryGetPairingResponse) XXX_Size() int

func (*QueryGetPairingResponse) XXX_Unmarshal

func (m *QueryGetPairingResponse) XXX_Unmarshal(b []byte) error

type QueryGetProviderPaymentStorageRequest

type QueryGetProviderPaymentStorageRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetProviderPaymentStorageRequest) Descriptor

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

func (*QueryGetProviderPaymentStorageRequest) GetIndex

func (*QueryGetProviderPaymentStorageRequest) Marshal

func (m *QueryGetProviderPaymentStorageRequest) Marshal() (dAtA []byte, err error)

func (*QueryGetProviderPaymentStorageRequest) MarshalTo

func (m *QueryGetProviderPaymentStorageRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProviderPaymentStorageRequest) MarshalToSizedBuffer

func (m *QueryGetProviderPaymentStorageRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProviderPaymentStorageRequest) ProtoMessage

func (*QueryGetProviderPaymentStorageRequest) ProtoMessage()

func (*QueryGetProviderPaymentStorageRequest) Reset

func (*QueryGetProviderPaymentStorageRequest) Size

func (*QueryGetProviderPaymentStorageRequest) String

func (*QueryGetProviderPaymentStorageRequest) Unmarshal

func (m *QueryGetProviderPaymentStorageRequest) Unmarshal(dAtA []byte) error

func (*QueryGetProviderPaymentStorageRequest) XXX_DiscardUnknown

func (m *QueryGetProviderPaymentStorageRequest) XXX_DiscardUnknown()

func (*QueryGetProviderPaymentStorageRequest) XXX_Marshal

func (m *QueryGetProviderPaymentStorageRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProviderPaymentStorageRequest) XXX_Merge

func (*QueryGetProviderPaymentStorageRequest) XXX_Size

func (*QueryGetProviderPaymentStorageRequest) XXX_Unmarshal

func (m *QueryGetProviderPaymentStorageRequest) XXX_Unmarshal(b []byte) error

type QueryGetProviderPaymentStorageResponse

type QueryGetProviderPaymentStorageResponse struct {
	ProviderPaymentStorage ProviderPaymentStorage `protobuf:"bytes,1,opt,name=providerPaymentStorage,proto3" json:"providerPaymentStorage"`
}

func (*QueryGetProviderPaymentStorageResponse) Descriptor

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

func (*QueryGetProviderPaymentStorageResponse) GetProviderPaymentStorage

func (m *QueryGetProviderPaymentStorageResponse) GetProviderPaymentStorage() ProviderPaymentStorage

func (*QueryGetProviderPaymentStorageResponse) Marshal

func (m *QueryGetProviderPaymentStorageResponse) Marshal() (dAtA []byte, err error)

func (*QueryGetProviderPaymentStorageResponse) MarshalTo

func (m *QueryGetProviderPaymentStorageResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryGetProviderPaymentStorageResponse) MarshalToSizedBuffer

func (m *QueryGetProviderPaymentStorageResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetProviderPaymentStorageResponse) ProtoMessage

func (*QueryGetProviderPaymentStorageResponse) Reset

func (*QueryGetProviderPaymentStorageResponse) Size

func (*QueryGetProviderPaymentStorageResponse) String

func (*QueryGetProviderPaymentStorageResponse) Unmarshal

func (m *QueryGetProviderPaymentStorageResponse) Unmarshal(dAtA []byte) error

func (*QueryGetProviderPaymentStorageResponse) XXX_DiscardUnknown

func (m *QueryGetProviderPaymentStorageResponse) XXX_DiscardUnknown()

func (*QueryGetProviderPaymentStorageResponse) XXX_Marshal

func (m *QueryGetProviderPaymentStorageResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetProviderPaymentStorageResponse) XXX_Merge

func (*QueryGetProviderPaymentStorageResponse) XXX_Size

func (*QueryGetProviderPaymentStorageResponse) XXX_Unmarshal

func (m *QueryGetProviderPaymentStorageResponse) XXX_Unmarshal(b []byte) error

type QueryGetUniquePaymentStorageClientProviderRequest

type QueryGetUniquePaymentStorageClientProviderRequest struct {
	Index string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
}

func (*QueryGetUniquePaymentStorageClientProviderRequest) Descriptor

func (*QueryGetUniquePaymentStorageClientProviderRequest) GetIndex

func (*QueryGetUniquePaymentStorageClientProviderRequest) Marshal

func (*QueryGetUniquePaymentStorageClientProviderRequest) MarshalTo

func (*QueryGetUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer

func (m *QueryGetUniquePaymentStorageClientProviderRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetUniquePaymentStorageClientProviderRequest) ProtoMessage

func (*QueryGetUniquePaymentStorageClientProviderRequest) Reset

func (*QueryGetUniquePaymentStorageClientProviderRequest) Size

func (*QueryGetUniquePaymentStorageClientProviderRequest) String

func (*QueryGetUniquePaymentStorageClientProviderRequest) Unmarshal

func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown

func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_DiscardUnknown()

func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Marshal

func (m *QueryGetUniquePaymentStorageClientProviderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Merge

func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Size

func (*QueryGetUniquePaymentStorageClientProviderRequest) XXX_Unmarshal

type QueryGetUniquePaymentStorageClientProviderResponse

type QueryGetUniquePaymentStorageClientProviderResponse struct {
	UniquePaymentStorageClientProvider UniquePaymentStorageClientProvider `protobuf:"bytes,1,opt,name=uniquePaymentStorageClientProvider,proto3" json:"uniquePaymentStorageClientProvider"`
}

func (*QueryGetUniquePaymentStorageClientProviderResponse) Descriptor

func (*QueryGetUniquePaymentStorageClientProviderResponse) GetUniquePaymentStorageClientProvider

func (*QueryGetUniquePaymentStorageClientProviderResponse) Marshal

func (*QueryGetUniquePaymentStorageClientProviderResponse) MarshalTo

func (*QueryGetUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer

func (m *QueryGetUniquePaymentStorageClientProviderResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryGetUniquePaymentStorageClientProviderResponse) ProtoMessage

func (*QueryGetUniquePaymentStorageClientProviderResponse) Reset

func (*QueryGetUniquePaymentStorageClientProviderResponse) Size

func (*QueryGetUniquePaymentStorageClientProviderResponse) String

func (*QueryGetUniquePaymentStorageClientProviderResponse) Unmarshal

func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_DiscardUnknown

func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Marshal

func (m *QueryGetUniquePaymentStorageClientProviderResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Merge

func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Size

func (*QueryGetUniquePaymentStorageClientProviderResponse) XXX_Unmarshal

type QueryParamsRequest

type QueryParamsRequest struct {
}

QueryParamsRequest is request type for the Query/Params RPC method.

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)

func (*QueryParamsRequest) MarshalTo

func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsRequest) MarshalToSizedBuffer

func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

func (m *QueryParamsRequest) Size() (n int)

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsRequest) XXX_Merge

func (m *QueryParamsRequest) XXX_Merge(src proto.Message)

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error

type QueryParamsResponse

type QueryParamsResponse struct {
	// params holds all the parameters of this module.
	Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

QueryParamsResponse is response type for the Query/Params RPC method.

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)

func (*QueryParamsResponse) MarshalTo

func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryParamsResponse) MarshalToSizedBuffer

func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

func (m *QueryParamsResponse) Size() (n int)

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryParamsResponse) XXX_Merge

func (m *QueryParamsResponse) XXX_Merge(src proto.Message)

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error

type QueryProvidersRequest

type QueryProvidersRequest struct {
	ChainID    string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	ShowFrozen bool   `protobuf:"varint,2,opt,name=showFrozen,proto3" json:"showFrozen,omitempty"`
}

func (*QueryProvidersRequest) Descriptor

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

func (*QueryProvidersRequest) GetChainID

func (m *QueryProvidersRequest) GetChainID() string

func (*QueryProvidersRequest) GetShowFrozen

func (m *QueryProvidersRequest) GetShowFrozen() bool

func (*QueryProvidersRequest) Marshal

func (m *QueryProvidersRequest) Marshal() (dAtA []byte, err error)

func (*QueryProvidersRequest) MarshalTo

func (m *QueryProvidersRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryProvidersRequest) MarshalToSizedBuffer

func (m *QueryProvidersRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProvidersRequest) ProtoMessage

func (*QueryProvidersRequest) ProtoMessage()

func (*QueryProvidersRequest) Reset

func (m *QueryProvidersRequest) Reset()

func (*QueryProvidersRequest) Size

func (m *QueryProvidersRequest) Size() (n int)

func (*QueryProvidersRequest) String

func (m *QueryProvidersRequest) String() string

func (*QueryProvidersRequest) Unmarshal

func (m *QueryProvidersRequest) Unmarshal(dAtA []byte) error

func (*QueryProvidersRequest) XXX_DiscardUnknown

func (m *QueryProvidersRequest) XXX_DiscardUnknown()

func (*QueryProvidersRequest) XXX_Marshal

func (m *QueryProvidersRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProvidersRequest) XXX_Merge

func (m *QueryProvidersRequest) XXX_Merge(src proto.Message)

func (*QueryProvidersRequest) XXX_Size

func (m *QueryProvidersRequest) XXX_Size() int

func (*QueryProvidersRequest) XXX_Unmarshal

func (m *QueryProvidersRequest) XXX_Unmarshal(b []byte) error

type QueryProvidersResponse

type QueryProvidersResponse struct {
	StakeEntry []types.StakeEntry `protobuf:"bytes,1,rep,name=stakeEntry,proto3" json:"stakeEntry"`
	Output     string             `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"`
}

func (*QueryProvidersResponse) Descriptor

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

func (*QueryProvidersResponse) GetOutput added in v0.4.3

func (m *QueryProvidersResponse) GetOutput() string

func (*QueryProvidersResponse) GetStakeEntry

func (m *QueryProvidersResponse) GetStakeEntry() []types.StakeEntry

func (*QueryProvidersResponse) Marshal

func (m *QueryProvidersResponse) Marshal() (dAtA []byte, err error)

func (*QueryProvidersResponse) MarshalTo

func (m *QueryProvidersResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryProvidersResponse) MarshalToSizedBuffer

func (m *QueryProvidersResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryProvidersResponse) ProtoMessage

func (*QueryProvidersResponse) ProtoMessage()

func (*QueryProvidersResponse) Reset

func (m *QueryProvidersResponse) Reset()

func (*QueryProvidersResponse) Size

func (m *QueryProvidersResponse) Size() (n int)

func (*QueryProvidersResponse) String

func (m *QueryProvidersResponse) String() string

func (*QueryProvidersResponse) Unmarshal

func (m *QueryProvidersResponse) Unmarshal(dAtA []byte) error

func (*QueryProvidersResponse) XXX_DiscardUnknown

func (m *QueryProvidersResponse) XXX_DiscardUnknown()

func (*QueryProvidersResponse) XXX_Marshal

func (m *QueryProvidersResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryProvidersResponse) XXX_Merge

func (m *QueryProvidersResponse) XXX_Merge(src proto.Message)

func (*QueryProvidersResponse) XXX_Size

func (m *QueryProvidersResponse) XXX_Size() int

func (*QueryProvidersResponse) XXX_Unmarshal

func (m *QueryProvidersResponse) XXX_Unmarshal(b []byte) error

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Providers items.
	Providers(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error)
	// Queries a list of Clients items.
	Clients(context.Context, *QueryClientsRequest) (*QueryClientsResponse, error)
	// Queries a list of GetPairing items.
	GetPairing(context.Context, *QueryGetPairingRequest) (*QueryGetPairingResponse, error)
	// Queries a list of VerifyPairing items.
	VerifyPairing(context.Context, *QueryVerifyPairingRequest) (*QueryVerifyPairingResponse, error)
	// Queries a UniquePaymentStorageClientProvider by index.
	UniquePaymentStorageClientProvider(context.Context, *QueryGetUniquePaymentStorageClientProviderRequest) (*QueryGetUniquePaymentStorageClientProviderResponse, error)
	// Queries a list of UniquePaymentStorageClientProvider items.
	UniquePaymentStorageClientProviderAll(context.Context, *QueryAllUniquePaymentStorageClientProviderRequest) (*QueryAllUniquePaymentStorageClientProviderResponse, error)
	// Queries a ProviderPaymentStorage by index.
	ProviderPaymentStorage(context.Context, *QueryGetProviderPaymentStorageRequest) (*QueryGetProviderPaymentStorageResponse, error)
	// Queries a list of ProviderPaymentStorage items.
	ProviderPaymentStorageAll(context.Context, *QueryAllProviderPaymentStorageRequest) (*QueryAllProviderPaymentStorageResponse, error)
	// Queries a EpochPayments by index.
	EpochPayments(context.Context, *QueryGetEpochPaymentsRequest) (*QueryGetEpochPaymentsResponse, error)
	// Queries a list of EpochPayments items.
	EpochPaymentsAll(context.Context, *QueryAllEpochPaymentsRequest) (*QueryAllEpochPaymentsResponse, error)
	// Queries a UserEntry items.
	UserEntry(context.Context, *QueryUserEntryRequest) (*QueryUserEntryResponse, error)
	// Queries a list of StaticProvidersList items.
	StaticProvidersList(context.Context, *QueryStaticProvidersListRequest) (*QueryStaticProvidersListResponse, 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 (*QueryStaticProvidersListRequest) Size

func (m *QueryStaticProvidersListRequest) Size() (n int)

func (*QueryStaticProvidersListRequest) 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 (*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 (*QueryStaticProvidersListResponse) Size

func (m *QueryStaticProvidersListResponse) Size() (n int)

func (*QueryStaticProvidersListResponse) 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 (*QueryStaticProvidersListResponse) XXX_Size

func (m *QueryStaticProvidersListResponse) XXX_Size() int

func (*QueryStaticProvidersListResponse) XXX_Unmarshal

func (m *QueryStaticProvidersListResponse) XXX_Unmarshal(b []byte) error

type QueryUserEntryRequest

type QueryUserEntryRequest struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	ChainID string `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Block   uint64 `protobuf:"varint,3,opt,name=block,proto3" json:"block,omitempty"`
}

func (*QueryUserEntryRequest) Descriptor

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

func (*QueryUserEntryRequest) GetAddress

func (m *QueryUserEntryRequest) GetAddress() string

func (*QueryUserEntryRequest) GetBlock

func (m *QueryUserEntryRequest) GetBlock() uint64

func (*QueryUserEntryRequest) GetChainID

func (m *QueryUserEntryRequest) GetChainID() string

func (*QueryUserEntryRequest) Marshal

func (m *QueryUserEntryRequest) Marshal() (dAtA []byte, err error)

func (*QueryUserEntryRequest) MarshalTo

func (m *QueryUserEntryRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryUserEntryRequest) MarshalToSizedBuffer

func (m *QueryUserEntryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUserEntryRequest) ProtoMessage

func (*QueryUserEntryRequest) ProtoMessage()

func (*QueryUserEntryRequest) Reset

func (m *QueryUserEntryRequest) Reset()

func (*QueryUserEntryRequest) Size

func (m *QueryUserEntryRequest) Size() (n int)

func (*QueryUserEntryRequest) String

func (m *QueryUserEntryRequest) String() string

func (*QueryUserEntryRequest) Unmarshal

func (m *QueryUserEntryRequest) Unmarshal(dAtA []byte) error

func (*QueryUserEntryRequest) XXX_DiscardUnknown

func (m *QueryUserEntryRequest) XXX_DiscardUnknown()

func (*QueryUserEntryRequest) XXX_Marshal

func (m *QueryUserEntryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUserEntryRequest) XXX_Merge

func (m *QueryUserEntryRequest) XXX_Merge(src proto.Message)

func (*QueryUserEntryRequest) XXX_Size

func (m *QueryUserEntryRequest) XXX_Size() int

func (*QueryUserEntryRequest) XXX_Unmarshal

func (m *QueryUserEntryRequest) XXX_Unmarshal(b []byte) error

type QueryUserEntryResponse

type QueryUserEntryResponse struct {
	Consumer types.StakeEntry `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer"`
	MaxCU    uint64           `protobuf:"varint,2,opt,name=maxCU,proto3" json:"maxCU,omitempty"`
}

func (*QueryUserEntryResponse) Descriptor

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

func (*QueryUserEntryResponse) GetConsumer

func (m *QueryUserEntryResponse) GetConsumer() types.StakeEntry

func (*QueryUserEntryResponse) GetMaxCU

func (m *QueryUserEntryResponse) GetMaxCU() uint64

func (*QueryUserEntryResponse) Marshal

func (m *QueryUserEntryResponse) Marshal() (dAtA []byte, err error)

func (*QueryUserEntryResponse) MarshalTo

func (m *QueryUserEntryResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryUserEntryResponse) MarshalToSizedBuffer

func (m *QueryUserEntryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryUserEntryResponse) ProtoMessage

func (*QueryUserEntryResponse) ProtoMessage()

func (*QueryUserEntryResponse) Reset

func (m *QueryUserEntryResponse) Reset()

func (*QueryUserEntryResponse) Size

func (m *QueryUserEntryResponse) Size() (n int)

func (*QueryUserEntryResponse) String

func (m *QueryUserEntryResponse) String() string

func (*QueryUserEntryResponse) Unmarshal

func (m *QueryUserEntryResponse) Unmarshal(dAtA []byte) error

func (*QueryUserEntryResponse) XXX_DiscardUnknown

func (m *QueryUserEntryResponse) XXX_DiscardUnknown()

func (*QueryUserEntryResponse) XXX_Marshal

func (m *QueryUserEntryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryUserEntryResponse) XXX_Merge

func (m *QueryUserEntryResponse) XXX_Merge(src proto.Message)

func (*QueryUserEntryResponse) XXX_Size

func (m *QueryUserEntryResponse) XXX_Size() int

func (*QueryUserEntryResponse) XXX_Unmarshal

func (m *QueryUserEntryResponse) XXX_Unmarshal(b []byte) error

type QueryVerifyPairingRequest

type QueryVerifyPairingRequest struct {
	ChainID  string `protobuf:"bytes,1,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Client   string `protobuf:"bytes,2,opt,name=client,proto3" json:"client,omitempty"`
	Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"`
	Block    uint64 `protobuf:"varint,4,opt,name=block,proto3" json:"block,omitempty"`
}

func (*QueryVerifyPairingRequest) Descriptor

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

func (*QueryVerifyPairingRequest) GetBlock

func (m *QueryVerifyPairingRequest) GetBlock() uint64

func (*QueryVerifyPairingRequest) GetChainID

func (m *QueryVerifyPairingRequest) GetChainID() string

func (*QueryVerifyPairingRequest) GetClient

func (m *QueryVerifyPairingRequest) GetClient() string

func (*QueryVerifyPairingRequest) GetProvider

func (m *QueryVerifyPairingRequest) GetProvider() string

func (*QueryVerifyPairingRequest) Marshal

func (m *QueryVerifyPairingRequest) Marshal() (dAtA []byte, err error)

func (*QueryVerifyPairingRequest) MarshalTo

func (m *QueryVerifyPairingRequest) MarshalTo(dAtA []byte) (int, error)

func (*QueryVerifyPairingRequest) MarshalToSizedBuffer

func (m *QueryVerifyPairingRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVerifyPairingRequest) ProtoMessage

func (*QueryVerifyPairingRequest) ProtoMessage()

func (*QueryVerifyPairingRequest) Reset

func (m *QueryVerifyPairingRequest) Reset()

func (*QueryVerifyPairingRequest) Size

func (m *QueryVerifyPairingRequest) Size() (n int)

func (*QueryVerifyPairingRequest) String

func (m *QueryVerifyPairingRequest) String() string

func (*QueryVerifyPairingRequest) Unmarshal

func (m *QueryVerifyPairingRequest) Unmarshal(dAtA []byte) error

func (*QueryVerifyPairingRequest) XXX_DiscardUnknown

func (m *QueryVerifyPairingRequest) XXX_DiscardUnknown()

func (*QueryVerifyPairingRequest) XXX_Marshal

func (m *QueryVerifyPairingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVerifyPairingRequest) XXX_Merge

func (m *QueryVerifyPairingRequest) XXX_Merge(src proto.Message)

func (*QueryVerifyPairingRequest) XXX_Size

func (m *QueryVerifyPairingRequest) XXX_Size() int

func (*QueryVerifyPairingRequest) XXX_Unmarshal

func (m *QueryVerifyPairingRequest) XXX_Unmarshal(b []byte) error

type QueryVerifyPairingResponse

type QueryVerifyPairingResponse struct {
	Valid           bool   `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	Index           int64  `protobuf:"varint,2,opt,name=index,proto3" json:"index,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"`
}

func (*QueryVerifyPairingResponse) Descriptor

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

func (*QueryVerifyPairingResponse) GetCuPerEpoch

func (m *QueryVerifyPairingResponse) GetCuPerEpoch() uint64

func (*QueryVerifyPairingResponse) GetIndex added in v0.4.3

func (m *QueryVerifyPairingResponse) GetIndex() int64

func (*QueryVerifyPairingResponse) GetPairedProviders

func (m *QueryVerifyPairingResponse) GetPairedProviders() uint64

func (*QueryVerifyPairingResponse) GetValid

func (m *QueryVerifyPairingResponse) GetValid() bool

func (*QueryVerifyPairingResponse) Marshal

func (m *QueryVerifyPairingResponse) Marshal() (dAtA []byte, err error)

func (*QueryVerifyPairingResponse) MarshalTo

func (m *QueryVerifyPairingResponse) MarshalTo(dAtA []byte) (int, error)

func (*QueryVerifyPairingResponse) MarshalToSizedBuffer

func (m *QueryVerifyPairingResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*QueryVerifyPairingResponse) ProtoMessage

func (*QueryVerifyPairingResponse) ProtoMessage()

func (*QueryVerifyPairingResponse) Reset

func (m *QueryVerifyPairingResponse) Reset()

func (*QueryVerifyPairingResponse) Size

func (m *QueryVerifyPairingResponse) Size() (n int)

func (*QueryVerifyPairingResponse) String

func (m *QueryVerifyPairingResponse) String() string

func (*QueryVerifyPairingResponse) Unmarshal

func (m *QueryVerifyPairingResponse) Unmarshal(dAtA []byte) error

func (*QueryVerifyPairingResponse) XXX_DiscardUnknown

func (m *QueryVerifyPairingResponse) XXX_DiscardUnknown()

func (*QueryVerifyPairingResponse) XXX_Marshal

func (m *QueryVerifyPairingResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*QueryVerifyPairingResponse) XXX_Merge

func (m *QueryVerifyPairingResponse) XXX_Merge(src proto.Message)

func (*QueryVerifyPairingResponse) XXX_Size

func (m *QueryVerifyPairingResponse) XXX_Size() int

func (*QueryVerifyPairingResponse) XXX_Unmarshal

func (m *QueryVerifyPairingResponse) XXX_Unmarshal(b []byte) error

type RelayCacheGet

type RelayCacheGet struct {
	Request      *RelayRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	ApiInterface string        `protobuf:"bytes,2,opt,name=apiInterface,proto3" json:"apiInterface,omitempty"`
	BlockHash    []byte        `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	ChainID      string        `protobuf:"bytes,4,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Finalized    bool          `protobuf:"varint,5,opt,name=finalized,proto3" json:"finalized,omitempty"`
}

func (*RelayCacheGet) Descriptor

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

func (*RelayCacheGet) GetApiInterface added in v0.4.3

func (m *RelayCacheGet) GetApiInterface() string

func (*RelayCacheGet) GetBlockHash

func (m *RelayCacheGet) GetBlockHash() []byte

func (*RelayCacheGet) GetChainID added in v0.4.3

func (m *RelayCacheGet) GetChainID() string

func (*RelayCacheGet) GetFinalized

func (m *RelayCacheGet) GetFinalized() bool

func (*RelayCacheGet) GetRequest added in v0.4.3

func (m *RelayCacheGet) GetRequest() *RelayRequest

func (*RelayCacheGet) Marshal

func (m *RelayCacheGet) Marshal() (dAtA []byte, err error)

func (*RelayCacheGet) MarshalTo

func (m *RelayCacheGet) MarshalTo(dAtA []byte) (int, error)

func (*RelayCacheGet) MarshalToSizedBuffer

func (m *RelayCacheGet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RelayCacheGet) ProtoMessage

func (*RelayCacheGet) ProtoMessage()

func (*RelayCacheGet) Reset

func (m *RelayCacheGet) Reset()

func (*RelayCacheGet) Size

func (m *RelayCacheGet) Size() (n int)

func (*RelayCacheGet) String

func (m *RelayCacheGet) String() string

func (*RelayCacheGet) Unmarshal

func (m *RelayCacheGet) Unmarshal(dAtA []byte) error

func (*RelayCacheGet) XXX_DiscardUnknown

func (m *RelayCacheGet) XXX_DiscardUnknown()

func (*RelayCacheGet) XXX_Marshal

func (m *RelayCacheGet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelayCacheGet) XXX_Merge

func (m *RelayCacheGet) XXX_Merge(src proto.Message)

func (*RelayCacheGet) XXX_Size

func (m *RelayCacheGet) XXX_Size() int

func (*RelayCacheGet) XXX_Unmarshal

func (m *RelayCacheGet) XXX_Unmarshal(b []byte) error

type RelayCacheSet

type RelayCacheSet struct {
	Request      *RelayRequest `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	ApiInterface string        `protobuf:"bytes,2,opt,name=apiInterface,proto3" json:"apiInterface,omitempty"`
	BlockHash    []byte        `protobuf:"bytes,3,opt,name=blockHash,proto3" json:"blockHash,omitempty"`
	ChainID      string        `protobuf:"bytes,4,opt,name=chainID,proto3" json:"chainID,omitempty"`
	BucketID     string        `protobuf:"bytes,5,opt,name=bucketID,proto3" json:"bucketID,omitempty"`
	Response     *RelayReply   `protobuf:"bytes,6,opt,name=response,proto3" json:"response,omitempty"`
	Finalized    bool          `protobuf:"varint,7,opt,name=finalized,proto3" json:"finalized,omitempty"`
}

func (*RelayCacheSet) Descriptor

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

func (*RelayCacheSet) GetApiInterface added in v0.4.3

func (m *RelayCacheSet) GetApiInterface() string

func (*RelayCacheSet) GetBlockHash

func (m *RelayCacheSet) GetBlockHash() []byte

func (*RelayCacheSet) GetBucketID added in v0.4.3

func (m *RelayCacheSet) GetBucketID() string

func (*RelayCacheSet) GetChainID added in v0.4.3

func (m *RelayCacheSet) GetChainID() string

func (*RelayCacheSet) GetFinalized

func (m *RelayCacheSet) GetFinalized() bool

func (*RelayCacheSet) GetRequest added in v0.4.3

func (m *RelayCacheSet) GetRequest() *RelayRequest

func (*RelayCacheSet) GetResponse

func (m *RelayCacheSet) GetResponse() *RelayReply

func (*RelayCacheSet) Marshal

func (m *RelayCacheSet) Marshal() (dAtA []byte, err error)

func (*RelayCacheSet) MarshalTo

func (m *RelayCacheSet) MarshalTo(dAtA []byte) (int, 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 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"`
}

func (*RelayPrivateData) Descriptor

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

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

func (m *RelayPrivateData) GetData() []byte

func (*RelayPrivateData) GetRequestBlock

func (m *RelayPrivateData) GetRequestBlock() int64

func (*RelayPrivateData) GetSalt

func (m *RelayPrivateData) GetSalt() []byte

func (*RelayPrivateData) Marshal

func (m *RelayPrivateData) Marshal() (dAtA []byte, err error)

func (*RelayPrivateData) MarshalTo

func (m *RelayPrivateData) MarshalTo(dAtA []byte) (int, 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"`
	Nonce                 uint32 `protobuf:"varint,3,opt,name=nonce,proto3" json:"nonce,omitempty"`
	LatestBlock           int64  `protobuf:"varint,4,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"`
	FinalizedBlocksHashes []byte `` /* 126-byte string literal not displayed */
	SigBlocks             []byte `protobuf:"bytes,6,opt,name=sig_blocks,json=sigBlocks,proto3" json:"sig_blocks,omitempty"`
}

func (*RelayReply) Descriptor

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

func (*RelayReply) GetData

func (m *RelayReply) GetData() []byte

func (*RelayReply) GetFinalizedBlocksHashes

func (m *RelayReply) GetFinalizedBlocksHashes() []byte

func (*RelayReply) GetLatestBlock

func (m *RelayReply) GetLatestBlock() int64

func (*RelayReply) GetNonce added in v0.4.3

func (m *RelayReply) GetNonce() uint32

func (*RelayReply) GetSig

func (m *RelayReply) GetSig() []byte

func (*RelayReply) GetSigBlocks

func (m *RelayReply) GetSigBlocks() []byte

func (*RelayReply) Marshal

func (m *RelayReply) Marshal() (dAtA []byte, err error)

func (*RelayReply) MarshalTo

func (m *RelayReply) MarshalTo(dAtA []byte) (int, 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"`
	DataReliability *VRFData          `protobuf:"bytes,3,opt,name=data_reliability,json=dataReliability,proto3" json:"data_reliability,omitempty"`
}

func (*RelayRequest) Descriptor

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

func (*RelayRequest) GetDataReliability added in v0.4.3

func (m *RelayRequest) GetDataReliability() *VRFData

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

func (m *RelayRequest) MarshalTo(dAtA []byte) (int, error)

func (*RelayRequest) MarshalToSizedBuffer

func (m *RelayRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RelayRequest) ProtoMessage

func (*RelayRequest) ProtoMessage()

func (*RelayRequest) Reset

func (m *RelayRequest) Reset()

func (*RelayRequest) Size

func (m *RelayRequest) Size() (n int)

func (*RelayRequest) String

func (m *RelayRequest) String() string

func (*RelayRequest) Unmarshal

func (m *RelayRequest) Unmarshal(dAtA []byte) error

func (*RelayRequest) XXX_DiscardUnknown

func (m *RelayRequest) XXX_DiscardUnknown()

func (*RelayRequest) XXX_Marshal

func (m *RelayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelayRequest) XXX_Merge

func (m *RelayRequest) XXX_Merge(src proto.Message)

func (*RelayRequest) XXX_Size

func (m *RelayRequest) XXX_Size() int

func (*RelayRequest) XXX_Unmarshal

func (m *RelayRequest) XXX_Unmarshal(b []byte) error

type RelaySession

type RelaySession struct {
	SpecId                string                  `protobuf:"bytes,1,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
	ContentHash           []byte                  `protobuf:"bytes,2,opt,name=content_hash,json=contentHash,proto3" json:"content_hash,omitempty"`
	SessionId             uint64                  `protobuf:"varint,3,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	CuSum                 uint64                  `protobuf:"varint,4,opt,name=cu_sum,json=cuSum,proto3" json:"cu_sum,omitempty"`
	Provider              string                  `protobuf:"bytes,5,opt,name=provider,proto3" json:"provider,omitempty"`
	RelayNum              uint64                  `protobuf:"varint,6,opt,name=relay_num,json=relayNum,proto3" json:"relay_num,omitempty"`
	QosReport             *QualityOfServiceReport `protobuf:"bytes,7,opt,name=qos_report,json=qosReport,proto3" json:"qos_report,omitempty"`
	Epoch                 int64                   `protobuf:"varint,8,opt,name=epoch,proto3" json:"epoch,omitempty"`
	UnresponsiveProviders []byte                  `protobuf:"bytes,9,opt,name=unresponsive_providers,json=unresponsiveProviders,proto3" json:"unresponsive_providers,omitempty"`
	LavaChainId           string                  `protobuf:"bytes,10,opt,name=lava_chain_id,json=lavaChainId,proto3" json:"lava_chain_id,omitempty"`
	Sig                   []byte                  `protobuf:"bytes,11,opt,name=sig,proto3" json:"sig,omitempty"`
	Badge                 *Badge                  `protobuf:"bytes,12,opt,name=badge,proto3" json:"badge,omitempty"`
}

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

func (m *RelaySession) GetSpecId() string

func (*RelaySession) GetUnresponsiveProviders

func (m *RelaySession) GetUnresponsiveProviders() []byte

func (*RelaySession) Marshal

func (m *RelaySession) Marshal() (dAtA []byte, err error)

func (*RelaySession) MarshalTo

func (m *RelaySession) MarshalTo(dAtA []byte) (int, error)

func (*RelaySession) MarshalToSizedBuffer

func (m *RelaySession) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RelaySession) ProtoMessage

func (*RelaySession) ProtoMessage()

func (*RelaySession) Reset

func (m *RelaySession) Reset()

func (*RelaySession) Size

func (m *RelaySession) Size() (n int)

func (*RelaySession) String

func (m *RelaySession) String() string

func (*RelaySession) Unmarshal

func (m *RelaySession) Unmarshal(dAtA []byte) error

func (*RelaySession) XXX_DiscardUnknown

func (m *RelaySession) XXX_DiscardUnknown()

func (*RelaySession) XXX_Marshal

func (m *RelaySession) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RelaySession) XXX_Merge

func (m *RelaySession) XXX_Merge(src proto.Message)

func (*RelaySession) XXX_Size

func (m *RelaySession) XXX_Size() int

func (*RelaySession) XXX_Unmarshal

func (m *RelaySession) XXX_Unmarshal(b []byte) error

type RelayerCacheClient

type RelayerCacheClient interface {
	GetRelay(ctx context.Context, in *RelayCacheGet, opts ...grpc.CallOption) (*RelayReply, error)
	SetRelay(ctx context.Context, in *RelayCacheSet, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CacheUsage, error)
}

RelayerCacheClient is the client API for RelayerCache service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRelayerCacheClient

func NewRelayerCacheClient(cc grpc1.ClientConn) RelayerCacheClient

type RelayerCacheServer

type RelayerCacheServer interface {
	GetRelay(context.Context, *RelayCacheGet) (*RelayReply, error)
	SetRelay(context.Context, *RelayCacheSet) (*emptypb.Empty, error)
	Health(context.Context, *emptypb.Empty) (*CacheUsage, error)
}

RelayerCacheServer is the server API for RelayerCache service.

type RelayerClient

type RelayerClient interface {
	Relay(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (*RelayReply, error)
	RelaySubscribe(ctx context.Context, in *RelayRequest, opts ...grpc.CallOption) (Relayer_RelaySubscribeClient, error)
	Probe(ctx context.Context, in *wrapperspb.UInt64Value, opts ...grpc.CallOption) (*wrapperspb.UInt64Value, error)
}

RelayerClient is the client API for Relayer service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewRelayerClient

func NewRelayerClient(cc grpc1.ClientConn) RelayerClient

type RelayerServer

RelayerServer is the server API for Relayer service.

type Relayer_RelaySubscribeClient

type Relayer_RelaySubscribeClient interface {
	Recv() (*RelayReply, error)
	grpc.ClientStream
}

type Relayer_RelaySubscribeServer

type Relayer_RelaySubscribeServer interface {
	Send(*RelayReply) error
	grpc.ServerStream
}

type SpecKeeper

type SpecKeeper interface {
	// Methods imported from spec should be defined here
	IsSpecFoundAndActive(ctx sdk.Context, chainID string) (foundAndActive bool, found bool)
	GetSpec(ctx sdk.Context, index string) (val spectypes.Spec, found bool)
	GeolocationCount(ctx sdk.Context) uint64
	GetExpectedInterfacesForSpec(ctx sdk.Context, chainID string) map[string]bool
	GetAllChainIDs(ctx sdk.Context) (chainIDs []string)
}

type StakeToMaxCU added in v0.4.3

type StakeToMaxCU struct {
	StakeThreshold  types.Coin `protobuf:"bytes,1,opt,name=StakeThreshold,proto3" json:"StakeThreshold"`
	MaxComputeUnits uint64     `protobuf:"varint,2,opt,name=MaxComputeUnits,proto3" json:"MaxComputeUnits,omitempty"`
}

func (*StakeToMaxCU) Descriptor added in v0.4.3

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

func (*StakeToMaxCU) GetMaxComputeUnits added in v0.4.3

func (m *StakeToMaxCU) GetMaxComputeUnits() uint64

func (*StakeToMaxCU) GetStakeThreshold added in v0.4.3

func (m *StakeToMaxCU) GetStakeThreshold() types.Coin

func (*StakeToMaxCU) Marshal added in v0.4.3

func (m *StakeToMaxCU) Marshal() (dAtA []byte, err error)

func (*StakeToMaxCU) MarshalTo added in v0.4.3

func (m *StakeToMaxCU) MarshalTo(dAtA []byte) (int, error)

func (*StakeToMaxCU) MarshalToSizedBuffer added in v0.4.3

func (m *StakeToMaxCU) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakeToMaxCU) ProtoMessage added in v0.4.3

func (*StakeToMaxCU) ProtoMessage()

func (*StakeToMaxCU) Reset added in v0.4.3

func (m *StakeToMaxCU) Reset()

func (*StakeToMaxCU) Size added in v0.4.3

func (m *StakeToMaxCU) Size() (n int)

func (*StakeToMaxCU) String added in v0.4.3

func (m *StakeToMaxCU) String() string

func (*StakeToMaxCU) Unmarshal added in v0.4.3

func (m *StakeToMaxCU) Unmarshal(dAtA []byte) error

func (*StakeToMaxCU) XXX_DiscardUnknown added in v0.4.3

func (m *StakeToMaxCU) XXX_DiscardUnknown()

func (*StakeToMaxCU) XXX_Marshal added in v0.4.3

func (m *StakeToMaxCU) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeToMaxCU) XXX_Merge added in v0.4.3

func (m *StakeToMaxCU) XXX_Merge(src proto.Message)

func (*StakeToMaxCU) XXX_Size added in v0.4.3

func (m *StakeToMaxCU) XXX_Size() int

func (*StakeToMaxCU) XXX_Unmarshal added in v0.4.3

func (m *StakeToMaxCU) XXX_Unmarshal(b []byte) error

type StakeToMaxCUList added in v0.4.3

type StakeToMaxCUList struct {
	List []StakeToMaxCU `protobuf:"bytes,1,rep,name=List,proto3" json:"List"`
}
var (
	KeyStakeToMaxCUList = []byte("StakeToMaxCUList")
	// TODO: Determine the default value
	DefaultStakeToMaxCUList StakeToMaxCUList = StakeToMaxCUList{List: []StakeToMaxCU{
		{sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(1)}, 5000},
		{sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(500)}, 15000},
		{sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(2000)}, 50000},
		{sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(5000)}, 250000},
		{sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(100000)}, 500000},
		{sdk.Coin{Denom: epochstoragetypes.TokenDenom, Amount: sdk.NewIntFromUint64(9999900000)}, 9999999999},
	}}
)

func (StakeToMaxCUList) Compare added in v0.4.3

func (cuList StakeToMaxCUList) Compare(other StakeToMaxCUList) int

func (*StakeToMaxCUList) Descriptor added in v0.4.3

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

func (StakeToMaxCUList) Equal added in v0.4.3

func (cuList StakeToMaxCUList) Equal(other StakeToMaxCUList) bool

reference: https://github.com/gogo/protobuf/blob/master/custom_types.md

func (*StakeToMaxCUList) GetList added in v0.4.3

func (m *StakeToMaxCUList) GetList() []StakeToMaxCU

func (*StakeToMaxCUList) Marshal added in v0.4.3

func (m *StakeToMaxCUList) Marshal() (dAtA []byte, err error)

func (StakeToMaxCUList) MarshalJSON added in v0.4.3

func (cuList StakeToMaxCUList) MarshalJSON() ([]byte, error)

func (*StakeToMaxCUList) MarshalTo added in v0.4.3

func (m *StakeToMaxCUList) MarshalTo(dAtA []byte) (int, error)

func (*StakeToMaxCUList) MarshalToSizedBuffer added in v0.4.3

func (m *StakeToMaxCUList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StakeToMaxCUList) ProtoMessage added in v0.4.3

func (*StakeToMaxCUList) ProtoMessage()

func (*StakeToMaxCUList) Reset added in v0.4.3

func (m *StakeToMaxCUList) Reset()

func (*StakeToMaxCUList) Size added in v0.4.3

func (m *StakeToMaxCUList) Size() (n int)

func (*StakeToMaxCUList) String added in v0.4.3

func (m *StakeToMaxCUList) String() string

func (*StakeToMaxCUList) Unmarshal added in v0.4.3

func (m *StakeToMaxCUList) Unmarshal(dAtA []byte) error

func (*StakeToMaxCUList) UnmarshalJSON added in v0.4.3

func (cuList *StakeToMaxCUList) UnmarshalJSON(data []byte) error

func (*StakeToMaxCUList) XXX_DiscardUnknown added in v0.4.3

func (m *StakeToMaxCUList) XXX_DiscardUnknown()

func (*StakeToMaxCUList) XXX_Marshal added in v0.4.3

func (m *StakeToMaxCUList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StakeToMaxCUList) XXX_Merge added in v0.4.3

func (m *StakeToMaxCUList) XXX_Merge(src proto.Message)

func (*StakeToMaxCUList) XXX_Size added in v0.4.3

func (m *StakeToMaxCUList) XXX_Size() int

func (*StakeToMaxCUList) XXX_Unmarshal added in v0.4.3

func (m *StakeToMaxCUList) XXX_Unmarshal(b []byte) error

type StaticProvidersList

type StaticProvidersList struct {
	ChainId      string         `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Description  string         `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	Geolocations []*GeoLocation `protobuf:"bytes,3,rep,name=geolocations,proto3" json:"geolocations,omitempty"`
}

func (*StaticProvidersList) Descriptor

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

func (*StaticProvidersList) GetChainId

func (m *StaticProvidersList) GetChainId() string

func (*StaticProvidersList) GetDescription

func (m *StaticProvidersList) GetDescription() string

func (*StaticProvidersList) GetGeolocations

func (m *StaticProvidersList) GetGeolocations() []*GeoLocation

func (*StaticProvidersList) Marshal

func (m *StaticProvidersList) Marshal() (dAtA []byte, err error)

func (*StaticProvidersList) MarshalTo

func (m *StaticProvidersList) MarshalTo(dAtA []byte) (int, error)

func (*StaticProvidersList) MarshalToSizedBuffer

func (m *StaticProvidersList) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StaticProvidersList) ProtoMessage

func (*StaticProvidersList) ProtoMessage()

func (*StaticProvidersList) Reset

func (m *StaticProvidersList) Reset()

func (*StaticProvidersList) Size

func (m *StaticProvidersList) Size() (n int)

func (*StaticProvidersList) String

func (m *StaticProvidersList) String() string

func (*StaticProvidersList) Unmarshal

func (m *StaticProvidersList) Unmarshal(dAtA []byte) error

func (*StaticProvidersList) XXX_DiscardUnknown

func (m *StaticProvidersList) XXX_DiscardUnknown()

func (*StaticProvidersList) XXX_Marshal

func (m *StaticProvidersList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StaticProvidersList) XXX_Merge

func (m *StaticProvidersList) XXX_Merge(src proto.Message)

func (*StaticProvidersList) XXX_Size

func (m *StaticProvidersList) XXX_Size() int

func (*StaticProvidersList) XXX_Unmarshal

func (m *StaticProvidersList) XXX_Unmarshal(b []byte) error

type SubscriptionKeeper

type SubscriptionKeeper interface {
	GetPlanFromSubscription(ctx sdk.Context, consumer string) (planstypes.Plan, error)
	ChargeComputeUnitsToSubscription(ctx sdk.Context, subscriptionOwner string, cuAmount uint64) error
	GetSubscription(ctx sdk.Context, consumer string) (val subscriptiontypes.Subscription, found bool)
}

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) FreezeProvider

func (*UnimplementedMsgServer) RelayPayment

func (*UnimplementedMsgServer) StakeClient added in v0.4.3

func (*UnimplementedMsgServer) StakeProvider

func (*UnimplementedMsgServer) UnfreezeProvider

func (*UnimplementedMsgServer) UnstakeClient added in v0.4.3

func (*UnimplementedMsgServer) UnstakeProvider

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Clients added in v0.4.3

func (*UnimplementedQueryServer) EpochPayments

func (*UnimplementedQueryServer) EpochPaymentsAll

func (*UnimplementedQueryServer) GetPairing

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Providers

func (*UnimplementedQueryServer) StaticProvidersList

func (*UnimplementedQueryServer) UserEntry

func (*UnimplementedQueryServer) VerifyPairing

type UnimplementedRelayerCacheServer

type UnimplementedRelayerCacheServer struct {
}

UnimplementedRelayerCacheServer can be embedded to have forward compatible implementations.

func (*UnimplementedRelayerCacheServer) GetRelay

func (*UnimplementedRelayerCacheServer) Health

func (*UnimplementedRelayerCacheServer) SetRelay

type UnimplementedRelayerServer

type UnimplementedRelayerServer struct {
}

UnimplementedRelayerServer can be embedded to have forward compatible implementations.

func (*UnimplementedRelayerServer) Probe

func (*UnimplementedRelayerServer) Relay

func (*UnimplementedRelayerServer) RelaySubscribe

type UniquePaymentStorageClientProvider

type UniquePaymentStorageClientProvider struct {
	Index  string `protobuf:"bytes,1,opt,name=index,proto3" json:"index,omitempty"`
	Block  uint64 `protobuf:"varint,2,opt,name=block,proto3" json:"block,omitempty"`
	UsedCU uint64 `protobuf:"varint,3,opt,name=usedCU,proto3" json:"usedCU,omitempty"`
}

func (*UniquePaymentStorageClientProvider) Descriptor

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

func (*UniquePaymentStorageClientProvider) GetBlock

func (*UniquePaymentStorageClientProvider) GetIndex

func (*UniquePaymentStorageClientProvider) GetUsedCU

func (*UniquePaymentStorageClientProvider) Marshal

func (m *UniquePaymentStorageClientProvider) Marshal() (dAtA []byte, err error)

func (*UniquePaymentStorageClientProvider) MarshalTo

func (m *UniquePaymentStorageClientProvider) MarshalTo(dAtA []byte) (int, error)

func (*UniquePaymentStorageClientProvider) MarshalToSizedBuffer

func (m *UniquePaymentStorageClientProvider) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UniquePaymentStorageClientProvider) ProtoMessage

func (*UniquePaymentStorageClientProvider) ProtoMessage()

func (*UniquePaymentStorageClientProvider) Reset

func (*UniquePaymentStorageClientProvider) Size

func (*UniquePaymentStorageClientProvider) String

func (*UniquePaymentStorageClientProvider) Unmarshal

func (m *UniquePaymentStorageClientProvider) Unmarshal(dAtA []byte) error

func (*UniquePaymentStorageClientProvider) XXX_DiscardUnknown

func (m *UniquePaymentStorageClientProvider) XXX_DiscardUnknown()

func (*UniquePaymentStorageClientProvider) XXX_Marshal

func (m *UniquePaymentStorageClientProvider) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UniquePaymentStorageClientProvider) XXX_Merge

func (*UniquePaymentStorageClientProvider) XXX_Size

func (*UniquePaymentStorageClientProvider) XXX_Unmarshal

func (m *UniquePaymentStorageClientProvider) XXX_Unmarshal(b []byte) error

type VRFData added in v0.4.3

type VRFData struct {
	ChainId        string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Epoch          int64  `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Differentiator bool   `protobuf:"varint,3,opt,name=differentiator,proto3" json:"differentiator,omitempty"`
	VrfValue       []byte `protobuf:"bytes,4,opt,name=vrf_value,json=vrfValue,proto3" json:"vrf_value,omitempty"`
	VrfProof       []byte `protobuf:"bytes,5,opt,name=vrf_proof,json=vrfProof,proto3" json:"vrf_proof,omitempty"`
	ProviderSig    []byte `protobuf:"bytes,6,opt,name=provider_sig,json=providerSig,proto3" json:"provider_sig,omitempty"`
	AllDataHash    []byte `protobuf:"bytes,7,opt,name=all_data_hash,json=allDataHash,proto3" json:"all_data_hash,omitempty"`
	QueryHash      []byte `protobuf:"bytes,8,opt,name=query_hash,json=queryHash,proto3" json:"query_hash,omitempty"`
	Sig            []byte `protobuf:"bytes,9,opt,name=sig,proto3" json:"sig,omitempty"`
}

func (*VRFData) Descriptor added in v0.4.3

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

func (*VRFData) GetAllDataHash added in v0.4.3

func (m *VRFData) GetAllDataHash() []byte

func (*VRFData) GetChainId added in v0.9.0

func (m *VRFData) GetChainId() string

func (*VRFData) GetDifferentiator added in v0.4.3

func (m *VRFData) GetDifferentiator() bool

func (*VRFData) GetEpoch added in v0.9.0

func (m *VRFData) GetEpoch() int64

func (*VRFData) GetProviderSig added in v0.4.3

func (m *VRFData) GetProviderSig() []byte

func (*VRFData) GetQueryHash added in v0.4.3

func (m *VRFData) GetQueryHash() []byte

func (*VRFData) GetSig added in v0.4.3

func (m *VRFData) GetSig() []byte

func (*VRFData) GetVrfProof added in v0.4.3

func (m *VRFData) GetVrfProof() []byte

func (*VRFData) GetVrfValue added in v0.4.3

func (m *VRFData) GetVrfValue() []byte

func (*VRFData) Marshal added in v0.4.3

func (m *VRFData) Marshal() (dAtA []byte, err error)

func (*VRFData) MarshalTo added in v0.4.3

func (m *VRFData) MarshalTo(dAtA []byte) (int, error)

func (*VRFData) MarshalToSizedBuffer added in v0.4.3

func (m *VRFData) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VRFData) ProtoMessage added in v0.4.3

func (*VRFData) ProtoMessage()

func (*VRFData) Reset added in v0.4.3

func (m *VRFData) Reset()

func (*VRFData) Size added in v0.4.3

func (m *VRFData) Size() (n int)

func (*VRFData) String added in v0.4.3

func (m *VRFData) String() string

func (*VRFData) Unmarshal added in v0.4.3

func (m *VRFData) Unmarshal(dAtA []byte) error

func (*VRFData) XXX_DiscardUnknown added in v0.4.3

func (m *VRFData) XXX_DiscardUnknown()

func (*VRFData) XXX_Marshal added in v0.4.3

func (m *VRFData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VRFData) XXX_Merge added in v0.4.3

func (m *VRFData) XXX_Merge(src proto.Message)

func (*VRFData) XXX_Size added in v0.4.3

func (m *VRFData) XXX_Size() int

func (*VRFData) XXX_Unmarshal added in v0.4.3

func (m *VRFData) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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