Skip to content

Commit dd0632f

Browse files
committed
align
1 parent b43df17 commit dd0632f

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

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

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,33 @@ $$
109109
\text{Fee paid by Delegator} \quad{F^d_p} &= {f} \times {R^d_p} = 2\% \times 30 = 0.6 \\
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 \\
112-
113112
\text{Slashed percentage}\quad{w} &=50\% \\
114-
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 \\
117113
\end{aligned}
118114
$$
119115

116+
117+
$$
118+
\begin{equation}
119+
\begin{split} \text{Net Publisher Stake} \quad{\Pi^p_p}
120+
& = ( R^p_p + f \cdot R^d_p ) - w \cdot S^p_p \\
121+
& = (20 + 0.6) - 0.5 \cdot 200 \\
122+
& = 20.6 - 100 \\
123+
& = -79.4
124+
\end{split}
125+
\end{equation}
126+
$$
127+
128+
$$
129+
\begin{equation}
130+
\begin{split} \text{Net Deligator Stake} \quad{\Pi^d_p}
131+
& = R^d_p - ( f \cdot R^d_p + w \cdot S^d_p ) \\
132+
& = 30 - ( 0.6 + 0.5 \cdot 300 ) \\
133+
& = 30 - 150.6 \\
134+
& = -120.6
135+
\end{split}
136+
\end{equation}
137+
$$
138+
120139
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.
121140

122141

0 commit comments

Comments
 (0)