keepers

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 60 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppKeepersWithKey

type AppKeepersWithKey struct {
	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
	AuthzKeeper           authzkeeper.Keeper
	EvidenceKeeper        evidencekeeper.Keeper
	FeeGrantKeeper        feegrantkeeper.Keeper
	GroupKeeper           groupkeeper.Keeper
	ConsensusParamsKeeper consensusparamkeeper.Keeper

	IBCKeeper      *ibckeeper.Keeper        // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
	TransferKeeper ibctransferkeeper.Keeper // for cross-chain fungible token transfers

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

	AolKeeper  aolkeeper.Keeper
	DidKeeper  didkeeper.Keeper
	BurnKeeper burnkeeper.Keeper
	PnftKeeper pnftkeeper.Keeper
	// contains filtered or unexported fields
}

func (*AppKeepersWithKey) GenerateKeys

func (appKeepers *AppKeepersWithKey) GenerateKeys()

func (*AppKeepersWithKey) GetKVStoreKey

func (appKeepers *AppKeepersWithKey) GetKVStoreKey() map[string]*storetypes.KVStoreKey

GetKVStoreKey gets KV Store keys.

func (*AppKeepersWithKey) GetKey

func (appKeepers *AppKeepersWithKey) 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 (*AppKeepersWithKey) GetMemKey

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

GetMemKey returns the MemStoreKey for the provided mem key.

NOTE: This is solely used for testing purposes.

func (*AppKeepersWithKey) GetMemoryStoreKey

func (appKeepers *AppKeepersWithKey) GetMemoryStoreKey() map[string]*storetypes.MemoryStoreKey

GetMemoryStoreKey get memory Store keys.

func (*AppKeepersWithKey) GetSubspace

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

GetSubspace gets existing substore from keeper.

func (*AppKeepersWithKey) GetTKey

func (appKeepers *AppKeepersWithKey) 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 (*AppKeepersWithKey) GetTransientStoreKey

func (appKeepers *AppKeepersWithKey) GetTransientStoreKey() map[string]*storetypes.TransientStoreKey

GetTransientStoreKey gets Transient Store keys.

func (*AppKeepersWithKey) InitKeyAndKeepers

func (appKeepers *AppKeepersWithKey) InitKeyAndKeepers(
	encodingConfig appparams.EncodingConfig,
	maccPerms map[string][]string,
	blockedAddrs map[string]bool,
	appOpts servertypes.AppOptions,
	bApp *baseapp.BaseApp,
)

func (*AppKeepersWithKey) SetupHooks

func (appKeepers *AppKeepersWithKey) SetupHooks()

Jump to

Keyboard shortcuts

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