Skip to content

Commit

Permalink
update params value
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed May 16, 2024
1 parent da0ae91 commit 73a552e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ func (app *UmeeApp) registerUpgrade6_5(upgradeInfo upgradetypes.Plan) {

// update leverage and metoken params to include burn auction fee share.
lparams := app.LeverageKeeper.GetParams(ctx)
lparams.RewardsAuctionFee = leveragetypes.DefaultParams().RewardsAuctionFee
lparams.RewardsAuctionFee = sdk.MustNewDecFromStr("0.01")
if err := app.LeverageKeeper.SetParams(ctx, lparams); err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion x/leverage/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func DefaultParams() Params {
CompleteLiquidationThreshold: sdk.MustNewDecFromStr("0.4"),
MinimumCloseFactor: sdk.MustNewDecFromStr("0.05"),
OracleRewardFactor: sdk.MustNewDecFromStr("0.01"),
RewardsAuctionFee: sdk.MustNewDecFromStr("0.20"),
RewardsAuctionFee: sdk.MustNewDecFromStr("0.02"),
SmallLiquidationSize: sdk.MustNewDecFromStr("500.00"),
DirectLiquidationFee: sdk.MustNewDecFromStr("0.05"),
}
Expand Down
2 changes: 1 addition & 1 deletion x/metoken/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ func DefaultParams() Params {
return Params{
RebalancingFrequency: 60 * 60 * 12, // 12h
ClaimingFrequency: 60 * 60 * 24 * 7, // 7d
RewardsAuctionFeeFactor: 2000, // 20% of fees goes to rewards auction
RewardsAuctionFeeFactor: 10000, // 100% of fees goes to rewards auction
}
}

0 comments on commit 73a552e

Please sign in to comment.