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
- func HandleCancel(ctx sdk.Context, k keeper.Keeper, msg types.MsgCancel) sdk.Result
- func HandleSubscribeToNode(ctx sdk.Context, k keeper.Keeper, msg types.MsgSubscribeToNode) sdk.Result
- func HandleSubscribeToPlan(ctx sdk.Context, k keeper.Keeper, msg types.MsgSubscribeToPlan) sdk.Result
- func HandleUpdateQuota(ctx sdk.Context, k keeper.Keeper, msg types.MsgUpdateQuota) sdk.Result
- 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 ( Codespace = types.Codespace EventTypeSetCount = types.EventTypeSetCount EventTypeSet = types.EventTypeSet EventTypeCancel = types.EventTypeCancel EventTypeAddQuota = types.EventTypeAddQuota EventTypeUpdateQuota = types.EventTypeUpdateQuota 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 ParamsSubspace = types.ParamsSubspace QuerierRoute = types.QuerierRoute DefaultCancelDuration = types.DefaultCancelDuration QuerySubscription = types.QuerySubscription QuerySubscriptions = types.QuerySubscriptions QuerySubscriptionsForAddress = types.QuerySubscriptionsForAddress QuerySubscriptionsForPlan = types.QuerySubscriptionsForPlan QuerySubscriptionsForNode = types.QuerySubscriptionsForNode QueryQuota = types.QueryQuota QueryQuotas = types.QueryQuotas )
Variables ¶
View Source
var ( // functions aliases RegisterCodec = types.RegisterCodec 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 NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState SubscriptionKey = types.SubscriptionKey GetSubscriptionForAddressKeyPrefix = types.GetSubscriptionForAddressKeyPrefix SubscriptionForAddressKey = types.SubscriptionForAddressKey GetSubscriptionForPlanKeyPrefix = types.GetSubscriptionForPlanKeyPrefix SubscriptionForPlanKey = types.SubscriptionForPlanKey GetSubscriptionForNodeKeyPrefix = types.GetSubscriptionForNodeKeyPrefix SubscriptionForNodeKey = types.SubscriptionForNodeKey GetCancelSubscriptionAtKeyPrefix = types.GetCancelSubscriptionAtKeyPrefix CancelSubscriptionAtKey = types.CancelSubscriptionAtKey GetQuotaKeyPrefix = types.GetQuotaKeyPrefix QuotaKey = types.QuotaKey NewMsgSubscribeToPlan = types.NewMsgSubscribeToPlan NewMsgSubscribeToNode = types.NewMsgSubscribeToNode NewMsgCancel = types.NewMsgCancel NewMsgAddQuota = types.NewMsgAddQuota NewMsgUpdateQuota = types.NewMsgUpdateQuota NewParams = types.NewParams DefaultParams = types.DefaultParams ParamsKeyTable = types.ParamsKeyTable NewQuerySubscriptionParams = types.NewQuerySubscriptionParams NewQuerySubscriptionsParams = types.NewQuerySubscriptionsParams NewQuerySubscriptionsForAddressParams = types.NewQuerySubscriptionsForAddressParams NewQuerySubscriptionsForPlanParams = types.NewQuerySubscriptionsForPlanParams NewQuerySubscriptionsForNodeParams = types.NewQuerySubscriptionsForNodeParams NewQueryQuotaParams = types.NewQueryQuotaParams NewQueryQuotasParams = types.NewQueryQuotasParams NewKeeper = keeper.NewKeeper Querier = querier.Querier // variable aliases ModuleCdc = types.ModuleCdc RouterKey = types.RouterKey StoreKey = types.StoreKey EventModuleName = types.EventModuleName CountKey = types.CountKey SubscriptionKeyPrefix = types.SubscriptionKeyPrefix SubscriptionForAddressKeyPrefix = types.SubscriptionForAddressKeyPrefix SubscriptionForPlanKeyPrefix = types.SubscriptionForPlanKeyPrefix SubscriptionForNodeKeyPrefix = types.SubscriptionForNodeKeyPrefix CancelSubscriptionAtKeyPrefix = types.CancelSubscriptionAtKeyPrefix QuotaKeyPrefix = types.QuotaKeyPrefix KeyCancelDuration = types.KeyCancelDuration )
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.