|
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 |
|
|
861f4cddaf
|
Correct padding in generated Solidity proposal code
|
2023-06-12 15:18:32 -07:00 |
|
|
ed130ad30f
|
Add hardhat dependencies & update fork-blocks
|
2023-06-12 15:17:52 -07:00 |
|
|
4a876ee7d0
|
Add tests (bugged)
|
2023-06-12 15:17:34 -07:00 |
|
|
439f3209d0
|
Lower gas to deployment five times
|
2023-06-12 14:17:26 -07:00 |
|
|
015c5d8a14
|
Create solidity source and tests for proposal
|
2023-06-12 06:22:32 -07:00 |
|
|
a3b18ba479
|
Create TS scripts to obtain rewards data of all stakers before hack (proposal 20 exectuion)
|
2023-06-03 10:53:36 -07:00 |
|
|
ec0bca632a
|
Init forge
|
2023-06-03 03:05:18 -07:00 |
|
|
5bebfdfe78
|
Initial commit
|
2023-06-03 11:54:45 +02:00 |
|