keepers

package
v0.6.7 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2022 License: Apache-2.0 Imports: 88 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

AppModuleBasic defines the module BasicManager is in charge of setting up basic

Functions

func KVStoreKeys

func KVStoreKeys() []string

Types

type AppKeepers

type AppKeepers struct {
	// keepers
	AccountKeeper       *authkeeper.AccountKeeper
	BankKeeper          *bankkeeper.BaseKeeper
	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
	ICAHostKeeper       *icahostkeeper.Keeper
	EvidenceKeeper      *evidencekeeper.Keeper
	TransferKeeper      *ibctransferkeeper.Keeper
	FeeGrantKeeper      *feegrantkeeper.Keeper
	WasmKeeper          *wasmkeeper.Keeper
	AuthzKeeper         *authzkeeper.Keeper

	// Supernova custom modules.
	GalKeeper        *galkeeper.Keeper
	IcaControlKeeper *icacontrolkeeper.Keeper
	OracleKeeper     *oraclekeeper.Keeper
	AirdropKeeper    *airdropkeeper.Keeper
	PoolKeeper       *poolincentivekeeper.Keeper

	// make scoped keepers public for test purposes
	ScopedIBCKeeper           capabilitykeeper.ScopedKeeper
	ScopedTransferKeeper      capabilitykeeper.ScopedKeeper
	ScopedWasmKeeper          capabilitykeeper.ScopedKeeper
	ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper
	ScopedICAHostKeeper       capabilitykeeper.ScopedKeeper
	ScopedIcaControlKeeper    capabilitykeeper.ScopedKeeper
	// contains filtered or unexported fields
}

func (*AppKeepers) GenerateKeys

func (appKeepers *AppKeepers) GenerateKeys()

func (*AppKeepers) GetKVStoreKey

func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*sdk.KVStoreKey

func (*AppKeepers) GetKey

func (appKeepers *AppKeepers) GetKey(storeKey string) *sdk.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) *sdk.MemoryStoreKey

GetMemKey returns the MemStoreKey for the provided mem key.

NOTE: This is solely used for testing purposes.

func (*AppKeepers) GetMemoryStoreKey

func (appKeepers *AppKeepers) GetMemoryStoreKey() map[string]*sdk.MemoryStoreKey

func (*AppKeepers) GetSubspace

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

func (*AppKeepers) GetTKey

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

GetTKey returns the TransientStoreKey for the provided store key.

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

func (*AppKeepers) GetTransientStoreKey

func (appKeepers *AppKeepers) GetTransientStoreKey() map[string]*sdk.TransientStoreKey

func (*AppKeepers) InitNormalKeepers

func (appKeepers *AppKeepers) InitNormalKeepers(
	appCodec codec.Codec,
	bApp *baseapp.BaseApp,
	maccPerms map[string][]string,
	wasmDir string,
	wasmConfig wasm.Config,
	wasmProposals []wasm.ProposalType,
	moduleAddrs map[string]bool,
)

func (*AppKeepers) InitParamsKeeper

func (appKeepers *AppKeepers) InitParamsKeeper(appCodec codec.BinaryCodec, legacyAmino *codec.LegacyAmino, key, tkey sdk.StoreKey) paramskeeper.Keeper

InitParamsKeepers init params keeper and its subspaces

func (*AppKeepers) InitSpecialKeepers

func (appKeepers *AppKeepers) InitSpecialKeepers(
	appCodec codec.Codec,
	bApp *baseapp.BaseApp,
	wasmDir string,
	cdc *codec.LegacyAmino,
	invCheckPeriod uint,
	skipUpgradeHeights map[int64]bool,
	homePath string,
)

Jump to

Keyboard shortcuts

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