Skip to content

Latest commit

 

History

History
17 lines (14 loc) · 1.05 KB

SIP-0010.md

File metadata and controls

17 lines (14 loc) · 1.05 KB
SIP Title Author Status Track Created
0010
Proposal to upgrade Staking contract - apply fix to cover an edge case
Tyrone Johnson (@tjcloa)
Approved
Contract
2021-03-01

SIP-0010: Proposal to upgrade Staking contract - apply fix to cover an edge case

Background

The current Staking contract’s stakeByschedule function, used by the current Vesting contracts, only allows staking for a minimum of two intervals with 4 weeks in-between. Therefore, the current Staking contract cannot be used with a Origin Presale Vesting contract.

Resolved

  • The change implemented in this pull request at this commit will be implemented to a) allow staking for a minimum of one interval, and b) allow us to use a Origin Presale Vesting contract with the Staking contract.
  • The new Staking Logic contract is deployed at 0x5b87F01F665050d244543ca047317C26862E47f7.