Skip to content

Commit

Permalink
Baseline price effect updates (#675)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dinonard committed May 28, 2024
1 parent 1fb3373 commit 08c8179
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/learn/dapp-staking/dapp-staking-protocol.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,11 @@ Same principle is applied to Shiden, but with a slightly modified formula:

$ number\_of\_slots_{Shiden} = floor(100 * SDN_{USD} + 50)$

These formulas were designed with a _baseline_ price in mind.
Using the _baseline_ price, the _baseline_ number of slots can be calculated.

This value is important since it's used as a reference when calculating tier threshold adjustment.

#### Tier Threshold Entry

A dApp isn't entitled to a tier by just participating in the dApp Staking.
Expand All @@ -273,6 +278,9 @@ The formula for adjusting tier entry threshold:
$\Delta\%_{threshold} = (\frac{100\%}{100\% + \Delta\%_{dApps}} - 1) * 100\%$

where $\Delta\%_{dApps}$ is the change in the number of dApps, expressed as a percent. In case number has been reduced, the _delta_ will be negative.
The comparison is always done between the _baseline_ number of slots and the new number of slots.

$new\_threshold = base\_threshold * (1 + \Delta\%_{threshold})$

At the moment, there are two types of tier entry thresholds:

Expand Down

0 comments on commit 08c8179

Please sign in to comment.