Skip to content

Commit 035583c

Browse files
committed
calculations
1 parent 48270d1 commit 035583c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,13 @@ $$
107107
\quad{R^p_p} &= {r} \times min({S^p_p}, {C}_p) = 10\% \times 200 = 20 \\
108108
\quad{R^d_p} &= {R_p} - {R^p_p} = 50 - 20 = 30 \\
109109
\text{Fee paid by Delegator} \quad{F^d_p} &= {f} \times {R^d_p} = 2\% \times 30 = 0.6 \\
110+
\text{Final Delegator Reward} \quad{R^d_p} &= {R^d_p} - {F^d_p} = 30 - 0.6 = 29.4 \\
111+
\text{Total Publisher Reward} \quad{R^p_p} &= {R^p_p} + {F^d_p} = 20 + 0.6 = 20.6 \\
110112
111113
\text{Slashed percentage}\quad{z} &= 50\% \\
112-
\text{Final Delegator Reward} \quad{\Pi^d_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 \\
113-
\text{Total Publisher Reward} \quad{\Pi^p_p} &= {R^p_p} + {F^d_p} = 20 + 0.6 = 20.6 \\
114+
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 \\
114117
\end{aligned}
115118
$$
116119

0 commit comments

Comments
 (0)