Versions in this module Expand all Collapse all v1 v1.1.0 May 18, 2020 Changes in this version + var DefaultCLIHome = os.ExpandEnv("$HOME/.simapp") + var DefaultConsensusParams = &abci.ConsensusParams + var DefaultNodeHome = os.ExpandEnv("$HOME/.simapp") + var ModuleBasics = module.NewBasicManager(auth.AppModuleBasic{}, genutil.AppModuleBasic{}, bank.AppModuleBasic{}, ...) + func AddTestAddrs(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AddTestAddrsFromPubKeys(app *SimApp, ctx sdk.Context, pubKeys []crypto.PubKey, accAmt sdk.Int) + func AddTestAddrsIncremental(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AppStateFn(cdc *codec.Codec, simManager *module.SimulationManager) simtypes.AppStateFn + func AppStateFromGenesisFileFn(r io.Reader, cdc *codec.Codec, genesisFile string) (tmtypes.GenesisDoc, []simtypes.Account) + func AppStateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc *codec.Codec, ...) (json.RawMessage, []simtypes.Account) + func CheckBalance(t *testing.T, app *SimApp, addr sdk.AccAddress, balances sdk.Coins) + func ConvertAddrsToValAddrs(addrs []sdk.AccAddress) []sdk.ValAddress + func CreateTestPubKeys(numPubKeys int) []crypto.PubKey + func GenSequenceOfTxs(msgs []sdk.Msg, accNums []uint64, initSeqNums []uint64, numToGenerate int, ...) []auth.StdTx + func GetMaccPerms() map[string][]string + func MakeCodecs() (*std.Codec, *codec.Codec) + func NewAnteHandler(ak auth.AccountKeeper, bankKeeper bank.Keeper, ibcKeeper ibc.Keeper, ...) sdk.AnteHandler + func NewPubKeyFromHex(pk string) (res crypto.PubKey) + func SignCheckDeliver(t *testing.T, cdc *codec.Codec, app *bam.BaseApp, header abci.Header, ...) (sdk.GasInfo, *sdk.Result, error) + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + type GenerateAccountStrategy func(int) []sdk.AccAddress + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState() GenesisState + type SimApp struct + AccountKeeper auth.AccountKeeper + BankKeeper bank.Keeper + CapabilityKeeper *capability.Keeper + CrisisKeeper crisis.Keeper + DistrKeeper distr.Keeper + EvidenceKeeper evidence.Keeper + GovKeeper gov.Keeper + IBCKeeper *ibc.Keeper + MintKeeper mint.Keeper + ParamsKeeper params.Keeper + ScopedIBCKeeper capability.ScopedKeeper + ScopedTransferKeeper capability.ScopedKeeper + SlashingKeeper slashing.Keeper + StakingKeeper staking.Keeper + TokenKeeper token.Keeper + TransferKeeper transfer.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, balances ...bank.Balance) *SimApp + func (app *SimApp) AppCodec() *std.Codec + 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, ...) + func (app *SimApp) GetKey(storeKey string) *sdk.KVStoreKey + func (app *SimApp) GetMemKey(storeKey string) *sdk.MemoryStoreKey + 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