Documentation ¶
Index ¶
- func NewApplication(name string, moduleBasicManager module.BasicManager, ...) applications.Application
- func NewSimulationApplication(name string, moduleBasicManager module.BasicManager, ...) applications.SimulationApplication
- type SimulationApplication
- func (simulationApplication SimulationApplication) AddTestAddresses(context sdkTypes.Context, accountNumber int, amount sdkTypes.Int) []sdkTypes.AccAddress
- func (simulationApplication SimulationApplication) BeginBlocker(ctx sdkTypes.Context, req abciTypes.RequestBeginBlock) abciTypes.ResponseBeginBlock
- func (simulationApplication SimulationApplication) CheckBalance(t *testing.T, address sdkTypes.AccAddress, coins sdkTypes.Coins)
- func (simulationApplication SimulationApplication) Codec() *codec.Codec
- func (simulationApplication SimulationApplication) EndBlocker(ctx sdkTypes.Context, req abciTypes.RequestEndBlock) abciTypes.ResponseEndBlock
- func (simulationApplication SimulationApplication) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (json.RawMessage, []tendermintTypes.GenesisValidator, error)
- func (application SimulationApplication) ExportApplicationStateAndValidators(forZeroHeight bool, jailWhiteList []string) (json.RawMessage, []tendermintTypes.GenesisValidator, error)
- func (simulationApplication SimulationApplication) GetBaseApp() *baseapp.BaseApp
- func (simulationApplication SimulationApplication) GetBlackListedAddresses() map[string]bool
- func (application SimulationApplication) GetCodec() *codec.Codec
- func (application SimulationApplication) GetDefaultClientHome() string
- func (application SimulationApplication) GetDefaultNodeHome() string
- func (simulationApplication SimulationApplication) GetKey(storeKey string) *sdkTypes.KVStoreKey
- func (simulationApplication SimulationApplication) GetModuleAccountPermissions() map[string][]string
- func (application SimulationApplication) GetModuleBasicManager() module.BasicManager
- func (simulationApplication SimulationApplication) GetSubspace(moduleName string) params.Subspace
- func (simulationApplication SimulationApplication) GetTKey(storeKey string) *sdkTypes.TransientStoreKey
- func (simulationApplication SimulationApplication) InitChainer(ctx sdkTypes.Context, req abciTypes.RequestInitChain) abciTypes.ResponseInitChain
- func (application SimulationApplication) Initialize(logger log.Logger, db tendermintDB.DB, traceStore io.Writer, loadLatest bool, ...) applications.Application
- func (simulationApplication SimulationApplication) InitializeSimulationApplication(logger log.Logger, db tendermintDB.DB, traceStore io.Writer, loadLatest bool, ...) applications.SimulationApplication
- func (application SimulationApplication) LoadHeight(height int64) error
- func (simulationApplication SimulationApplication) ModuleAccountAddrs() map[string]bool
- func (simulationApplication SimulationApplication) ModuleManager() *module.Manager
- func (simulationApplication SimulationApplication) NewTestApplication(isCheckTx bool) (applications.SimulationApplication, sdkTypes.Context)
- func (simulationApplication SimulationApplication) Setup(isCheckTx bool) applications.SimulationApplication
- func (simulationApplication SimulationApplication) SetupWithGenesisAccounts(accounts []exported.GenesisAccount) applications.SimulationApplication
- func (simulationApplication SimulationApplication) SimulationManager() *module.SimulationManager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewApplication ¶
func NewApplication(name string, moduleBasicManager module.BasicManager, enabledWasmProposalTypeList []wasm.ProposalType, moduleAccountPermissions map[string][]string, tokenReceiveAllowedModules map[string]bool) applications.Application
func NewSimulationApplication ¶
func NewSimulationApplication(name string, moduleBasicManager module.BasicManager, enabledWasmProposalTypeList []wasm.ProposalType, moduleAccountPermissions map[string][]string, tokenReceiveAllowedModules map[string]bool) applications.SimulationApplication
Types ¶
type SimulationApplication ¶
type SimulationApplication struct { AccountKeeper auth.AccountKeeper BankKeeper bank.Keeper SupplyKeeper supply.Keeper StakingKeeper staking.Keeper SlashingKeeper slashing.Keeper MintKeeper mint.Keeper DistributionKeeper distribution.Keeper GovKeeper gov.Keeper CrisisKeeper crisis.Keeper UpgradeKeeper upgrade.Keeper ParamsKeeper params.Keeper EvidenceKeeper evidence.Keeper // contains filtered or unexported fields }
func (SimulationApplication) AddTestAddresses ¶
func (simulationApplication SimulationApplication) AddTestAddresses(context sdkTypes.Context, accountNumber int, amount sdkTypes.Int) []sdkTypes.AccAddress
func (SimulationApplication) BeginBlocker ¶
func (simulationApplication SimulationApplication) BeginBlocker(ctx sdkTypes.Context, req abciTypes.RequestBeginBlock) abciTypes.ResponseBeginBlock
func (SimulationApplication) CheckBalance ¶
func (simulationApplication SimulationApplication) CheckBalance(t *testing.T, address sdkTypes.AccAddress, coins sdkTypes.Coins)
func (SimulationApplication) Codec ¶
func (simulationApplication SimulationApplication) Codec() *codec.Codec
func (SimulationApplication) EndBlocker ¶
func (simulationApplication SimulationApplication) EndBlocker(ctx sdkTypes.Context, req abciTypes.RequestEndBlock) abciTypes.ResponseEndBlock
func (SimulationApplication) ExportAppStateAndValidators ¶
func (simulationApplication SimulationApplication) ExportAppStateAndValidators(forZeroHeight bool, jailWhiteList []string) (json.RawMessage, []tendermintTypes.GenesisValidator, error)
func (SimulationApplication) ExportApplicationStateAndValidators ¶
func (application SimulationApplication) ExportApplicationStateAndValidators(forZeroHeight bool, jailWhiteList []string) (json.RawMessage, []tendermintTypes.GenesisValidator, error)
func (SimulationApplication) GetBaseApp ¶
func (simulationApplication SimulationApplication) GetBaseApp() *baseapp.BaseApp
func (SimulationApplication) GetBlackListedAddresses ¶
func (simulationApplication SimulationApplication) GetBlackListedAddresses() map[string]bool
func (SimulationApplication) GetDefaultClientHome ¶
func (application SimulationApplication) GetDefaultClientHome() string
func (SimulationApplication) GetDefaultNodeHome ¶
func (application SimulationApplication) GetDefaultNodeHome() string
func (SimulationApplication) GetKey ¶
func (simulationApplication SimulationApplication) GetKey(storeKey string) *sdkTypes.KVStoreKey
func (SimulationApplication) GetModuleAccountPermissions ¶
func (simulationApplication SimulationApplication) GetModuleAccountPermissions() map[string][]string
func (SimulationApplication) GetModuleBasicManager ¶
func (application SimulationApplication) GetModuleBasicManager() module.BasicManager
func (SimulationApplication) GetSubspace ¶
func (simulationApplication SimulationApplication) GetSubspace(moduleName string) params.Subspace
func (SimulationApplication) GetTKey ¶
func (simulationApplication SimulationApplication) GetTKey(storeKey string) *sdkTypes.TransientStoreKey
func (SimulationApplication) InitChainer ¶
func (simulationApplication SimulationApplication) InitChainer(ctx sdkTypes.Context, req abciTypes.RequestInitChain) abciTypes.ResponseInitChain
func (SimulationApplication) Initialize ¶
func (application SimulationApplication) Initialize(logger log.Logger, db tendermintDB.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, home string, baseAppOptions ...func(*baseapp.BaseApp)) applications.Application
func (SimulationApplication) InitializeSimulationApplication ¶
func (simulationApplication SimulationApplication) InitializeSimulationApplication(logger log.Logger, db tendermintDB.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, home string, baseAppOptions ...func(*baseapp.BaseApp)) applications.SimulationApplication
func (SimulationApplication) LoadHeight ¶
func (SimulationApplication) ModuleAccountAddrs ¶
func (simulationApplication SimulationApplication) ModuleAccountAddrs() map[string]bool
func (SimulationApplication) ModuleManager ¶
func (simulationApplication SimulationApplication) ModuleManager() *module.Manager
func (SimulationApplication) NewTestApplication ¶
func (simulationApplication SimulationApplication) NewTestApplication(isCheckTx bool) (applications.SimulationApplication, sdkTypes.Context)
func (SimulationApplication) Setup ¶
func (simulationApplication SimulationApplication) Setup(isCheckTx bool) applications.SimulationApplication
func (SimulationApplication) SetupWithGenesisAccounts ¶
func (simulationApplication SimulationApplication) SetupWithGenesisAccounts(accounts []exported.GenesisAccount) applications.SimulationApplication
func (SimulationApplication) SimulationManager ¶
func (simulationApplication SimulationApplication) SimulationManager() *module.SimulationManager
Click to show internal directories.
Click to hide internal directories.