auth

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultCodespace = types.DefaultParamspace
	StoreKey         = types.StoreKey
	ModuleName       = types.ModuleName
	FeeCollectorName = types.FeeCollectorName
)

Variables

View Source
var (
	ErrTxValidateBasic = types.ErrTxValidateBasic
	NewAuthKeeper      = keeper.NewAuthKeeper
	NewGenesisState    = types.NewGenesisState
)

Functions

func InitGenesis

func InitGenesis(ctx types.Context, ak AuthKeeper, data GenesisState)

Types

type AppModule

type AppModule struct {
	AppModuleBasic

	AuthKeeper AuthKeeper
}

func (AppModule) BeginBlocker

func (am AppModule) BeginBlocker(ctx abci_types.Context, req abci.RequestBeginBlock)

func (AppModule) Committer

func (am AppModule) Committer(ctx abci_types.Context)

func (AppModule) EndBlock

func (AppModule) ExportGenesis added in v1.5.23

func (am AppModule) ExportGenesis(ctx abci_types.Context) json.RawMessage

func (AppModule) InitGenesis

func (am AppModule) InitGenesis(ctx abci_types.Context, data json.RawMessage) []abci.ValidatorUpdate

func (AppModule) RegisterServices

func (am AppModule) RegisterServices(cfg module.Configurator)

type AppModuleBasic

type AppModuleBasic struct {
}

func (AppModuleBasic) DefaultGenesis

func (AppModuleBasic) Name

func (AppModuleBasic) Name() string

Name returns the auth module's name.

func (AppModuleBasic) RegisterCodec

func (AppModuleBasic) RegisterCodec(cdc *codec.Codec)

func (AppModuleBasic) RegisterGRPCGatewayRoutes

func (am AppModuleBasic) RegisterGRPCGatewayRoutes(clientCtx client.Context, mux *runtime.ServeMux)

func (AppModuleBasic) RegisterInterfaces

func (AppModuleBasic) RegisterInterfaces(registry codectypes.InterfaceRegistry)

type AuthKeeper

type AuthKeeper = keeper.AuthKeeper

type GenesisState

type GenesisState = types.GenesisState

func ExportGenesis added in v1.5.23

func ExportGenesis(ctx types.Context, ak AuthKeeper) GenesisState

type Params

type Params = types.Params

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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