Logo
Explore Help
Register Sign In
Theo/proposal-25-restore-rewards
1
0
Fork 1
You've already forked proposal-25-restore-rewards
Code Issues Pull Requests Packages Projects Releases Wiki Activity
21 Commits 1 Branch 0 Tags
main
Commit Graph

7 Commits

Author SHA1 Message Date
Theo
55a6540a13 Add calculation of stakers (to who we propose to restore rewards) locked balances & use multicall, speed up scripts execution more than 10 times 2023-06-19 09:05:39 -07:00
Theo
94b96276b6 Fix restore calculation: we should not restore rewards to those who managed to withdraw from the old Staking contract 2023-06-14 07:27:09 -07:00
Theo
d90b460355 Add tests to check correctness of staking contract functionality after proposal execution 2023-06-14 06:51:42 -07:00
Theo
808420b0d6 Add autoreturn locked tokens to Governance from test voter 2023-06-13 16:39:58 -07:00
Theo
79d5bfd103 Fix rewards accrual bug mentioned by T-Hax: in 'accrueOldRewards' function we added rewards that staker hasn't earned, because 'checkReward' function in Staking contract returns updated (actual) reward amount, but not update it in storage. Replace 'checkReward' function with getter 'accumulatedRewards', which returns actual accumulated reward amount (not updated) 2023-06-12 16:45:32 -07:00
Theo
4a876ee7d0 Add tests (bugged) 2023-06-12 15:17:34 -07:00
Theo
015c5d8a14 Create solidity source and tests for proposal 2023-06-12 06:22:32 -07:00
Powered by Gitea Version: 1.25.4 Page: 430ms Template: 9ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API