Documentation ¶
Overview ¶
nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/vpn/types ALIASGEN: github.com/sentinel-official/hub/x/vpn/keeper ALIASGEN: github.com/sentinel-official/hub/x/vpn/querier
Index ¶
- Constants
- Variables
- func EndBlock(ctx sdk.Context, k keeper.Keeper) abci.ValidatorUpdates
- func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState
- func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)
- func NewHandler(k keeper.Keeper) sdk.Handler
- func ValidateGenesis(state types.GenesisState) error
- type AppModule
- func (a AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
- func (a AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
- func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
- func (a AppModule) GenerateGenesisState(state *module.SimulationState)
- func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
- func (a AppModule) NewHandler() sdk.Handler
- func (a AppModule) NewQuerierHandler() sdk.Querier
- func (a AppModule) ProposalContents(_ module.SimulationState) []xsimulation.WeightedProposalContent
- func (a AppModule) QuerierRoute() string
- func (a AppModule) RandomizedParams(_ *rand.Rand) []xsimulation.ParamChange
- func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
- func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
- func (a AppModule) Route() string
- func (a AppModule) WeightedOperations(state module.SimulationState) []xsimulation.WeightedOperation
- type AppModuleBasic
- func (a AppModuleBasic) DefaultGenesis() json.RawMessage
- func (a AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
- func (a AppModuleBasic) Name() string
- func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
- func (a AppModuleBasic) RegisterRESTRoutes(context context.CLIContext, router *mux.Router)
- func (a AppModuleBasic) ValidateGenesis(data json.RawMessage) error
- type GenesisState
- type Keeper
Constants ¶
View Source
const ( ModuleName = types.ModuleName RouterKey = types.RouterKey QuerierRoute = types.QuerierRoute StoreKey = types.StoreKey )
Variables ¶
View Source
var ( // functions aliases RegisterCodec = types.RegisterCodec NewGenesisState = types.NewGenesisState DefaultGenesisState = types.DefaultGenesisState NewKeeper = keeper.NewKeeper NewQuerier = querier.NewQuerier // variable aliases ModuleCdc = types.ModuleCdc ErrorMarshal = types.ErrorMarshal ErrorUnmarshal = types.ErrorUnmarshal ErrorUnknownMsgType = types.ErrorUnknownMsgType ErrorUnknownQueryType = types.ErrorUnknownQueryType ErrorInvalidField = types.ErrorInvalidField )
Functions ¶
func ExportGenesis ¶
func InitGenesis ¶
func ValidateGenesis ¶
func ValidateGenesis(state types.GenesisState) error
Types ¶
type AppModule ¶ added in v0.2.0
type AppModule struct { AppModuleBasic // contains filtered or unexported fields }
func NewAppModule ¶ added in v0.2.0
func NewAppModule(ak expected.AccountKeeper, k keeper.Keeper) AppModule
func (AppModule) BeginBlock ¶ added in v0.2.0
func (a AppModule) BeginBlock(_ sdk.Context, _ abci.RequestBeginBlock)
func (AppModule) EndBlock ¶ added in v0.2.0
func (a AppModule) EndBlock(ctx sdk.Context, _ abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶ added in v0.2.0
func (a AppModule) ExportGenesis(ctx sdk.Context) json.RawMessage
func (AppModule) GenerateGenesisState ¶ added in v0.4.0
func (a AppModule) GenerateGenesisState(state *module.SimulationState)
func (AppModule) InitGenesis ¶ added in v0.2.0
func (a AppModule) InitGenesis(ctx sdk.Context, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) NewHandler ¶ added in v0.2.0
func (AppModule) NewQuerierHandler ¶ added in v0.2.0
func (AppModule) ProposalContents ¶ added in v0.4.0
func (a AppModule) ProposalContents(_ module.SimulationState) []xsimulation.WeightedProposalContent
func (AppModule) QuerierRoute ¶ added in v0.2.0
func (AppModule) RandomizedParams ¶ added in v0.4.0
func (a AppModule) RandomizedParams(_ *rand.Rand) []xsimulation.ParamChange
func (AppModule) RegisterInvariants ¶ added in v0.2.0
func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)
func (AppModule) RegisterStoreDecoder ¶ added in v0.4.0
func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)
func (AppModule) WeightedOperations ¶ added in v0.4.0
func (a AppModule) WeightedOperations(state module.SimulationState) []xsimulation.WeightedOperation
type AppModuleBasic ¶ added in v0.2.0
type AppModuleBasic struct{}
func (AppModuleBasic) DefaultGenesis ¶ added in v0.2.0
func (a AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetQueryCmd ¶ added in v0.2.0
func (a AppModuleBasic) GetQueryCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) GetTxCmd ¶ added in v0.2.0
func (a AppModuleBasic) GetTxCmd(cdc *codec.Codec) *cobra.Command
func (AppModuleBasic) Name ¶ added in v0.2.0
func (a AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶ added in v0.2.0
func (a AppModuleBasic) RegisterCodec(cdc *codec.Codec)
func (AppModuleBasic) RegisterRESTRoutes ¶ added in v0.2.0
func (a AppModuleBasic) RegisterRESTRoutes(context context.CLIContext, router *mux.Router)
func (AppModuleBasic) ValidateGenesis ¶ added in v0.2.0
func (a AppModuleBasic) ValidateGenesis(data json.RawMessage) error
type GenesisState ¶
type GenesisState = types.GenesisState
Click to show internal directories.
Click to hide internal directories.