Documentation
¶
Index ¶
- Variables
- func EndBlocker(ctx context.Context, req abci.RequestEndBlock)
- func ExportGenesis(ctx context.Context) types.GenesisState
- func InitGenesis(ctx context.Context, data types.GenesisState)
- func NewAppModule() types.AppModule
- type AppModule
- func (am AppModule) BeginBlock(context.Context, abci.RequestBeginBlock)
- func (am AppModule) EndBlock(ctx context.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
- func (am AppModule) ExportGenesis(ctx context.Context) json.RawMessage
- func (am AppModule) InitGenesis(ctx context.Context, bapp *baseabci.BaseApp, data json.RawMessage) []abci.ValidatorUpdate
- func (am AppModule) RegisterInvariants(ir types.InvariantRegistry)
- func (am AppModule) RegisterQuerier(types.QueryRegistry)
- type AppModuleBasic
- func (amb AppModuleBasic) DefaultGenesis() json.RawMessage
- func (amb AppModuleBasic) GetMapperAndHooks() types.MapperWithHooks
- func (amb AppModuleBasic) GetQueryCmds(cdc *amino.Codec) []*cobra.Command
- func (amb AppModuleBasic) GetTxCmds(cdc *amino.Codec) []*cobra.Command
- func (amb AppModuleBasic) Name() string
- func (amb AppModuleBasic) RegisterCodec(cdc *amino.Codec)
- func (amb AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
- type GenesisState
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ModuleName = "bank" Cdc = txs.Cdc GetMapper = mapper.GetMapper RegisterCodec = txs.RegisterCodec NewGenesisState = types.NewGenesisState DefaultGenesis = types.DefaultGenesisState ValidateGenesis = types.ValidateGenesis TxCommands = client.TxCommands NeedInvariantCheck = mapper.NeedInvariantCheck )
Functions ¶
func EndBlocker ¶
func EndBlocker(ctx context.Context, req abci.RequestEndBlock)
func ExportGenesis ¶
func ExportGenesis(ctx context.Context) types.GenesisState
func InitGenesis ¶
func InitGenesis(ctx context.Context, data types.GenesisState)
func NewAppModule ¶
Types ¶
type AppModule ¶
type AppModule struct {
AppModuleBasic
}
app module
func (AppModule) BeginBlock ¶
func (am AppModule) BeginBlock(context.Context, abci.RequestBeginBlock)
func (AppModule) EndBlock ¶
func (am AppModule) EndBlock(ctx context.Context, req abci.RequestEndBlock) []abci.ValidatorUpdate
func (AppModule) ExportGenesis ¶
func (am AppModule) ExportGenesis(ctx context.Context) json.RawMessage
func (AppModule) InitGenesis ¶
func (am AppModule) InitGenesis(ctx context.Context, bapp *baseabci.BaseApp, data json.RawMessage) []abci.ValidatorUpdate
func (AppModule) RegisterInvariants ¶
func (am AppModule) RegisterInvariants(ir types.InvariantRegistry)
func (AppModule) RegisterQuerier ¶
func (am AppModule) RegisterQuerier(types.QueryRegistry)
type AppModuleBasic ¶
type AppModuleBasic struct{}
app module basics object
func (AppModuleBasic) DefaultGenesis ¶
func (amb AppModuleBasic) DefaultGenesis() json.RawMessage
func (AppModuleBasic) GetMapperAndHooks ¶
func (amb AppModuleBasic) GetMapperAndHooks() types.MapperWithHooks
func (AppModuleBasic) GetQueryCmds ¶
func (amb AppModuleBasic) GetQueryCmds(cdc *amino.Codec) []*cobra.Command
func (AppModuleBasic) GetTxCmds ¶
func (amb AppModuleBasic) GetTxCmds(cdc *amino.Codec) []*cobra.Command
func (AppModuleBasic) Name ¶
func (amb AppModuleBasic) Name() string
func (AppModuleBasic) RegisterCodec ¶
func (amb AppModuleBasic) RegisterCodec(cdc *amino.Codec)
func (AppModuleBasic) ValidateGenesis ¶
func (amb AppModuleBasic) ValidateGenesis(bz json.RawMessage) error
type GenesisState ¶
type GenesisState = types.GenesisState
Click to show internal directories.
Click to hide internal directories.