vpn

package
v0.6.0-rc0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2021 License: Apache-2.0 Imports: 25 Imported by: 5

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

Index

Constants

View Source
const (
	ModuleName   = types.ModuleName
	RouterKey    = types.RouterKey
	QuerierRoute = types.QuerierRoute
	StoreKey     = types.StoreKey
)

Variables

View Source
var (
	// functions aliases
	RegisterLegacyAminoCodec = types.RegisterLegacyAminoCodec
	RegisterInterfaces       = types.RegisterInterfaces
	NewGenesisState          = types.NewGenesisState
	DefaultGenesisState      = types.DefaultGenesisState
	NewKeeper                = keeper.NewKeeper

	// variable aliases
	ModuleCdc                      = types.ModuleCdc
	ErrorMarshal                   = types.ErrorMarshal
	ErrorUnmarshal                 = types.ErrorUnmarshal
	ErrorUnknownMsgType            = types.ErrorUnknownMsgType
	ErrorUnknownQueryType          = types.ErrorUnknownQueryType
	ErrorInvalidField              = types.ErrorInvalidField
	ErrInvalidLengthGenesis        = types.ErrInvalidLengthGenesis
	ErrIntOverflowGenesis          = types.ErrIntOverflowGenesis
	ErrUnexpectedEndOfGroupGenesis = types.ErrUnexpectedEndOfGroupGenesis
)

Functions

func EndBlock

func EndBlock(ctx sdk.Context, k keeper.Keeper) abci.ValidatorUpdates

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) *types.GenesisState

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, state *types.GenesisState)

func NewHandler

func NewHandler(k keeper.Keeper) sdk.Handler

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 (AppModule) ExportGenesis added in v0.2.0

func (a AppModule) ExportGenesis(ctx sdk.Context, cdc codec.JSONMarshaler) json.RawMessage

func (AppModule) GenerateGenesisState added in v0.4.0

func (a AppModule) GenerateGenesisState(_ *module.SimulationState)

func (AppModule) InitGenesis added in v0.2.0

func (a AppModule) InitGenesis(ctx sdk.Context, cdc codec.JSONMarshaler, message json.RawMessage) []abci.ValidatorUpdate

func (AppModule) LegacyQuerierHandler added in v0.6.0

func (a AppModule) LegacyQuerierHandler(_ *codec.LegacyAmino) sdk.Querier

func (AppModule) ProposalContents added in v0.4.0

func (AppModule) QuerierRoute added in v0.2.0

func (a AppModule) QuerierRoute() string

func (AppModule) RandomizedParams added in v0.4.0

func (a AppModule) RandomizedParams(_ *rand.Rand) []simulation.ParamChange

func (AppModule) RegisterInvariants added in v0.2.0

func (a AppModule) RegisterInvariants(_ sdk.InvariantRegistry)

func (AppModule) RegisterServices added in v0.6.0

func (a AppModule) RegisterServices(configurator module.Configurator)

func (AppModule) RegisterStoreDecoder added in v0.4.0

func (a AppModule) RegisterStoreDecoder(_ sdk.StoreDecoderRegistry)

func (AppModule) Route added in v0.2.0

func (a AppModule) Route() sdk.Route

func (AppModule) WeightedOperations added in v0.4.0

func (a AppModule) WeightedOperations(_ module.SimulationState) []simulation.WeightedOperation

type AppModuleBasic added in v0.2.0

type AppModuleBasic struct{}

func (AppModuleBasic) DefaultGenesis added in v0.2.0

func (a AppModuleBasic) DefaultGenesis(cdc codec.JSONMarshaler) json.RawMessage

func (AppModuleBasic) GetQueryCmd added in v0.2.0

func (a AppModuleBasic) GetQueryCmd() *cobra.Command

func (AppModuleBasic) GetTxCmd added in v0.2.0

func (a AppModuleBasic) GetTxCmd() *cobra.Command

func (AppModuleBasic) Name added in v0.2.0

func (a AppModuleBasic) Name() string

func (AppModuleBasic) RegisterGRPCGatewayRoutes added in v0.6.0

func (a AppModuleBasic) RegisterGRPCGatewayRoutes(ctx client.Context, mux *runtime.ServeMux)

func (AppModuleBasic) RegisterInterfaces added in v0.6.0

func (a AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)

func (AppModuleBasic) RegisterLegacyAminoCodec added in v0.6.0

func (a AppModuleBasic) RegisterLegacyAminoCodec(amino *codec.LegacyAmino)

func (AppModuleBasic) RegisterRESTRoutes added in v0.2.0

func (a AppModuleBasic) RegisterRESTRoutes(_ client.Context, _ *mux.Router)

func (AppModuleBasic) ValidateGenesis added in v0.2.0

func (a AppModuleBasic) ValidateGenesis(cdc codec.JSONMarshaler, _ client.TxEncodingConfig, message json.RawMessage) error

type GenesisState

type GenesisState = types.GenesisState

type Keeper

type Keeper = keeper.Keeper

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL