Documentation ¶
Index ¶
- func GetModuleAccountPermissions() map[string][]string
- func NewApplication(name string, moduleBasicManager module.BasicManager, ...) applications.Application
- func NewSimulationApplication(logger tmLog.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, ...) applications.SimulationApplication
- func RegisterSwaggerAPI(ctx client.Context, rtr *mux.Router)
- type GenesisState
- type SimulationApplication
- func (app *SimulationApplication) BeginBlocker(ctx sdkTypes.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
- func (app *SimulationApplication) EndBlocker(ctx sdkTypes.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
- func (app *SimulationApplication) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (serverTypes.ExportedApp, error)
- func (app *SimulationApplication) GetAppCodec() helpers.Codec
- func (app *SimulationApplication) GetBaseApp() *baseapp.BaseApp
- func (app *SimulationApplication) GetCrisisKeeper() crisisKeeper.Keeper
- func (app *SimulationApplication) GetKey(storeKey string) *sdkTypes.KVStoreKey
- func (app *SimulationApplication) GetMemKey(storeKey string) *sdkTypes.MemoryStoreKey
- func (app *SimulationApplication) GetModuleManager() *module.Manager
- func (app *SimulationApplication) GetSubspace(moduleName string) paramsTypes.Subspace
- func (app *SimulationApplication) GetTKey(storeKey string) *sdkTypes.TransientStoreKey
- func (app *SimulationApplication) InitChainer(ctx sdkTypes.Context, req abci.RequestInitChain) abci.ResponseInitChain
- func (app *SimulationApplication) InterfaceRegistry() types.InterfaceRegistry
- func (app *SimulationApplication) LegacyAmino() *codec.LegacyAmino
- func (app *SimulationApplication) LoadHeight(height int64) error
- func (app *SimulationApplication) ModuleAccountAddrs() map[string]bool
- func (app *SimulationApplication) Name() string
- func (app *SimulationApplication) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
- func (app *SimulationApplication) RegisterTendermintService(clientCtx client.Context)
- func (app *SimulationApplication) RegisterTxService(clientCtx client.Context)
- func (app *SimulationApplication) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶
func NewApplication(name string, moduleBasicManager module.BasicManager, moduleAccountPermissions map[string][]string, tokenReceiveAllowedModules map[string]bool) applications.Application
func NewSimulationApplication ¶
func NewSimulationApplication(logger tmLog.Logger, db dbm.DB, traceStore io.Writer, loadLatest bool, skipUpgradeHeights map[int64]bool, homePath string, invCheckPeriod uint, encodingConfig simAppParams.EncodingConfig, appOpts serverTypes.AppOptions, baseAppOptions ...func(*baseapp.BaseApp), ) applications.SimulationApplication
Types ¶
type GenesisState ¶
type GenesisState map[string]json.RawMessage
func NewDefaultGenesisState ¶
func NewDefaultGenesisState(cdc codec.JSONCodec) GenesisState
type SimulationApplication ¶
type SimulationApplication struct { *baseapp.BaseApp AccountKeeper authKeeper.AccountKeeper BankKeeper bankKeeper.Keeper CapabilityKeeper *capabilityKeeper.Keeper StakingKeeper stakingKeeper.Keeper SlashingKeeper slashingKeeper.Keeper MintKeeper mintKeeper.Keeper DistributionKeeper distributionKeeper.Keeper GovKeeper govKeeper.Keeper CrisisKeeper crisisKeeper.Keeper UpgradeKeeper upgradeKeeper.Keeper ParamsKeeper paramsKeeper.Keeper AuthzKeeper authzKeeper.Keeper EvidenceKeeper evidenceKeeper.Keeper FeeGrantKeeper feeGrantKeeper.Keeper // contains filtered or unexported fields }
func (*SimulationApplication) BeginBlocker ¶
func (app *SimulationApplication) BeginBlocker(ctx sdkTypes.Context, req abci.RequestBeginBlock) abci.ResponseBeginBlock
func (*SimulationApplication) EndBlocker ¶
func (app *SimulationApplication) EndBlocker(ctx sdkTypes.Context, req abci.RequestEndBlock) abci.ResponseEndBlock
func (*SimulationApplication) ExportAppStateAndValidators ¶
func (app *SimulationApplication) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedAddrs []string) (serverTypes.ExportedApp, error)
func (*SimulationApplication) GetAppCodec ¶
func (app *SimulationApplication) GetAppCodec() helpers.Codec
func (*SimulationApplication) GetBaseApp ¶
func (app *SimulationApplication) GetBaseApp() *baseapp.BaseApp
func (*SimulationApplication) GetCrisisKeeper ¶
func (app *SimulationApplication) GetCrisisKeeper() crisisKeeper.Keeper
func (*SimulationApplication) GetKey ¶
func (app *SimulationApplication) GetKey(storeKey string) *sdkTypes.KVStoreKey
func (*SimulationApplication) GetMemKey ¶
func (app *SimulationApplication) GetMemKey(storeKey string) *sdkTypes.MemoryStoreKey
func (*SimulationApplication) GetModuleManager ¶
func (app *SimulationApplication) GetModuleManager() *module.Manager
func (*SimulationApplication) GetSubspace ¶
func (app *SimulationApplication) GetSubspace(moduleName string) paramsTypes.Subspace
func (*SimulationApplication) GetTKey ¶
func (app *SimulationApplication) GetTKey(storeKey string) *sdkTypes.TransientStoreKey
func (*SimulationApplication) InitChainer ¶
func (app *SimulationApplication) InitChainer(ctx sdkTypes.Context, req abci.RequestInitChain) abci.ResponseInitChain
func (*SimulationApplication) InterfaceRegistry ¶
func (app *SimulationApplication) InterfaceRegistry() types.InterfaceRegistry
func (*SimulationApplication) LegacyAmino ¶
func (app *SimulationApplication) LegacyAmino() *codec.LegacyAmino
func (*SimulationApplication) LoadHeight ¶
func (app *SimulationApplication) LoadHeight(height int64) error
func (*SimulationApplication) ModuleAccountAddrs ¶
func (app *SimulationApplication) ModuleAccountAddrs() map[string]bool
func (*SimulationApplication) Name ¶
func (app *SimulationApplication) Name() string
func (*SimulationApplication) RegisterAPIRoutes ¶
func (app *SimulationApplication) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig)
func (*SimulationApplication) RegisterTendermintService ¶
func (app *SimulationApplication) RegisterTendermintService(clientCtx client.Context)
func (*SimulationApplication) RegisterTxService ¶
func (app *SimulationApplication) RegisterTxService(clientCtx client.Context)
func (*SimulationApplication) SimulationManager ¶
func (app *SimulationApplication) SimulationManager() *module.SimulationManager
Click to show internal directories.
Click to hide internal directories.