Versions in this module Expand all Collapse all v0 v0.2.5 Jul 6, 2023 Changes in this version + const Bech32MainPrefix + const Bech32PrefixAccPub + const Bech32PrefixConsAddr + const Bech32PrefixConsPub + const Bech32PrefixValAddr + const Bech32PrefixValPub + const Bip44CoinType + var DefaultNodeHome string + var DefaultOptions = Options + var ModuleBasics = module.NewBasicManager(genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, ...) + func GeneratePrivKeyAddressPairs(n int) (keys []cryptotypes.PrivKey, addrs []sdk.AccAddress) + func GetMaccPerms() map[string][]string + func MakeEncodingConfig() params.EncodingConfig + func RandomAddress() sdk.AccAddress + func RegisterAPIRouteRewrites(router *mux.Router) + func SetBech32AddressPrefixes(config *sdk.Config) + func SetBip44CoinType(config *sdk.Config) + func SetSDKConfig() *sdk.Config + type App struct + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + func NewApp(logger tmlog.Logger, db dbm.DB, homePath string, traceStore io.Writer, ...) *App + func (app *App) AppCodec() codec.Codec + func (app *App) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *App) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *App) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (servertypes.ExportedApp, error) + func (app *App) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *App) InterfaceRegistry() types.InterfaceRegistry + func (app *App) LegacyAmino() *codec.LegacyAmino + func (app *App) LoadHeight(height int64) error + func (app *App) ModuleAccountAddrs() map[string]bool + func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) + func (app *App) RegisterNodeService(clientCtx client.Context) + func (app *App) RegisterServices(cfg module.Configurator) + func (app *App) RegisterTendermintService(clientCtx client.Context) + func (app *App) RegisterTxService(clientCtx client.Context) + func (app *App) SimulationManager() *module.SimulationManager + func (app App) RegisterUpgradeHandlers() + type AuthBankGenesisBuilder struct + AuthGenesis authtypes.GenesisState + BankGenesis banktypes.GenesisState + func NewAuthBankGenesisBuilder() *AuthBankGenesisBuilder + func (builder *AuthBankGenesisBuilder) BuildMarshalled(cdc codec.JSONCodec) GenesisState + func (builder *AuthBankGenesisBuilder) WithAccounts(account ...authtypes.GenesisAccount) *AuthBankGenesisBuilder + func (builder *AuthBankGenesisBuilder) WithBalances(balance ...banktypes.Balance) *AuthBankGenesisBuilder + func (builder *AuthBankGenesisBuilder) WithSimpleAccount(address sdk.AccAddress, balance sdk.Coins) *AuthBankGenesisBuilder + func (builder *AuthBankGenesisBuilder) WithSimpleModuleAccount(moduleName string, balance sdk.Coins, permissions ...string) *AuthBankGenesisBuilder + func (builder *AuthBankGenesisBuilder) WithSimplePeriodicVestingAccount(address sdk.AccAddress, balance sdk.Coins, periods vestingtypes.Periods, ...) *AuthBankGenesisBuilder + type GenesisState map[string]json.RawMessage + func GenesisStateWithSingleValidator(app *TestApp, genesisState GenesisState) GenesisState + func NewDefaultGenesisState() GenesisState + func NewFundedGenStateWithCoins(cdc codec.JSONCodec, coins []sdk.Coins, addresses []sdk.AccAddress) GenesisState + func NewFundedGenStateWithSameCoins(cdc codec.JSONCodec, balance sdk.Coins, addresses []sdk.AccAddress) GenesisState + func NewFundedGenStateWithSameCoinsWithModuleAccount(cdc codec.JSONCodec, coins sdk.Coins, addresses []sdk.AccAddress, ...) GenesisState + type Options struct + EVMMaxGasWanted uint64 + EVMTrace string + InvariantCheckPeriod uint + MempoolAuthAddresses []sdk.AccAddress + MempoolEnableAuth bool + SkipGenesisInvariants bool + SkipLoadLatest bool + SkipUpgradeHeights map[int64]bool + type TallyHandler struct + func NewTallyHandler(gk govkeeper.Keeper, stk stakingkeeper.Keeper, svk savingskeeper.Keeper, ...) TallyHandler + func (th TallyHandler) Tally(ctx sdk.Context, proposal govv1.Proposal) (passes bool, burnDeposits bool, tallyResults govv1.TallyResult) + type TestApp struct + GenesisAddrs []sdk.AccAddress + func NewTestApp() TestApp + func NewTestAppFromSealed() TestApp + func (tApp TestApp) CheckBalance(t *testing.T, ctx sdk.Context, owner sdk.AccAddress, expectedCoins sdk.Coins) + func (tApp TestApp) CreateNewUnbondedValidator(ctx sdk.Context, valAddress sdk.ValAddress, selfDelegation sdkmath.Int) error + func (tApp TestApp) DeleteGenesisValidator(t *testing.T, ctx sdk.Context) + func (tApp TestApp) DeleteGenesisValidatorCoins(t *testing.T, ctx sdk.Context) + func (tApp TestApp) FundAccount(ctx sdk.Context, addr sdk.AccAddress, amounts sdk.Coins) error + func (tApp TestApp) FundModuleAccount(ctx sdk.Context, recipientMod string, amounts sdk.Coins) error + func (tApp TestApp) GetAccountKeeper() authkeeper.AccountKeeper + func (tApp TestApp) GetAuctionKeeper() auctionkeeper.Keeper + func (tApp TestApp) GetBankKeeper() bankkeeper.Keeper + func (tApp TestApp) GetBep3Keeper() bep3keeper.Keeper + func (tApp TestApp) GetCDPKeeper() cdpkeeper.Keeper + func (tApp TestApp) GetCommitteeKeeper() committeekeeper.Keeper + func (tApp TestApp) GetCommunityKeeper() communitykeeper.Keeper + func (tApp TestApp) GetCrisisKeeper() crisiskeeper.Keeper + func (tApp TestApp) GetDistrKeeper() distkeeper.Keeper + func (tApp TestApp) GetEarnKeeper() earnkeeper.Keeper + func (tApp TestApp) GetEvmKeeper() *evmkeeper.Keeper + func (tApp TestApp) GetEvmutilKeeper() evmutilkeeper.Keeper + func (tApp TestApp) GetFeeMarketKeeper() feemarketkeeper.Keeper + func (tApp TestApp) GetGovKeeper() govkeeper.Keeper + func (tApp TestApp) GetIncentiveKeeper() incentivekeeper.Keeper + func (tApp TestApp) GetIssuanceKeeper() issuancekeeper.Keeper + func (tApp TestApp) GetJinxKeeper() jinxkeeper.Keeper + func (tApp TestApp) GetLiquidKeeper() liquidkeeper.Keeper + func (tApp TestApp) GetMintKeeper() mintkeeper.Keeper + func (tApp TestApp) GetModuleAccountBalance(ctx sdk.Context, moduleName string, denom string) sdkmath.Int + func (tApp TestApp) GetNemodistKeeper() nemodistkeeper.Keeper + func (tApp TestApp) GetParamsKeeper() paramskeeper.Keeper + func (tApp TestApp) GetPriceFeedKeeper() pricefeedkeeper.Keeper + func (tApp TestApp) GetRouterKeeper() routerkeeper.Keeper + func (tApp TestApp) GetSavingsKeeper() savingskeeper.Keeper + func (tApp TestApp) GetSlashingKeeper() slashingkeeper.Keeper + func (tApp TestApp) GetStakingKeeper() stakingkeeper.Keeper + func (tApp TestApp) GetSwapKeeper() swapkeeper.Keeper + func (tApp TestApp) InitializeFromGenesisStates(genesisStates ...GenesisState) TestApp + func (tApp TestApp) InitializeFromGenesisStatesWithTime(genTime time.Time, genesisStates ...GenesisState) TestApp + func (tApp TestApp) InitializeFromGenesisStatesWithTimeAndChainID(genTime time.Time, chainID string, genesisStates ...GenesisState) TestApp + func (tApp TestApp) InitializeFromGenesisStatesWithTimeAndChainIDAndHeight(genTime time.Time, chainID string, initialHeight int64, addValidator bool, ...) TestApp + func (tApp TestApp) NewQueryServerTestHelper(ctx sdk.Context) *baseapp.QueryServiceTestHelper + func (tApp TestApp) SetInflation(ctx sdk.Context, value sdk.Dec)