Documentation
¶
Index ¶
- Variables
- func AppConfig() depinject.Config
- type NodeApp
- func (app *NodeApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string) (servertypes.ExportedApp, error)
- func (app *NodeApp) GetKey(storeKey string) *storetypes.KVStoreKey
- func (app *NodeApp) LegacyAmino() *codec.LegacyAmino
- func (app *NodeApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *NodeApp) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
View Source
var AppConfigYAML []byte
View Source
var DefaultNodeHome string
DefaultNodeHome default home directories for the application daemon
Functions ¶
Types ¶
type NodeApp ¶ added in v0.1.0
type NodeApp struct { *runtime.App // keepers AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper StakingKeeper *stakingkeeper.Keeper DistrKeeper distrkeeper.Keeper ConsensusParamsKeeper consensuskeeper.Keeper NFTKeeper nftkeeper.Keeper ObitKeeper obitkeeper.Keeper // contains filtered or unexported fields }
NodeApp 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 NewNodeApp ¶ added in v0.1.0
func NewNodeApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) (*NodeApp, error)
NewNodeApp returns a reference to an initialized NodeApp.
func (*NodeApp) ExportAppStateAndValidators ¶ added in v0.1.0
func (app *NodeApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*NodeApp) GetKey ¶ added in v0.1.0
func (app *NodeApp) GetKey(storeKey string) *storetypes.KVStoreKey
GetKey returns the KVStoreKey for the provided store key.
func (*NodeApp) LegacyAmino ¶ added in v0.1.0
func (app *NodeApp) LegacyAmino() *codec.LegacyAmino
LegacyAmino returns NodeApp's amino codec.
func (*NodeApp) RegisterAPIRoutes ¶ added in v0.1.0
RegisterAPIRoutes registers all application module routes with the provided API server.
func (*NodeApp) SimulationManager ¶ added in v0.1.0
func (app *NodeApp) SimulationManager() *module.SimulationManager
SimulationManager implements the SimulationApp interface
Click to show internal directories.
Click to hide internal directories.