Skip to content

Commit

Permalink
chore: set the default for buy back and treasury fee to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
ze97286 authored and Jiajia-Cui committed Aug 14, 2024
1 parent e4dfd3a commit 088c704
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/netparams/defaults.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ func defaultNetParams() map[string]value {
MarketMarginScalingFactors: NewJSON(&proto.ScalingFactors{}, checks.MarginScalingFactor(), checks.MarginScalingFactorRange(num.DecimalOne(), num.DecimalFromInt64(100))).Mutable(true).MustUpdate(`{"search_level": 1.1, "initial_margin": 1.2, "collateral_release": 1.4}`),
MarketFeeFactorsMakerFee: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0.00025"),
MarketFeeFactorsInfrastructureFee: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0.0005"),
MarketFeeFactorsBuyBackFee: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0.0001"), // TODO set default value
MarketFeeFactorsTreasuryFee: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0.0001"), // TODO set default value
MarketFeeFactorsBuyBackFee: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0"),
MarketFeeFactorsTreasuryFee: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0"),
MarketAuctionMinimumDuration: NewDuration(gte1s, lte1d).Mutable(true).MustUpdate("30m0s"),
MarketAuctionMaximumDuration: NewDuration(gte1s, lte1mo).Mutable(true).MustUpdate(week),
MarketLiquidityTargetStakeTriggeringRatio: NewDecimal(gteD0, lteD1).Mutable(true).MustUpdate("0"),
Expand Down

0 comments on commit 088c704

Please sign in to comment.