Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application interface {
tendermintABCITypes.Application
GetDefaultNodeHome() string
GetDefaultClientHome() string
GetModuleBasicManager() module.BasicManager
GetCodec() *codec.Codec
LoadHeight(int64) error
ExportApplicationStateAndValidators(bool, []string) (json.RawMessage, []tendermintTypes.GenesisValidator, error)
Name() string
AppVersion() string
Logger() log.Logger
MountStores(keys ...sdkTypes.StoreKey)
MountKVStores(keys map[string]*sdkTypes.KVStoreKey)
MountTransientStores(keys map[string]*sdkTypes.TransientStoreKey)
MountStoreWithDB(key sdkTypes.StoreKey, typ sdkTypes.StoreType, db tendermintDB.DB)
MountStore(key sdkTypes.StoreKey, typ sdkTypes.StoreType)
LoadLatestVersion(baseKey *sdkTypes.KVStoreKey) error
LoadVersion(version int64, baseKey *sdkTypes.KVStoreKey) error
LastCommitID() sdkTypes.CommitID
LastBlockHeight() int64
Router() sdkTypes.Router
QueryRouter() sdkTypes.QueryRouter
Seal()
IsSealed() bool
Initialize(logger log.Logger, db tendermintDB.DB, traceStore io.Writer, loadLatest bool, invCheckPeriod uint, skipUpgradeHeights map[int64]bool, home string, baseAppOptions ...func(*baseapp.BaseApp)) Application
}
type SimulationApplication ¶
type SimulationApplication interface {
Application
simapp.App
GetBaseApp() *baseapp.BaseApp
GetKey(storeKey string) *sdk.KVStoreKey
GetTKey(storeKey string) *sdk.TransientStoreKey
GetSubspace(moduleName string) params.Subspace
GetModuleAccountPermissions() map[string][]string
GetBlackListedAddresses() map[string]bool
ModuleManager() *module.Manager
CheckBalance(*testing.T, sdk.AccAddress, sdk.Coins)
AddTestAddresses(sdk.Context, int, sdk.Int) []sdk.AccAddress
Setup(bool) SimulationApplication
SetupWithGenesisAccounts([]exported.GenesisAccount) SimulationApplication
NewTestApplication(bool) (SimulationApplication, sdk.Context)
}
Click to show internal directories.
Click to hide internal directories.