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
- Variables
- func EndBlock(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state *types.GenesisState)
- func ValidateGenesis(state *types.GenesisState) error
- type EventAddQuota
- type EventCancelSubscription
- type EventModule
- type EventSetSubscriptionCount
- type EventSubscribeToNode
- type EventSubscribeToPlan
- type EventUpdateQuota
- type GenesisState
- type GenesisSubscription
- type GenesisSubscriptions
- type Keeper
- type MsgAddQuotaRequest
- type MsgAddQuotaResponse
- type MsgCancelRequest
- type MsgCancelResponse
- type MsgServiceClient
- type MsgServiceServer
- type MsgSubscribeToNodeRequest
- type MsgSubscribeToNodeResponse
- type MsgSubscribeToPlanRequest
- type MsgSubscribeToPlanResponse
- type MsgUpdateQuotaRequest
- type MsgUpdateQuotaResponse
- type Params
- type QueryQuotaRequest
- type QueryQuotaResponse
- type QueryQuotasRequest
- type QueryQuotasResponse
- type QueryServiceClient
- type QueryServiceServer
- type QuerySubscriptionRequest
- type QuerySubscriptionResponse
- type QuerySubscriptionsForAddressRequest
- type QuerySubscriptionsForAddressResponse
- type QuerySubscriptionsForNodeRequest
- type QuerySubscriptionsForNodeResponse
- type QuerySubscriptionsForPlanRequest
- type QuerySubscriptionsForPlanResponse
- type QuerySubscriptionsRequest
- type QuerySubscriptionsResponse
- type Quota
- type Quotas
- type Subscription
- type Subscriptions
- type UnimplementedMsgServiceServer
- type UnimplementedQueryServiceServer
Constants ¶
View Source
const ( 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 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 ErrInvalidLengthEvents = types.ErrInvalidLengthEvents ErrIntOverflowEvents = types.ErrIntOverflowEvents ErrUnexpectedEndOfGroupEvents = types.ErrUnexpectedEndOfGroupEvents 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 ExportGenesis ¶
func InitGenesis ¶
func ValidateGenesis ¶
func ValidateGenesis(state *types.GenesisState) error
Types ¶
type EventAddQuota ¶
type EventAddQuota = types.EventAddQuota
type EventCancelSubscription ¶
type EventCancelSubscription = types.EventCancelSubscription
type EventModule ¶
type EventModule = types.EventModule
type EventSetSubscriptionCount ¶
type EventSetSubscriptionCount = types.EventSetSubscriptionCount
type EventSubscribeToNode ¶
type EventSubscribeToNode = types.EventSubscribeToNode
type EventSubscribeToPlan ¶
type EventSubscribeToPlan = types.EventSubscribeToPlan
type EventUpdateQuota ¶
type EventUpdateQuota = types.EventUpdateQuota
type GenesisState ¶
type GenesisState = types.GenesisState
type GenesisSubscription ¶
type GenesisSubscription = types.GenesisSubscription
type GenesisSubscriptions ¶
type GenesisSubscriptions = types.GenesisSubscriptions
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 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 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
|
|
Package types is a reverse proxy.
|
Package types is a reverse proxy. |
Click to show internal directories.
Click to hide internal directories.