forked from lavanet/lava
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
628 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
package keepers | ||
|
||
import ( | ||
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" | ||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" | ||
capabilitykeeper "github.com/cosmos/cosmos-sdk/x/capability/keeper" | ||
crisiskeeper "github.com/cosmos/cosmos-sdk/x/crisis/keeper" | ||
distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" | ||
evidencekeeper "github.com/cosmos/cosmos-sdk/x/evidence/keeper" | ||
feegrantkeeper "github.com/cosmos/cosmos-sdk/x/feegrant/keeper" | ||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper" | ||
mintkeeper "github.com/cosmos/cosmos-sdk/x/mint/keeper" | ||
paramskeeper "github.com/cosmos/cosmos-sdk/x/params/keeper" | ||
slashingkeeper "github.com/cosmos/cosmos-sdk/x/slashing/keeper" | ||
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" | ||
upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" | ||
ibctransferkeeper "github.com/cosmos/ibc-go/v3/modules/apps/transfer/keeper" | ||
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper" | ||
conflictmodulekeeper "github.com/lavanet/lava/x/conflict/keeper" | ||
epochstoragemodulekeeper "github.com/lavanet/lava/x/epochstorage/keeper" | ||
pairingmodulekeeper "github.com/lavanet/lava/x/pairing/keeper" | ||
specmodulekeeper "github.com/lavanet/lava/x/spec/keeper" | ||
// this line is used by starport scaffolding # stargate/app/moduleImport | ||
) | ||
|
||
type LavaKeepers struct { | ||
|
||
// Standard Keepers | ||
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 | ||
IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the lk, so we can SetRouter on it correctly | ||
EvidenceKeeper evidencekeeper.Keeper | ||
TransferKeeper ibctransferkeeper.Keeper | ||
FeeGrantKeeper feegrantkeeper.Keeper | ||
|
||
// make scoped keepers public for test purposes | ||
ScopedIBCKeeper capabilitykeeper.ScopedKeeper | ||
ScopedTransferKeeper capabilitykeeper.ScopedKeeper | ||
|
||
// Special Keepers | ||
SpecKeeper specmodulekeeper.Keeper | ||
EpochstorageKeeper epochstoragemodulekeeper.Keeper | ||
PairingKeeper pairingmodulekeeper.Keeper | ||
ConflictKeeper conflictmodulekeeper.Keeper | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.