-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added fee market state/params initialization
- Loading branch information
1 parent
5f47674
commit 263335a
Showing
12 changed files
with
125 additions
and
62 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
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,60 @@ | ||
package keepers | ||
|
||
import ( | ||
circuitkeeper "cosmossdk.io/x/circuit/keeper" | ||
feegrantkeeper "cosmossdk.io/x/feegrant/keeper" | ||
upgradekeeper "cosmossdk.io/x/upgrade/keeper" | ||
emissionsKeeper "github.com/allora-network/allora-chain/x/emissions/keeper" | ||
mintkeeper "github.com/allora-network/allora-chain/x/mint/keeper" | ||
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper" | ||
authzkeeper "github.com/cosmos/cosmos-sdk/x/authz/keeper" | ||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" | ||
consensuskeeper "github.com/cosmos/cosmos-sdk/x/consensus/keeper" | ||
distrkeeper "github.com/cosmos/cosmos-sdk/x/distribution/keeper" | ||
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/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" | ||
capabilitykeeper "github.com/cosmos/ibc-go/modules/capability/keeper" | ||
icacontrollerkeeper "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/controller/keeper" | ||
icahostkeeper "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/keeper" | ||
ibcfeekeeper "github.com/cosmos/ibc-go/v8/modules/apps/29-fee/keeper" | ||
ibctransferkeeper "github.com/cosmos/ibc-go/v8/modules/apps/transfer/keeper" | ||
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" | ||
feemarketkeeper "github.com/skip-mev/feemarket/x/feemarket/keeper" | ||
) | ||
|
||
type AppKeepers struct { | ||
// keepers | ||
AccountKeeper authkeeper.AccountKeeper | ||
AuthzKeeper authzkeeper.Keeper | ||
CircuitBreakerKeeper circuitkeeper.Keeper | ||
BankKeeper bankkeeper.Keeper | ||
StakingKeeper *stakingkeeper.Keeper | ||
DistrKeeper distrkeeper.Keeper | ||
ConsensusParamsKeeper consensuskeeper.Keeper | ||
MintKeeper mintkeeper.Keeper | ||
GovKeeper *govkeeper.Keeper | ||
EmissionsKeeper emissionsKeeper.Keeper | ||
ParamsKeeper paramskeeper.Keeper | ||
UpgradeKeeper *upgradekeeper.Keeper | ||
SlashingKeeper slashingkeeper.Keeper | ||
FeeGrantKeeper feegrantkeeper.Keeper | ||
|
||
// IBC | ||
IBCKeeper *ibckeeper.Keeper // IBC Keeper must be a pointer in the app, so we can SetRouter on it correctly | ||
CapabilityKeeper *capabilitykeeper.Keeper | ||
IBCFeeKeeper ibcfeekeeper.Keeper | ||
ICAControllerKeeper icacontrollerkeeper.Keeper | ||
ICAHostKeeper icahostkeeper.Keeper | ||
TransferKeeper ibctransferkeeper.Keeper | ||
|
||
// Scoped IBC | ||
ScopedIBCKeeper capabilitykeeper.ScopedKeeper | ||
ScopedIBCTransferKeeper capabilitykeeper.ScopedKeeper | ||
ScopedICAControllerKeeper capabilitykeeper.ScopedKeeper | ||
ScopedICAHostKeeper capabilitykeeper.ScopedKeeper | ||
|
||
// Fee Market | ||
FeeMarketKeeper feemarketkeeper.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
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
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
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
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