Documentation ¶
Index ¶
- type AppKeepers
- func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
- func (appKeepers *AppKeepers) KvStoreKeys() map[string]*storetypes.KVStoreKey
- func (appKeepers *AppKeepers) MemoryStoreKeys() map[string]*storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) TransientStoreKeys() map[string]*storetypes.TransientStoreKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppKeepers ¶
type AppKeepers struct { FeeGrantKeeper feegrantkeeper.Keeper 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 EvidenceKeeper *evidencekeeper.Keeper AuthzKeeper authzkeeper.Keeper ConsensusParamsKeeper consensuskeeper.Keeper IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly IBCTransferKeeper ibctransferkeeper.Keeper IBCNFTTransferKeeper ibcnfttransferkeeper.Keeper ICAHostKeeper icahostkeeper.Keeper GuardianKeeper guardiankeeper.Keeper TokenKeeper tokenkeeper.Keeper RecordKeeper recordkeeper.Keeper NFTKeeper nftkeeper.Keeper MTKeeper mtkeeper.Keeper HTLCKeeper htlckeeper.Keeper CoinswapKeeper coinswapkeeper.Keeper ServiceKeeper servicekeeper.Keeper OracleKeeper oraclekeeper.Keeper RandomKeeper randomkeeper.Keeper FarmKeeper farmkeeper.Keeper TIBCKeeper *tibckeeper.Keeper TIBCNFTTransferKeeper tibcnfttransferkeeper.Keeper TIBCMTTransferKeeper tibcmttransferkeeper.Keeper EvmKeeper *evmkeeper.Keeper FeeMarketKeeper feemarketkeeper.Keeper TransferModule transfer.AppModule ICAModule ica.AppModule NftTransferModule tibcnfttransfer.AppModule MtTransferModule tibcmttransfer.AppModule IBCNftTransferModule nfttransfer.AppModule // contains filtered or unexported fields }
AppKeepers defines a structure used to consolidate all the keepers needed to run an iris app.
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, ) AppKeepers
New initializes a new instance of AppKeepers.
It takes in various parameters including appCodec, bApp, legacyAmino, maccPerms, modAccAddrs, blockedAddress, skipUpgradeHeights, homePath, invCheckPeriod, logger, and appOpts. It returns an instance of AppKeepers.
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.