Skip to content

Commit

Permalink
dispute module draft
Browse files Browse the repository at this point in the history
  • Loading branch information
akremstudy committed Oct 18, 2023
1 parent a459e41 commit c3d2975
Show file tree
Hide file tree
Showing 33 changed files with 3,334 additions and 166 deletions.
6 changes: 5 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ import (
disputemodule "github.com/tellor-io/layer/x/dispute"
disputemodulekeeper "github.com/tellor-io/layer/x/dispute/keeper"
disputemoduletypes "github.com/tellor-io/layer/x/dispute/types"

// this line is used by starport scaffolding # stargate/app/moduleImport

appparams "github.com/tellor-io/layer/app/params"
Expand Down Expand Up @@ -197,6 +198,7 @@ var (
govtypes.ModuleName: {authtypes.Burner},
ibctransfertypes.ModuleName: {authtypes.Minter, authtypes.Burner},
oraclemoduletypes.ModuleName: {authtypes.Minter, authtypes.Burner, authtypes.Staking},
disputemoduletypes.ModuleName: {authtypes.Minter, authtypes.Burner, authtypes.Staking},
// this line is used by starport scaffolding # stargate/app/maccPerms
}
)
Expand Down Expand Up @@ -562,9 +564,11 @@ func New(
keys[disputemoduletypes.MemStoreKey],
app.GetSubspace(disputemoduletypes.ModuleName),

app.BankKeeper,
app.OracleKeeper,
app.StakingKeeper,
)
disputeModule := disputemodule.NewAppModule(appCodec, app.DisputeKeeper, app.AccountKeeper, app.BankKeeper)
disputeModule := disputemodule.NewAppModule(appCodec, app.DisputeKeeper, app.AccountKeeper, app.BankKeeper, app.StakingKeeper)

// this line is used by starport scaffolding # stargate/app/keeperDefinition

Expand Down
Loading

0 comments on commit c3d2975

Please sign in to comment.