Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/node/types ALIASGEN: github.com/sentinel-official/hub/x/node/keeper ALIASGEN: github.com/sentinel-official/hub/x/node/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 HandleRegister(ctx sdk.Context, k keeper.Keeper, msg types.MsgRegister) (*sdk.Result, error)
- func HandleSetStatus(ctx sdk.Context, k keeper.Keeper, msg types.MsgSetStatus) (*sdk.Result, error)
- func HandleUpdate(ctx sdk.Context, k keeper.Keeper, msg types.MsgUpdate) (*sdk.Result, error)
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)
- func ValidateGenesis(state types.GenesisState) error
- type GenesisState
- type Keeper
- type MsgRegister
- type MsgSetStatus
- type MsgUpdate
- type Node
- type Nodes
- type Params
- type QueryNodeParams
- type QueryNodesForProviderParams
- type QueryNodesParams
Constants ¶
View Source
const ( AttributeKeyProvider = types.AttributeKeyProvider AttributeKeyAddress = types.AttributeKeyAddress AttributeKeyStatus = types.AttributeKeyStatus ModuleName = types.ModuleName QuerierRoute = types.QuerierRoute DefaultInactiveDuration = types.DefaultInactiveDuration QueryNode = types.QueryNode QueryNodes = types.QueryNodes QueryNodesForProvider = types.QueryNodesForProvider )
Variables ¶
View Source
var ( // functions aliases RegisterCodec = types.RegisterCodec NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState NodeKey = types.NodeKey ActiveNodeKey = types.ActiveNodeKey InactiveNodeKey = types.InactiveNodeKey GetActiveNodeForProviderKeyPrefix = types.GetActiveNodeForProviderKeyPrefix ActiveNodeForProviderKey = types.ActiveNodeForProviderKey GetInactiveNodeForProviderKeyPrefix = types.GetInactiveNodeForProviderKeyPrefix InactiveNodeForProviderKey = types.InactiveNodeForProviderKey GetActiveNodeAtKeyPrefix = types.GetActiveNodeAtKeyPrefix ActiveNodeAtKey = types.ActiveNodeAtKey GetInactiveNodeAtKeyPrefix = types.GetInactiveNodeAtKeyPrefix InactiveNodeAtKey = types.InactiveNodeAtKey AddressFromStatusNodeKey = types.AddressFromStatusNodeKey AddressFromStatusNodeForProviderKey = types.AddressFromStatusNodeForProviderKey AddressFromStatusNodeAtKey = types.AddressFromStatusNodeAtKey NewMsgRegister = types.NewMsgRegister NewMsgUpdate = types.NewMsgUpdate NewMsgSetStatus = types.NewMsgSetStatus NewParams = types.NewParams DefaultParams = types.DefaultParams ParamsKeyTable = types.ParamsKeyTable NewQueryNodeParams = types.NewQueryNodeParams NewQueryNodesParams = types.NewQueryNodesParams NewQueryNodesForProviderParams = types.NewQueryNodesForProviderParams 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 ErrorDuplicateNode = types.ErrorDuplicateNode ErrorNodeDoesNotExist = types.ErrorNodeDoesNotExist EventTypeSet = types.EventTypeSet EventTypeUpdate = types.EventTypeUpdate EventTypeSetStatus = types.EventTypeSetStatus ParamsSubspace = types.ParamsSubspace RouterKey = types.RouterKey StoreKey = types.StoreKey EventModuleName = types.EventModuleName NodeKeyPrefix = types.NodeKeyPrefix ActiveNodeKeyPrefix = types.ActiveNodeKeyPrefix InactiveNodeKeyPrefix = types.InactiveNodeKeyPrefix ActiveNodeForProviderKeyPrefix = types.ActiveNodeForProviderKeyPrefix InactiveNodeForProviderKeyPrefix = types.InactiveNodeForProviderKeyPrefix ActiveNodeAtKeyPrefix = types.ActiveNodeAtKeyPrefix InactiveNodeAtKeyPrefix = types.InactiveNodeAtKeyPrefix DefaultDeposit = types.DefaultDeposit KeyDeposit = types.KeyDeposit KeyInactiveDuration = types.KeyInactiveDuration )
Functions ¶
func ExportGenesis ¶
func HandleRegister ¶
func HandleSetStatus ¶
func HandleUpdate ¶
func InitGenesis ¶
func ValidateGenesis ¶
func ValidateGenesis(state types.GenesisState) error
Types ¶
type GenesisState ¶
type GenesisState = types.GenesisState
type MsgRegister ¶
type MsgRegister = types.MsgRegister
type MsgSetStatus ¶
type MsgSetStatus = types.MsgSetStatus
type QueryNodeParams ¶
type QueryNodeParams = types.QueryNodeParams
type QueryNodesForProviderParams ¶
type QueryNodesForProviderParams = types.QueryNodesForProviderParams
type QueryNodesParams ¶
type QueryNodesParams = types.QueryNodesParams
Click to show internal directories.
Click to hide internal directories.