base

package
v0.0.0-...-f0435bf Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 8, 2022 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Index

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) GetCodec

func (application SimulationApplication) GetCodec() *codec.Codec

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 (application SimulationApplication) LoadHeight(height int64) error

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL