keepers

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: Apache-2.0 Imports: 84 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetWasmCapabilities

func GetWasmCapabilities() []string

Types

type AppKeepers

type AppKeepers struct {

	// keepers
	AccountKeeper       authkeeper.AccountKeeper
	BankKeeper          bankkeeper.Keeper
	CapabilityKeeper    *capabilitykeeper.Keeper
	StakingKeeper       *stakingkeeper.Keeper
	SlashingKeeper      slashingkeeper.Keeper
	MintKeeper          mintkeeper.Keeper
	DistrKeeper         distrkeeper.Keeper
	GovKeeper           *govkeeper.Keeper
	CrisisKeeper        *crisiskeeper.Keeper
	UpgradeKeeper       *upgradekeeper.Keeper
	ParamsKeeper        paramskeeper.Keeper
	IBCKeeper           *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
	ICAControllerKeeper icacontrollerkeeper.Keeper
	EvidenceKeeper      *evidencekeeper.Keeper
	IBCTransferKeeper   ibctransferkeeper.Keeper
	FeeGrantKeeper      feegrantkeeper.Keeper

	ICAHostKeeper icahostkeeper.Keeper

	// make scoped keepers public for test purposes
	ScopedIBCKeeper           capabilitykeeper.ScopedKeeper
	ScopedTransferKeeper      capabilitykeeper.ScopedKeeper
	ScopedNFTTransferKeeper   capabilitykeeper.ScopedKeeper
	ScopedICAHostKeeper       capabilitykeeper.ScopedKeeper
	ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper

	IBCNFTTransferKeeper  ibcnfttransferkeeper.Keeper
	ConsensusParamsKeeper consensusparamkeeper.Keeper
	AuthzKeeper           authzkeeper.Keeper
	// Ethermint keepers
	EvmKeeper       *evmkeeper.Keeper
	FeeMarketKeeper feemarketkeeper.Keeper
	// Uptick keepers
	Erc20Keeper  *erc20keeper.Keeper
	Erc721Keeper erc721keeper.Keeper
	Cw721Keeper  cw721keeper.Keeper
	EVMIBCKeeper evmIBCKeepr.Keeper
	NFTKeeper    nftkeeper.Keeper
	// wasm keepers
	WasmKeeper           wasmkeeper.Keeper
	WasmConfig           wasmtypes.WasmConfig
	ContractKeeper       *wasmkeeper.PermissionedKeeper
	ScopedWasmKeeper     capabilitykeeper.ScopedKeeper
	TransferModule       transfer.AppModule
	ICAModule            ica.AppModule
	IBCNftTransferModule nfttransfer.AppModule
	// contains filtered or unexported fields
}

AppKeepers defines a structure used to consolidate all the keepers needed to run an iris appKeepers.

func New

func New(
	appCodec codec.Codec,
	bApp *baseapp.BaseApp,
	legacyAmino *codec.LegacyAmino,
	maccPerms map[string][]string,
	modAccAddrs map[string]bool,
	blockedAddress map[string]bool,
	skipUpgradeHeights map[int64]bool,
	homePath string,
	invCheckPeriod uint,
	logger log.Logger,
	appOpts servertypes.AppOptions,
	wasmOpts []wasmkeeper.Option,

) AppKeepers

NewUptick returns a reference to a new initialized Ethermint application.

func (*AppKeepers) GetKey

func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey

GetKey returns the KVStoreKey for the provided store key.

NOTE: This is solely to be used for testing purposes.

func (*AppKeepers) GetMemKey

func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey

GetMemKey returns the MemStoreKey for the provided mem key.

NOTE: This is solely used for testing purposes.

func (*AppKeepers) GetSubspace

func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace

GetSubspace returns a param subspace for a given module name.

NOTE: This is solely to be used for testing purposes.

func (*AppKeepers) GetTKey

func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey

GetTKey returns the TransientStoreKey for the provided store key.

NOTE: This is solely to be used for testing purposes.

func (*AppKeepers) KvStoreKeys

func (appKeepers *AppKeepers) KvStoreKeys() map[string]*storetypes.KVStoreKey

KvStoreKeys returns the map of string to KVStoreKey.

None. map[string]*storetypes.KVStoreKey.

func (*AppKeepers) MemoryStoreKeys

func (appKeepers *AppKeepers) MemoryStoreKeys() map[string]*storetypes.MemoryStoreKey

MemoryStoreKeys returns the map of type map[string]*storetypes.MemoryStoreKey.

No parameters. Returns a map of type map[string]*storetypes.MemoryStoreKey.

func (*AppKeepers) TransientStoreKeys

func (appKeepers *AppKeepers) TransientStoreKeys() map[string]*storetypes.TransientStoreKey

TransientStoreKeys returns the map of transient store keys.

No parameters. Returns a map[string]*storetypes.TransientStoreKey.

Jump to

Keyboard shortcuts

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