Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2023 Changes in this version + const AccountAddressPrefix + var AccountPubKeyPrefix = AccountAddressPrefix + "pub" + var ConsNodeAddressPrefix = AccountAddressPrefix + "valcons" + var ConsNodePubKeyPrefix = AccountAddressPrefix + "valconspub" + var DefaultConsensusParams = &abci.ConsensusParams + var DefaultNodeHome = os.ExpandEnv("$HOME/.gridnoded") + var ModuleBasics = module.NewBasicManager(genutil.AppModuleBasic{}, auth.AppModuleBasic{}, bank.AppModuleBasic{}, ...) + var ValidatorAddressPrefix = AccountAddressPrefix + "valoper" + var ValidatorPubKeyPrefix = AccountAddressPrefix + "valoperpub" + func AddCoinsToAccount(moduleName string, bankKeeper keeper.Keeper, ctx sdk.Context, ...) error + func AddTestAddrs(app *GridironchainApp, ctx sdk.Context, accNum int, accAmt sdk.Int) []sdk.AccAddress + func ConvertAddrsToValAddrs(addrs []sdk.AccAddress) []sdk.ValAddress + func CreateRandomAccounts(accNum int) []sdk.AccAddress + func CreateTestPubKeys(numPubKeys int) []cryptotypes.PubKey + func ExportAppState(name string, app *GridironchainApp, ctx sdk.Context) + func GetMaccPerms() map[string][]string + func MakeTestEncodingConfig() simappparams.EncodingConfig + func NewPubKeyFromHex(pk string) (res cryptotypes.PubKey) + func RegisterSwaggerAPI(_ client.Context, rtr *mux.Router) + func SetConfig(seal bool) + func SetupHandlers(app *GridironchainApp) + 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.Codec) GenesisState + type GridironchainApp struct + AccountKeeper authkeeper.AccountKeeper + AdminKeeper adminkeeper.Keeper + AuthzKeeper authzkeeper.Keeper + BankKeeper bankkeeper.Keeper + CapabilityKeeper *capabilitykeeper.Keeper + ClpKeeper clpkeeper.Keeper + CrisisKeeper crisiskeeper.Keeper + DispensationKeeper dispkeeper.Keeper + DistrKeeper distrkeeper.Keeper + EthbridgeKeeper ethbridgekeeper.Keeper + EvidenceKeeper evidencekeeper.Keeper + FeegrantKeeper feegrantkeeper.Keeper + GovKeeper govkeeper.Keeper + IBCKeeper *ibckeeper.Keeper + MarginKeeper marginkeeper.Keeper + MintKeeper mintkeeper.Keeper + OracleKeeper oraclekeeper.Keeper + ParamsKeeper paramskeeper.Keeper + PortKeeper ibcmock.PortKeeper + ScopedIBCKeeper capabilitykeeper.ScopedKeeper + ScopedIBCMockKeeper capabilitykeeper.ScopedKeeper + ScopedTransferKeeper capabilitykeeper.ScopedKeeper + SlashingKeeper slashingkeeper.Keeper + StakingKeeper stakingkeeper.Keeper + TokenRegistryKeeper tokenregistrytypes.Keeper + TransferKeeper ibctransferkeeper.Keeper + UpgradeKeeper upgradekeeper.Keeper + func NewGridApp(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *GridironchainApp + func NewGridAppWithBlacklist(logger log.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) *GridironchainApp + func Setup(isCheckTx bool) *GridironchainApp + func SetupFromGenesis(isCheckTx bool, ...) *GridironchainApp + func SetupWithBlacklist(isCheckTx bool, blacklist []sdk.AccAddress) *GridironchainApp + func (app *GridironchainApp) AppCodec() codec.Codec + func (app *GridironchainApp) BeginBlocker(ctx sdk.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock + func (app *GridironchainApp) EndBlocker(ctx sdk.Context, req abci.RequestEndBlock) abci.ResponseEndBlock + func (app *GridironchainApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (servertypes.ExportedApp, error) + func (app *GridironchainApp) GetKey(storeKey string) *sdk.KVStoreKey + func (app *GridironchainApp) GetMemKey(storeKey string) *sdk.MemoryStoreKey + func (app *GridironchainApp) GetSubspace(moduleName string) paramstypes.Subspace + func (app *GridironchainApp) GetTKey(storeKey string) *sdk.TransientStoreKey + func (app *GridironchainApp) InitChainer(ctx sdk.Context, req abci.RequestInitChain) abci.ResponseInitChain + func (app *GridironchainApp) LegacyAmino() *codec.LegacyAmino + func (app *GridironchainApp) LoadHeight(height int64) error + func (app *GridironchainApp) ModuleAccountAddrs() map[string]bool + func (app *GridironchainApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) + func (app *GridironchainApp) RegisterTendermintService(clientCtx client.Context) + func (app *GridironchainApp) RegisterTxService(clientCtx client.Context) + func (app *GridironchainApp) SimulationManager() *module.SimulationManager