Documentation ¶
Index ¶
- Constants
- Variables
- func InitGenesis(ctx types.Context, _ *codec.Codec, accountKeeper keeper.AccountKeeper, ...)
- type AccountKeeper
- type AppModule
- func (am AppModule) BeginBlocker(ctx types.Context, req abci.RequestBeginBlock)
- func (am AppModule) Committer(ctx types.Context)
- func (am AppModule) EndBlock(ctx types.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx types.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx types.Context, data json.RawMessage) []abci.ValidatorUpdate
- type AppModuleBasic
- type BaseAccount
- type GenesisAccount
- type GenesisAccounts
- type GenesisState
Constants ¶
View Source
const ( ModuleName = types.ModuleName RouteKey = types.RouteKey StoreKey = types.StoreKey )
Variables ¶
View Source
var ( //SetGenesisStateInAppState = types.SetGenesisStateInAppState NewGenesisAccountRaw = types.NewGenesisAccountRaw ModuleCdc = types.ModuleCdc NewQuerier = keeper.NewQuerier NewGensisState = types.NewGenesisState )
Functions ¶
func InitGenesis ¶
func InitGenesis(ctx types.Context, _ *codec.Codec, accountKeeper keeper.AccountKeeper, genesisState GenesisState)
Types ¶
type AccountKeeper ¶
type AccountKeeper = keeper.AccountKeeper
type AppModule ¶
type AppModule struct { AppModuleBasic AccountKeeper keeper.AccountKeeper }
func (AppModule) BeginBlocker ¶
func (am AppModule) BeginBlocker(ctx types.Context, req abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx types.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶ added in v1.5.23
func (am AppModule) ExportGenesis(ctx types.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx types.Context, data json.RawMessage) []abci.ValidatorUpdate
type AppModuleBasic ¶
type AppModuleBasic struct { }
func (AppModuleBasic) DefaultGenesis ¶
func (am AppModuleBasic) DefaultGenesis(_ []tmtypes.GenesisValidator) json.RawMessage
func (AppModuleBasic) Name ¶
func (am AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (am AppModuleBasic) RegisterCodec(codec *codec.Codec)
type BaseAccount ¶
type BaseAccount = types.BaseAccount
type GenesisAccount ¶ added in v1.5.23
type GenesisAccount = types.GenesisAccount
type GenesisAccounts ¶ added in v1.5.23
type GenesisAccounts = types.GenesisAccounts
type GenesisState ¶
type GenesisState = types.GenesisState
func ExportGenesis ¶ added in v1.5.23
func ExportGenesis(ctx types.Context, ak keeper.AccountKeeper) GenesisState
Click to show internal directories.
Click to hide internal directories.