Versions in this module Expand all Collapse all v1 v1.7.3 Jan 2, 2023 v1.7.2 Jan 2, 2023 Changes in this version + var DefaultConsensusParams = &abci.ConsensusParams + var DefaultNodeHome string + 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 []cryptotypes.PubKey, accAmt sdk.Int) + func AddTestAddrsIncremental(app *SimApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func AppStateFn(cdc codec.JSONCodec, simManager *module.SimulationManager) simtypes.AppStateFn + func AppStateFromGenesisFileFn(r io.Reader, cdc codec.JSONCodec, genesisFile string) (tmtypes.GenesisDoc, []simtypes.Account) + func AppStateRandomizedFn(simManager *module.SimulationManager, r *rand.Rand, cdc codec.JSONCodec, ...) (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 CreateTestAddrs(numAddrs int) []sdk.AccAddress + func CreateTestPubKeys(numPubKeys int) []cryptotypes.PubKey + func FundAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, addr sdk.AccAddress, ...) error + func FundModuleAccount(bankKeeper bankkeeper.Keeper, ctx sdk.Context, recipientMod string, ...) error + func GenSequenceOfTxs(txGen client.TxConfig, msgs []sdk.Msg, accNums []uint64, initSeqNums []uint64, ...) ([]sdk.Tx, error) + func GetMaccPerms() map[string][]string + func MakeTestEncodingConfig() simappparams.EncodingConfig + func NewConfig() network.Config + func NewPubKeyFromHex(pk string) (res cryptotypes.PubKey) + func QueryAccountExec(clientCtx client.Context, address string, extraArgs ...string) (testutil.BufferWriter, error) + func QueryBalanceExec(clientCtx client.Context, address string, denom string, extraArgs ...string) (testutil.BufferWriter, error) + func QueryBalancesExec(clientCtx client.Context, address string, extraArgs ...string) (testutil.BufferWriter, error) + func RegisterSwaggerAPI(ctx client.Context, rtr *mux.Router) + func SignCheckDeliver(t *testing.T, txCfg client.TxConfig, app *bam.BaseApp, header tmproto.Header, ...) (sdk.GasInfo, *sdk.Result, error) + func SimAppConstructor(val network.Validator) servertypes.Application + func TestAddr(addr string, bech string) (sdk.AccAddress, error) + type EmptyAppOptions struct + func (ao EmptyAppOptions) Get(o string) interface{} + type GenerateAccountStrategy func(int) []sdk.AccAddress + type GenesisState map[string]json.RawMessage + func NewDefaultGenesisState(cdc codec.JSONCodec) GenesisState + type SimApp struct + AccountKeeper authkeeper.AccountKeeper + BankKeeper bankkeeper.Keeper + CapabilityKeeper *capabilitykeeper.Keeper + CoinswapKeeper coinswapkeeper.Keeper + CrisisKeeper crisiskeeper.Keeper + DistrKeeper distrkeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FarmKeeper farmkeeper.Keeper + FeeGrantKeeper feegrantkeeper.Keeper + GovKeeper govkeeper.Keeper + HTLCKeeper htlckeeper.Keeper + MTKeeper mtkeeper.Keeper + MintKeeper mintkeeper.Keeper + NFTKeeper nftkeeper.Keeper + OracleKeeper oracleKeeper.Keeper + ParamsKeeper paramskeeper.Keeper + RandomKeeper randomkeeper.Keeper + RecordKeeper recordkeeper.Keeper + ServiceKeeper servicekeeper.Keeper + SlashingKeeper slashingkeeper.Keeper + StakingKeeper stakingkeeper.Keeper + TokenKeeper tokenkeeper.Keeper + UpgradeKeeper upgradekeeper.Keeper + func NewSimApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *SimApp + func Setup(t *testing.T, isCheckTx bool) *SimApp + func SetupWithGenesisAccounts(t *testing.T, genAccs []authtypes.GenesisAccount, ...) *SimApp + func SetupWithGenesisStateFn(t *testing.T, merge func(cdc codec.Codec, state GenesisState) GenesisState) *SimApp + func SetupWithGenesisValSet(t *testing.T, valSet *tmtypes.ValidatorSet, genAccs []authtypes.GenesisAccount, ...) *SimApp + func (app *SimApp) AppCodec() codec.Codec + func (app *SimApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *SimApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *SimApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (servertypes.ExportedApp, error) + func (app *SimApp) GetKey(storeKey string) *storetypes.KVStoreKey + func (app *SimApp) GetMemKey(storeKey string) *storetypes.MemoryStoreKey + func (app *SimApp) GetSubspace(moduleName string) paramstypes.Subspace + func (app *SimApp) GetTKey(storeKey string) *storetypes.TransientStoreKey + func (app *SimApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *SimApp) InterfaceRegistry() types.InterfaceRegistry + func (app *SimApp) LegacyAmino() *codec.LegacyAmino + func (app *SimApp) LoadHeight(height int64) error + func (app *SimApp) ModuleAccountAddrs() map[string]bool + func (app *SimApp) Name() string + func (app *SimApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) + func (app *SimApp) RegisterTendermintService(clientCtx client.Context) + func (app *SimApp) RegisterTxService(clientCtx client.Context) + func (app *SimApp) SimulationManager() *module.SimulationManager