Commit Graph

  • 55a6540a13 Add calculation of stakers (to who we propose to restore rewards) locked balances & use multicall, speed up scripts execution more than 10 times main Theo 2023-06-19 09:05:39 -0700
  • dbd12a63a2 Add deployed contracts addresses to README Theo 2023-06-15 20:38:55 -0700
  • 035ab78ac6 Update forge Theo 2023-06-15 20:38:37 -0700
  • 380e7872f0 Add README Theo 2023-06-15 14:30:30 -0700
  • 94b96276b6 Fix restore calculation: we should not restore rewards to those who managed to withdraw from the old Staking contract Theo 2023-06-14 07:27:09 -0700
  • d90b460355 Add tests to check correctness of staking contract functionality after proposal execution Theo 2023-06-14 06:51:42 -0700
  • 808420b0d6 Add autoreturn locked tokens to Governance from test voter Theo 2023-06-13 16:39:58 -0700
  • ea9b28457c Add waiting for contracts deployment before verification Theo 2023-06-13 12:32:09 -0700
  • f2a0e18cc0 Fix merge conflicts Theo 2023-06-13 11:37:43 -0700
  • e049d9b107 Merge branch 'AlienTornadosaurusHex-main' Theo 2023-06-13 11:33:48 -0700
  • a935093f54 Add hardhat deployment by T-Hax Theo 2023-06-13 11:33:37 -0700
  • 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) Theo 2023-06-12 16:45:32 -0700
  • 861f4cddaf Correct padding in generated Solidity proposal code Theo 2023-06-12 15:18:32 -0700
  • ed130ad30f Add hardhat dependencies & update fork-blocks Theo 2023-06-12 15:17:52 -0700
  • 4a876ee7d0 Add tests (bugged) Theo 2023-06-12 15:17:34 -0700
  • 439f3209d0 Lower gas to deployment five times Theo 2023-06-12 14:17:26 -0700
  • 80078475d5 add hardhat deploy logic AlienTornadosaurusHex 2023-06-12 19:39:42 +0000
  • 015c5d8a14 Create solidity source and tests for proposal Theo 2023-06-12 06:22:32 -0700
  • a3b18ba479 Create TS scripts to obtain rewards data of all stakers before hack (proposal 20 exectuion) Theo 2023-06-03 10:53:36 -0700
  • ec0bca632a Init forge Theo 2023-06-03 03:05:18 -0700
  • 5bebfdfe78 Initial commit Theo 2023-06-03 11:54:45 +0200