Skip to content

Commit b43df17

Browse files
committed
changes
1 parent 5e8b8d2 commit b43df17

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

pages/home/pyth-token/oracle-integrity-staking/examples.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,14 +110,14 @@ $$
110110
\text{Final Delegator Reward} \quad{R^d_p} &= {R^d_p} - {F^d_p} = 30 - 0.6 = 29.4 \\
111111
\text{Total Publisher Reward} \quad{R^p_p} &= {R^p_p} + {F^d_p} = 20 + 0.6 = 20.6 \\
112112
113-
\text{Slashed percentage}\quad{z} &= 50\% \\
113+
\text{Slashed percentage}\quad{w} &=50\% \\
114114
115-
\text{Net Publisher Stake} \quad{\Pi^p_p} = ( R^p_p + f \cdot R^d_p ) - z \cdot S^p_p = (20 + 0.6) - 0.5 \cdot 200 = 20.6 - 100 = -79.4 \\
116-
\text{Net Deligator Stake} \quad{\Pi^d_p} = R^d_p - ( f \cdot R^d_p + z \cdot S^d_p ) = 30 - ( 0.6 + 0.5 \cdot 300 ) = 30 - 150.6 = -120.6 \\
115+
\text{Net Publisher Stake} \quad{\Pi^p_p} = ( R^p_p + f \cdot R^d_p ) - w \cdot S^p_p = (20 + 0.6) - 0.5 \cdot 200 = 20.6 - 100 = -79.4 \\
116+
\text{Net Deligator Stake} \quad{\Pi^d_p} = R^d_p - ( f \cdot R^d_p + w \cdot S^d_p ) = 30 - ( 0.6 + 0.5 \cdot 300 ) = 30 - 150.6 = -120.6 \\
117117
\end{aligned}
118118
$$
119119

120-
In this example, the publisher's stake is slashed by 50%. This means that the publisher's stake is reduced to 100 and the delegator's stake remains the same.
120+
In this example, the publisher's stake is slashed by 50%. This means that the publisher's stake is reduced by 79.4 PYTH tokens and the delegator's stake is reduced by 120.6 PYTH tokens.
121121

122122

123123

pages/home/pyth-token/oracle-integrity-staking/mathematical-representation.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,13 @@ Slashing is an important aspect of the OIS protocol to ensure the integrity of t
7070
The slashed amount for each pool is calculated as follows:
7171

7272
$$
73-
\large{SL_p = z \cdot S_p = z \cdot (S^{p}_{p} + S^{d}_{p})}
73+
\large{SL_p = w \cdot S_p = w \cdot (S^{p}_{p} + S^{d}_{p})}
7474
$$
7575

7676
Where:
7777

7878
- $SL_p$ is the slashed amount for the publisher $p$ pool.
79-
- $z$ is the slashing rate.
79+
- $w$ is the slashing rate.
8080
- $S_p$ is the stake assigned to the publisher $p$ pool , made of self-staked amount $S^{p}_{p}$ and delegated stake $S^{d}_{p}$ , or $S_{p} = S^{p}_{p} + S^{d}_{p}$.
8181

8282
Here $SL_p$ is uniformly allocated to both the self-staking publisher and delegators in the pool, pro-rata to their respective stake.
@@ -87,18 +87,18 @@ Here $SL_p$ is uniformly allocated to both the self-staking publisher and delega
8787
Subsequently, the rewards received by a publisher and delegators into a pool, net of any slashed amounts can be expressed as below:
8888

8989
$$
90-
\large{\Pi^p_p = ( R^p_p + f \cdot R^d_p ) - z \cdot S^p_p}
90+
\large{\Pi^p_p = ( R^p_p + f \cdot R^d_p ) - w \cdot S^p_p}
9191
$$
9292

9393
$$
94-
\large{\Pi^d_p = R^d_p - ( f \cdot R^d_p + z \cdot S^d_p )}
94+
\large{\Pi^d_p = R^d_p - ( f \cdot R^d_p + w \cdot S^d_p )}
9595
$$
9696

9797
Where:
9898

9999
- $\Pi^p_p$ is the net reward received by the publisher $p$ after slashing.
100100
- $\Pi^d_p$ is the net reward received by the delegators after slashing.
101101
- $f$ is the delegation fee charged by the publisher.
102-
- $z$ is the slashing rate.
102+
- $w$ is the slashing rate.
103103
- $S^p_p$ is the amount self-staked by the publisher $p$.
104104
- $S^d_p$ is the amount delegated to the publisher $p$.

0 commit comments

Comments
 (0)