Versions in this module Expand all Collapse all v0 v0.1.1 May 14, 2023 Changes in this version + var DefaultCLIHome = os.ExpandEnv("$HOME/.simapp") + var DefaultNodeHome = os.ExpandEnv("$HOME/.simapp") + var FlagAllInvariantsValue bool + var FlagBlockSizeValue int + var FlagCommitValue bool + var FlagEnabledValue bool + var FlagExportParamsHeightValue int + var FlagExportParamsPathValue string + var FlagExportStatePathValue string + var FlagExportStatsPathValue string + var FlagGenesisFileValue string + var FlagGenesisTimeValue int64 + var FlagInitialBlockHeightValue int + var FlagLeanValue bool + var FlagNumBlocksValue int + var FlagOnOperationValue bool + var FlagParamsFileValue string + var FlagPeriodValue uint + var FlagSeedValue int64 + var FlagVerboseValue bool + var ModuleBasics = module.NewBasicManager(auth.AppModuleBasic{}, supply.AppModuleBasic{}, genutil.AppModuleBasic{}, ...) + func AddTestAddrs(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AppStateFn(cdc *codec.Codec, simManager *module.SimulationManager) simulation.AppStateFn + func AppStateFromGenesisFileFn(r io.Reader, cdc *codec.Codec, genesisFile string) (tmtypes.GenesisDoc, []simulation.Account) + func AppStateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc *codec.Codec, ...) (json.RawMessage, []simulation.Account) + func CheckBalance(t *testing.T, app *SimApp, addr sdk.AccAddress, exp sdk.Coins) + func CheckExportSimulation(app App, config simulation.Config, params simulation.Params) error + func GenSequenceOfTxs(msgs []sdk.Msg, accNums []uint64, initSeqNums []uint64, numToGenerate int, ...) []*auth.StdTx + func GetMaccPerms() map[string][]string + func GetSimulationLog(storeName string, sdr sdk.StoreDecoderRegistry, cdc *codec.Codec, ...) (log string) + func GetSimulatorFlags() + func MakeCodec() *codec.Codec + func NewConfigFromFlags() simulation.Config + func PrintStats(db dbm.DB) + func SetupSimulation(dirPrefix, dbName string) (simulation.Config, dbm.DB, string, log.Logger, bool, error) + func SignCheckDeliver(t *testing.T, cdc *codec.Codec, app *bam.BaseApp, header abci.Header, ...) (sdk.GasInfo, *sdk.Result, error) + func SimulationOperations(app App, cdc *codec.Codec, config simulation.Config) []simulation.WeightedOperation + type App interface + BeginBlocker func(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + Codec func() *codec.Codec + EndBlocker func(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + ExportAppStateAndValidators func(forZeroHeight bool, jailWhiteList []string) (json.RawMessage, []tmtypes.GenesisValidator, error) + InitChainer func(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + LoadHeight func(height int64) error + ModuleAccountAddrs func() map[string]bool + Name func() string + SimulationManager func() *module.SimulationManager + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState() GenesisState + type SimApp struct + AccountKeeper auth.AccountKeeper + BankKeeper bank.Keeper + CrisisKeeper crisis.Keeper + DistrKeeper distr.Keeper + EvidenceKeeper evidence.Keeper + GovKeeper gov.Keeper + MintKeeper mint.Keeper + ParamsKeeper params.Keeper + SlashingKeeper slashing.Keeper + StakingKeeper staking.Keeper + SupplyKeeper supply.Keeper + UpgradeKeeper upgrade.Keeper + func NewSimApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *SimApp + func Setup(isCheckTx bool) *SimApp + func SetupWithGenesisAccounts(genAccs []authexported.GenesisAccount) *SimApp + func (app *SimApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *SimApp) BlacklistedAccAddrs() map[string]bool + func (app *SimApp) Codec() *codec.Codec + func (app *SimApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (appState json.RawMessage, validators []tmtypes.GenesisValidator, err error) + func (app *SimApp) GetKey(storeKey string) *sdk.KVStoreKey + func (app *SimApp) GetSubspace(moduleName string) params.Subspace + func (app *SimApp) GetTKey(storeKey string) *sdk.TransientStoreKey + func (app *SimApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *SimApp) LoadHeight(height int64) error + func (app *SimApp) ModuleAccountAddrs() map[string]bool + func (app *SimApp) Name() string + func (app *SimApp) SimulationManager() *module.SimulationManager + type SimGenesisAccount struct + DelegatedFree sdk.Coins + DelegatedVesting sdk.Coins + EndTime int64 + ModuleName string + ModulePermissions []string + OriginalVesting sdk.Coins + StartTime int64 + func (sga SimGenesisAccount) Validate() error