Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppConfigYAML []byte
View Source
var DefaultNodeHome string
Functions ¶
Types ¶
type SimApp ¶
type SimApp struct { *runtime.App // Cosmos Modules AccountKeeper authkeeper.AccountKeeper BankKeeper bankkeeper.Keeper ConsensusKeeper consensuskeeper.Keeper ParamsKeeper paramskeeper.Keeper StakingKeeper *stakingkeeper.Keeper UpgradeKeeper *upgradekeeper.Keeper // Custom Modules GlobalFeeKeeper *globalfeekeeper.Keeper // contains filtered or unexported fields }
SimApp 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 NewSimApp ¶
func NewSimApp( logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, appOpts servertypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) (*SimApp, error)
NewSimApp returns a reference to an initialized SimApp.
func (*SimApp) ExportAppStateAndValidators ¶
func (app *SimApp) ExportAppStateAndValidators( forZeroHeight bool, jailAllowedAddrs []string, modulesToExport []string, ) (servertypes.ExportedApp, error)
ExportAppStateAndValidators exports the state of the application for a genesis file.
func (*SimApp) LegacyAmino ¶
func (app *SimApp) LegacyAmino() *codec.LegacyAmino
func (*SimApp) SimulationManager ¶
func (app *SimApp) SimulationManager() *module.SimulationManager
Click to show internal directories.
Click to hide internal directories.