base

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: Apache-2.0 Imports: 138 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetModuleAccountPermissions

func GetModuleAccountPermissions() map[string][]string

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

func RegisterSwaggerAPI

func RegisterSwaggerAPI(ctx client.Context, rtr *mux.Router)

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 (*SimulationApplication) EndBlocker

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 (*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

Jump to

Keyboard shortcuts

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