mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 16:25:21 +00:00
fix: update claim multipliers in incentive migration (#994)
This commit is contained in:
parent
8b54fdafa4
commit
e060393563
@ -26,7 +26,18 @@ func Incentive(incentiveGS v0_14incentive.GenesisState) v0_15incentive.GenesisSt
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
Denom: "swp",
|
Denom: "swp",
|
||||||
Multipliers: claimMultipliers, // TODO set the correct multipliers
|
Multipliers: v0_15incentive.Multipliers{
|
||||||
|
{
|
||||||
|
Name: v0_15incentive.Small,
|
||||||
|
MonthsLockup: 1,
|
||||||
|
Factor: sdk.MustNewDecFromStr("0.1"),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
Name: v0_15incentive.Large,
|
||||||
|
MonthsLockup: 12,
|
||||||
|
Factor: sdk.OneDec(),
|
||||||
|
},
|
||||||
|
}, // TODO set the correct multipliers
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -173,14 +173,49 @@
|
|||||||
"claim_end": "2026-04-08T14:00:00Z",
|
"claim_end": "2026-04-08T14:00:00Z",
|
||||||
"claim_multipliers": [
|
"claim_multipliers": [
|
||||||
{
|
{
|
||||||
"factor": "0.200000000000000000",
|
"denom": "hard",
|
||||||
|
"multipliers": [
|
||||||
|
{
|
||||||
|
"name": "small",
|
||||||
"months_lockup": "1",
|
"months_lockup": "1",
|
||||||
"name": "small"
|
"factor": "0.200000000000000000"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"factor": "1.000000000000000000",
|
"name": "large",
|
||||||
"months_lockup": "12",
|
"months_lockup": "12",
|
||||||
"name": "large"
|
"factor": "1.000000000000000000"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"denom": "ukava",
|
||||||
|
"multipliers": [
|
||||||
|
{
|
||||||
|
"name": "small",
|
||||||
|
"months_lockup": "1",
|
||||||
|
"factor": "0.200000000000000000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "large",
|
||||||
|
"months_lockup": "12",
|
||||||
|
"factor": "1.000000000000000000"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"denom": "swp",
|
||||||
|
"multipliers": [
|
||||||
|
{
|
||||||
|
"name": "small",
|
||||||
|
"months_lockup": "1",
|
||||||
|
"factor": "0.100000000000000000"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "large",
|
||||||
|
"months_lockup": "12",
|
||||||
|
"factor": "1.000000000000000000"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"delegator_reward_periods": [
|
"delegator_reward_periods": [
|
||||||
|
Loading…
Reference in New Issue
Block a user