This website requires JavaScript.
Explore
Help
Register
Sign In
Theo
/
proposal-25-restore-rewards
Watch
1
Star
0
Fork
1
You've already forked proposal-25-restore-rewards
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
808420b0d6
proposal-25-restore-rewards
/
src
History
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
..
interfaces
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
proprietary
Create solidity source and tests for proposal
2023-06-12 06:22:32 -07:00
AdminUpgradeableProxy.sol
Create solidity source and tests for proposal
2023-06-12 06:22:32 -07:00
Proposal.sol
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
TornadoStakingRewards.sol
Create solidity source and tests for proposal
2023-06-12 06:22:32 -07:00