Documentation ¶
Index ¶
- func MakeCodec() *codec.Codec
- func ModuleBasics() module.BasicManager
- type AkashApp
- func (app *AkashApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *AkashApp) Codec() *codec.Codec
- func (app *AkashApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *AkashApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
- func (app *AkashApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *AkashApp) LoadHeight(height int64) error
- func (app *AkashApp) ModuleAccountAddrs() map[string]bool
- func (app *AkashApp) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ModuleBasics ¶ added in v0.6.0
func ModuleBasics() module.BasicManager
ModuleBasics returns all app modules basics
Types ¶
type AkashApp ¶ added in v0.6.0
AkashApp extends ABCI appplication
func NewApp ¶ added in v0.6.0
func NewApp( logger log.Logger, db dbm.DB, tio io.Writer, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, options ...func(*bam.BaseApp), ) *AkashApp
NewApp creates and returns a new Akash App.
func (*AkashApp) BeginBlocker ¶ added in v0.6.0
func (app *AkashApp) BeginBlocker( ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
BeginBlocker is a function in which application updates every begin block
func (*AkashApp) EndBlocker ¶ added in v0.6.0
func (app *AkashApp) EndBlocker( ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
EndBlocker is a function in which application updates every end block
func (*AkashApp) ExportAppStateAndValidators ¶ added in v0.6.0
func (app *AkashApp) ExportAppStateAndValidators( forZeroHeight bool, jailWhiteList []string, ) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*AkashApp) InitChainer ¶ added in v0.6.0
func (app *AkashApp) InitChainer( ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain
InitChainer application update at chain initialization
func (*AkashApp) LoadHeight ¶ added in v0.6.0
LoadHeight method of AkashApp loads baseapp application version with given height
func (*AkashApp) ModuleAccountAddrs ¶ added in v0.6.0
ModuleAccountAddrs returns all the app's module account addresses.
func (*AkashApp) SimulationManager ¶ added in v0.6.0
func (app *AkashApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
Click to show internal directories.
Click to hide internal directories.