Skip to content

Commit

Permalink
fix(staking): correct default values (#31)
Browse files Browse the repository at this point in the history
* fix(staking): correct default values

* fix(staking): correct default values

* fix(staking): correct default values
  • Loading branch information
ezreal1997 authored Dec 10, 2024
1 parent bf84b22 commit badc47d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x/staking/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,22 +44,22 @@ var DefaultMinDelegation = math.NewInt(1)
var DefaultPeriods = []Period{
{
PeriodType: 0,
Duration: time.Duration(0),
Duration: time.Duration(0), // flexible
RewardsMultiplier: math.LegacyOneDec(), // 1
},
{
PeriodType: 1,
Duration: time.Hour * 24 * 30, // 3 months
Duration: time.Hour * 24 * 90, // 90 days
RewardsMultiplier: math.LegacyNewDecWithPrec(1051, 3), // 1.051
},
{
PeriodType: 2,
Duration: time.Hour * 24 * 365, // 1 year
Duration: time.Hour * 24 * 360, // 360 days
RewardsMultiplier: math.LegacyNewDecWithPrec(116, 2), // 1.16
},
{
PeriodType: 3,
Duration: time.Hour * 24 * 30 * 18, // 18 months
Duration: time.Hour * 24 * 540, // 540 days
RewardsMultiplier: math.LegacyNewDecWithPrec(134, 2), // 1.34
},
}
Expand Down

0 comments on commit badc47d

Please sign in to comment.