Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/plan/types ALIASGEN: github.com/sentinel-official/hub/x/plan/keeper ALIASGEN: github.com/sentinel-official/hub/x/plan/querier
Index ¶
- Constants
- Variables
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState
- func HandleAdd(ctx sdk.Context, k keeper.Keeper, msg types.MsgAdd) (*sdk.Result, error)
- func HandleAddNode(ctx sdk.Context, k keeper.Keeper, msg types.MsgAddNode) (*sdk.Result, error)
- func HandleRemoveNode(ctx sdk.Context, k keeper.Keeper, msg types.MsgRemoveNode) (*sdk.Result, error)
- func HandleSetStatus(ctx sdk.Context, k keeper.Keeper, msg types.MsgSetStatus) (*sdk.Result, error)
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)
- func ValidateGenesis(state types.GenesisState) error
- type GenesisPlan
- type GenesisPlans
- type GenesisState
- type Keeper
- type MsgAdd
- type MsgAddNode
- type MsgRemoveNode
- type MsgSetStatus
- type Plan
- type Plans
- type QueryNodesForPlanParams
- type QueryPlanParams
- type QueryPlansForProviderParams
- type QueryPlansParams
Constants ¶
View Source
const ( AttributeKeyAddress = types.AttributeKeyAddress AttributeKeyID = types.AttributeKeyID AttributeKeyCount = types.AttributeKeyCount AttributeKeyStatus = types.AttributeKeyStatus ModuleName = types.ModuleName QuerierRoute = types.QuerierRoute QueryPlan = types.QueryPlan QueryPlans = types.QueryPlans QueryPlansForProvider = types.QueryPlansForProvider QueryNodesForPlan = types.QueryNodesForPlan )
Variables ¶
View Source
var ( // functions aliases RegisterCodec = types.RegisterCodec NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState PlanKey = types.PlanKey ActivePlanKey = types.ActivePlanKey InactivePlanKey = types.InactivePlanKey GetActivePlanForProviderKeyPrefix = types.GetActivePlanForProviderKeyPrefix ActivePlanForProviderKey = types.ActivePlanForProviderKey GetInactivePlanForProviderKeyPrefix = types.GetInactivePlanForProviderKeyPrefix InactivePlanForProviderKey = types.InactivePlanForProviderKey GetNodeForPlanKeyPrefix = types.GetNodeForPlanKeyPrefix NodeForPlanKey = types.NodeForPlanKey IDFromStatusPlanKey = types.IDFromStatusPlanKey IDFromStatusPlanForProviderKey = types.IDFromStatusPlanForProviderKey AddressFromNodeForPlanKey = types.AddressFromNodeForPlanKey NewMsgAdd = types.NewMsgAdd NewMsgSetStatus = types.NewMsgSetStatus NewMsgAddNode = types.NewMsgAddNode NewMsgRemoveNode = types.NewMsgRemoveNode NewQueryPlanParams = types.NewQueryPlanParams NewQueryPlansParams = types.NewQueryPlansParams NewQueryPlansForProviderParams = types.NewQueryPlansForProviderParams NewQueryNodesForPlanParams = types.NewQueryNodesForPlanParams 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 ErrorProviderDoesNotExist = types.ErrorProviderDoesNotExist ErrorPlanDoesNotExist = types.ErrorPlanDoesNotExist ErrorNodeDoesNotExist = types.ErrorNodeDoesNotExist EventTypeSetCount = types.EventTypeSetCount EventTypeSet = types.EventTypeSet EventTypeSetStatus = types.EventTypeSetStatus EventTypeAddNode = types.EventTypeAddNode EventTypeRemoveNode = types.EventTypeRemoveNode RouterKey = types.RouterKey StoreKey = types.StoreKey EventModuleName = types.EventModuleName CountKey = types.CountKey PlanKeyPrefix = types.PlanKeyPrefix ActivePlanKeyPrefix = types.ActivePlanKeyPrefix InactivePlanKeyPrefix = types.InactivePlanKeyPrefix ActivePlanForProviderKeyPrefix = types.ActivePlanForProviderKeyPrefix InactivePlanForProviderKeyPrefix = types.InactivePlanForProviderKeyPrefix NodeForPlanKeyPrefix = types.NodeForPlanKeyPrefix )
Functions ¶
func ExportGenesis ¶
func HandleAddNode ¶
func HandleRemoveNode ¶
func HandleSetStatus ¶
func InitGenesis ¶
func ValidateGenesis ¶
func ValidateGenesis(state types.GenesisState) error
Types ¶
type GenesisPlan ¶
type GenesisPlan = types.GenesisPlan
type GenesisPlans ¶
type GenesisPlans = types.GenesisPlans
type GenesisState ¶
type GenesisState = types.GenesisState
type MsgAddNode ¶
type MsgAddNode = types.MsgAddNode
type MsgRemoveNode ¶
type MsgRemoveNode = types.MsgRemoveNode
type MsgSetStatus ¶
type MsgSetStatus = types.MsgSetStatus
type QueryNodesForPlanParams ¶
type QueryNodesForPlanParams = types.QueryNodesForPlanParams
type QueryPlanParams ¶
type QueryPlanParams = types.QueryPlanParams
type QueryPlansForProviderParams ¶
type QueryPlansForProviderParams = types.QueryPlansForProviderParams
type QueryPlansParams ¶
type QueryPlansParams = types.QueryPlansParams
Click to show internal directories.
Click to hide internal directories.