mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
22843cd3df
* minor migration refactor * overwrite usdx claims with latest reward indexes * add missing usdx claims in migration * add script to calculate missing usdx rewards * generate missing rewards using preliminary data * add missing usdx rewards in migration * update missing rewards data to use correct genesis * test rewards were not decreased * add tests for missing reward calculations * clarify function names * test to assert total new rewards are as expected * remove unecessary todo item
66 lines
1.2 KiB
JSON
66 lines
1.2 KiB
JSON
[
|
|
{
|
|
"collateral_type": "bnb-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.043949244534927716"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "btcb-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.046551281526135881"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "busd-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.011468527653896411"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "hard-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.123365881475003544"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "hbtc-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "1.472331865900201761"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "ukava-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.038864939729274249"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"collateral_type": "xrpb-a",
|
|
"reward_indexes": [
|
|
{
|
|
"collateral_type": "ukava",
|
|
"reward_factor": "0.020676676769949043"
|
|
}
|
|
]
|
|
}
|
|
]
|