Documentation
¶
Index ¶
- type AppKeepers
- func (appKeepers *AppKeepers) GenerateKeys()
- func (appKeepers *AppKeepers) GetIBCKeeper() *ibckeeper.Keeper
- func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetKey(storeKey string) *storetypes.KVStoreKey
- func (appKeepers *AppKeepers) GetMemKey(storeKey string) *storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetMemoryStoreKey() map[string]*storetypes.MemoryStoreKey
- func (appKeepers *AppKeepers) GetSubspace(moduleName string) paramstypes.Subspace
- func (appKeepers *AppKeepers) GetTKey(storeKey string) *storetypes.TransientStoreKey
- func (appKeepers *AppKeepers) GetTransientStoreKey() map[string]*storetypes.TransientStoreKey
- type MockErc20Keeper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppKeepers ¶
type AppKeepers struct {
// keepers
AccountKeeper xplaauthkeeper.AccountKeeper
BankKeeper xplabankkeeper.Keeper
StakingKeeper *xplastakingkeeper.Keeper
SlashingKeeper slashingkeeper.Keeper
MintKeeper mintkeeper.Keeper
DistrKeeper distrkeeper.Keeper
GovKeeper *govkeeper.Keeper
UpgradeKeeper *upgradekeeper.Keeper
ParamsKeeper paramskeeper.Keeper //nolint:staticcheck
WasmKeeper wasmkeeper.Keeper
// IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly
IBCKeeper *ibckeeper.Keeper
ICAHostKeeper icahostkeeper.Keeper
ICAControllerKeeper icacontrollerkeeper.Keeper
EvidenceKeeper evidencekeeper.Keeper
TransferKeeper ibctransferkeeper.Keeper
FeeGrantKeeper feegrantkeeper.Keeper
AuthzKeeper authzkeeper.Keeper
ConsensusParamsKeeper consensusparamkeeper.Keeper
PFMRouterKeeper *pfmrouterkeeper.Keeper
RatelimitKeeper ratelimitkeeper.Keeper
// xpla modules
EvmKeeper *vmkeeper.Keeper
FeeMarketKeeper feemarketkeeper.Keeper
RewardKeeper rewardkeeper.Keeper
VolunteerKeeper volunteerkeeper.Keeper
BurnKeeper burnkeeper.Keeper
// contains filtered or unexported fields
}
func NewAppKeeper ¶
func NewAppKeeper( 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, logger log.Logger, appOpts servertypes.AppOptions, wasmOpts []wasmkeeper.Option, ) AppKeepers
func (*AppKeepers) GenerateKeys ¶
func (appKeepers *AppKeepers) GenerateKeys()
func (*AppKeepers) GetIBCKeeper ¶
func (appKeepers *AppKeepers) GetIBCKeeper() *ibckeeper.Keeper
GetIBCKeeper implements the TestingApp interface.
func (*AppKeepers) GetKVStoreKey ¶
func (appKeepers *AppKeepers) GetKVStoreKey() map[string]*storetypes.KVStoreKey
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) GetMemoryStoreKey ¶
func (appKeepers *AppKeepers) GetMemoryStoreKey() map[string]*storetypes.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) *storetypes.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]*storetypes.TransientStoreKey
type MockErc20Keeper ¶ added in v1.8.0
type MockErc20Keeper struct{}
func (MockErc20Keeper) GetERC20PrecompileInstance ¶ added in v1.8.0
func (ek MockErc20Keeper) GetERC20PrecompileInstance( ctx sdk.Context, address common.Address, ) (contract vm.PrecompiledContract, found bool, err error)
Click to show internal directories.
Click to hide internal directories.