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 ALIASGEN: github.com/sentinel-official/hub/x/subscription/querier
Index ¶
- Constants
- Variables
- func EndBlock(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState
- func HandleAddQuota(ctx sdk.Context, k keeper.Keeper, msg types.MsgAddQuota) (*sdk.Result, error)
- func HandleCancel(ctx sdk.Context, k keeper.Keeper, msg types.MsgCancel) (*sdk.Result, error)
- func HandleSubscribeToNode(ctx sdk.Context, k keeper.Keeper, msg types.MsgSubscribeToNode) (*sdk.Result, error)
- func HandleSubscribeToPlan(ctx sdk.Context, k keeper.Keeper, msg types.MsgSubscribeToPlan) (*sdk.Result, error)
- func HandleUpdateQuota(ctx sdk.Context, k keeper.Keeper, msg types.MsgUpdateQuota) (*sdk.Result, error)
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)
- func ValidateGenesis(state types.GenesisState) error
- type GenesisState
- type GenesisSubscription
- type GenesisSubscriptions
- type Keeper
- type MsgAddQuota
- type MsgCancel
- type MsgSubscribeToNode
- type MsgSubscribeToPlan
- type MsgUpdateQuota
- type Params
- type QueryQuotaParams
- type QueryQuotasParams
- type QuerySubscriptionParams
- type QuerySubscriptionsForAddressParams
- type QuerySubscriptionsForNodeParams
- type QuerySubscriptionsForPlanParams
- type QuerySubscriptionsParams
- type Quota
- type Quotas
- type Subscription
- type Subscriptions
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 QuerySubscription = types.QuerySubscription QuerySubscriptions = types.QuerySubscriptions QuerySubscriptionsForNode = types.QuerySubscriptionsForNode QuerySubscriptionsForPlan = types.QuerySubscriptionsForPlan QuerySubscriptionsForAddress = types.QuerySubscriptionsForAddress QueryQuota = types.QueryQuota QueryQuotas = types.QueryQuotas )
Variables ¶
View Source
var ( // functions aliases RegisterCodec = types.RegisterCodec 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 NewMsgSubscribeToNode = types.NewMsgSubscribeToNode NewMsgSubscribeToPlan = types.NewMsgSubscribeToPlan NewMsgCancel = types.NewMsgCancel NewMsgAddQuota = types.NewMsgAddQuota NewMsgUpdateQuota = types.NewMsgUpdateQuota NewParams = types.NewParams DefaultParams = types.DefaultParams ParamsKeyTable = types.ParamsKeyTable NewQuerySubscriptionParams = types.NewQuerySubscriptionParams NewQuerySubscriptionsParams = types.NewQuerySubscriptionsParams NewQuerySubscriptionsForNodeParams = types.NewQuerySubscriptionsForNodeParams NewQuerySubscriptionsForPlanParams = types.NewQuerySubscriptionsForPlanParams NewQuerySubscriptionsForAddressParams = types.NewQuerySubscriptionsForAddressParams NewQueryQuotaParams = types.NewQueryQuotaParams NewQueryQuotasParams = types.NewQueryQuotasParams NewKeeper = keeper.NewKeeper Querier = querier.Querier // 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 EventTypeSetCount = types.EventTypeSetCount EventTypeSet = types.EventTypeSet EventTypeCancel = types.EventTypeCancel EventTypeAddQuota = types.EventTypeAddQuota EventTypeUpdateQuota = types.EventTypeUpdateQuota 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 KeyInactiveDuration = types.KeyInactiveDuration )
Functions ¶
func ExportGenesis ¶
func HandleAddQuota ¶
func HandleCancel ¶
func HandleSubscribeToNode ¶
func HandleSubscribeToPlan ¶
func HandleUpdateQuota ¶
func InitGenesis ¶
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 MsgAddQuota ¶
type MsgAddQuota = types.MsgAddQuota
type MsgSubscribeToNode ¶
type MsgSubscribeToNode = types.MsgSubscribeToNode
type MsgSubscribeToPlan ¶
type MsgSubscribeToPlan = types.MsgSubscribeToPlan
type MsgUpdateQuota ¶
type MsgUpdateQuota = types.MsgUpdateQuota
type QueryQuotaParams ¶
type QueryQuotaParams = types.QueryQuotaParams
type QueryQuotasParams ¶
type QueryQuotasParams = types.QueryQuotasParams
type QuerySubscriptionParams ¶
type QuerySubscriptionParams = types.QuerySubscriptionParams
type QuerySubscriptionsForAddressParams ¶
type QuerySubscriptionsForAddressParams = types.QuerySubscriptionsForAddressParams
type QuerySubscriptionsForNodeParams ¶
type QuerySubscriptionsForNodeParams = types.QuerySubscriptionsForNodeParams
type QuerySubscriptionsForPlanParams ¶
type QuerySubscriptionsForPlanParams = types.QuerySubscriptionsForPlanParams
type QuerySubscriptionsParams ¶
type QuerySubscriptionsParams = types.QuerySubscriptionsParams
type Subscription ¶
type Subscription = types.Subscription
type Subscriptions ¶
type Subscriptions = types.Subscriptions
Click to show internal directories.
Click to hide internal directories.