Changes and Improvements
New and intelligent architecture


Max Distribution

In V2, we aim to provide a more stable APY across program duration. Early adopters still get better reward but later adopters now get a better reward right at the beginning. We achieve that by abandoning reward multiplication, so now users have a better base reward.
Dmax=AmaxPD_{max} = \frac{A _{max}}{P}


The rewards of users are the sum of all rewards in the past adjusted to the latest demand factor.
R=DFβ‹…βˆ‘i=0tDmaxβ‹…SiuSiR = DF\cdot \sum\limits_{i=0}^t {D_{max}\cdot\frac{S_{i_u}}{S_i}}

Security Improvement

The Super Staking model heavily depends on token price which is provided by an oracle feed. In extreme cases when the oracle's price feed is hacked or manipulated, the staking program will also be affected. Even though we already limit the range of demand factor to 0.1 β†’ 1, having the sudden surge in demand factor shows some weakness on security frontier. In V2, we will include 2 measues to tackle this problem.

Variance Tolerance

In the current implementation, demand factor will be calculated using the latest price. To prevent a sudden change in price, we can introduce a delay and a variance tolerance for price change.

Time-Weighted Average Price (TWAP)

Variance Tolerance is a simple but effective way to prevent a sudden surge in price, but the price change curve is still steep. And in extreme cases where hackers have control over the oracle feed, they can still bypass that mechanism. Fortunately, these 2 problems can be resolved by TWAP calculation.
  • The curve will be averaged out and become less steep.
  • Even when hackers can control the oracle feed, they will have a tougher time if they want to exploit SS. The price will need some time for the price to increase, and during that time, the team will have enough time to implement a prevention measure (such as changing the oracle).
Last modified 2mo ago