Documentation
¶
Index ¶
- func NoOpMempoolOption() func(*baseapp.BaseApp)
- type IrisApp
- func (app *IrisApp) AppCodec() codec.Codec
- func (app *IrisApp) AutoCliOpts() autocli.AppOptions
- func (app *IrisApp) BasicManager() module.BasicManager
- func (app *IrisApp) BeginBlocker(ctx sdk.Context) (sdk.BeginBlock, error)
- func (app *IrisApp) BlockedModuleAccountAddrs() map[string]bool
- func (app *IrisApp) DefaultGenesis() map[string]json.RawMessage
- func (app *IrisApp) EncodingConfig() params.EncodingConfig
- func (app *IrisApp) EndBlocker(ctx sdk.Context) (sdk.EndBlock, error)
- func (app *IrisApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string) (servertypes.ExportedApp, error)
- func (app *IrisApp) ExportGenesis(ctx sdk.Context) (map[string]json.RawMessage, error)
- func (app *IrisApp) Init()
- func (app *IrisApp) InitChainer(ctx sdk.Context, req *abci.RequestInitChain) (*abci.ResponseInitChain, error)
- func (app *IrisApp) InterfaceRegistry() types.InterfaceRegistry
- func (app *IrisApp) LegacyAmino() *codec.LegacyAmino
- func (app *IrisApp) LoadHeight(height int64) error
- func (app *IrisApp) ModuleAccountAddrs() map[string]bool
- func (app *IrisApp) Name() string
- func (app *IrisApp) PreBlocker(ctx sdk.Context, _ *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error)
- func (app *IrisApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *IrisApp) RegisterNodeService(clientCtx client.Context, c config.Config)
- func (app *IrisApp) RegisterServices()
- func (app *IrisApp) RegisterTendermintService(clientCtx client.Context)
- func (app *IrisApp) RegisterTxService(clientCtx client.Context)
- func (app *IrisApp) RegisterUpgradePlans()
- func (app *IrisApp) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NoOpMempoolOption ¶
NoOpMempoolOption returns a function that sets up a no-op mempool for the given BaseApp.
The function takes a pointer to a BaseApp as a parameter and returns nothing.
Types ¶
type IrisApp ¶
type IrisApp struct {
*baseapp.BaseApp
keepers.AppKeepers
// contains filtered or unexported fields
}
IrisApp extends an ABCI application, but with most of its parameters exported. They are exported for convenience in creating helper functions, as object capabilities aren't needed for testing.
func NewIrisApp ¶
func NewIrisApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) *IrisApp
NewIrisApp returns a reference to an initialized IrisApp.
func (*IrisApp) AppCodec ¶
AppCodec returns IrisApp's app codec.
NOTE: This is solely to be used for testing purposes as it may be desirable for modules to register their own custom testing types.
func (*IrisApp) AutoCliOpts ¶
func (app *IrisApp) AutoCliOpts() autocli.AppOptions
AutoCliOpts returns the autocli options for the app.
func (*IrisApp) BasicManager ¶
func (app *IrisApp) BasicManager() module.BasicManager
BasicManager return the basic manager
func (*IrisApp) BeginBlocker ¶
BeginBlocker application updates every begin block
func (*IrisApp) BlockedModuleAccountAddrs ¶
BlockedModuleAccountAddrs returns all the app's blocked module account addresses.
func (*IrisApp) DefaultGenesis ¶
func (app *IrisApp) DefaultGenesis() map[string]json.RawMessage
DefaultGenesis returns a default genesis from the registered AppModuleBasic's.
func (*IrisApp) EncodingConfig ¶
func (app *IrisApp) EncodingConfig() params.EncodingConfig
EncodingConfig returns IrisApp's EncodingConfig
func (*IrisApp) EndBlocker ¶
EndBlocker application updates every end block
func (*IrisApp) ExportAppStateAndValidators ¶
func (app *IrisApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*IrisApp) ExportGenesis ¶
ExportGenesis returns the KVStoreKey for the provided store key.
NOTE: This is solely to be used for testing purposes.
func (*IrisApp) InitChainer ¶
func (app *IrisApp) InitChainer(ctx sdk.Context, req *abci.RequestInitChain) (*abci.ResponseInitChain, error)
InitChainer application update at chain initialization
func (*IrisApp) InterfaceRegistry ¶
func (app *IrisApp) InterfaceRegistry() types.InterfaceRegistry
InterfaceRegistry returns IrisApp's InterfaceRegistry
func (*IrisApp) LegacyAmino ¶
func (app *IrisApp) LegacyAmino() *codec.LegacyAmino
LegacyAmino returns SimApp's amino codec.
NOTE: This is solely to be used for testing purposes as it may be desirable for modules to register their own custom testing types.
func (*IrisApp) LoadHeight ¶
LoadHeight loads a particular height
func (*IrisApp) ModuleAccountAddrs ¶
ModuleAccountAddrs returns all the app's module account addresses.
func (*IrisApp) PreBlocker ¶
func (app *IrisApp) PreBlocker(ctx sdk.Context, _ *abci.RequestFinalizeBlock) (*sdk.ResponsePreBlock, error)
PreBlocker application updates every pre block
func (*IrisApp) RegisterAPIRoutes ¶
RegisterAPIRoutes registers all application module routes with the provided API server.
func (*IrisApp) RegisterNodeService ¶
RegisterNodeService registers the node service.
It takes a client context as a parameter and does not return anything.
func (*IrisApp) RegisterServices ¶
func (app *IrisApp) RegisterServices()
RegisterServices implements the Application.RegisterTxService method.
func (*IrisApp) RegisterTendermintService ¶
RegisterTendermintService implements the Application.RegisterTendermintService method.
func (*IrisApp) RegisterTxService ¶
RegisterTxService implements the Application.RegisterTxService method.
func (*IrisApp) RegisterUpgradePlans ¶
func (app *IrisApp) RegisterUpgradePlans()
RegisterUpgradePlans register a handler of upgrade plan
func (*IrisApp) SimulationManager ¶
func (app *IrisApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface