Documentation ¶
Index ¶
- type AppKeepers
- func (appKeepers *AppKeepers) AppCodec() codec.Codec
- func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*sdk.KVStoreKey
- func (appKeepers *AppKeepers) GetKey(storeKey string) *sdk.KVStoreKey
- func (appKeepers *AppKeepers) GetMemKey(storeKey string) *sdk.MemoryStoreKey
- func (appKeepers *AppKeepers) GetMemoryStoreKey() map[string]*sdk.MemoryStoreKey
- func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (appKeepers *AppKeepers) GetTKey(storeKey string) *sdk.TransientStoreKey
- func (appKeepers *AppKeepers) GetTransientStoreKey() map[string]*sdk.TransientStoreKey
- func (appKeepers *AppKeepers) LegacyAmino() *codec.LegacyAmino
- type CrossChainKeepers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 fxgovkeeper.Keeper CrisisKeeper crisiskeeper.Keeper UpgradeKeeper upgradekeeper.Keeper ParamsKeeper paramskeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly IBCKeeper *ibckeeper.Keeper EvidenceKeeper evidencekeeper.Keeper FxTransferKeeper fxtransferkeeper.Keeper IBCTransferKeeper ibctransferkeeper.Keeper FeeGrantKeeper feegrantkeeper.Keeper AuthzKeeper authzkeeper.Keeper // make scoped keepers public for test purposes ScopedIBCKeeper capabilitykeeper.ScopedKeeper ScopedTransferKeeper capabilitykeeper.ScopedKeeper GravityMigrator gravitykeeper.Migrator CrosschainKeeper crosschainkeeper.RouterKeeper CrossChainKeepers EvmKeeper *fxevmkeeper.Keeper FeeMarketKeeper feemarketkeeper.Keeper Erc20Keeper erc20keeper.Keeper MigrateKeeper migratekeeper.Keeper // contains filtered or unexported fields }
func NewAppKeeper ¶
func NewAppKeeper( appCodec codec.Codec, bApp *baseapp.BaseApp, legacyAmino *codec.LegacyAmino, maccPerms map[string][]string, blockedAddress map[string]bool, skipUpgradeHeights map[int64]bool, homePath string, invCheckPeriod uint, appOpts servertypes.AppOptions, ) *AppKeepers
func (*AppKeepers) AppCodec ¶
func (appKeepers *AppKeepers) AppCodec() codec.Codec
AppCodec NOTE: This is solely to be used for testing purposes as it may be desirable for modules to register their own custom testing types.
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
GetSubspace returns a param subspace for a given module name.
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) LegacyAmino ¶
func (appKeepers *AppKeepers) LegacyAmino() *codec.LegacyAmino
LegacyAmino NOTE: This is solely to be used for testing purposes as it may be desirable for modules to register their own custom testing types.
type CrossChainKeepers ¶
type CrossChainKeepers struct { BscKeeper crosschainkeeper.Keeper PolygonKeeper crosschainkeeper.Keeper AvalancheKeeper crosschainkeeper.Keeper EthKeeper crosschainkeeper.Keeper TronKeeper tronkeeper.Keeper }