types

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2024 License: Apache-2.0 Imports: 54 Imported by: 0

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	UniqueEpochSessionPrefix        = "UniqueEpochSession/"
	ProviderEpochCuPrefix           = "ProviderEpochCu/"
	ProviderEpochComplainerCuPrefix = "ProviderEpochComplainerCu/"
	ProviderConsumerEpochCuPrefix   = "ProviderConsumerEpochCu/"
)
View Source
const (
	// BadgeUsedCuKeyPrefix is the prefix to retrieve all BadgeUsedCu
	BadgeUsedCuKeyPrefix  = "BadgeUsedCu/value/"
	BadgeTimerStorePrefix = "BadgeTimerStore/"
)
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

	// Proposals router keys
	ProposalsRouterKey = "pairingproposals"

	// 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"
	ProviderStakeUpdateEventName = "stake_update_provider"
	ProviderUnstakeEventName     = "provider_unstake_commit"

	RelayPaymentEventName       = "relay_payment"
	ProviderJailedEventName     = "provider_jailed"
	ProviderReportedEventName   = "provider_reported"
	LatestBlocksReportEventName = "provider_latest_block_report"
	RejectedCuEventName         = "rejected_cu"
	UnstakeProposalEventName    = "unstake_gov_proposal"
)
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"
	FlagCommission               = "delegate-commission"
	FlagDelegationLimit          = "delegate-limit"
	MAX_LEN_MONIKER              = 50
	MAX_ENDPOINTS_AMOUNT_PER_GEO = 5 // max number of endpoints per geolocation for provider stake entry
)
View Source
const (
	// Consider changing back on mainnet when providers QoS benchmarks are better // EPOCHS_NUM_TO_CHECK_CU_FOR_UNRESPONSIVE_PROVIDER uint64 = 4 // number of epochs to sum CU that the provider serviced
	EPOCHS_NUM_TO_CHECK_CU_FOR_UNRESPONSIVE_PROVIDER uint64 = 8 // number of epochs to sum CU that the provider serviced
	EPOCHS_NUM_TO_CHECK_FOR_COMPLAINERS              uint64 = 2 // number of epochs to sum CU of complainers against the provider
)

unresponsiveness consts

View Source
const DefaultIndex uint64 = 1

DefaultIndex is the default capability global index

View Source
const (
	ProposalUnstake = "PairingUnstake"
)
View Source
const ProviderQosStorePrefix = "ProviderQosStore/"
View Source
const TypeMsgRelayPayment = "relay_payment"
View Source
const TypeMsgStakeProvider = "stake_provider"
View Source
const TypeMsgUnfreeze = "unfreeze"
View Source
const TypeMsgUnstakeProvider = "unstake_provider"

Variables

View Source
var (
	ErrInvalidLengthAccountInfo        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowAccountInfo          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupAccountInfo = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthBadges        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowBadges          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupBadges = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthDebugQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDebugQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupDebugQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthEpochCu        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowEpochCu          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupEpochCu = 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")
	GeolocationNotMatchWithEndpointsError              = sdkerrors.New("GeolocationNotMatchWithEndpointsError Error", 693, "The combination of the endpoints' geolocation does not match to the provider's geolocation")
	DelegateCommissionOOBError                         = sdkerrors.New("DelegateCommissionOOBError Error", 694, "Delegation commission out of bound [0,100]")
	DelegateLimitError                                 = sdkerrors.New("DelegateLimitError Error", 695, "Delegation limit coin is invalid")
	ProviderRewardError                                = sdkerrors.New("ProviderRewardError Error", 696, "Could not calculate provider reward with delegations")
	UnFreezeInsufficientStakeError                     = sdkerrors.New("UnFreezeInsufficientStakeError Error", 697, "Could not unfreeze provider due to insufficient stake. Stake must be above minimum stake to unfreeze")
	InvalidCreatorAddressError                         = sdkerrors.New("InvalidCreatorAddressError Error", 698, "The creator address is invalid")
	AmountCoinError                                    = sdkerrors.New("AmountCoinError Error", 699, "Amount limit coin is invalid")
)

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 (
	KeyEpochBlocksOverlap = []byte("EpochBlocksOverlap")
	// TODO: Determine the default value
	DefaultEpochBlocksOverlap uint64 = 4
)
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 (
	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 (
	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 (
	ErrInvalidLengthUnstakeProposal        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowUnstakeProposal          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupUnstakeProposal = fmt.Errorf("proto: unexpected end of group")
)

Functions

func BadgeUsedCuKey

func BadgeUsedCuKey(badgeSig []byte, providerAddress string) []byte

BadgeUsedCuKey returns the store key to retrieve a BadgeUsedCu from the index fields

func CreateAddressEpochBadgeMapKey

func CreateAddressEpochBadgeMapKey(address string, epoch uint64) string

func DecodeBlock added in v1.1.0

func DecodeBlock(encodedKey []byte) uint64

func DecodeProviderConsumerEpochCuKey added in v1.1.0

func DecodeProviderConsumerEpochCuKey(key string) (epoch uint64, provider string, project string, chainID string, err error)

func DecodeProviderEpochCuKey added in v1.1.0

func DecodeProviderEpochCuKey(key string) (epoch uint64, provider string, chainID string, err error)

func DecodeUniqueEpochSessionKey added in v1.1.0

func DecodeUniqueEpochSessionKey(key string) (epoch uint64, provider string, chainID string, project string, sessionID uint64, err error)

func EncodeBlock added in v1.1.0

func EncodeBlock(block uint64) []byte

func KeyPrefix

func KeyPrefix(p string) []byte

func ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable the param key table for launch module

func ProviderConsumerEpochCuKey added in v1.1.0

func ProviderConsumerEpochCuKey(epoch uint64, provider string, project string, chainID string) []byte

func ProviderConsumerEpochCuKeyPrefix added in v1.1.0

func ProviderConsumerEpochCuKeyPrefix() []byte

func ProviderEpochComplainerCuKeyPrefix added in v1.1.0

func ProviderEpochComplainerCuKeyPrefix() []byte

func ProviderEpochCuKey added in v1.1.0

func ProviderEpochCuKey(epoch uint64, provider string, chainID string) []byte

func ProviderEpochCuKeyPrefix added in v1.1.0

func ProviderEpochCuKeyPrefix() []byte

func ProviderQosKey

func ProviderQosKey(provider string, chainID string, cluster string) string

func RegisterBadgeGeneratorServer

func RegisterBadgeGeneratorServer(s grpc1.Server, srv BadgeGeneratorServer)

func RegisterCodec

func RegisterCodec(cdc *codec.LegacyAmino)

func RegisterInterfaces

func RegisterInterfaces(registry cdctypes.InterfaceRegistry)

func RegisterMsgServer

func 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 UniqueEpochSessionKey added in v1.1.0

func UniqueEpochSessionKey(epoch uint64, provider string, chainID string, project string, sessionID uint64) []byte

func UniqueEpochSessionKeyPrefix added in v1.1.0

func UniqueEpochSessionKeyPrefix() []byte

Types

type AccountKeeper

type AccountKeeper interface {
	GetAccount(ctx sdk.Context, addr sdk.AccAddress) types.AccountI
	GetModuleAddress(moduleName string) sdk.AccAddress
}

type Badge

type Badge struct {
	CuAllocation uint64 `protobuf:"varint,1,opt,name=cu_allocation,json=cuAllocation,proto3" json:"cu_allocation,omitempty"`
	Epoch        uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Address      string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	LavaChainId  string `protobuf:"bytes,4,opt,name=lava_chain_id,json=lavaChainId,proto3" json:"lava_chain_id,omitempty"`
	ProjectSig   []byte `protobuf:"bytes,5,opt,name=project_sig,json=projectSig,proto3" json:"project_sig,omitempty"`
	VirtualEpoch uint64 `protobuf:"varint,6,opt,name=virtual_epoch,json=virtualEpoch,proto3" json:"virtual_epoch,omitempty"`
}

func CreateBadge

func CreateBadge(cuAllocation, epoch uint64, address sdk.AccAddress, lavaChainID string, sig []byte) *Badge

func (Badge) DataToSign

func (b Badge) DataToSign() []byte

func (*Badge) Descriptor

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

func (*Badge) GetAddress

func (m *Badge) GetAddress() string

func (*Badge) GetCuAllocation

func (m *Badge) GetCuAllocation() uint64

func (*Badge) GetEpoch

func (m *Badge) GetEpoch() uint64

func (*Badge) GetLavaChainId

func (m *Badge) GetLavaChainId() string

func (*Badge) GetProjectSig

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

func (Badge) GetSignature

func (b Badge) GetSignature() []byte

func (*Badge) GetVirtualEpoch

func (m *Badge) GetVirtualEpoch() uint64

func (Badge) HashRounds

func (b Badge) HashRounds() int

func (Badge) IsBadgeValid

func (badge Badge) IsBadgeValid(clientAddr, lavaChainID string, epoch uint64) bool

check badge's basic attributes compared to the same traits from the relay request

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 BadgeGeneratorClient

type BadgeGeneratorClient interface {
	GenerateBadge(ctx context.Context, in *GenerateBadgeRequest, opts ...grpc.CallOption) (*GenerateBadgeResponse, error)
}

BadgeGeneratorClient is the client API for BadgeGenerator service.

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

func NewBadgeGeneratorClient

func NewBadgeGeneratorClient(cc grpc1.ClientConn) BadgeGeneratorClient

type BadgeGeneratorServer

type BadgeGeneratorServer interface {
	GenerateBadge(context.Context, *GenerateBadgeRequest) (*GenerateBadgeResponse, error)
}

BadgeGeneratorServer is the server API for BadgeGenerator service.

type BadgeUsedCu

type BadgeUsedCu struct {
	BadgeUsedCuKey []byte `protobuf:"bytes,1,opt,name=badge_used_cu_key,json=badgeUsedCuKey,proto3" json:"badge_used_cu_key,omitempty"`
	UsedCu         uint64 `protobuf:"varint,2,opt,name=used_cu,json=usedCu,proto3" json:"used_cu,omitempty"`
}

func (*BadgeUsedCu) Descriptor

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

func (*BadgeUsedCu) GetBadgeUsedCuKey

func (m *BadgeUsedCu) GetBadgeUsedCuKey() []byte

func (*BadgeUsedCu) GetUsedCu

func (m *BadgeUsedCu) GetUsedCu() uint64

func (*BadgeUsedCu) Marshal

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

func (*BadgeUsedCu) MarshalTo

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

func (*BadgeUsedCu) MarshalToSizedBuffer

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

func (*BadgeUsedCu) ProtoMessage

func (*BadgeUsedCu) ProtoMessage()

func (*BadgeUsedCu) Reset

func (m *BadgeUsedCu) Reset()

func (*BadgeUsedCu) Size

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

func (*BadgeUsedCu) String

func (m *BadgeUsedCu) String() string

func (*BadgeUsedCu) Unmarshal

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

func (*BadgeUsedCu) XXX_DiscardUnknown

func (m *BadgeUsedCu) XXX_DiscardUnknown()

func (*BadgeUsedCu) XXX_Marshal

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

func (*BadgeUsedCu) XXX_Merge

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

func (*BadgeUsedCu) XXX_Size

func (m *BadgeUsedCu) XXX_Size() int

func (*BadgeUsedCu) XXX_Unmarshal

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

type BankKeeper

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

BankKeeper defines the expected interface needed to retrieve account balances.

type CacheHash

type CacheHash struct {
	Request *RelayPrivateData `protobuf:"bytes,1,opt,name=request,proto3" json:"request,omitempty"`
	ChainId string            `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

data containing the cache key hash

func (*CacheHash) Descriptor

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

func (*CacheHash) GetChainId

func (m *CacheHash) GetChainId() string

func (*CacheHash) GetRequest

func (m *CacheHash) GetRequest() *RelayPrivateData

func (*CacheHash) Marshal

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

func (*CacheHash) MarshalTo

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

func (*CacheHash) MarshalToSizedBuffer

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

func (*CacheHash) ProtoMessage

func (*CacheHash) ProtoMessage()

func (*CacheHash) Reset

func (m *CacheHash) Reset()

func (*CacheHash) Size

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

func (*CacheHash) String

func (m *CacheHash) String() string

func (*CacheHash) Unmarshal

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

func (*CacheHash) XXX_DiscardUnknown

func (m *CacheHash) XXX_DiscardUnknown()

func (*CacheHash) XXX_Marshal

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

func (*CacheHash) XXX_Merge

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

func (*CacheHash) XXX_Size

func (m *CacheHash) XXX_Size() int

func (*CacheHash) XXX_Unmarshal

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

type CacheRelayReply

type CacheRelayReply struct {
	Reply            *RelayReply `protobuf:"bytes,1,opt,name=reply,proto3" json:"reply,omitempty"`
	OptionalMetadata []Metadata  `protobuf:"bytes,2,rep,name=optional_metadata,json=optionalMetadata,proto3" json:"optional_metadata"`
	SeenBlock        int64       `protobuf:"varint,3,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"`
}

func (*CacheRelayReply) Descriptor

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

func (*CacheRelayReply) GetOptionalMetadata

func (m *CacheRelayReply) GetOptionalMetadata() []Metadata

func (*CacheRelayReply) GetReply

func (m *CacheRelayReply) GetReply() *RelayReply

func (*CacheRelayReply) GetSeenBlock

func (m *CacheRelayReply) GetSeenBlock() int64

func (*CacheRelayReply) Marshal

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

func (*CacheRelayReply) MarshalTo

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

func (*CacheRelayReply) MarshalToSizedBuffer

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

func (*CacheRelayReply) ProtoMessage

func (*CacheRelayReply) ProtoMessage()

func (*CacheRelayReply) Reset

func (m *CacheRelayReply) Reset()

func (*CacheRelayReply) Size

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

func (*CacheRelayReply) String

func (m *CacheRelayReply) String() string

func (*CacheRelayReply) Unmarshal

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

func (*CacheRelayReply) XXX_DiscardUnknown

func (m *CacheRelayReply) XXX_DiscardUnknown()

func (*CacheRelayReply) XXX_Marshal

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

func (*CacheRelayReply) XXX_Merge

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

func (*CacheRelayReply) XXX_Size

func (m *CacheRelayReply) XXX_Size() int

func (*CacheRelayReply) XXX_Unmarshal

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

type CacheUsage

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

func (*CacheUsage) Descriptor

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

func (*CacheUsage) GetCacheHits

func (m *CacheUsage) GetCacheHits() uint64

func (*CacheUsage) GetCacheMisses

func (m *CacheUsage) GetCacheMisses() uint64

func (*CacheUsage) Marshal

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

func (*CacheUsage) 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 ChainIDPayout

type ChainIDPayout struct {
	ChainId string            `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Payouts []*ProviderPayout `protobuf:"bytes,2,rep,name=payouts,proto3" json:"payouts,omitempty"`
}

func (*ChainIDPayout) Descriptor

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

func (*ChainIDPayout) GetChainId

func (m *ChainIDPayout) GetChainId() string

func (*ChainIDPayout) GetPayouts

func (m *ChainIDPayout) GetPayouts() []*ProviderPayout

func (*ChainIDPayout) Marshal

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

func (*ChainIDPayout) MarshalTo

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

func (*ChainIDPayout) MarshalToSizedBuffer

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

func (*ChainIDPayout) ProtoMessage

func (*ChainIDPayout) ProtoMessage()

func (*ChainIDPayout) Reset

func (m *ChainIDPayout) Reset()

func (*ChainIDPayout) Size

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

func (*ChainIDPayout) String

func (m *ChainIDPayout) String() string

func (*ChainIDPayout) Unmarshal

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

func (*ChainIDPayout) XXX_DiscardUnknown

func (m *ChainIDPayout) XXX_DiscardUnknown()

func (*ChainIDPayout) XXX_Marshal

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

func (*ChainIDPayout) XXX_Merge

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

func (*ChainIDPayout) XXX_Size

func (m *ChainIDPayout) XXX_Size() int

func (*ChainIDPayout) XXX_Unmarshal

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

type ClientProviderOverusedCUPercent

type ClientProviderOverusedCUPercent struct {
	TotalOverusedPercent    float64
	OverusedPercentProvider float64
}

type ClientUsedCU

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

type DelegatorSlashing

type DelegatorSlashing struct {
	Delegator      string     `protobuf:"bytes,1,opt,name=delegator,proto3" json:"delegator,omitempty"`
	SlashingAmount types.Coin `protobuf:"bytes,2,opt,name=slashing_amount,json=slashingAmount,proto3" json:"slashing_amount"`
}

func (*DelegatorSlashing) Descriptor

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

func (*DelegatorSlashing) GetDelegator

func (m *DelegatorSlashing) GetDelegator() string

func (*DelegatorSlashing) GetSlashingAmount

func (m *DelegatorSlashing) GetSlashingAmount() types.Coin

func (*DelegatorSlashing) Marshal

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

func (*DelegatorSlashing) MarshalTo

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

func (*DelegatorSlashing) MarshalToSizedBuffer

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

func (*DelegatorSlashing) ProtoMessage

func (*DelegatorSlashing) ProtoMessage()

func (*DelegatorSlashing) Reset

func (m *DelegatorSlashing) Reset()

func (*DelegatorSlashing) Size

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

func (*DelegatorSlashing) String

func (m *DelegatorSlashing) String() string

func (*DelegatorSlashing) Unmarshal

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

func (*DelegatorSlashing) XXX_DiscardUnknown

func (m *DelegatorSlashing) XXX_DiscardUnknown()

func (*DelegatorSlashing) XXX_Marshal

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

func (*DelegatorSlashing) XXX_Merge

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

func (*DelegatorSlashing) XXX_Size

func (m *DelegatorSlashing) XXX_Size() int

func (*DelegatorSlashing) XXX_Unmarshal

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

type DowntimeKeeper

type DowntimeKeeper interface {
	GetDowntimeFactor(ctx sdk.Context, epochStartBlock uint64) uint64
	GetParams(ctx sdk.Context) (params v1.Params)
}

type DualstakingKeeper

type DualstakingKeeper interface {
	RewardProvidersAndDelegators(ctx sdk.Context, providerAddr sdk.AccAddress, chainID string, totalReward sdk.Coins, senderModule string, calcOnlyProvider bool, calcOnlyDelegators bool, calcOnlyContributer bool) (providerReward sdk.Coins, totalRewards sdk.Coins, err error)
	DelegateFull(ctx sdk.Context, delegator string, validator string, provider string, chainID string, amount sdk.Coin) error
	UnbondFull(ctx sdk.Context, delegator string, validator string, provider string, chainID string, amount sdk.Coin, unstake bool) error
	GetProviderDelegators(ctx sdk.Context, provider string, epoch uint64) ([]dualstakingtypes.Delegation, error)
	MinSelfDelegation(ctx sdk.Context) sdk.Coin
}

type EpochstorageKeeper

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

type FixationStoreKeeper

type FixationStoreKeeper interface {
	NewFixationStore(storeKey storetypes.StoreKey, prefix string) *fixationstoretypes.FixationStore
}

type GenerateBadgeRequest

type GenerateBadgeRequest struct {
	BadgeAddress string `protobuf:"bytes,1,opt,name=badge_address,json=badgeAddress,proto3" json:"badge_address,omitempty"`
	ProjectId    string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	SpecId       string `protobuf:"bytes,3,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
}

func (*GenerateBadgeRequest) Descriptor

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

func (*GenerateBadgeRequest) GetBadgeAddress

func (m *GenerateBadgeRequest) GetBadgeAddress() string

func (*GenerateBadgeRequest) GetProjectId

func (m *GenerateBadgeRequest) GetProjectId() string

func (*GenerateBadgeRequest) GetSpecId

func (m *GenerateBadgeRequest) GetSpecId() string

func (*GenerateBadgeRequest) Marshal

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

func (*GenerateBadgeRequest) MarshalTo

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

func (*GenerateBadgeRequest) MarshalToSizedBuffer

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

func (*GenerateBadgeRequest) ProtoMessage

func (*GenerateBadgeRequest) ProtoMessage()

func (*GenerateBadgeRequest) Reset

func (m *GenerateBadgeRequest) Reset()

func (*GenerateBadgeRequest) Size

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

func (*GenerateBadgeRequest) String

func (m *GenerateBadgeRequest) String() string

func (*GenerateBadgeRequest) Unmarshal

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

func (*GenerateBadgeRequest) XXX_DiscardUnknown

func (m *GenerateBadgeRequest) XXX_DiscardUnknown()

func (*GenerateBadgeRequest) XXX_Marshal

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

func (*GenerateBadgeRequest) XXX_Merge

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

func (*GenerateBadgeRequest) XXX_Size

func (m *GenerateBadgeRequest) XXX_Size() int

func (*GenerateBadgeRequest) XXX_Unmarshal

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

type GenerateBadgeResponse

type GenerateBadgeResponse struct {
	Badge              *Badge                   `protobuf:"bytes,1,opt,name=badge,proto3" json:"badge,omitempty"`
	GetPairingResponse *QueryGetPairingResponse `protobuf:"bytes,2,opt,name=get_pairing_response,json=getPairingResponse,proto3" json:"get_pairing_response,omitempty"`
	BadgeSignerAddress string                   `protobuf:"bytes,3,opt,name=badge_signer_address,json=badgeSignerAddress,proto3" json:"badge_signer_address,omitempty"`
	Spec               *types.Spec              `protobuf:"bytes,4,opt,name=spec,proto3" json:"spec,omitempty"`
}

func (*GenerateBadgeResponse) Descriptor

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

func (*GenerateBadgeResponse) GetBadge

func (m *GenerateBadgeResponse) GetBadge() *Badge

func (*GenerateBadgeResponse) GetBadgeSignerAddress

func (m *GenerateBadgeResponse) GetBadgeSignerAddress() string

func (*GenerateBadgeResponse) GetGetPairingResponse

func (m *GenerateBadgeResponse) GetGetPairingResponse() *QueryGetPairingResponse

func (*GenerateBadgeResponse) GetSpec

func (m *GenerateBadgeResponse) GetSpec() *types.Spec

func (*GenerateBadgeResponse) Marshal

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

func (*GenerateBadgeResponse) MarshalTo

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

func (*GenerateBadgeResponse) MarshalToSizedBuffer

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

func (*GenerateBadgeResponse) ProtoMessage

func (*GenerateBadgeResponse) ProtoMessage()

func (*GenerateBadgeResponse) Reset

func (m *GenerateBadgeResponse) Reset()

func (*GenerateBadgeResponse) Size

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

func (*GenerateBadgeResponse) String

func (m *GenerateBadgeResponse) String() string

func (*GenerateBadgeResponse) Unmarshal

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

func (*GenerateBadgeResponse) XXX_DiscardUnknown

func (m *GenerateBadgeResponse) XXX_DiscardUnknown()

func (*GenerateBadgeResponse) XXX_Marshal

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

func (*GenerateBadgeResponse) XXX_Merge

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

func (*GenerateBadgeResponse) XXX_Size

func (m *GenerateBadgeResponse) XXX_Size() int

func (*GenerateBadgeResponse) XXX_Unmarshal

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

type GenesisState

type GenesisState struct {
	Params                     Params                             `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
	BadgeUsedCuList            []BadgeUsedCu                      `protobuf:"bytes,5,rep,name=badgeUsedCuList,proto3" json:"badgeUsedCuList"`
	BadgesTS                   types.GenesisState                 `protobuf:"bytes,6,opt,name=badgesTS,proto3" json:"badgesTS"`
	ProviderQosFS              types1.GenesisState                `protobuf:"bytes,7,opt,name=providerQosFS,proto3" json:"providerQosFS"`
	UniqueEpochSessions        []UniqueEpochSessionGenesis        `protobuf:"bytes,8,rep,name=unique_epoch_sessions,json=uniqueEpochSessions,proto3" json:"unique_epoch_sessions"`
	ProviderEpochCus           []ProviderEpochCuGenesis           `protobuf:"bytes,9,rep,name=provider_epoch_cus,json=providerEpochCus,proto3" json:"provider_epoch_cus"`
	ProviderEpochComplainedCus []ProviderEpochComplainerCuGenesis `` /* 134-byte string literal not displayed */
	ProviderConsumerEpochCus   []ProviderConsumerEpochCuGenesis   `` /* 128-byte string literal not displayed */
}

GenesisState defines the pairing module's genesis state.

func DefaultGenesis

func DefaultGenesis() *GenesisState

DefaultGenesis returns the default Capability genesis state

func (*GenesisState) Descriptor

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

func (*GenesisState) GetBadgeUsedCuList

func (m *GenesisState) GetBadgeUsedCuList() []BadgeUsedCu

func (*GenesisState) GetBadgesTS

func (m *GenesisState) GetBadgesTS() types.GenesisState

func (*GenesisState) GetParams

func (m *GenesisState) GetParams() Params

func (*GenesisState) GetProviderConsumerEpochCus added in v1.1.0

func (m *GenesisState) GetProviderConsumerEpochCus() []ProviderConsumerEpochCuGenesis

func (*GenesisState) GetProviderEpochComplainedCus added in v1.1.0

func (m *GenesisState) GetProviderEpochComplainedCus() []ProviderEpochComplainerCuGenesis

func (*GenesisState) GetProviderEpochCus added in v1.1.0

func (m *GenesisState) GetProviderEpochCus() []ProviderEpochCuGenesis

func (*GenesisState) GetProviderQosFS

func (m *GenesisState) GetProviderQosFS() types1.GenesisState

func (*GenesisState) GetUniqueEpochSessions added in v1.1.0

func (m *GenesisState) GetUniqueEpochSessions() []UniqueEpochSessionGenesis

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 LatestBlockReport

type LatestBlockReport struct {
	SpecId      string `protobuf:"bytes,1,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
	LatestBlock uint64 `protobuf:"varint,2,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"`
}

func (*LatestBlockReport) Descriptor

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

func (*LatestBlockReport) GetLatestBlock

func (m *LatestBlockReport) GetLatestBlock() uint64

func (*LatestBlockReport) GetSpecId

func (m *LatestBlockReport) GetSpecId() string

func (*LatestBlockReport) Marshal

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

func (*LatestBlockReport) MarshalTo

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

func (*LatestBlockReport) MarshalToSizedBuffer

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

func (*LatestBlockReport) ProtoMessage

func (*LatestBlockReport) ProtoMessage()

func (*LatestBlockReport) Reset

func (m *LatestBlockReport) Reset()

func (*LatestBlockReport) Size

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

func (*LatestBlockReport) String

func (m *LatestBlockReport) String() string

func (*LatestBlockReport) Unmarshal

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

func (*LatestBlockReport) XXX_DiscardUnknown

func (m *LatestBlockReport) XXX_DiscardUnknown()

func (*LatestBlockReport) XXX_Marshal

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

func (*LatestBlockReport) XXX_Merge

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

func (*LatestBlockReport) XXX_Size

func (m *LatestBlockReport) XXX_Size() int

func (*LatestBlockReport) XXX_Unmarshal

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

type Metadata

type Metadata struct {
	Name  string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
}

func (*Metadata) Descriptor

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

func (*Metadata) GetName

func (m *Metadata) GetName() string

func (*Metadata) GetValue

func (m *Metadata) GetValue() string

func (*Metadata) Marshal

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

func (*Metadata) MarshalTo

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

func (*Metadata) MarshalToSizedBuffer

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

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) Reset

func (m *Metadata) Reset()

func (*Metadata) Size

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

func (*Metadata) String

func (m *Metadata) String() string

func (*Metadata) Unmarshal

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

func (*Metadata) XXX_DiscardUnknown

func (m *Metadata) XXX_DiscardUnknown()

func (*Metadata) XXX_Marshal

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

func (*Metadata) XXX_Merge

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

func (*Metadata) XXX_Size

func (m *Metadata) XXX_Size() int

func (*Metadata) XXX_Unmarshal

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

type MsgClient

type MsgClient interface {
	StakeProvider(ctx context.Context, in *MsgStakeProvider, opts ...grpc.CallOption) (*MsgStakeProviderResponse, error)
	UnstakeProvider(ctx context.Context, in *MsgUnstakeProvider, opts ...grpc.CallOption) (*MsgUnstakeProviderResponse, error)
	RelayPayment(ctx context.Context, in *MsgRelayPayment, opts ...grpc.CallOption) (*MsgRelayPaymentResponse, error)
	FreezeProvider(ctx context.Context, in *MsgFreezeProvider, opts ...grpc.CallOption) (*MsgFreezeProviderResponse, error)
	UnfreezeProvider(ctx context.Context, in *MsgUnfreezeProvider, opts ...grpc.CallOption) (*MsgUnfreezeProviderResponse, error)
}

MsgClient is the client API for Msg service.

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

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgFreezeProvider

type MsgFreezeProvider struct {
	Creator  string   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainIds []string `protobuf:"bytes,2,rep,name=chainIds,proto3" json:"chainIds,omitempty"`
	Reason   string   `protobuf:"bytes,3,opt,name=reason,proto3" json:"reason,omitempty"`
}

func NewMsgFreeze

func NewMsgFreeze(creator string, chainIds []string, reason string) *MsgFreezeProvider

func (*MsgFreezeProvider) Descriptor

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

func (*MsgFreezeProvider) GetChainIds

func (m *MsgFreezeProvider) GetChainIds() []string

func (*MsgFreezeProvider) GetCreator

func (m *MsgFreezeProvider) GetCreator() string

func (*MsgFreezeProvider) GetReason

func (m *MsgFreezeProvider) GetReason() string

func (*MsgFreezeProvider) GetSignBytes

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

func (*MsgFreezeProvider) GetSigners

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

func (*MsgFreezeProvider) Marshal

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

func (*MsgFreezeProvider) MarshalTo

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

func (*MsgFreezeProvider) MarshalToSizedBuffer

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

func (*MsgFreezeProvider) ProtoMessage

func (*MsgFreezeProvider) ProtoMessage()

func (*MsgFreezeProvider) Reset

func (m *MsgFreezeProvider) Reset()

func (*MsgFreezeProvider) Route

func (msg *MsgFreezeProvider) Route() string

func (*MsgFreezeProvider) Size

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

func (*MsgFreezeProvider) String

func (m *MsgFreezeProvider) String() string

func (*MsgFreezeProvider) Type

func (msg *MsgFreezeProvider) Type() string

func (*MsgFreezeProvider) Unmarshal

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

func (*MsgFreezeProvider) ValidateBasic

func (msg *MsgFreezeProvider) ValidateBasic() error

func (*MsgFreezeProvider) XXX_DiscardUnknown

func (m *MsgFreezeProvider) XXX_DiscardUnknown()

func (*MsgFreezeProvider) XXX_Marshal

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

func (*MsgFreezeProvider) XXX_Merge

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

func (*MsgFreezeProvider) XXX_Size

func (m *MsgFreezeProvider) XXX_Size() int

func (*MsgFreezeProvider) XXX_Unmarshal

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

type MsgFreezeProviderResponse

type MsgFreezeProviderResponse struct {
}

func (*MsgFreezeProviderResponse) Descriptor

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

func (*MsgFreezeProviderResponse) Marshal

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

func (*MsgFreezeProviderResponse) MarshalTo

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

func (*MsgFreezeProviderResponse) MarshalToSizedBuffer

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

func (*MsgFreezeProviderResponse) ProtoMessage

func (*MsgFreezeProviderResponse) ProtoMessage()

func (*MsgFreezeProviderResponse) Reset

func (m *MsgFreezeProviderResponse) Reset()

func (*MsgFreezeProviderResponse) Size

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

func (*MsgFreezeProviderResponse) String

func (m *MsgFreezeProviderResponse) String() string

func (*MsgFreezeProviderResponse) Unmarshal

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

func (*MsgFreezeProviderResponse) XXX_DiscardUnknown

func (m *MsgFreezeProviderResponse) XXX_DiscardUnknown()

func (*MsgFreezeProviderResponse) XXX_Marshal

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

func (*MsgFreezeProviderResponse) XXX_Merge

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

func (*MsgFreezeProviderResponse) XXX_Size

func (m *MsgFreezeProviderResponse) XXX_Size() int

func (*MsgFreezeProviderResponse) XXX_Unmarshal

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

type MsgRelayPayment

type MsgRelayPayment struct {
	Creator            string               `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Relays             []*RelaySession      `protobuf:"bytes,2,rep,name=relays,proto3" json:"relays,omitempty"`
	DescriptionString  string               `protobuf:"bytes,4,opt,name=descriptionString,proto3" json:"descriptionString,omitempty"`
	LatestBlockReports []*LatestBlockReport `protobuf:"bytes,5,rep,name=latest_block_reports,json=latestBlockReports,proto3" json:"latest_block_reports,omitempty"`
}

func NewMsgRelayPayment

func NewMsgRelayPayment(creator string, relays []*RelaySession, description string, latestBlocks []*LatestBlockReport) *MsgRelayPayment

func (*MsgRelayPayment) Descriptor

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

func (*MsgRelayPayment) GetCreator

func (m *MsgRelayPayment) GetCreator() string

func (*MsgRelayPayment) GetDescriptionString

func (m *MsgRelayPayment) GetDescriptionString() string

func (*MsgRelayPayment) GetLatestBlockReports

func (m *MsgRelayPayment) GetLatestBlockReports() []*LatestBlockReport

func (*MsgRelayPayment) GetRelays

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

func (*MsgRelayPayment) GetSignBytes

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

func (*MsgRelayPayment) GetSigners

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

func (*MsgRelayPayment) Marshal

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

func (*MsgRelayPayment) 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 {
	RejectedRelays bool `protobuf:"varint,1,opt,name=rejected_relays,json=rejectedRelays,proto3" json:"rejected_relays,omitempty"`
}

func (*MsgRelayPaymentResponse) Descriptor

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

func (*MsgRelayPaymentResponse) GetRejectedRelays

func (m *MsgRelayPaymentResponse) GetRejectedRelays() bool

func (*MsgRelayPaymentResponse) Marshal

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

func (*MsgRelayPaymentResponse) MarshalTo

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

func (*MsgRelayPaymentResponse) MarshalToSizedBuffer

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

func (*MsgRelayPaymentResponse) ProtoMessage

func (*MsgRelayPaymentResponse) ProtoMessage()

func (*MsgRelayPaymentResponse) Reset

func (m *MsgRelayPaymentResponse) Reset()

func (*MsgRelayPaymentResponse) Size

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

func (*MsgRelayPaymentResponse) String

func (m *MsgRelayPaymentResponse) String() string

func (*MsgRelayPaymentResponse) Unmarshal

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

func (*MsgRelayPaymentResponse) XXX_DiscardUnknown

func (m *MsgRelayPaymentResponse) XXX_DiscardUnknown()

func (*MsgRelayPaymentResponse) XXX_Marshal

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

func (*MsgRelayPaymentResponse) XXX_Merge

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

func (*MsgRelayPaymentResponse) XXX_Size

func (m *MsgRelayPaymentResponse) XXX_Size() int

func (*MsgRelayPaymentResponse) XXX_Unmarshal

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

type MsgServer

MsgServer is the server API for Msg service.

type MsgStakeProvider

type MsgStakeProvider struct {
	Creator            string            `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	ChainID            string            `protobuf:"bytes,2,opt,name=chainID,proto3" json:"chainID,omitempty"`
	Amount             types.Coin        `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount"`
	Endpoints          []types1.Endpoint `protobuf:"bytes,4,rep,name=endpoints,proto3" json:"endpoints"`
	Geolocation        int32             `protobuf:"varint,5,opt,name=geolocation,proto3" json:"geolocation,omitempty"`
	Moniker            string            `protobuf:"bytes,6,opt,name=moniker,proto3" json:"moniker,omitempty"`
	DelegateLimit      types.Coin        `protobuf:"bytes,7,opt,name=delegate_limit,json=delegateLimit,proto3" json:"delegate_limit"`
	DelegateCommission uint64            `protobuf:"varint,8,opt,name=delegate_commission,json=delegateCommission,proto3" json:"delegate_commission,omitempty"`
	Validator          string            `protobuf:"bytes,9,opt,name=validator,proto3" json:"validator,omitempty"`
}

func NewMsgStakeProvider

func NewMsgStakeProvider(creator, validator, chainID string, amount sdk.Coin, endpoints []epochstoragetypes.Endpoint, geolocation int32, moniker string, delegateLimit sdk.Coin, delegateCommission uint64) *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) GetDelegateCommission

func (m *MsgStakeProvider) GetDelegateCommission() uint64

func (*MsgStakeProvider) GetDelegateLimit

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

func (*MsgStakeProvider) GetEndpoints

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

func (*MsgStakeProvider) GetGeolocation

func (m *MsgStakeProvider) GetGeolocation() int32

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

func (m *MsgStakeProvider) GetValidator() string

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 MsgUnstakeProvider

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

func NewMsgUnstakeProvider

func NewMsgUnstakeProvider(creator, chainID, validator string) *MsgUnstakeProvider

func (*MsgUnstakeProvider) Descriptor

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

func (*MsgUnstakeProvider) GetChainID

func (m *MsgUnstakeProvider) GetChainID() string

func (*MsgUnstakeProvider) GetCreator

func (m *MsgUnstakeProvider) GetCreator() string

func (*MsgUnstakeProvider) GetSignBytes

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

func (*MsgUnstakeProvider) GetSigners

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

func (*MsgUnstakeProvider) GetValidator

func (m *MsgUnstakeProvider) GetValidator() string

func (*MsgUnstakeProvider) Marshal

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

func (*MsgUnstakeProvider) MarshalTo

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

func (*MsgUnstakeProvider) MarshalToSizedBuffer

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

func (*MsgUnstakeProvider) ProtoMessage

func (*MsgUnstakeProvider) ProtoMessage()

func (*MsgUnstakeProvider) Reset

func (m *MsgUnstakeProvider) Reset()

func (*MsgUnstakeProvider) Route

func (msg *MsgUnstakeProvider) Route() string

func (*MsgUnstakeProvider) Size

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

func (*MsgUnstakeProvider) String

func (m *MsgUnstakeProvider) String() string

func (*MsgUnstakeProvider) Type

func (msg *MsgUnstakeProvider) Type() string

func (*MsgUnstakeProvider) Unmarshal

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

func (*MsgUnstakeProvider) ValidateBasic

func (msg *MsgUnstakeProvider) ValidateBasic() error

func (*MsgUnstakeProvider) XXX_DiscardUnknown

func (m *MsgUnstakeProvider) XXX_DiscardUnknown()

func (*MsgUnstakeProvider) XXX_Marshal

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

func (*MsgUnstakeProvider) XXX_Merge

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

func (*MsgUnstakeProvider) XXX_Size

func (m *MsgUnstakeProvider) XXX_Size() int

func (*MsgUnstakeProvider) XXX_Unmarshal

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

type MsgUnstakeProviderResponse

type MsgUnstakeProviderResponse struct {
}

func (*MsgUnstakeProviderResponse) Descriptor

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

func (*MsgUnstakeProviderResponse) Marshal

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

func (*MsgUnstakeProviderResponse) MarshalTo

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

func (*MsgUnstakeProviderResponse) MarshalToSizedBuffer

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

func (*MsgUnstakeProviderResponse) ProtoMessage

func (*MsgUnstakeProviderResponse) ProtoMessage()

func (*MsgUnstakeProviderResponse) Reset

func (m *MsgUnstakeProviderResponse) Reset()

func (*MsgUnstakeProviderResponse) Size

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

func (*MsgUnstakeProviderResponse) String

func (m *MsgUnstakeProviderResponse) String() string

func (*MsgUnstakeProviderResponse) Unmarshal

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

func (*MsgUnstakeProviderResponse) XXX_DiscardUnknown

func (m *MsgUnstakeProviderResponse) XXX_DiscardUnknown()

func (*MsgUnstakeProviderResponse) XXX_Marshal

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

func (*MsgUnstakeProviderResponse) XXX_Merge

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

func (*MsgUnstakeProviderResponse) XXX_Size

func (m *MsgUnstakeProviderResponse) XXX_Size() int

func (*MsgUnstakeProviderResponse) XXX_Unmarshal

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

type Params

type Params struct {
	EpochBlocksOverlap                  uint64                                 `protobuf:"varint,8,opt,name=epochBlocksOverlap,proto3" json:"epochBlocksOverlap,omitempty" yaml:"epoch_blocks_overlap"`
	QoSWeight                           github_com_cosmos_cosmos_sdk_types.Dec `` /* 143-byte string literal not displayed */
	RecommendedEpochNumToCollectPayment uint64                                 `` /* 173-byte string literal not displayed */
}

Params defines the parameters for the module.

func DefaultParams

func DefaultParams() Params

DefaultParams returns a default set of parameters

func NewParams

func NewParams(
	epochBlocksOverlap uint64,
	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) GetRecommendedEpochNumToCollectPayment

func (m *Params) GetRecommendedEpochNumToCollectPayment() 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 PlanKeeper

type PlanKeeper interface {
	GetAllPlanIndices(ctx sdk.Context) (val []string)
	FindPlan(ctx sdk.Context, index string, block uint64) (val planstypes.Plan, found bool)
}

type ProbeReply

type ProbeReply struct {
	Guid                  uint64 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"`
	LatestBlock           int64  `protobuf:"varint,2,opt,name=latest_block,json=latestBlock,proto3" json:"latest_block,omitempty"`
	FinalizedBlocksHashes []byte `` /* 126-byte string literal not displayed */
	LavaEpoch             uint64 `protobuf:"varint,4,opt,name=lava_epoch,json=lavaEpoch,proto3" json:"lava_epoch,omitempty"`
	LavaLatestBlock       uint64 `protobuf:"varint,5,opt,name=lava_latest_block,json=lavaLatestBlock,proto3" json:"lava_latest_block,omitempty"`
}

func (*ProbeReply) Descriptor

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

func (*ProbeReply) GetFinalizedBlocksHashes

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

func (*ProbeReply) GetGuid

func (m *ProbeReply) GetGuid() uint64

func (*ProbeReply) GetLatestBlock

func (m *ProbeReply) GetLatestBlock() int64

func (*ProbeReply) GetLavaEpoch

func (m *ProbeReply) GetLavaEpoch() uint64

func (*ProbeReply) GetLavaLatestBlock

func (m *ProbeReply) GetLavaLatestBlock() uint64

func (*ProbeReply) Marshal

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

func (*ProbeReply) MarshalTo

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

func (*ProbeReply) MarshalToSizedBuffer

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

func (*ProbeReply) ProtoMessage

func (*ProbeReply) ProtoMessage()

func (*ProbeReply) Reset

func (m *ProbeReply) Reset()

func (*ProbeReply) Size

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

func (*ProbeReply) String

func (m *ProbeReply) String() string

func (*ProbeReply) Unmarshal

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

func (*ProbeReply) XXX_DiscardUnknown

func (m *ProbeReply) XXX_DiscardUnknown()

func (*ProbeReply) XXX_Marshal

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

func (*ProbeReply) XXX_Merge

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

func (*ProbeReply) XXX_Size

func (m *ProbeReply) XXX_Size() int

func (*ProbeReply) XXX_Unmarshal

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

type ProbeRequest

type ProbeRequest struct {
	Guid         uint64 `protobuf:"varint,1,opt,name=guid,proto3" json:"guid,omitempty"`
	SpecId       string `protobuf:"bytes,2,opt,name=spec_id,json=specId,proto3" json:"spec_id,omitempty"`
	ApiInterface string `protobuf:"bytes,3,opt,name=api_interface,json=apiInterface,proto3" json:"api_interface,omitempty"`
}

func (*ProbeRequest) Descriptor

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

func (*ProbeRequest) GetApiInterface

func (m *ProbeRequest) GetApiInterface() string

func (*ProbeRequest) GetGuid

func (m *ProbeRequest) GetGuid() uint64

func (*ProbeRequest) GetSpecId

func (m *ProbeRequest) GetSpecId() string

func (*ProbeRequest) Marshal

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

func (*ProbeRequest) MarshalTo

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

func (*ProbeRequest) MarshalToSizedBuffer

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

func (*ProbeRequest) ProtoMessage

func (*ProbeRequest) ProtoMessage()

func (*ProbeRequest) Reset

func (m *ProbeRequest) Reset()

func (*ProbeRequest) Size

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

func (*ProbeRequest) String

func (m *ProbeRequest) String() string

func (*ProbeRequest) Unmarshal

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

func (*ProbeRequest) XXX_DiscardUnknown

func (m *ProbeRequest) XXX_DiscardUnknown()

func (*ProbeRequest) XXX_Marshal

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

func (*ProbeRequest) XXX_Merge

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

func (*ProbeRequest) XXX_Size

func (m *ProbeRequest) XXX_Size() int

func (*ProbeRequest) XXX_Unmarshal

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

type ProjectsKeeper

type ProjectsKeeper interface {
	ChargeComputeUnitsToProject(ctx sdk.Context, project projectstypes.Project, block, cu uint64) (err error)
	GetProjectForDeveloper(ctx sdk.Context, developerKey string, blockHeight uint64) (proj projectstypes.Project, errRet error)
	GetProjectForBlock(ctx sdk.Context, projectID string, block uint64) (projectstypes.Project, error)
}

type ProviderConsumerEpochCu added in v1.1.0

type ProviderConsumerEpochCu struct {
	Cu uint64 `protobuf:"varint,1,opt,name=cu,proto3" json:"cu,omitempty"`
}

ProviderConsumerEpochCu is used to track the CU between a specific provider and consumer in a specific epoch It's kept in a epoch-prefixed store with a unique index: provider and project ID

func (*ProviderConsumerEpochCu) Descriptor added in v1.1.0

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

func (*ProviderConsumerEpochCu) GetCu added in v1.1.0

func (m *ProviderConsumerEpochCu) GetCu() uint64

func (*ProviderConsumerEpochCu) Marshal added in v1.1.0

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

func (*ProviderConsumerEpochCu) MarshalTo added in v1.1.0

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

func (*ProviderConsumerEpochCu) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderConsumerEpochCu) ProtoMessage added in v1.1.0

func (*ProviderConsumerEpochCu) ProtoMessage()

func (*ProviderConsumerEpochCu) Reset added in v1.1.0

func (m *ProviderConsumerEpochCu) Reset()

func (*ProviderConsumerEpochCu) Size added in v1.1.0

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

func (*ProviderConsumerEpochCu) String added in v1.1.0

func (m *ProviderConsumerEpochCu) String() string

func (*ProviderConsumerEpochCu) Unmarshal added in v1.1.0

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

func (*ProviderConsumerEpochCu) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderConsumerEpochCu) XXX_DiscardUnknown()

func (*ProviderConsumerEpochCu) XXX_Marshal added in v1.1.0

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

func (*ProviderConsumerEpochCu) XXX_Merge added in v1.1.0

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

func (*ProviderConsumerEpochCu) XXX_Size added in v1.1.0

func (m *ProviderConsumerEpochCu) XXX_Size() int

func (*ProviderConsumerEpochCu) XXX_Unmarshal added in v1.1.0

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

type ProviderConsumerEpochCuGenesis added in v1.1.0

type ProviderConsumerEpochCuGenesis struct {
	Epoch                   uint64                  `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Provider                string                  `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	Project                 string                  `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	ChainId                 string                  `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ProviderConsumerEpochCu ProviderConsumerEpochCu `protobuf:"bytes,5,opt,name=provider_consumer_epoch_cu,json=providerConsumerEpochCu,proto3" json:"provider_consumer_epoch_cu"`
}

func (*ProviderConsumerEpochCuGenesis) Descriptor added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) GetChainId added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) GetChainId() string

func (*ProviderConsumerEpochCuGenesis) GetEpoch added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) GetEpoch() uint64

func (*ProviderConsumerEpochCuGenesis) GetProject added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) GetProject() string

func (*ProviderConsumerEpochCuGenesis) GetProvider added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) GetProvider() string

func (*ProviderConsumerEpochCuGenesis) GetProviderConsumerEpochCu added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) GetProviderConsumerEpochCu() ProviderConsumerEpochCu

func (*ProviderConsumerEpochCuGenesis) Marshal added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) MarshalTo added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) ProtoMessage added in v1.1.0

func (*ProviderConsumerEpochCuGenesis) ProtoMessage()

func (*ProviderConsumerEpochCuGenesis) Reset added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) Reset()

func (*ProviderConsumerEpochCuGenesis) Size added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) String added in v1.1.0

func (*ProviderConsumerEpochCuGenesis) Unmarshal added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) XXX_DiscardUnknown()

func (*ProviderConsumerEpochCuGenesis) XXX_Marshal added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) XXX_Merge added in v1.1.0

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

func (*ProviderConsumerEpochCuGenesis) XXX_Size added in v1.1.0

func (m *ProviderConsumerEpochCuGenesis) XXX_Size() int

func (*ProviderConsumerEpochCuGenesis) XXX_Unmarshal added in v1.1.0

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

type ProviderCuInfo added in v1.1.0

type ProviderCuInfo struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Cu       uint64 `protobuf:"varint,2,opt,name=cu,proto3" json:"cu,omitempty"`
}

func (*ProviderCuInfo) Descriptor added in v1.1.0

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

func (*ProviderCuInfo) GetCu added in v1.1.0

func (m *ProviderCuInfo) GetCu() uint64

func (*ProviderCuInfo) GetProvider added in v1.1.0

func (m *ProviderCuInfo) GetProvider() string

func (*ProviderCuInfo) Marshal added in v1.1.0

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

func (*ProviderCuInfo) MarshalTo added in v1.1.0

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

func (*ProviderCuInfo) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderCuInfo) ProtoMessage added in v1.1.0

func (*ProviderCuInfo) ProtoMessage()

func (*ProviderCuInfo) Reset added in v1.1.0

func (m *ProviderCuInfo) Reset()

func (*ProviderCuInfo) Size added in v1.1.0

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

func (*ProviderCuInfo) String added in v1.1.0

func (m *ProviderCuInfo) String() string

func (*ProviderCuInfo) Unmarshal added in v1.1.0

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

func (*ProviderCuInfo) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderCuInfo) XXX_DiscardUnknown()

func (*ProviderCuInfo) XXX_Marshal added in v1.1.0

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

func (*ProviderCuInfo) XXX_Merge added in v1.1.0

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

func (*ProviderCuInfo) XXX_Size added in v1.1.0

func (m *ProviderCuInfo) XXX_Size() int

func (*ProviderCuInfo) XXX_Unmarshal added in v1.1.0

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

type ProviderEpochComplainerCu added in v1.1.0

type ProviderEpochComplainerCu struct {
	ComplainersCu uint64 `protobuf:"varint,1,opt,name=complainers_cu,json=complainersCu,proto3" json:"complainers_cu,omitempty"`
}

ProviderEpochComplainerCu is used to track the CU complained of a specific provider in a specific epoch It's kept in a epoch-prefixed store with a unique index: provider address

func (*ProviderEpochComplainerCu) Descriptor added in v1.1.0

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

func (*ProviderEpochComplainerCu) GetComplainersCu added in v1.1.0

func (m *ProviderEpochComplainerCu) GetComplainersCu() uint64

func (*ProviderEpochComplainerCu) Marshal added in v1.1.0

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

func (*ProviderEpochComplainerCu) MarshalTo added in v1.1.0

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

func (*ProviderEpochComplainerCu) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderEpochComplainerCu) ProtoMessage added in v1.1.0

func (*ProviderEpochComplainerCu) ProtoMessage()

func (*ProviderEpochComplainerCu) Reset added in v1.1.0

func (m *ProviderEpochComplainerCu) Reset()

func (*ProviderEpochComplainerCu) Size added in v1.1.0

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

func (*ProviderEpochComplainerCu) String added in v1.1.0

func (m *ProviderEpochComplainerCu) String() string

func (*ProviderEpochComplainerCu) Unmarshal added in v1.1.0

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

func (*ProviderEpochComplainerCu) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderEpochComplainerCu) XXX_DiscardUnknown()

func (*ProviderEpochComplainerCu) XXX_Marshal added in v1.1.0

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

func (*ProviderEpochComplainerCu) XXX_Merge added in v1.1.0

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

func (*ProviderEpochComplainerCu) XXX_Size added in v1.1.0

func (m *ProviderEpochComplainerCu) XXX_Size() int

func (*ProviderEpochComplainerCu) XXX_Unmarshal added in v1.1.0

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

type ProviderEpochComplainerCuGenesis added in v1.1.0

type ProviderEpochComplainerCuGenesis struct {
	Epoch                     uint64                    `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Provider                  string                    `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	ChainId                   string                    `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ProviderEpochComplainerCu ProviderEpochComplainerCu `` /* 130-byte string literal not displayed */
}

func (*ProviderEpochComplainerCuGenesis) Descriptor added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) GetChainId added in v1.1.0

func (m *ProviderEpochComplainerCuGenesis) GetChainId() string

func (*ProviderEpochComplainerCuGenesis) GetEpoch added in v1.1.0

func (*ProviderEpochComplainerCuGenesis) GetProvider added in v1.1.0

func (m *ProviderEpochComplainerCuGenesis) GetProvider() string

func (*ProviderEpochComplainerCuGenesis) GetProviderEpochComplainerCu added in v1.1.0

func (m *ProviderEpochComplainerCuGenesis) GetProviderEpochComplainerCu() ProviderEpochComplainerCu

func (*ProviderEpochComplainerCuGenesis) Marshal added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) MarshalTo added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) ProtoMessage added in v1.1.0

func (*ProviderEpochComplainerCuGenesis) ProtoMessage()

func (*ProviderEpochComplainerCuGenesis) Reset added in v1.1.0

func (*ProviderEpochComplainerCuGenesis) Size added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) String added in v1.1.0

func (*ProviderEpochComplainerCuGenesis) Unmarshal added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderEpochComplainerCuGenesis) XXX_DiscardUnknown()

func (*ProviderEpochComplainerCuGenesis) XXX_Marshal added in v1.1.0

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

func (*ProviderEpochComplainerCuGenesis) XXX_Merge added in v1.1.0

func (*ProviderEpochComplainerCuGenesis) XXX_Size added in v1.1.0

func (m *ProviderEpochComplainerCuGenesis) XXX_Size() int

func (*ProviderEpochComplainerCuGenesis) XXX_Unmarshal added in v1.1.0

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

type ProviderEpochCu added in v1.1.0

type ProviderEpochCu struct {
	ServicedCu uint64 `protobuf:"varint,1,opt,name=serviced_cu,json=servicedCu,proto3" json:"serviced_cu,omitempty"`
}

ProviderEpochCu is used to track the CU of a specific provider in a specific epoch It's kept in a epoch-prefixed store with a unique index: provider address

func (*ProviderEpochCu) Descriptor added in v1.1.0

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

func (*ProviderEpochCu) GetServicedCu added in v1.1.0

func (m *ProviderEpochCu) GetServicedCu() uint64

func (*ProviderEpochCu) Marshal added in v1.1.0

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

func (*ProviderEpochCu) MarshalTo added in v1.1.0

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

func (*ProviderEpochCu) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderEpochCu) ProtoMessage added in v1.1.0

func (*ProviderEpochCu) ProtoMessage()

func (*ProviderEpochCu) Reset added in v1.1.0

func (m *ProviderEpochCu) Reset()

func (*ProviderEpochCu) Size added in v1.1.0

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

func (*ProviderEpochCu) String added in v1.1.0

func (m *ProviderEpochCu) String() string

func (*ProviderEpochCu) Unmarshal added in v1.1.0

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

func (*ProviderEpochCu) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderEpochCu) XXX_DiscardUnknown()

func (*ProviderEpochCu) XXX_Marshal added in v1.1.0

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

func (*ProviderEpochCu) XXX_Merge added in v1.1.0

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

func (*ProviderEpochCu) XXX_Size added in v1.1.0

func (m *ProviderEpochCu) XXX_Size() int

func (*ProviderEpochCu) XXX_Unmarshal added in v1.1.0

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

type ProviderEpochCuGenesis added in v1.1.0

type ProviderEpochCuGenesis struct {
	Epoch           uint64          `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Provider        string          `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	ChainId         string          `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ProviderEpochCu ProviderEpochCu `protobuf:"bytes,4,opt,name=provider_epoch_cu,json=providerEpochCu,proto3" json:"provider_epoch_cu"`
}

func (*ProviderEpochCuGenesis) Descriptor added in v1.1.0

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

func (*ProviderEpochCuGenesis) GetChainId added in v1.1.0

func (m *ProviderEpochCuGenesis) GetChainId() string

func (*ProviderEpochCuGenesis) GetEpoch added in v1.1.0

func (m *ProviderEpochCuGenesis) GetEpoch() uint64

func (*ProviderEpochCuGenesis) GetProvider added in v1.1.0

func (m *ProviderEpochCuGenesis) GetProvider() string

func (*ProviderEpochCuGenesis) GetProviderEpochCu added in v1.1.0

func (m *ProviderEpochCuGenesis) GetProviderEpochCu() ProviderEpochCu

func (*ProviderEpochCuGenesis) Marshal added in v1.1.0

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

func (*ProviderEpochCuGenesis) MarshalTo added in v1.1.0

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

func (*ProviderEpochCuGenesis) MarshalToSizedBuffer added in v1.1.0

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

func (*ProviderEpochCuGenesis) ProtoMessage added in v1.1.0

func (*ProviderEpochCuGenesis) ProtoMessage()

func (*ProviderEpochCuGenesis) Reset added in v1.1.0

func (m *ProviderEpochCuGenesis) Reset()

func (*ProviderEpochCuGenesis) Size added in v1.1.0

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

func (*ProviderEpochCuGenesis) String added in v1.1.0

func (m *ProviderEpochCuGenesis) String() string

func (*ProviderEpochCuGenesis) Unmarshal added in v1.1.0

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

func (*ProviderEpochCuGenesis) XXX_DiscardUnknown added in v1.1.0

func (m *ProviderEpochCuGenesis) XXX_DiscardUnknown()

func (*ProviderEpochCuGenesis) XXX_Marshal added in v1.1.0

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

func (*ProviderEpochCuGenesis) XXX_Merge added in v1.1.0

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

func (*ProviderEpochCuGenesis) XXX_Size added in v1.1.0

func (m *ProviderEpochCuGenesis) XXX_Size() int

func (*ProviderEpochCuGenesis) XXX_Unmarshal added in v1.1.0

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

type ProviderInfo

type ProviderInfo struct {
	Address         string           `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Endpoints       []types.Endpoint `protobuf:"bytes,2,rep,name=endpoints,proto3" json:"endpoints"`
	ExpirationEpoch uint64           `protobuf:"varint,3,opt,name=expiration_epoch,json=expirationEpoch,proto3" json:"expiration_epoch,omitempty"`
}

func (*ProviderInfo) Descriptor

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

func (*ProviderInfo) GetAddress

func (m *ProviderInfo) GetAddress() string

func (*ProviderInfo) GetEndpoints

func (m *ProviderInfo) GetEndpoints() []types.Endpoint

func (*ProviderInfo) GetExpirationEpoch

func (m *ProviderInfo) GetExpirationEpoch() uint64

func (*ProviderInfo) Marshal

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

func (*ProviderInfo) 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 ProviderPayout

type ProviderPayout struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	Amount   uint64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*ProviderPayout) Descriptor

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

func (*ProviderPayout) GetAmount

func (m *ProviderPayout) GetAmount() uint64

func (*ProviderPayout) GetProvider

func (m *ProviderPayout) GetProvider() string

func (*ProviderPayout) Marshal

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

func (*ProviderPayout) MarshalTo

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

func (*ProviderPayout) MarshalToSizedBuffer

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

func (*ProviderPayout) ProtoMessage

func (*ProviderPayout) ProtoMessage()

func (*ProviderPayout) Reset

func (m *ProviderPayout) Reset()

func (*ProviderPayout) Size

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

func (*ProviderPayout) String

func (m *ProviderPayout) String() string

func (*ProviderPayout) Unmarshal

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

func (*ProviderPayout) XXX_DiscardUnknown

func (m *ProviderPayout) XXX_DiscardUnknown()

func (*ProviderPayout) XXX_Marshal

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

func (*ProviderPayout) XXX_Merge

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

func (*ProviderPayout) XXX_Size

func (m *ProviderPayout) XXX_Size() int

func (*ProviderPayout) XXX_Unmarshal

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

type ProviderUnstakeInfo

type ProviderUnstakeInfo struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
	ChainId  string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
}

func (*ProviderUnstakeInfo) Descriptor

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

func (*ProviderUnstakeInfo) GetChainId

func (m *ProviderUnstakeInfo) GetChainId() string

func (*ProviderUnstakeInfo) GetProvider

func (m *ProviderUnstakeInfo) GetProvider() string

func (*ProviderUnstakeInfo) Marshal

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

func (*ProviderUnstakeInfo) MarshalTo

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

func (*ProviderUnstakeInfo) MarshalToSizedBuffer

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

func (*ProviderUnstakeInfo) ProtoMessage

func (*ProviderUnstakeInfo) ProtoMessage()

func (*ProviderUnstakeInfo) Reset

func (m *ProviderUnstakeInfo) Reset()

func (*ProviderUnstakeInfo) Size

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

func (*ProviderUnstakeInfo) String

func (m *ProviderUnstakeInfo) String() string

func (*ProviderUnstakeInfo) Unmarshal

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

func (*ProviderUnstakeInfo) XXX_DiscardUnknown

func (m *ProviderUnstakeInfo) XXX_DiscardUnknown()

func (*ProviderUnstakeInfo) XXX_Marshal

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

func (*ProviderUnstakeInfo) XXX_Merge

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

func (*ProviderUnstakeInfo) XXX_Size

func (m *ProviderUnstakeInfo) XXX_Size() int

func (*ProviderUnstakeInfo) XXX_Unmarshal

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

type QualityOfServiceReport

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

func (*QualityOfServiceReport) ComputeQoS

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

func (*QualityOfServiceReport) ComputeQoSExcellence

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

func (*QualityOfServiceReport) Descriptor

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

func (*QualityOfServiceReport) Marshal

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

func (*QualityOfServiceReport) MarshalTo

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

func (*QualityOfServiceReport) MarshalToSizedBuffer

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

func (*QualityOfServiceReport) ProtoMessage

func (*QualityOfServiceReport) ProtoMessage()

func (*QualityOfServiceReport) Reset

func (m *QualityOfServiceReport) Reset()

func (*QualityOfServiceReport) Size

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

func (*QualityOfServiceReport) String

func (m *QualityOfServiceReport) String() string

func (*QualityOfServiceReport) Unmarshal

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

func (*QualityOfServiceReport) XXX_DiscardUnknown

func (m *QualityOfServiceReport) XXX_DiscardUnknown()

func (*QualityOfServiceReport) XXX_Marshal

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

func (*QualityOfServiceReport) XXX_Merge

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

func (*QualityOfServiceReport) XXX_Size

func (m *QualityOfServiceReport) XXX_Size() int

func (*QualityOfServiceReport) XXX_Unmarshal

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

type QueryAccountInfoResponse

type QueryAccountInfoResponse struct {
	Provider              []types.StakeEntry          `protobuf:"bytes,1,rep,name=provider,proto3" json:"provider"`
	Frozen                []types.StakeEntry          `protobuf:"bytes,2,rep,name=frozen,proto3" json:"frozen"`
	Unstaked              []types.StakeEntry          `protobuf:"bytes,4,rep,name=unstaked,proto3" json:"unstaked"`
	Subscription          *types1.Subscription        `protobuf:"bytes,5,opt,name=subscription,proto3" json:"subscription,omitempty"`
	Project               *types2.Project             `protobuf:"bytes,6,opt,name=project,proto3" json:"project,omitempty"`
	DelegationsValidators []types3.DelegationResponse `protobuf:"bytes,7,rep,name=delegations_validators,json=delegationsValidators,proto3" json:"delegations_validators"`
	DelegationsProviders  []types4.Delegation         `protobuf:"bytes,8,rep,name=delegations_providers,json=delegationsProviders,proto3" json:"delegations_providers"`
	TotalDelegations      uint64                      `protobuf:"varint,9,opt,name=total_delegations,json=totalDelegations,proto3" json:"total_delegations,omitempty"`
}

func (*QueryAccountInfoResponse) Descriptor

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

func (*QueryAccountInfoResponse) GetDelegationsProviders

func (m *QueryAccountInfoResponse) GetDelegationsProviders() []types4.Delegation

func (*QueryAccountInfoResponse) GetDelegationsValidators

func (m *QueryAccountInfoResponse) GetDelegationsValidators() []types3.DelegationResponse

func (*QueryAccountInfoResponse) GetFrozen

func (m *QueryAccountInfoResponse) GetFrozen() []types.StakeEntry

func (*QueryAccountInfoResponse) GetProject

func (m *QueryAccountInfoResponse) GetProject() *types2.Project

func (*QueryAccountInfoResponse) GetProvider

func (m *QueryAccountInfoResponse) GetProvider() []types.StakeEntry

func (*QueryAccountInfoResponse) GetSubscription

func (m *QueryAccountInfoResponse) GetSubscription() *types1.Subscription

func (*QueryAccountInfoResponse) GetTotalDelegations

func (m *QueryAccountInfoResponse) GetTotalDelegations() uint64

func (*QueryAccountInfoResponse) GetUnstaked

func (m *QueryAccountInfoResponse) GetUnstaked() []types.StakeEntry

func (*QueryAccountInfoResponse) Marshal

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

func (*QueryAccountInfoResponse) MarshalTo

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

func (*QueryAccountInfoResponse) MarshalToSizedBuffer

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

func (*QueryAccountInfoResponse) ProtoMessage

func (*QueryAccountInfoResponse) ProtoMessage()

func (*QueryAccountInfoResponse) Reset

func (m *QueryAccountInfoResponse) Reset()

func (*QueryAccountInfoResponse) Size

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

func (*QueryAccountInfoResponse) String

func (m *QueryAccountInfoResponse) String() string

func (*QueryAccountInfoResponse) Unmarshal

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

func (*QueryAccountInfoResponse) XXX_DiscardUnknown

func (m *QueryAccountInfoResponse) XXX_DiscardUnknown()

func (*QueryAccountInfoResponse) XXX_Marshal

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

func (*QueryAccountInfoResponse) XXX_Merge

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

func (*QueryAccountInfoResponse) XXX_Size

func (m *QueryAccountInfoResponse) XXX_Size() int

func (*QueryAccountInfoResponse) XXX_Unmarshal

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

type QueryClient

type QueryClient interface {
	// Parameters queries the parameters of the module.
	Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error)
	// Queries a list of Providers items.
	Providers(ctx context.Context, in *QueryProvidersRequest, opts ...grpc.CallOption) (*QueryProvidersResponse, error)
	// Queries a 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 UserEntry items.
	UserEntry(ctx context.Context, in *QueryUserEntryRequest, opts ...grpc.CallOption) (*QueryUserEntryResponse, error)
	// Queries a list of StaticProvidersList items.
	StaticProvidersList(ctx context.Context, in *QueryStaticProvidersListRequest, opts ...grpc.CallOption) (*QueryStaticProvidersListResponse, error)
	// Queries a list of EffectivePolicy items.
	EffectivePolicy(ctx context.Context, in *QueryEffectivePolicyRequest, opts ...grpc.CallOption) (*QueryEffectivePolicyResponse, error)
	// Queries the expected monthly payout of a specific provider
	ProviderMonthlyPayout(ctx context.Context, in *QueryProviderMonthlyPayoutRequest, opts ...grpc.CallOption) (*QueryProviderMonthlyPayoutResponse, error)
	// Queries the expected monthly payout of a specific subscription
	SubscriptionMonthlyPayout(ctx context.Context, in *QuerySubscriptionMonthlyPayoutRequest, opts ...grpc.CallOption) (*QuerySubscriptionMonthlyPayoutResponse, error)
	// Queries a list of SdkPairing items.
	SdkPairing(ctx context.Context, in *QueryGetPairingRequest, opts ...grpc.CallOption) (*QuerySdkPairingResponse, error)
	// Queries a for the aggregated CU of all ProviderEpochCu objects all the providers.
	ProvidersEpochCu(ctx context.Context, in *QueryProvidersEpochCuRequest, opts ...grpc.CallOption) (*QueryProvidersEpochCuResponse, error)
}

QueryClient is the client API for Query service.

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

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryDebugQueryResponse

type QueryDebugQueryResponse struct {
	BlockReward              uint64 `protobuf:"varint,1,opt,name=block_reward,json=blockReward,proto3" json:"block_reward,omitempty"`
	ValDistPoolBalance       string `protobuf:"bytes,2,opt,name=val_dist_pool_balance,json=valDistPoolBalance,proto3" json:"val_dist_pool_balance,omitempty"`
	ValAllocPoolBalance      string `protobuf:"bytes,3,opt,name=val_alloc_pool_balance,json=valAllocPoolBalance,proto3" json:"val_alloc_pool_balance,omitempty"`
	ProviderDistPoolBalance  string `` /* 134-byte string literal not displayed */
	ProviderAllocPoolBalance string `` /* 137-byte string literal not displayed */
	ProviderFullReward       uint64 `protobuf:"varint,6,opt,name=provider_full_reward,json=providerFullReward,proto3" json:"provider_full_reward,omitempty"`
	ProviderRewardNoBonus    uint64 `` /* 129-byte string literal not displayed */
	Block                    uint64 `protobuf:"varint,8,opt,name=block,proto3" json:"block,omitempty"`
	MonthsLeft               uint64 `protobuf:"varint,9,opt,name=months_left,json=monthsLeft,proto3" json:"months_left,omitempty"`
	ValidatorReward          uint64 `protobuf:"varint,10,opt,name=validator_reward,json=validatorReward,proto3" json:"validator_reward,omitempty"`
}

func (*QueryDebugQueryResponse) Descriptor

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

func (*QueryDebugQueryResponse) GetBlock

func (m *QueryDebugQueryResponse) GetBlock() uint64

func (*QueryDebugQueryResponse) GetBlockReward

func (m *QueryDebugQueryResponse) GetBlockReward() uint64

func (*QueryDebugQueryResponse) GetMonthsLeft

func (m *QueryDebugQueryResponse) GetMonthsLeft() uint64

func (*QueryDebugQueryResponse) GetProviderAllocPoolBalance

func (m *QueryDebugQueryResponse) GetProviderAllocPoolBalance() string

func (*QueryDebugQueryResponse) GetProviderDistPoolBalance

func (m *QueryDebugQueryResponse) GetProviderDistPoolBalance() string

func (*QueryDebugQueryResponse) GetProviderFullReward

func (m *QueryDebugQueryResponse) GetProviderFullReward() uint64

func (*QueryDebugQueryResponse) GetProviderRewardNoBonus

func (m *QueryDebugQueryResponse) GetProviderRewardNoBonus() uint64

func (*QueryDebugQueryResponse) GetValAllocPoolBalance

func (m *QueryDebugQueryResponse) GetValAllocPoolBalance() string

func (*QueryDebugQueryResponse) GetValDistPoolBalance

func (m *QueryDebugQueryResponse) GetValDistPoolBalance() string

func (*QueryDebugQueryResponse) GetValidatorReward

func (m *QueryDebugQueryResponse) GetValidatorReward() uint64

func (*QueryDebugQueryResponse) Marshal

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

func (*QueryDebugQueryResponse) MarshalTo

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

func (*QueryDebugQueryResponse) MarshalToSizedBuffer

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

func (*QueryDebugQueryResponse) ProtoMessage

func (*QueryDebugQueryResponse) ProtoMessage()

func (*QueryDebugQueryResponse) Reset

func (m *QueryDebugQueryResponse) Reset()

func (*QueryDebugQueryResponse) Size

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

func (*QueryDebugQueryResponse) String

func (m *QueryDebugQueryResponse) String() string

func (*QueryDebugQueryResponse) Unmarshal

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

func (*QueryDebugQueryResponse) XXX_DiscardUnknown

func (m *QueryDebugQueryResponse) XXX_DiscardUnknown()

func (*QueryDebugQueryResponse) XXX_Marshal

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

func (*QueryDebugQueryResponse) XXX_Merge

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

func (*QueryDebugQueryResponse) XXX_Size

func (m *QueryDebugQueryResponse) XXX_Size() int

func (*QueryDebugQueryResponse) XXX_Unmarshal

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

type QueryEffectivePolicyRequest

type QueryEffectivePolicyRequest struct {
	Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"`
	SpecID   string `protobuf:"bytes,2,opt,name=specID,proto3" json:"specID,omitempty"`
}

func (*QueryEffectivePolicyRequest) Descriptor

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

func (*QueryEffectivePolicyRequest) GetConsumer

func (m *QueryEffectivePolicyRequest) GetConsumer() string

func (*QueryEffectivePolicyRequest) GetSpecID

func (m *QueryEffectivePolicyRequest) GetSpecID() string

func (*QueryEffectivePolicyRequest) Marshal

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

func (*QueryEffectivePolicyRequest) MarshalTo

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

func (*QueryEffectivePolicyRequest) MarshalToSizedBuffer

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

func (*QueryEffectivePolicyRequest) ProtoMessage

func (*QueryEffectivePolicyRequest) ProtoMessage()

func (*QueryEffectivePolicyRequest) Reset

func (m *QueryEffectivePolicyRequest) Reset()

func (*QueryEffectivePolicyRequest) Size

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

func (*QueryEffectivePolicyRequest) String

func (m *QueryEffectivePolicyRequest) String() string

func (*QueryEffectivePolicyRequest) Unmarshal

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

func (*QueryEffectivePolicyRequest) XXX_DiscardUnknown

func (m *QueryEffectivePolicyRequest) XXX_DiscardUnknown()

func (*QueryEffectivePolicyRequest) XXX_Marshal

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

func (*QueryEffectivePolicyRequest) XXX_Merge

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

func (*QueryEffectivePolicyRequest) XXX_Size

func (m *QueryEffectivePolicyRequest) XXX_Size() int

func (*QueryEffectivePolicyRequest) XXX_Unmarshal

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

type QueryEffectivePolicyResponse

type QueryEffectivePolicyResponse struct {
	Policy        *types1.Policy `protobuf:"bytes,1,opt,name=policy,proto3" json:"policy,omitempty"`
	PendingPolicy *types1.Policy `protobuf:"bytes,2,opt,name=pending_policy,json=pendingPolicy,proto3" json:"pending_policy,omitempty"`
}

func (*QueryEffectivePolicyResponse) Descriptor

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

func (*QueryEffectivePolicyResponse) GetPendingPolicy

func (m *QueryEffectivePolicyResponse) GetPendingPolicy() *types1.Policy

func (*QueryEffectivePolicyResponse) GetPolicy

func (m *QueryEffectivePolicyResponse) GetPolicy() *types1.Policy

func (*QueryEffectivePolicyResponse) Marshal

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

func (*QueryEffectivePolicyResponse) MarshalTo

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

func (*QueryEffectivePolicyResponse) MarshalToSizedBuffer

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

func (*QueryEffectivePolicyResponse) ProtoMessage

func (*QueryEffectivePolicyResponse) ProtoMessage()

func (*QueryEffectivePolicyResponse) Reset

func (m *QueryEffectivePolicyResponse) Reset()

func (*QueryEffectivePolicyResponse) Size

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

func (*QueryEffectivePolicyResponse) String

func (*QueryEffectivePolicyResponse) Unmarshal

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

func (*QueryEffectivePolicyResponse) XXX_DiscardUnknown

func (m *QueryEffectivePolicyResponse) XXX_DiscardUnknown()

func (*QueryEffectivePolicyResponse) XXX_Marshal

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

func (*QueryEffectivePolicyResponse) XXX_Merge

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

func (*QueryEffectivePolicyResponse) XXX_Size

func (m *QueryEffectivePolicyResponse) XXX_Size() int

func (*QueryEffectivePolicyResponse) XXX_Unmarshal

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

type QueryGetPairingRequest

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

func (*QueryGetPairingRequest) Descriptor

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

func (*QueryGetPairingRequest) GetChainID

func (m *QueryGetPairingRequest) GetChainID() string

func (*QueryGetPairingRequest) GetClient

func (m *QueryGetPairingRequest) GetClient() string

func (*QueryGetPairingRequest) Marshal

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

func (*QueryGetPairingRequest) MarshalTo

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

func (*QueryGetPairingRequest) MarshalToSizedBuffer

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

func (*QueryGetPairingRequest) ProtoMessage

func (*QueryGetPairingRequest) ProtoMessage()

func (*QueryGetPairingRequest) Reset

func (m *QueryGetPairingRequest) Reset()

func (*QueryGetPairingRequest) Size

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

func (*QueryGetPairingRequest) String

func (m *QueryGetPairingRequest) String() string

func (*QueryGetPairingRequest) Unmarshal

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

func (*QueryGetPairingRequest) XXX_DiscardUnknown

func (m *QueryGetPairingRequest) XXX_DiscardUnknown()

func (*QueryGetPairingRequest) XXX_Marshal

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

func (*QueryGetPairingRequest) XXX_Merge

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

func (*QueryGetPairingRequest) XXX_Size

func (m *QueryGetPairingRequest) XXX_Size() int

func (*QueryGetPairingRequest) XXX_Unmarshal

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

type QueryGetPairingResponse

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

func (*QueryGetPairingResponse) Descriptor

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

func (*QueryGetPairingResponse) GetBlockOfNextPairing

func (m *QueryGetPairingResponse) GetBlockOfNextPairing() uint64

func (*QueryGetPairingResponse) GetCurrentEpoch

func (m *QueryGetPairingResponse) GetCurrentEpoch() uint64

func (*QueryGetPairingResponse) GetProviders

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

func (*QueryGetPairingResponse) GetSpecLastUpdatedBlock

func (m *QueryGetPairingResponse) GetSpecLastUpdatedBlock() uint64

func (*QueryGetPairingResponse) GetTimeLeftToNextPairing

func (m *QueryGetPairingResponse) GetTimeLeftToNextPairing() uint64

func (*QueryGetPairingResponse) Marshal

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

func (*QueryGetPairingResponse) MarshalTo

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

func (*QueryGetPairingResponse) MarshalToSizedBuffer

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

func (*QueryGetPairingResponse) ProtoMessage

func (*QueryGetPairingResponse) ProtoMessage()

func (*QueryGetPairingResponse) Reset

func (m *QueryGetPairingResponse) Reset()

func (*QueryGetPairingResponse) Size

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

func (*QueryGetPairingResponse) String

func (m *QueryGetPairingResponse) String() string

func (*QueryGetPairingResponse) Unmarshal

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

func (*QueryGetPairingResponse) XXX_DiscardUnknown

func (m *QueryGetPairingResponse) XXX_DiscardUnknown()

func (*QueryGetPairingResponse) XXX_Marshal

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

func (*QueryGetPairingResponse) XXX_Merge

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

func (*QueryGetPairingResponse) XXX_Size

func (m *QueryGetPairingResponse) XXX_Size() int

func (*QueryGetPairingResponse) XXX_Unmarshal

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

type QueryParamsRequest

type QueryParamsRequest struct {
}

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

func (*QueryParamsRequest) Descriptor

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

func (*QueryParamsRequest) Marshal

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

func (*QueryParamsRequest) MarshalTo

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

func (*QueryParamsRequest) MarshalToSizedBuffer

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

func (*QueryParamsRequest) ProtoMessage

func (*QueryParamsRequest) ProtoMessage()

func (*QueryParamsRequest) Reset

func (m *QueryParamsRequest) Reset()

func (*QueryParamsRequest) Size

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

func (*QueryParamsRequest) String

func (m *QueryParamsRequest) String() string

func (*QueryParamsRequest) Unmarshal

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

func (*QueryParamsRequest) XXX_DiscardUnknown

func (m *QueryParamsRequest) XXX_DiscardUnknown()

func (*QueryParamsRequest) XXX_Marshal

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

func (*QueryParamsRequest) XXX_Merge

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

func (*QueryParamsRequest) XXX_Size

func (m *QueryParamsRequest) XXX_Size() int

func (*QueryParamsRequest) XXX_Unmarshal

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

type QueryParamsResponse

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

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

func (*QueryParamsResponse) Descriptor

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

func (*QueryParamsResponse) GetParams

func (m *QueryParamsResponse) GetParams() Params

func (*QueryParamsResponse) Marshal

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

func (*QueryParamsResponse) MarshalTo

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

func (*QueryParamsResponse) MarshalToSizedBuffer

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

func (*QueryParamsResponse) ProtoMessage

func (*QueryParamsResponse) ProtoMessage()

func (*QueryParamsResponse) Reset

func (m *QueryParamsResponse) Reset()

func (*QueryParamsResponse) Size

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

func (*QueryParamsResponse) String

func (m *QueryParamsResponse) String() string

func (*QueryParamsResponse) Unmarshal

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

func (*QueryParamsResponse) XXX_DiscardUnknown

func (m *QueryParamsResponse) XXX_DiscardUnknown()

func (*QueryParamsResponse) XXX_Marshal

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

func (*QueryParamsResponse) XXX_Merge

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

func (*QueryParamsResponse) XXX_Size

func (m *QueryParamsResponse) XXX_Size() int

func (*QueryParamsResponse) XXX_Unmarshal

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

type QueryProviderMonthlyPayoutRequest

type QueryProviderMonthlyPayoutRequest struct {
	Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"`
}

func (*QueryProviderMonthlyPayoutRequest) Descriptor

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

func (*QueryProviderMonthlyPayoutRequest) GetProvider

func (m *QueryProviderMonthlyPayoutRequest) GetProvider() string

func (*QueryProviderMonthlyPayoutRequest) Marshal

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

func (*QueryProviderMonthlyPayoutRequest) MarshalTo

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

func (*QueryProviderMonthlyPayoutRequest) MarshalToSizedBuffer

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

func (*QueryProviderMonthlyPayoutRequest) ProtoMessage

func (*QueryProviderMonthlyPayoutRequest) ProtoMessage()

func (*QueryProviderMonthlyPayoutRequest) Reset

func (*QueryProviderMonthlyPayoutRequest) Size

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

func (*QueryProviderMonthlyPayoutRequest) String

func (*QueryProviderMonthlyPayoutRequest) Unmarshal

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

func (*QueryProviderMonthlyPayoutRequest) XXX_DiscardUnknown

func (m *QueryProviderMonthlyPayoutRequest) XXX_DiscardUnknown()

func (*QueryProviderMonthlyPayoutRequest) XXX_Marshal

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

func (*QueryProviderMonthlyPayoutRequest) XXX_Merge

func (*QueryProviderMonthlyPayoutRequest) XXX_Size

func (m *QueryProviderMonthlyPayoutRequest) XXX_Size() int

func (*QueryProviderMonthlyPayoutRequest) XXX_Unmarshal

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

type QueryProviderMonthlyPayoutResponse

type QueryProviderMonthlyPayoutResponse struct {
	Total   uint64                `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Details []*SubscriptionPayout `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"`
}

func (*QueryProviderMonthlyPayoutResponse) Descriptor

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

func (*QueryProviderMonthlyPayoutResponse) GetDetails

func (*QueryProviderMonthlyPayoutResponse) GetTotal

func (*QueryProviderMonthlyPayoutResponse) Marshal

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

func (*QueryProviderMonthlyPayoutResponse) MarshalTo

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

func (*QueryProviderMonthlyPayoutResponse) MarshalToSizedBuffer

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

func (*QueryProviderMonthlyPayoutResponse) ProtoMessage

func (*QueryProviderMonthlyPayoutResponse) ProtoMessage()

func (*QueryProviderMonthlyPayoutResponse) Reset

func (*QueryProviderMonthlyPayoutResponse) Size

func (*QueryProviderMonthlyPayoutResponse) String

func (*QueryProviderMonthlyPayoutResponse) Unmarshal

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

func (*QueryProviderMonthlyPayoutResponse) XXX_DiscardUnknown

func (m *QueryProviderMonthlyPayoutResponse) XXX_DiscardUnknown()

func (*QueryProviderMonthlyPayoutResponse) XXX_Marshal

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

func (*QueryProviderMonthlyPayoutResponse) XXX_Merge

func (*QueryProviderMonthlyPayoutResponse) XXX_Size

func (*QueryProviderMonthlyPayoutResponse) XXX_Unmarshal

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

type QueryProvidersEpochCuRequest added in v1.1.0

type QueryProvidersEpochCuRequest struct {
}

func (*QueryProvidersEpochCuRequest) Descriptor added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) Marshal added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) MarshalTo added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) ProtoMessage added in v1.1.0

func (*QueryProvidersEpochCuRequest) ProtoMessage()

func (*QueryProvidersEpochCuRequest) Reset added in v1.1.0

func (m *QueryProvidersEpochCuRequest) Reset()

func (*QueryProvidersEpochCuRequest) Size added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) String added in v1.1.0

func (*QueryProvidersEpochCuRequest) Unmarshal added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) XXX_DiscardUnknown added in v1.1.0

func (m *QueryProvidersEpochCuRequest) XXX_DiscardUnknown()

func (*QueryProvidersEpochCuRequest) XXX_Marshal added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) XXX_Merge added in v1.1.0

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

func (*QueryProvidersEpochCuRequest) XXX_Size added in v1.1.0

func (m *QueryProvidersEpochCuRequest) XXX_Size() int

func (*QueryProvidersEpochCuRequest) XXX_Unmarshal added in v1.1.0

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

type QueryProvidersEpochCuResponse added in v1.1.0

type QueryProvidersEpochCuResponse struct {
	Info []ProviderCuInfo `protobuf:"bytes,1,rep,name=info,proto3" json:"info"`
}

func (*QueryProvidersEpochCuResponse) Descriptor added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) GetInfo added in v1.1.0

func (*QueryProvidersEpochCuResponse) Marshal added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) MarshalTo added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) MarshalToSizedBuffer added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) ProtoMessage added in v1.1.0

func (*QueryProvidersEpochCuResponse) ProtoMessage()

func (*QueryProvidersEpochCuResponse) Reset added in v1.1.0

func (m *QueryProvidersEpochCuResponse) Reset()

func (*QueryProvidersEpochCuResponse) Size added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) String added in v1.1.0

func (*QueryProvidersEpochCuResponse) Unmarshal added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) XXX_DiscardUnknown added in v1.1.0

func (m *QueryProvidersEpochCuResponse) XXX_DiscardUnknown()

func (*QueryProvidersEpochCuResponse) XXX_Marshal added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) XXX_Merge added in v1.1.0

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

func (*QueryProvidersEpochCuResponse) XXX_Size added in v1.1.0

func (m *QueryProvidersEpochCuResponse) XXX_Size() int

func (*QueryProvidersEpochCuResponse) XXX_Unmarshal added in v1.1.0

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

type QueryProvidersRequest

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

func (*QueryProvidersRequest) Descriptor

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

func (*QueryProvidersRequest) GetChainID

func (m *QueryProvidersRequest) GetChainID() string

func (*QueryProvidersRequest) GetShowFrozen

func (m *QueryProvidersRequest) GetShowFrozen() bool

func (*QueryProvidersRequest) Marshal

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

func (*QueryProvidersRequest) MarshalTo

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

func (*QueryProvidersRequest) MarshalToSizedBuffer

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

func (*QueryProvidersRequest) ProtoMessage

func (*QueryProvidersRequest) ProtoMessage()

func (*QueryProvidersRequest) Reset

func (m *QueryProvidersRequest) Reset()

func (*QueryProvidersRequest) Size

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

func (*QueryProvidersRequest) String

func (m *QueryProvidersRequest) String() string

func (*QueryProvidersRequest) Unmarshal

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

func (*QueryProvidersRequest) XXX_DiscardUnknown

func (m *QueryProvidersRequest) XXX_DiscardUnknown()

func (*QueryProvidersRequest) XXX_Marshal

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

func (*QueryProvidersRequest) XXX_Merge

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

func (*QueryProvidersRequest) XXX_Size

func (m *QueryProvidersRequest) XXX_Size() int

func (*QueryProvidersRequest) XXX_Unmarshal

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

type QueryProvidersResponse

type QueryProvidersResponse struct {
	StakeEntry []types.StakeEntry `protobuf:"bytes,1,rep,name=stakeEntry,proto3" json:"stakeEntry"`
}

func (*QueryProvidersResponse) Descriptor

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

func (*QueryProvidersResponse) GetStakeEntry

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

func (*QueryProvidersResponse) Marshal

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

func (*QueryProvidersResponse) MarshalTo

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

func (*QueryProvidersResponse) MarshalToSizedBuffer

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

func (*QueryProvidersResponse) ProtoMessage

func (*QueryProvidersResponse) ProtoMessage()

func (*QueryProvidersResponse) Reset

func (m *QueryProvidersResponse) Reset()

func (*QueryProvidersResponse) Size

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

func (*QueryProvidersResponse) String

func (m *QueryProvidersResponse) String() string

func (*QueryProvidersResponse) Unmarshal

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

func (*QueryProvidersResponse) XXX_DiscardUnknown

func (m *QueryProvidersResponse) XXX_DiscardUnknown()

func (*QueryProvidersResponse) XXX_Marshal

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

func (*QueryProvidersResponse) XXX_Merge

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

func (*QueryProvidersResponse) XXX_Size

func (m *QueryProvidersResponse) XXX_Size() int

func (*QueryProvidersResponse) XXX_Unmarshal

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

type QuerySdkPairingResponse

type QuerySdkPairingResponse struct {
	Pairing        *QueryGetPairingResponse `protobuf:"bytes,1,opt,name=pairing,proto3" json:"pairing,omitempty"`
	MaxCu          uint64                   `protobuf:"varint,2,opt,name=max_cu,json=maxCu,proto3" json:"max_cu,omitempty"`
	Spec           *types2.Spec             `protobuf:"bytes,3,opt,name=spec,proto3" json:"spec,omitempty"`
	DowntimeParams *v1.Params               `protobuf:"bytes,4,opt,name=downtime_params,json=downtimeParams,proto3" json:"downtime_params,omitempty"`
}

func (*QuerySdkPairingResponse) Descriptor

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

func (*QuerySdkPairingResponse) GetDowntimeParams

func (m *QuerySdkPairingResponse) GetDowntimeParams() *v1.Params

func (*QuerySdkPairingResponse) GetMaxCu

func (m *QuerySdkPairingResponse) GetMaxCu() uint64

func (*QuerySdkPairingResponse) GetPairing

func (*QuerySdkPairingResponse) GetSpec

func (m *QuerySdkPairingResponse) GetSpec() *types2.Spec

func (*QuerySdkPairingResponse) Marshal

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

func (*QuerySdkPairingResponse) MarshalTo

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

func (*QuerySdkPairingResponse) MarshalToSizedBuffer

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

func (*QuerySdkPairingResponse) ProtoMessage

func (*QuerySdkPairingResponse) ProtoMessage()

func (*QuerySdkPairingResponse) Reset

func (m *QuerySdkPairingResponse) Reset()

func (*QuerySdkPairingResponse) Size

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

func (*QuerySdkPairingResponse) String

func (m *QuerySdkPairingResponse) String() string

func (*QuerySdkPairingResponse) Unmarshal

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

func (*QuerySdkPairingResponse) XXX_DiscardUnknown

func (m *QuerySdkPairingResponse) XXX_DiscardUnknown()

func (*QuerySdkPairingResponse) XXX_Marshal

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

func (*QuerySdkPairingResponse) XXX_Merge

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

func (*QuerySdkPairingResponse) XXX_Size

func (m *QuerySdkPairingResponse) XXX_Size() int

func (*QuerySdkPairingResponse) XXX_Unmarshal

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

type QueryServer

type QueryServer interface {
	// Parameters queries the parameters of the module.
	Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error)
	// Queries a list of Providers items.
	Providers(context.Context, *QueryProvidersRequest) (*QueryProvidersResponse, error)
	// Queries a list of GetPairing items.
	GetPairing(context.Context, *QueryGetPairingRequest) (*QueryGetPairingResponse, error)
	// Queries a list of VerifyPairing items.
	VerifyPairing(context.Context, *QueryVerifyPairingRequest) (*QueryVerifyPairingResponse, error)
	// Queries a UserEntry items.
	UserEntry(context.Context, *QueryUserEntryRequest) (*QueryUserEntryResponse, error)
	// Queries a list of StaticProvidersList items.
	StaticProvidersList(context.Context, *QueryStaticProvidersListRequest) (*QueryStaticProvidersListResponse, error)
	// Queries a list of EffectivePolicy items.
	EffectivePolicy(context.Context, *QueryEffectivePolicyRequest) (*QueryEffectivePolicyResponse, error)
	// Queries the expected monthly payout of a specific provider
	ProviderMonthlyPayout(context.Context, *QueryProviderMonthlyPayoutRequest) (*QueryProviderMonthlyPayoutResponse, error)
	// Queries the expected monthly payout of a specific subscription
	SubscriptionMonthlyPayout(context.Context, *QuerySubscriptionMonthlyPayoutRequest) (*QuerySubscriptionMonthlyPayoutResponse, error)
	// Queries a list of SdkPairing items.
	SdkPairing(context.Context, *QueryGetPairingRequest) (*QuerySdkPairingResponse, error)
	// Queries a for the aggregated CU of all ProviderEpochCu objects all the providers.
	ProvidersEpochCu(context.Context, *QueryProvidersEpochCuRequest) (*QueryProvidersEpochCuResponse, error)
}

QueryServer is the server API for Query service.

type QueryStaticProvidersListRequest

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

func (*QueryStaticProvidersListRequest) Descriptor

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

func (*QueryStaticProvidersListRequest) GetChainID

func (m *QueryStaticProvidersListRequest) GetChainID() string

func (*QueryStaticProvidersListRequest) Marshal

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

func (*QueryStaticProvidersListRequest) MarshalTo

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

func (*QueryStaticProvidersListRequest) MarshalToSizedBuffer

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

func (*QueryStaticProvidersListRequest) ProtoMessage

func (*QueryStaticProvidersListRequest) ProtoMessage()

func (*QueryStaticProvidersListRequest) Reset

func (*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 QuerySubscriptionMonthlyPayoutRequest

type QuerySubscriptionMonthlyPayoutRequest struct {
	Consumer string `protobuf:"bytes,1,opt,name=consumer,proto3" json:"consumer,omitempty"`
}

func (*QuerySubscriptionMonthlyPayoutRequest) Descriptor

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

func (*QuerySubscriptionMonthlyPayoutRequest) GetConsumer

func (*QuerySubscriptionMonthlyPayoutRequest) Marshal

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

func (*QuerySubscriptionMonthlyPayoutRequest) MarshalTo

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

func (*QuerySubscriptionMonthlyPayoutRequest) MarshalToSizedBuffer

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

func (*QuerySubscriptionMonthlyPayoutRequest) ProtoMessage

func (*QuerySubscriptionMonthlyPayoutRequest) ProtoMessage()

func (*QuerySubscriptionMonthlyPayoutRequest) Reset

func (*QuerySubscriptionMonthlyPayoutRequest) Size

func (*QuerySubscriptionMonthlyPayoutRequest) String

func (*QuerySubscriptionMonthlyPayoutRequest) Unmarshal

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

func (*QuerySubscriptionMonthlyPayoutRequest) XXX_DiscardUnknown

func (m *QuerySubscriptionMonthlyPayoutRequest) XXX_DiscardUnknown()

func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Marshal

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

func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Merge

func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Size

func (*QuerySubscriptionMonthlyPayoutRequest) XXX_Unmarshal

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

type QuerySubscriptionMonthlyPayoutResponse

type QuerySubscriptionMonthlyPayoutResponse struct {
	Total   uint64           `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Details []*ChainIDPayout `protobuf:"bytes,2,rep,name=details,proto3" json:"details,omitempty"`
}

func (*QuerySubscriptionMonthlyPayoutResponse) Descriptor

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

func (*QuerySubscriptionMonthlyPayoutResponse) GetDetails

func (*QuerySubscriptionMonthlyPayoutResponse) GetTotal

func (*QuerySubscriptionMonthlyPayoutResponse) Marshal

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

func (*QuerySubscriptionMonthlyPayoutResponse) MarshalTo

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

func (*QuerySubscriptionMonthlyPayoutResponse) MarshalToSizedBuffer

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

func (*QuerySubscriptionMonthlyPayoutResponse) ProtoMessage

func (*QuerySubscriptionMonthlyPayoutResponse) Reset

func (*QuerySubscriptionMonthlyPayoutResponse) Size

func (*QuerySubscriptionMonthlyPayoutResponse) String

func (*QuerySubscriptionMonthlyPayoutResponse) Unmarshal

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

func (*QuerySubscriptionMonthlyPayoutResponse) XXX_DiscardUnknown

func (m *QuerySubscriptionMonthlyPayoutResponse) XXX_DiscardUnknown()

func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Marshal

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

func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Merge

func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Size

func (*QuerySubscriptionMonthlyPayoutResponse) XXX_Unmarshal

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

type QueryUserEntryRequest

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

func (*QueryUserEntryRequest) Descriptor

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

func (*QueryUserEntryRequest) GetAddress

func (m *QueryUserEntryRequest) GetAddress() string

func (*QueryUserEntryRequest) GetBlock

func (m *QueryUserEntryRequest) GetBlock() uint64

func (*QueryUserEntryRequest) GetChainID

func (m *QueryUserEntryRequest) GetChainID() string

func (*QueryUserEntryRequest) Marshal

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

func (*QueryUserEntryRequest) MarshalTo

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

func (*QueryUserEntryRequest) MarshalToSizedBuffer

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

func (*QueryUserEntryRequest) ProtoMessage

func (*QueryUserEntryRequest) ProtoMessage()

func (*QueryUserEntryRequest) Reset

func (m *QueryUserEntryRequest) Reset()

func (*QueryUserEntryRequest) Size

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

func (*QueryUserEntryRequest) String

func (m *QueryUserEntryRequest) String() string

func (*QueryUserEntryRequest) Unmarshal

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

func (*QueryUserEntryRequest) XXX_DiscardUnknown

func (m *QueryUserEntryRequest) XXX_DiscardUnknown()

func (*QueryUserEntryRequest) XXX_Marshal

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

func (*QueryUserEntryRequest) XXX_Merge

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

func (*QueryUserEntryRequest) XXX_Size

func (m *QueryUserEntryRequest) XXX_Size() int

func (*QueryUserEntryRequest) XXX_Unmarshal

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

type QueryUserEntryResponse

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

func (*QueryUserEntryResponse) Descriptor

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

func (*QueryUserEntryResponse) GetConsumer

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

func (*QueryUserEntryResponse) GetMaxCU

func (m *QueryUserEntryResponse) GetMaxCU() uint64

func (*QueryUserEntryResponse) Marshal

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

func (*QueryUserEntryResponse) MarshalTo

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

func (*QueryUserEntryResponse) MarshalToSizedBuffer

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

func (*QueryUserEntryResponse) ProtoMessage

func (*QueryUserEntryResponse) ProtoMessage()

func (*QueryUserEntryResponse) Reset

func (m *QueryUserEntryResponse) Reset()

func (*QueryUserEntryResponse) Size

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

func (*QueryUserEntryResponse) String

func (m *QueryUserEntryResponse) String() string

func (*QueryUserEntryResponse) Unmarshal

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

func (*QueryUserEntryResponse) XXX_DiscardUnknown

func (m *QueryUserEntryResponse) XXX_DiscardUnknown()

func (*QueryUserEntryResponse) XXX_Marshal

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

func (*QueryUserEntryResponse) XXX_Merge

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

func (*QueryUserEntryResponse) XXX_Size

func (m *QueryUserEntryResponse) XXX_Size() int

func (*QueryUserEntryResponse) XXX_Unmarshal

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

type QueryVerifyPairingRequest

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

func (*QueryVerifyPairingRequest) Descriptor

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

func (*QueryVerifyPairingRequest) GetBlock

func (m *QueryVerifyPairingRequest) GetBlock() uint64

func (*QueryVerifyPairingRequest) GetChainID

func (m *QueryVerifyPairingRequest) GetChainID() string

func (*QueryVerifyPairingRequest) GetClient

func (m *QueryVerifyPairingRequest) GetClient() string

func (*QueryVerifyPairingRequest) GetProvider

func (m *QueryVerifyPairingRequest) GetProvider() string

func (*QueryVerifyPairingRequest) Marshal

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

func (*QueryVerifyPairingRequest) MarshalTo

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

func (*QueryVerifyPairingRequest) MarshalToSizedBuffer

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

func (*QueryVerifyPairingRequest) ProtoMessage

func (*QueryVerifyPairingRequest) ProtoMessage()

func (*QueryVerifyPairingRequest) Reset

func (m *QueryVerifyPairingRequest) Reset()

func (*QueryVerifyPairingRequest) Size

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

func (*QueryVerifyPairingRequest) String

func (m *QueryVerifyPairingRequest) String() string

func (*QueryVerifyPairingRequest) Unmarshal

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

func (*QueryVerifyPairingRequest) XXX_DiscardUnknown

func (m *QueryVerifyPairingRequest) XXX_DiscardUnknown()

func (*QueryVerifyPairingRequest) XXX_Marshal

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

func (*QueryVerifyPairingRequest) XXX_Merge

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

func (*QueryVerifyPairingRequest) XXX_Size

func (m *QueryVerifyPairingRequest) XXX_Size() int

func (*QueryVerifyPairingRequest) XXX_Unmarshal

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

type QueryVerifyPairingResponse

type QueryVerifyPairingResponse struct {
	Valid           bool   `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	PairedProviders uint64 `protobuf:"varint,3,opt,name=paired_providers,json=pairedProviders,proto3" json:"paired_providers,omitempty"`
	CuPerEpoch      uint64 `protobuf:"varint,4,opt,name=cu_per_epoch,json=cuPerEpoch,proto3" json:"cu_per_epoch,omitempty"`
	ProjectId       string `protobuf:"bytes,5,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
}

func (*QueryVerifyPairingResponse) Descriptor

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

func (*QueryVerifyPairingResponse) GetCuPerEpoch

func (m *QueryVerifyPairingResponse) GetCuPerEpoch() uint64

func (*QueryVerifyPairingResponse) GetPairedProviders

func (m *QueryVerifyPairingResponse) GetPairedProviders() uint64

func (*QueryVerifyPairingResponse) GetProjectId

func (m *QueryVerifyPairingResponse) GetProjectId() string

func (*QueryVerifyPairingResponse) GetValid

func (m *QueryVerifyPairingResponse) GetValid() bool

func (*QueryVerifyPairingResponse) Marshal

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

func (*QueryVerifyPairingResponse) MarshalTo

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

func (*QueryVerifyPairingResponse) MarshalToSizedBuffer

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

func (*QueryVerifyPairingResponse) ProtoMessage

func (*QueryVerifyPairingResponse) ProtoMessage()

func (*QueryVerifyPairingResponse) Reset

func (m *QueryVerifyPairingResponse) Reset()

func (*QueryVerifyPairingResponse) Size

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

func (*QueryVerifyPairingResponse) String

func (m *QueryVerifyPairingResponse) String() string

func (*QueryVerifyPairingResponse) Unmarshal

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

func (*QueryVerifyPairingResponse) XXX_DiscardUnknown

func (m *QueryVerifyPairingResponse) XXX_DiscardUnknown()

func (*QueryVerifyPairingResponse) XXX_Marshal

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

func (*QueryVerifyPairingResponse) XXX_Merge

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

func (*QueryVerifyPairingResponse) XXX_Size

func (m *QueryVerifyPairingResponse) XXX_Size() int

func (*QueryVerifyPairingResponse) XXX_Unmarshal

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

type RelayCacheGet

type RelayCacheGet struct {
	RequestHash    []byte `protobuf:"bytes,1,opt,name=request_hash,json=requestHash,proto3" json:"request_hash,omitempty"`
	BlockHash      []byte `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Finalized      bool   `protobuf:"varint,3,opt,name=finalized,proto3" json:"finalized,omitempty"`
	RequestedBlock int64  `protobuf:"varint,4,opt,name=requested_block,json=requestedBlock,proto3" json:"requested_block,omitempty"`
	SharedStateId  string `protobuf:"bytes,5,opt,name=shared_state_id,json=sharedStateId,proto3" json:"shared_state_id,omitempty"`
	ChainId        string `protobuf:"bytes,6,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	SeenBlock      int64  `protobuf:"varint,7,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"`
}

func (*RelayCacheGet) Descriptor

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

func (*RelayCacheGet) GetBlockHash

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

func (*RelayCacheGet) GetChainId

func (m *RelayCacheGet) GetChainId() string

func (*RelayCacheGet) GetFinalized

func (m *RelayCacheGet) GetFinalized() bool

func (*RelayCacheGet) GetRequestHash

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

func (*RelayCacheGet) GetRequestedBlock

func (m *RelayCacheGet) GetRequestedBlock() int64

func (*RelayCacheGet) GetSeenBlock

func (m *RelayCacheGet) GetSeenBlock() int64

func (*RelayCacheGet) GetSharedStateId

func (m *RelayCacheGet) GetSharedStateId() string

func (*RelayCacheGet) Marshal

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

func (*RelayCacheGet) 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 {
	RequestHash      []byte      `protobuf:"bytes,1,opt,name=request_hash,json=requestHash,proto3" json:"request_hash,omitempty"`
	BlockHash        []byte      `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	Response         *RelayReply `protobuf:"bytes,3,opt,name=response,proto3" json:"response,omitempty"`
	Finalized        bool        `protobuf:"varint,4,opt,name=finalized,proto3" json:"finalized,omitempty"`
	OptionalMetadata []Metadata  `protobuf:"bytes,5,rep,name=optional_metadata,json=optionalMetadata,proto3" json:"optional_metadata"`
	SharedStateId    string      `protobuf:"bytes,6,opt,name=shared_state_id,json=sharedStateId,proto3" json:"shared_state_id,omitempty"`
	RequestedBlock   int64       `protobuf:"varint,7,opt,name=requested_block,json=requestedBlock,proto3" json:"requested_block,omitempty"`
	ChainId          string      `protobuf:"bytes,9,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	SeenBlock        int64       `protobuf:"varint,10,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"`
	AverageBlockTime int64       `protobuf:"varint,11,opt,name=average_block_time,json=averageBlockTime,proto3" json:"average_block_time,omitempty"`
}

func (*RelayCacheSet) Descriptor

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

func (*RelayCacheSet) GetAverageBlockTime

func (m *RelayCacheSet) GetAverageBlockTime() int64

func (*RelayCacheSet) GetBlockHash

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

func (*RelayCacheSet) GetChainId

func (m *RelayCacheSet) GetChainId() string

func (*RelayCacheSet) GetFinalized

func (m *RelayCacheSet) GetFinalized() bool

func (*RelayCacheSet) GetOptionalMetadata

func (m *RelayCacheSet) GetOptionalMetadata() []Metadata

func (*RelayCacheSet) GetRequestHash

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

func (*RelayCacheSet) GetRequestedBlock

func (m *RelayCacheSet) GetRequestedBlock() int64

func (*RelayCacheSet) GetResponse

func (m *RelayCacheSet) GetResponse() *RelayReply

func (*RelayCacheSet) GetSeenBlock

func (m *RelayCacheSet) GetSeenBlock() int64

func (*RelayCacheSet) GetSharedStateId

func (m *RelayCacheSet) GetSharedStateId() string

func (*RelayCacheSet) Marshal

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

func (*RelayCacheSet) 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 RelayExchange

type RelayExchange struct {
	Request RelayRequest
	Reply   RelayReply
}

RelayExchange consists a relay request and its corresponding response

func NewRelayExchange

func NewRelayExchange(req RelayRequest, res RelayReply) RelayExchange

func (RelayExchange) DataToSign

func (re RelayExchange) DataToSign() []byte

func (RelayExchange) GetSignature

func (re RelayExchange) GetSignature() []byte

func (RelayExchange) HashRounds

func (re RelayExchange) HashRounds() int

type RelayFinalization

type RelayFinalization struct {
	Exchange RelayExchange
	Addr     sdk.AccAddress
}

func NewRelayFinalization

func NewRelayFinalization(exch RelayExchange, addr sdk.AccAddress) RelayFinalization

func (RelayFinalization) DataToSign

func (rf RelayFinalization) DataToSign() []byte

func (RelayFinalization) GetSignature

func (rf RelayFinalization) GetSignature() []byte

func (RelayFinalization) HashRounds

func (rf RelayFinalization) HashRounds() int

type RelayPrivateData

type RelayPrivateData struct {
	ConnectionType string     `protobuf:"bytes,1,opt,name=connection_type,json=connectionType,proto3" json:"connection_type,omitempty"`
	ApiUrl         string     `protobuf:"bytes,2,opt,name=api_url,json=apiUrl,proto3" json:"api_url,omitempty"`
	Data           []byte     `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestBlock   int64      `protobuf:"varint,4,opt,name=request_block,json=requestBlock,proto3" json:"request_block,omitempty"`
	ApiInterface   string     `protobuf:"bytes,5,opt,name=api_interface,json=apiInterface,proto3" json:"api_interface,omitempty"`
	Salt           []byte     `protobuf:"bytes,6,opt,name=salt,proto3" json:"salt,omitempty"`
	Metadata       []Metadata `protobuf:"bytes,7,rep,name=metadata,proto3" json:"metadata"`
	Addon          string     `protobuf:"bytes,8,opt,name=addon,proto3" json:"addon,omitempty"`
	Extensions     []string   `protobuf:"bytes,9,rep,name=extensions,proto3" json:"extensions,omitempty"`
	SeenBlock      int64      `protobuf:"varint,10,opt,name=seen_block,json=seenBlock,proto3" json:"seen_block,omitempty"`
}

func (*RelayPrivateData) Descriptor

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

func (*RelayPrivateData) GetAddon

func (m *RelayPrivateData) GetAddon() string

func (*RelayPrivateData) GetApiInterface

func (m *RelayPrivateData) GetApiInterface() string

func (*RelayPrivateData) GetApiUrl

func (m *RelayPrivateData) GetApiUrl() string

func (*RelayPrivateData) GetConnectionType

func (m *RelayPrivateData) GetConnectionType() string

func (RelayPrivateData) GetContentHashData

func (rp RelayPrivateData) GetContentHashData() []byte

func (*RelayPrivateData) GetData

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

func (*RelayPrivateData) GetExtensions

func (m *RelayPrivateData) GetExtensions() []string

func (*RelayPrivateData) GetMetadata

func (m *RelayPrivateData) GetMetadata() []Metadata

func (*RelayPrivateData) GetRequestBlock

func (m *RelayPrivateData) GetRequestBlock() int64

func (*RelayPrivateData) GetSalt

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

func (*RelayPrivateData) GetSeenBlock

func (m *RelayPrivateData) GetSeenBlock() int64

func (*RelayPrivateData) Marshal

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

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

func (*RelayReply) Descriptor

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

func (*RelayReply) GetData

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

func (*RelayReply) GetFinalizedBlocksHashes

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

func (*RelayReply) GetLatestBlock

func (m *RelayReply) GetLatestBlock() int64

func (*RelayReply) GetMetadata

func (m *RelayReply) GetMetadata() []Metadata

func (*RelayReply) GetSig

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

func (*RelayReply) GetSigBlocks

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

func (*RelayReply) Marshal

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

func (*RelayReply) 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"`
}

func (*RelayRequest) Descriptor

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

func (*RelayRequest) GetRelayData

func (m *RelayRequest) GetRelayData() *RelayPrivateData

func (*RelayRequest) GetRelaySession

func (m *RelayRequest) GetRelaySession() *RelaySession

func (*RelayRequest) Marshal

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

func (*RelayRequest) 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 []*ReportedProvider     `protobuf:"bytes,9,rep,name=unresponsive_providers,json=unresponsiveProviders,proto3" json:"unresponsive_providers,omitempty"`
	LavaChainId           string                  `protobuf:"bytes,10,opt,name=lava_chain_id,json=lavaChainId,proto3" json:"lava_chain_id,omitempty"`
	Sig                   []byte                  `protobuf:"bytes,11,opt,name=sig,proto3" json:"sig,omitempty"`
	Badge                 *Badge                  `protobuf:"bytes,12,opt,name=badge,proto3" json:"badge,omitempty"`
	QosExcellenceReport   *QualityOfServiceReport `protobuf:"bytes,13,opt,name=qos_excellence_report,json=qosExcellenceReport,proto3" json:"qos_excellence_report,omitempty"`
}

func (RelaySession) CalculateHashForFinalization

func (rs RelaySession) CalculateHashForFinalization() []byte

func (RelaySession) DataToSign

func (rs RelaySession) DataToSign() []byte

func (*RelaySession) Descriptor

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

func (*RelaySession) GetBadge

func (m *RelaySession) GetBadge() *Badge

func (*RelaySession) GetContentHash

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

func (*RelaySession) GetCuSum

func (m *RelaySession) GetCuSum() uint64

func (*RelaySession) GetEpoch

func (m *RelaySession) GetEpoch() int64

func (*RelaySession) GetLavaChainId

func (m *RelaySession) GetLavaChainId() string

func (*RelaySession) GetProvider

func (m *RelaySession) GetProvider() string

func (*RelaySession) GetQosExcellenceReport

func (m *RelaySession) GetQosExcellenceReport() *QualityOfServiceReport

func (*RelaySession) GetQosReport

func (m *RelaySession) GetQosReport() *QualityOfServiceReport

func (*RelaySession) GetRelayNum

func (m *RelaySession) GetRelayNum() uint64

func (*RelaySession) GetSessionId

func (m *RelaySession) GetSessionId() uint64

func (*RelaySession) GetSig

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

func (RelaySession) GetSignature

func (rs RelaySession) GetSignature() []byte

func (*RelaySession) GetSpecId

func (m *RelaySession) GetSpecId() string

func (*RelaySession) GetUnresponsiveProviders

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

func (RelaySession) HashRounds

func (rs RelaySession) HashRounds() int

func (*RelaySession) Marshal

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

func (*RelaySession) 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) (*CacheRelayReply, error)
	SetRelay(ctx context.Context, in *RelayCacheSet, opts ...grpc.CallOption) (*emptypb.Empty, error)
	Health(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CacheUsage, error)
}

RelayerCacheClient is the client API for RelayerCache service.

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

func NewRelayerCacheClient

func NewRelayerCacheClient(cc grpc1.ClientConn) RelayerCacheClient

type RelayerCacheServer

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

RelayerCacheServer is the server API for RelayerCache service.

type RelayerClient

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

RelayerClient is the client API for Relayer service.

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

func NewRelayerClient

func NewRelayerClient(cc grpc1.ClientConn) RelayerClient

type RelayerServer

type RelayerServer interface {
	Relay(context.Context, *RelayRequest) (*RelayReply, error)
	RelaySubscribe(*RelayRequest, Relayer_RelaySubscribeServer) error
	Probe(context.Context, *ProbeRequest) (*ProbeReply, error)
}

RelayerServer is the server API for Relayer service.

type Relayer_RelaySubscribeClient

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

type Relayer_RelaySubscribeServer

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

type ReportedProvider

type ReportedProvider struct {
	Address        string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Disconnections uint64 `protobuf:"varint,2,opt,name=disconnections,proto3" json:"disconnections,omitempty"`
	Errors         uint64 `protobuf:"varint,3,opt,name=errors,proto3" json:"errors,omitempty"`
	TimestampS     int64  `protobuf:"varint,4,opt,name=timestamp_s,json=timestampS,proto3" json:"timestamp_s,omitempty"`
}

func (*ReportedProvider) Descriptor

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

func (*ReportedProvider) GetAddress

func (m *ReportedProvider) GetAddress() string

func (*ReportedProvider) GetDisconnections

func (m *ReportedProvider) GetDisconnections() uint64

func (*ReportedProvider) GetErrors

func (m *ReportedProvider) GetErrors() uint64

func (*ReportedProvider) GetTimestampS

func (m *ReportedProvider) GetTimestampS() int64

func (*ReportedProvider) Marshal

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

func (*ReportedProvider) MarshalTo

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

func (*ReportedProvider) MarshalToSizedBuffer

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

func (*ReportedProvider) ProtoMessage

func (*ReportedProvider) ProtoMessage()

func (*ReportedProvider) Reset

func (m *ReportedProvider) Reset()

func (*ReportedProvider) Size

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

func (*ReportedProvider) String

func (m *ReportedProvider) String() string

func (*ReportedProvider) Unmarshal

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

func (*ReportedProvider) XXX_DiscardUnknown

func (m *ReportedProvider) XXX_DiscardUnknown()

func (*ReportedProvider) XXX_Marshal

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

func (*ReportedProvider) XXX_Merge

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

func (*ReportedProvider) XXX_Size

func (m *ReportedProvider) XXX_Size() int

func (*ReportedProvider) XXX_Unmarshal

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

type SpecKeeper

type SpecKeeper interface {
	// Methods imported from spec should be defined here
	IsSpecFoundAndActive(ctx sdk.Context, chainID string) (foundAndActive, found bool, providersType spectypes.Spec_ProvidersTypes)
	GetExpandedSpec(ctx sdk.Context, index string) (val spectypes.Spec, err error)
	GetSpec(ctx sdk.Context, index string) (val spectypes.Spec, found bool) // this spec is unexpanded don;t use for collections work
	GetExpectedServicesForExpandedSpec(expandedSpec spectypes.Spec, mandatory bool) map[epochstoragetypes.EndpointService]struct{}
	GetAllChainIDs(ctx sdk.Context) (chainIDs []string)
	GetMinStake(ctx sdk.Context, chainID string) sdk.Coin
}

type StakingKeeper

type StakingKeeper interface {
	GetAllDelegatorDelegations(ctx sdk.Context, delegator sdk.AccAddress) []stakingtypes.Delegation
	GetValidator(ctx sdk.Context, addr sdk.ValAddress) (validator stakingtypes.Validator, found bool)
	BondDenom(ctx sdk.Context) string
	GetUnbondingDelegations(ctx sdk.Context, delegator sdk.AccAddress, maxRetrieve uint16) (unbondingDelegations []stakingtypes.UnbondingDelegation)
	SlashUnbondingDelegation(ctx sdk.Context, unbondingDelegation stakingtypes.UnbondingDelegation, infractionHeight int64, slashFactor sdk.Dec) (totalSlashAmount math.Int)
	Undelegate(ctx sdk.Context, delAddr sdk.AccAddress, valAddr sdk.ValAddress, sharesAmount sdk.Dec) (time.Time, error)
}

type StaticProvidersList

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

func (*StaticProvidersList) Descriptor

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

func (*StaticProvidersList) GetChainId

func (m *StaticProvidersList) GetChainId() string

func (*StaticProvidersList) GetDescription

func (m *StaticProvidersList) GetDescription() string

func (*StaticProvidersList) GetGeolocations

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

func (*StaticProvidersList) Marshal

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

func (*StaticProvidersList) MarshalTo

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

func (*StaticProvidersList) MarshalToSizedBuffer

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

func (*StaticProvidersList) ProtoMessage

func (*StaticProvidersList) ProtoMessage()

func (*StaticProvidersList) Reset

func (m *StaticProvidersList) Reset()

func (*StaticProvidersList) Size

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

func (*StaticProvidersList) String

func (m *StaticProvidersList) String() string

func (*StaticProvidersList) Unmarshal

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

func (*StaticProvidersList) XXX_DiscardUnknown

func (m *StaticProvidersList) XXX_DiscardUnknown()

func (*StaticProvidersList) XXX_Marshal

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

func (*StaticProvidersList) XXX_Merge

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

func (*StaticProvidersList) XXX_Size

func (m *StaticProvidersList) XXX_Size() int

func (*StaticProvidersList) XXX_Unmarshal

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

type SubscriptionKeeper

type SubscriptionKeeper interface {
	GetPlanFromSubscription(ctx sdk.Context, consumer string, block uint64) (planstypes.Plan, error)
	ChargeComputeUnitsToSubscription(ctx sdk.Context, subscriptionOwner string, block, cuAmount uint64) (subscriptiontypes.Subscription, error)
	GetSubscription(ctx sdk.Context, consumer string) (val subscriptiontypes.Subscription, found bool)
	GetAllSubTrackedCuIndices(ctx sdk.Context, sub string) []string
	GetTrackedCu(ctx sdk.Context, sub string, provider string, chainID string, block uint64) (cu uint64, found bool, key string)
	CalcTotalMonthlyReward(ctx sdk.Context, totalAmount math.Int, trackedCu uint64, totalCuUsedBySub uint64) math.Int
	AddTrackedCu(ctx sdk.Context, sub string, provider string, chainID string, cu uint64, block uint64) error
	GetAllSubscriptionsIndices(ctx sdk.Context) []string
	AppendAdjustment(ctx sdk.Context, consumer string, provider string, totalConsumerUsage uint64, usageWithThisProvider uint64)
}

type SubscriptionPayout

type SubscriptionPayout struct {
	Subscription string `protobuf:"bytes,1,opt,name=subscription,proto3" json:"subscription,omitempty"`
	ChainId      string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Amount       uint64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"`
}

func (*SubscriptionPayout) Descriptor

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

func (*SubscriptionPayout) GetAmount

func (m *SubscriptionPayout) GetAmount() uint64

func (*SubscriptionPayout) GetChainId

func (m *SubscriptionPayout) GetChainId() string

func (*SubscriptionPayout) GetSubscription

func (m *SubscriptionPayout) GetSubscription() string

func (*SubscriptionPayout) Marshal

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

func (*SubscriptionPayout) MarshalTo

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

func (*SubscriptionPayout) MarshalToSizedBuffer

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

func (*SubscriptionPayout) ProtoMessage

func (*SubscriptionPayout) ProtoMessage()

func (*SubscriptionPayout) Reset

func (m *SubscriptionPayout) Reset()

func (*SubscriptionPayout) Size

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

func (*SubscriptionPayout) String

func (m *SubscriptionPayout) String() string

func (*SubscriptionPayout) Unmarshal

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

func (*SubscriptionPayout) XXX_DiscardUnknown

func (m *SubscriptionPayout) XXX_DiscardUnknown()

func (*SubscriptionPayout) XXX_Marshal

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

func (*SubscriptionPayout) XXX_Merge

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

func (*SubscriptionPayout) XXX_Size

func (m *SubscriptionPayout) XXX_Size() int

func (*SubscriptionPayout) XXX_Unmarshal

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

type TimerStoreKeeper

type TimerStoreKeeper interface {
	NewTimerStoreBeginBlock(storeKey storetypes.StoreKey, prefix string) *timerstoretypes.TimerStore
}

type UnimplementedBadgeGeneratorServer

type UnimplementedBadgeGeneratorServer struct {
}

UnimplementedBadgeGeneratorServer can be embedded to have forward compatible implementations.

func (*UnimplementedBadgeGeneratorServer) GenerateBadge

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) FreezeProvider

func (*UnimplementedMsgServer) RelayPayment

func (*UnimplementedMsgServer) StakeProvider

func (*UnimplementedMsgServer) UnfreezeProvider

func (*UnimplementedMsgServer) UnstakeProvider

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) EffectivePolicy

func (*UnimplementedQueryServer) GetPairing

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Providers

func (*UnimplementedQueryServer) ProvidersEpochCu added in v1.1.0

func (*UnimplementedQueryServer) SdkPairing

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 UniqueEpochSession added in v1.1.0

type UniqueEpochSession struct {
}

UniqueEpochSession is used to detect double spend attacks It's kept in a epoch-prefixed store with a unique index: provider, project ID, chain ID and session ID

func (*UniqueEpochSession) Descriptor added in v1.1.0

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

func (*UniqueEpochSession) Marshal added in v1.1.0

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

func (*UniqueEpochSession) MarshalTo added in v1.1.0

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

func (*UniqueEpochSession) MarshalToSizedBuffer added in v1.1.0

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

func (*UniqueEpochSession) ProtoMessage added in v1.1.0

func (*UniqueEpochSession) ProtoMessage()

func (*UniqueEpochSession) Reset added in v1.1.0

func (m *UniqueEpochSession) Reset()

func (*UniqueEpochSession) Size added in v1.1.0

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

func (*UniqueEpochSession) String added in v1.1.0

func (m *UniqueEpochSession) String() string

func (*UniqueEpochSession) Unmarshal added in v1.1.0

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

func (*UniqueEpochSession) XXX_DiscardUnknown added in v1.1.0

func (m *UniqueEpochSession) XXX_DiscardUnknown()

func (*UniqueEpochSession) XXX_Marshal added in v1.1.0

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

func (*UniqueEpochSession) XXX_Merge added in v1.1.0

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

func (*UniqueEpochSession) XXX_Size added in v1.1.0

func (m *UniqueEpochSession) XXX_Size() int

func (*UniqueEpochSession) XXX_Unmarshal added in v1.1.0

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

type UniqueEpochSessionGenesis added in v1.1.0

type UniqueEpochSessionGenesis struct {
	Epoch     uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Provider  string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	Project   string `protobuf:"bytes,3,opt,name=project,proto3" json:"project,omitempty"`
	ChainId   string `protobuf:"bytes,4,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	SessionId uint64 `protobuf:"varint,5,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
}

func (*UniqueEpochSessionGenesis) Descriptor added in v1.1.0

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

func (*UniqueEpochSessionGenesis) GetChainId added in v1.1.0

func (m *UniqueEpochSessionGenesis) GetChainId() string

func (*UniqueEpochSessionGenesis) GetEpoch added in v1.1.0

func (m *UniqueEpochSessionGenesis) GetEpoch() uint64

func (*UniqueEpochSessionGenesis) GetProject added in v1.1.0

func (m *UniqueEpochSessionGenesis) GetProject() string

func (*UniqueEpochSessionGenesis) GetProvider added in v1.1.0

func (m *UniqueEpochSessionGenesis) GetProvider() string

func (*UniqueEpochSessionGenesis) GetSessionId added in v1.1.0

func (m *UniqueEpochSessionGenesis) GetSessionId() uint64

func (*UniqueEpochSessionGenesis) Marshal added in v1.1.0

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

func (*UniqueEpochSessionGenesis) MarshalTo added in v1.1.0

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

func (*UniqueEpochSessionGenesis) MarshalToSizedBuffer added in v1.1.0

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

func (*UniqueEpochSessionGenesis) ProtoMessage added in v1.1.0

func (*UniqueEpochSessionGenesis) ProtoMessage()

func (*UniqueEpochSessionGenesis) Reset added in v1.1.0

func (m *UniqueEpochSessionGenesis) Reset()

func (*UniqueEpochSessionGenesis) Size added in v1.1.0

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

func (*UniqueEpochSessionGenesis) String added in v1.1.0

func (m *UniqueEpochSessionGenesis) String() string

func (*UniqueEpochSessionGenesis) Unmarshal added in v1.1.0

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

func (*UniqueEpochSessionGenesis) XXX_DiscardUnknown added in v1.1.0

func (m *UniqueEpochSessionGenesis) XXX_DiscardUnknown()

func (*UniqueEpochSessionGenesis) XXX_Marshal added in v1.1.0

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

func (*UniqueEpochSessionGenesis) XXX_Merge added in v1.1.0

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

func (*UniqueEpochSessionGenesis) XXX_Size added in v1.1.0

func (m *UniqueEpochSessionGenesis) XXX_Size() int

func (*UniqueEpochSessionGenesis) XXX_Unmarshal added in v1.1.0

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

type UnstakeProposal

type UnstakeProposal struct {
	Title              string                `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Description        string                `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	ProvidersInfo      []ProviderUnstakeInfo `protobuf:"bytes,3,rep,name=providers_info,json=providersInfo,proto3" json:"providers_info"`
	DelegatorsSlashing []DelegatorSlashing   `protobuf:"bytes,4,rep,name=DelegatorsSlashing,proto3" json:"DelegatorsSlashing"`
}

func NewUnstakeProposal

func NewUnstakeProposal(title, description string, providers []ProviderUnstakeInfo, delegatorsSlashing []DelegatorSlashing) *UnstakeProposal

func (*UnstakeProposal) Descriptor

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

func (*UnstakeProposal) GetDescription

func (up *UnstakeProposal) GetDescription() string

GetDescription returns the description of a proposal.

func (*UnstakeProposal) GetTitle

func (up *UnstakeProposal) GetTitle() string

GetTitle returns the title of a proposal.

func (*UnstakeProposal) Marshal

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

func (*UnstakeProposal) MarshalTo

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

func (*UnstakeProposal) MarshalToSizedBuffer

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

func (*UnstakeProposal) ProposalRoute

func (up *UnstakeProposal) ProposalRoute() string

ProposalRoute returns the routing key of a proposal.

func (*UnstakeProposal) ProposalType

func (up *UnstakeProposal) ProposalType() string

ProposalType returns the type of a proposal.

func (*UnstakeProposal) ProtoMessage

func (*UnstakeProposal) ProtoMessage()

func (*UnstakeProposal) Reset

func (m *UnstakeProposal) Reset()

func (*UnstakeProposal) Size

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

func (*UnstakeProposal) String

func (m *UnstakeProposal) String() string

func (*UnstakeProposal) Unmarshal

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

func (*UnstakeProposal) ValidateBasic

func (up *UnstakeProposal) ValidateBasic() error

ValidateBasic validates the proposal

func (*UnstakeProposal) XXX_DiscardUnknown

func (m *UnstakeProposal) XXX_DiscardUnknown()

func (*UnstakeProposal) XXX_Marshal

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

func (*UnstakeProposal) XXX_Merge

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

func (*UnstakeProposal) XXX_Size

func (m *UnstakeProposal) XXX_Size() int

func (*UnstakeProposal) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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