-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ccv consumer module implementation (#997)
* ccv consumer module implementation * token economics implementation with ics * Sending 25% of Stakers Dex revenue of provider chain * fee corrections * fixing test cases
- Loading branch information
Showing
39 changed files
with
2,370 additions
and
453 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,24 +1,24 @@ | ||
package ante | ||
|
||
import ( | ||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" | ||
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" | ||
parameterkeeper "github.com/elys-network/elys/x/parameter/keeper" | ||
|
||
"github.com/cosmos/cosmos-sdk/codec" | ||
"github.com/cosmos/cosmos-sdk/x/auth/ante" | ||
bankkeeper "github.com/cosmos/cosmos-sdk/x/bank/keeper" | ||
stakingkeeper "github.com/cosmos/cosmos-sdk/x/staking/keeper" | ||
ibckeeper "github.com/cosmos/ibc-go/v8/modules/core/keeper" | ||
ibcconsumerkeeper "github.com/cosmos/interchain-security/v6/x/ccv/consumer/keeper" | ||
parameterkeeper "github.com/elys-network/elys/x/parameter/keeper" | ||
) | ||
|
||
// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC | ||
// channel keeper. | ||
type HandlerOptions struct { | ||
ante.HandlerOptions | ||
|
||
Cdc codec.BinaryCodec | ||
IBCKeeper *ibckeeper.Keeper | ||
StakingKeeper *stakingkeeper.Keeper | ||
|
||
Cdc codec.BinaryCodec | ||
IBCKeeper *ibckeeper.Keeper | ||
StakingKeeper *stakingkeeper.Keeper | ||
ConsumerKeeper ibcconsumerkeeper.Keeper | ||
BankKeeper bankkeeper.Keeper | ||
ParameterKeeper parameterkeeper.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
Oops, something went wrong.