SIP | Title | Author | Status | Track | Created |
---|---|---|---|---|---|
0016 |
Staking Security Update |
James Howlett (@jameshowlett977) |
Approved |
Contract |
2021-03-30 |
The Origin Vesting contracts have cliff is incorrect, leading to the Vesting contracts to pass incorrect dates to the Staking contract.
This results in Origin token holders being unable to claim their SOV. Origin Vesting contracts aren't upgradable.
Therefore, we need to update 2 functions in Staking contract: getPriorUserStakeByDate
and withdraw
.
Dates passed to these functions will be adjusted (only for incorrect dates) to the end of the current 2 week period (March 26, 2021 10:28:15 AM for Origin Vestings).
- The change implemented in this pull request at this commit will be implemented to unlock Origin Vesting contracts.
- The new Staking Logic contract is deployed at 0x962Ce6E2Fa1A4917DfF12Ad10135b1a4F16c2DB0.