mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
013093ecb5
* move defualt values to file where they're used * add type to hold RewardIndexes in genesis state * add reward indexes state to genesis * fix genesis state importers * add iterator keeper methods for accrual times * remove syncing from export/init genesis * separate incentive migration to new file * refactor out common funcs from incentive migration * update legacy genesis state to v0.14.3 * add test and example migrated json * fully initialize rewards in genesis builder * add kava-7-mainnet incentive state * run aliasgen * add missing type to incentive/legacy Co-authored-by: karzak <kjydavis3@gmail.com>
277 lines
6.3 KiB
JSON
277 lines
6.3 KiB
JSON
{
|
|
"hard_borrow_accumulation_times": [],
|
|
"hard_borrow_reward_indexes": [],
|
|
"hard_delegator_accumulation_times": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"previous_accumulation_time": "2021-04-08T15:00:00Z"
|
|
}
|
|
],
|
|
"hard_delegator_reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"hard_liquidity_provider_claims": [
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1zx2gfs37vszrgrxke22mtlfj6hpl72y03ur7xr",
|
|
"reward": [
|
|
{
|
|
"amount": "48396109",
|
|
"denom": "hard"
|
|
},
|
|
{
|
|
"amount": "1",
|
|
"denom": "ukava"
|
|
}
|
|
]
|
|
},
|
|
"borrow_reward_indexes": [],
|
|
"delegator_reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
],
|
|
"supply_reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "usdx",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.000000000000000000"
|
|
},
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1zyu77sruwsk7vw8pkcrj20ees0gyjlfntrgahy",
|
|
"reward": []
|
|
},
|
|
"borrow_reward_indexes": [],
|
|
"delegator_reward_indexes": [],
|
|
"supply_reward_indexes": []
|
|
},
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava1zyu7gxmdcd7x83ndl2nvegj57lasf7cel4nrex",
|
|
"reward": [
|
|
{
|
|
"amount": "6442528",
|
|
"denom": "hard"
|
|
}
|
|
]
|
|
},
|
|
"borrow_reward_indexes": [],
|
|
"delegator_reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
],
|
|
"supply_reward_indexes": []
|
|
}
|
|
],
|
|
"hard_supply_accumulation_times": [
|
|
{
|
|
"collateral_type": "bnb",
|
|
"previous_accumulation_time": "2021-04-08T15:00:00Z"
|
|
},
|
|
{
|
|
"collateral_type": "usdx",
|
|
"previous_accumulation_time": "2021-04-08T15:00:00Z"
|
|
}
|
|
],
|
|
"hard_supply_reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "usdx",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "hard",
|
|
"reward_factor": "0.000000000000000000"
|
|
},
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"params": {
|
|
"claim_end": "2026-04-08T14:00:00Z",
|
|
"claim_multipliers": [
|
|
{
|
|
"factor": "0.200000000000000000",
|
|
"months_lockup": "1",
|
|
"name": "small"
|
|
},
|
|
{
|
|
"factor": "1.000000000000000000",
|
|
"months_lockup": "12",
|
|
"name": "large"
|
|
}
|
|
],
|
|
"hard_borrow_reward_periods": [],
|
|
"hard_delegator_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "ukava",
|
|
"end": "2024-10-16T14:00:00Z",
|
|
"rewards_per_second": {
|
|
"amount": "633761",
|
|
"denom": "hard"
|
|
},
|
|
"start": "2020-10-16T14:00:00Z"
|
|
}
|
|
],
|
|
"hard_supply_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "usdx",
|
|
"end": "2024-10-16T14:00:00Z",
|
|
"rewards_per_second": [
|
|
{
|
|
"amount": "373919",
|
|
"denom": "hard"
|
|
},
|
|
{
|
|
"amount": "373919",
|
|
"denom": "ukava"
|
|
}
|
|
],
|
|
"start": "2020-10-16T14:00:00Z"
|
|
},
|
|
{
|
|
"active": true,
|
|
"collateral_type": "bnb",
|
|
"end": "2024-10-16T14:00:00Z",
|
|
"rewards_per_second": [
|
|
{
|
|
"amount": "12675",
|
|
"denom": "hard"
|
|
}
|
|
],
|
|
"start": "2020-10-16T14:00:00Z"
|
|
}
|
|
],
|
|
"usdx_minting_reward_periods": [
|
|
{
|
|
"active": true,
|
|
"collateral_type": "btcb-a",
|
|
"end": "2022-04-08T14:00:00Z",
|
|
"rewards_per_second": {
|
|
"amount": "110780",
|
|
"denom": "ukava"
|
|
},
|
|
"start": "2021-04-08T15:00:00Z"
|
|
},
|
|
{
|
|
"active": true,
|
|
"collateral_type": "bnb-a",
|
|
"end": "2022-04-08T14:00:00Z",
|
|
"rewards_per_second": {
|
|
"amount": "122354",
|
|
"denom": "ukava"
|
|
},
|
|
"start": "2021-04-08T15:00:00Z"
|
|
}
|
|
]
|
|
},
|
|
"usdx_accumulation_times": [
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"previous_accumulation_time": "2021-04-08T15:00:00Z"
|
|
},
|
|
{
|
|
"collateral_type": "btcb-a",
|
|
"previous_accumulation_time": "2021-04-08T15:00:00Z"
|
|
}
|
|
],
|
|
"usdx_minting_claims": [
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava177dtrf8ahjp3wud6p3aqurpuyqae3mq8n069m9",
|
|
"reward": {
|
|
"amount": "81528",
|
|
"denom": "ukava"
|
|
}
|
|
},
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"base_claim": {
|
|
"owner": "kava18dde5uvs9h474wj5pe69wg66s2v30whpsqgwee",
|
|
"reward": {
|
|
"amount": "4825232",
|
|
"denom": "ukava"
|
|
}
|
|
},
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"reward_factor": "0.000000000000000000"
|
|
},
|
|
{
|
|
"collateral_type": "btcb-a",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"usdx_reward_indexes": [
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "btcb-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.000000000000000000"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |