subscription

package
v0.6.0-rc0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/subscription/types ALIASGEN: github.com/sentinel-official/hub/x/subscription/keeper

Index

Constants

View Source
const (
	AttributeKeyOwner       = types.AttributeKeyOwner
	AttributeKeyAddress     = types.AttributeKeyAddress
	AttributeKeyID          = types.AttributeKeyID
	AttributeKeyStatus      = types.AttributeKeyStatus
	AttributeKeyNode        = types.AttributeKeyNode
	AttributeKeyCount       = types.AttributeKeyCount
	AttributeKeyPlan        = types.AttributeKeyPlan
	AttributeKeyConsumed    = types.AttributeKeyConsumed
	AttributeKeyAllocated   = types.AttributeKeyAllocated
	ModuleName              = types.ModuleName
	QuerierRoute            = types.QuerierRoute
	DefaultInactiveDuration = types.DefaultInactiveDuration
)

Variables

View Source
var (
	// functions aliases
	RegisterLegacyAminoCodec                   = types.RegisterLegacyAminoCodec
	RegisterInterfaces                         = types.RegisterInterfaces
	NewGenesisState                            = types.NewGenesisState
	DefaultGenesisState                        = types.DefaultGenesisState
	SubscriptionKey                            = types.SubscriptionKey
	GetSubscriptionForNodeKeyPrefix            = types.GetSubscriptionForNodeKeyPrefix
	SubscriptionForNodeKey                     = types.SubscriptionForNodeKey
	GetSubscriptionForPlanKeyPrefix            = types.GetSubscriptionForPlanKeyPrefix
	SubscriptionForPlanKey                     = types.SubscriptionForPlanKey
	GetActiveSubscriptionForAddressKeyPrefix   = types.GetActiveSubscriptionForAddressKeyPrefix
	ActiveSubscriptionForAddressKey            = types.ActiveSubscriptionForAddressKey
	GetInactiveSubscriptionForAddressKeyPrefix = types.GetInactiveSubscriptionForAddressKeyPrefix
	InactiveSubscriptionForAddressKey          = types.InactiveSubscriptionForAddressKey
	GetInactiveSubscriptionAtKeyPrefix         = types.GetInactiveSubscriptionAtKeyPrefix
	InactiveSubscriptionAtKey                  = types.InactiveSubscriptionAtKey
	GetQuotaKeyPrefix                          = types.GetQuotaKeyPrefix
	QuotaKey                                   = types.QuotaKey
	IDFromSubscriptionForNodeKey               = types.IDFromSubscriptionForNodeKey
	IDFromSubscriptionForPlanKey               = types.IDFromSubscriptionForPlanKey
	IDFromStatusSubscriptionForAddressKey      = types.IDFromStatusSubscriptionForAddressKey
	IDFromInactiveSubscriptionAtKey            = types.IDFromInactiveSubscriptionAtKey
	NewMsgSubscribeToNodeRequest               = types.NewMsgSubscribeToNodeRequest
	NewMsgSubscribeToPlanRequest               = types.NewMsgSubscribeToPlanRequest
	NewMsgCancelRequest                        = types.NewMsgCancelRequest
	NewMsgAddQuotaRequest                      = types.NewMsgAddQuotaRequest
	NewMsgUpdateQuotaRequest                   = types.NewMsgUpdateQuotaRequest
	NewMsgServiceClient                        = types.NewMsgServiceClient
	RegisterMsgServiceServer                   = types.RegisterMsgServiceServer
	NewParams                                  = types.NewParams
	DefaultParams                              = types.DefaultParams
	ParamsKeyTable                             = types.ParamsKeyTable
	NewQuerySubscriptionRequest                = types.NewQuerySubscriptionRequest
	NewQuerySubscriptionsRequest               = types.NewQuerySubscriptionsRequest
	NewQuerySubscriptionsForNodeRequest        = types.NewQuerySubscriptionsForNodeRequest
	NewQuerySubscriptionsForPlanRequest        = types.NewQuerySubscriptionsForPlanRequest
	NewQuerySubscriptionsForAddressRequest     = types.NewQuerySubscriptionsForAddressRequest
	NewQueryQuotaRequest                       = types.NewQueryQuotaRequest
	NewQueryQuotasRequest                      = types.NewQueryQuotasRequest
	NewQueryServiceClient                      = types.NewQueryServiceClient
	RegisterQueryServiceServer                 = types.RegisterQueryServiceServer
	RegisterQueryServiceHandlerServer          = types.RegisterQueryServiceHandlerServer
	RegisterQueryServiceHandlerFromEndpoint    = types.RegisterQueryServiceHandlerFromEndpoint
	RegisterQueryServiceHandler                = types.RegisterQueryServiceHandler
	RegisterQueryServiceHandlerClient          = types.RegisterQueryServiceHandlerClient
	NewKeeper                                  = keeper.NewKeeper
	NewMsgServiceServer                        = keeper.NewMsgServiceServer
	NewQueryServiceServer                      = keeper.NewQueryServiceServer

	// variable aliases
	ModuleCdc                               = types.ModuleCdc
	ErrorMarshal                            = types.ErrorMarshal
	ErrorUnmarshal                          = types.ErrorUnmarshal
	ErrorUnknownMsgType                     = types.ErrorUnknownMsgType
	ErrorUnknownQueryType                   = types.ErrorUnknownQueryType
	ErrorInvalidField                       = types.ErrorInvalidField
	ErrorPlanDoesNotExist                   = types.ErrorPlanDoesNotExist
	ErrorNodeDoesNotExist                   = types.ErrorNodeDoesNotExist
	ErrorUnauthorized                       = types.ErrorUnauthorized
	ErrorInvalidPlanStatus                  = types.ErrorInvalidPlanStatus
	ErrorPriceDoesNotExist                  = types.ErrorPriceDoesNotExist
	ErrorInvalidNodeStatus                  = types.ErrorInvalidNodeStatus
	ErrorSubscriptionDoesNotExist           = types.ErrorSubscriptionDoesNotExist
	ErrorInvalidSubscriptionStatus          = types.ErrorInvalidSubscriptionStatus
	ErrorCanNotSubscribe                    = types.ErrorCanNotSubscribe
	ErrorInvalidQuota                       = types.ErrorInvalidQuota
	ErrorDuplicateQuota                     = types.ErrorDuplicateQuota
	ErrorQuotaDoesNotExist                  = types.ErrorQuotaDoesNotExist
	ErrorCanNotAddQuota                     = types.ErrorCanNotAddQuota
	EventTypeSetCount                       = types.EventTypeSetCount
	EventTypeSet                            = types.EventTypeSet
	EventTypeCancel                         = types.EventTypeCancel
	EventTypeAddQuota                       = types.EventTypeAddQuota
	EventTypeUpdateQuota                    = types.EventTypeUpdateQuota
	ErrInvalidLengthGenesis                 = types.ErrInvalidLengthGenesis
	ErrIntOverflowGenesis                   = types.ErrIntOverflowGenesis
	ErrUnexpectedEndOfGroupGenesis          = types.ErrUnexpectedEndOfGroupGenesis
	ParamsSubspace                          = types.ParamsSubspace
	RouterKey                               = types.RouterKey
	StoreKey                                = types.StoreKey
	EventModuleName                         = types.EventModuleName
	CountKey                                = types.CountKey
	SubscriptionKeyPrefix                   = types.SubscriptionKeyPrefix
	SubscriptionForNodeKeyPrefix            = types.SubscriptionForNodeKeyPrefix
	SubscriptionForPlanKeyPrefix            = types.SubscriptionForPlanKeyPrefix
	ActiveSubscriptionForAddressKeyPrefix   = types.ActiveSubscriptionForAddressKeyPrefix
	InactiveSubscriptionForAddressKeyPrefix = types.InactiveSubscriptionForAddressKeyPrefix
	InactiveSubscriptionAtKeyPrefix         = types.InactiveSubscriptionAtKeyPrefix
	QuotaKeyPrefix                          = types.QuotaKeyPrefix
	ErrInvalidLengthMsg                     = types.ErrInvalidLengthMsg
	ErrIntOverflowMsg                       = types.ErrIntOverflowMsg
	ErrUnexpectedEndOfGroupMsg              = types.ErrUnexpectedEndOfGroupMsg
	KeyInactiveDuration                     = types.KeyInactiveDuration
	ErrInvalidLengthParams                  = types.ErrInvalidLengthParams
	ErrIntOverflowParams                    = types.ErrIntOverflowParams
	ErrUnexpectedEndOfGroupParams           = types.ErrUnexpectedEndOfGroupParams
	ErrInvalidLengthQuerier                 = types.ErrInvalidLengthQuerier
	ErrIntOverflowQuerier                   = types.ErrIntOverflowQuerier
	ErrUnexpectedEndOfGroupQuerier          = types.ErrUnexpectedEndOfGroupQuerier
	ErrInvalidLengthQuota                   = types.ErrInvalidLengthQuota
	ErrIntOverflowQuota                     = types.ErrIntOverflowQuota
	ErrUnexpectedEndOfGroupQuota            = types.ErrUnexpectedEndOfGroupQuota
	ErrInvalidLengthSubscription            = types.ErrInvalidLengthSubscription
	ErrIntOverflowSubscription              = types.ErrIntOverflowSubscription
	ErrUnexpectedEndOfGroupSubscription     = types.ErrUnexpectedEndOfGroupSubscription
)

Functions

func EndBlock

func EndBlock(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, state *types.GenesisState)

func ValidateGenesis

func ValidateGenesis(state *types.GenesisState) error

Types

type GenesisState

type GenesisState = types.GenesisState

type GenesisSubscription

type GenesisSubscription = types.GenesisSubscription

type GenesisSubscriptions

type GenesisSubscriptions = types.GenesisSubscriptions

type Keeper

type Keeper = keeper.Keeper

type MsgAddQuotaRequest

type MsgAddQuotaRequest = types.MsgAddQuotaRequest

type MsgAddQuotaResponse

type MsgAddQuotaResponse = types.MsgAddQuotaResponse

type MsgCancelRequest

type MsgCancelRequest = types.MsgCancelRequest

type MsgCancelResponse

type MsgCancelResponse = types.MsgCancelResponse

type MsgServiceClient

type MsgServiceClient = types.MsgServiceClient

type MsgServiceServer

type MsgServiceServer = types.MsgServiceServer

type MsgSubscribeToNodeRequest

type MsgSubscribeToNodeRequest = types.MsgSubscribeToNodeRequest

type MsgSubscribeToNodeResponse

type MsgSubscribeToNodeResponse = types.MsgSubscribeToNodeResponse

type MsgSubscribeToPlanRequest

type MsgSubscribeToPlanRequest = types.MsgSubscribeToPlanRequest

type MsgSubscribeToPlanResponse

type MsgSubscribeToPlanResponse = types.MsgSubscribeToPlanResponse

type MsgUpdateQuotaRequest

type MsgUpdateQuotaRequest = types.MsgUpdateQuotaRequest

type MsgUpdateQuotaResponse

type MsgUpdateQuotaResponse = types.MsgUpdateQuotaResponse

type Params

type Params = types.Params

type QueryQuotaRequest

type QueryQuotaRequest = types.QueryQuotaRequest

type QueryQuotaResponse

type QueryQuotaResponse = types.QueryQuotaResponse

type QueryQuotasRequest

type QueryQuotasRequest = types.QueryQuotasRequest

type QueryQuotasResponse

type QueryQuotasResponse = types.QueryQuotasResponse

type QueryServiceClient

type QueryServiceClient = types.QueryServiceClient

type QueryServiceServer

type QueryServiceServer = types.QueryServiceServer

type QuerySubscriptionRequest

type QuerySubscriptionRequest = types.QuerySubscriptionRequest

type QuerySubscriptionResponse

type QuerySubscriptionResponse = types.QuerySubscriptionResponse

type QuerySubscriptionsForAddressRequest

type QuerySubscriptionsForAddressRequest = types.QuerySubscriptionsForAddressRequest

type QuerySubscriptionsForAddressResponse

type QuerySubscriptionsForAddressResponse = types.QuerySubscriptionsForAddressResponse

type QuerySubscriptionsForNodeRequest

type QuerySubscriptionsForNodeRequest = types.QuerySubscriptionsForNodeRequest

type QuerySubscriptionsForNodeResponse

type QuerySubscriptionsForNodeResponse = types.QuerySubscriptionsForNodeResponse

type QuerySubscriptionsForPlanRequest

type QuerySubscriptionsForPlanRequest = types.QuerySubscriptionsForPlanRequest

type QuerySubscriptionsForPlanResponse

type QuerySubscriptionsForPlanResponse = types.QuerySubscriptionsForPlanResponse

type QuerySubscriptionsRequest

type QuerySubscriptionsRequest = types.QuerySubscriptionsRequest

type QuerySubscriptionsResponse

type QuerySubscriptionsResponse = types.QuerySubscriptionsResponse

type Quota

type Quota = types.Quota

type Quotas

type Quotas = types.Quotas

type Subscription

type Subscription = types.Subscription

type Subscriptions

type Subscriptions = types.Subscriptions

type UnimplementedMsgServiceServer

type UnimplementedMsgServiceServer = types.UnimplementedMsgServiceServer

type UnimplementedQueryServiceServer

type UnimplementedQueryServiceServer = types.UnimplementedQueryServiceServer

Directories

Path Synopsis
client
cli
Package types is a reverse proxy.
Package types is a reverse proxy.

Jump to

Keyboard shortcuts

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