forked from EscanBE/evermint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
chain_app_imp_keepers.go
60 lines (48 loc) · 1.72 KB
/
chain_app_imp_keepers.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package types
//goland:noinspection SpellCheckingInspection
import (
erc20keeper "github.com/servprotocolorg/serv/v12/x/erc20/keeper"
evmkeeper "github.com/servprotocolorg/serv/v12/x/evm/keeper"
feemarketkeeper "github.com/servprotocolorg/serv/v12/x/feemarket/keeper"
ibctransferkeeper "github.com/servprotocolorg/serv/v12/x/ibc/transfer/keeper"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper"
distkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper"
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper"
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper"
ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper"
)
func (c chainAppImp) AccountKeeper() *authkeeper.AccountKeeper {
return &c.app.AccountKeeper
}
func (c chainAppImp) BankKeeper() bankkeeper.Keeper {
return c.app.BankKeeper
}
func (c chainAppImp) DistributionKeeper() distkeeper.Keeper {
return c.app.DistrKeeper
}
func (c chainAppImp) Erc20Keeper() *erc20keeper.Keeper {
return &c.app.Erc20Keeper
}
func (c chainAppImp) EvmKeeper() *evmkeeper.Keeper {
return c.app.EvmKeeper
}
func (c chainAppImp) FeeMarketKeeper() *feemarketkeeper.Keeper {
return &c.app.FeeMarketKeeper
}
func (c chainAppImp) GovKeeper() *govkeeper.Keeper {
return &c.app.GovKeeper
}
func (c chainAppImp) IbcTransferKeeper() *ibctransferkeeper.Keeper {
return &c.app.TransferKeeper
}
func (c chainAppImp) IbcKeeper() *ibckeeper.Keeper {
return c.app.IBCKeeper
}
func (c chainAppImp) SlashingKeeper() *slashingkeeper.Keeper {
return &c.app.SlashingKeeper
}
func (c chainAppImp) StakingKeeper() *stakingkeeper.Keeper {
return c.app.StakingKeeper
}