Proposal to restore old rewards value (as before hack) after redeploying Staking contract
| abi | ||
| data | ||
| lib | ||
| script | ||
| scripts | ||
| src | ||
| test | ||
| utils | ||
| .env.example | ||
| .gitignore | ||
| .gitmodules | ||
| config.js | ||
| foundry.toml | ||
| hardhat.config.js | ||
| LICENSE | ||
| package.json | ||
| README.md | ||
| remappings.txt | ||
| tsconfig.json | ||
Proposal 25: restore old rewards
Proposal to restore old rewards value (as before hack) after redeploying Staking contract to stakers, who did not have time to withdraw their rewards due to a bug
Changes:
- Redeploying staking implementation contract to add new function
setReward - Restore rewards to 357 stakers (all stakers, who had more than 1 TORN in rewards at the time of the hack and didn't have time to withdraw them)
- Transfer 42 754 TORN from Governance to new Staking contract (so that stakers can withdraw their restored rewards)
Requirements
- Rust (Need only for Windows)
- Foundryup (Windows, Linux)
- Node 14 or higher (Windows, Linux)
Installation
git clone --recurse-submodules https://git.tornado.ws/Theo/proposal-25-restore-rewards
cd proposal-25-restore-rewards
npm install
Testing
npm run test
Contracts
- New staking implementation contract: etherscan link
- Proposal contract: etherscan link