0g-chain/migrate/v0_15/usdx_rewards
Ruaridh 22843cd3df
Incentive migration state fixes: USDX Minting (#998)
* 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
2021-08-19 16:20:26 +01:00
..
calculate_test.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
calculate.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
cdp-cdps-829296.json Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
incentive-usdx-claims-829296.json Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
incentive-usdx-indexes-829296.json Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00
main.go Incentive migration state fixes: USDX Minting (#998) 2021-08-19 16:20:26 +01:00