1
- import StakingCapBar from " @/components/StakingCapBar" ;
2
1
import RewardSimulator from " @/components/RewardSimulator" ;
3
2
4
3
# Examples
@@ -9,7 +8,7 @@ NOTE: All the symbols used in the examples are explained in the [Mathematical Re
9
8
10
9
## Example 1: Only Publisher Stake
11
10
12
- This example take the case one pool where the pool has stake from only the publisher.
11
+ This example takes the case of one pool where the pool has stake from only the publisher.
13
12
14
13
$$
15
14
\begin{aligned}
23
22
\text{Total Reward for one year} \quad{R_p} &= {r} \times {E_p} = 10\% \times 100 = 10 \\
24
23
\text{Publisher Reward} \quad{R^p_p} &= {r} \times min({S^p_p}, {C}_p) = 10\% \times 100 = 10 \\
25
24
\text{Delegator Reward} \quad{R^d_p} &= {R_p} - {R^p_p} = 10 - 10 = 0 \\
25
+ \text{Effective Publisher Yield Rate} \quad{r^p_p} &= \frac{R^p_p}{S^p_p} = \frac{10}{100} = 10\% \\
26
+ \text{Effective Delegator Yield Rate} \quad{r^d_p} &= \frac{R^d_p}{S^d_p} = \frac{0}{0} = 0\% \\
26
27
\end{aligned}
27
28
$$
28
29
29
30
## Example 2: Publisher and Delegator Stake
30
31
31
- This example take the case where the pool has stake from both the publisher and the delegator.
32
+ This example takes the case where the pool has stake from both the publisher and the delegator.
32
33
33
34
$$
34
35
\begin{aligned}
42
43
\text{Total Reward for one year} \quad{R_p} &= {r} \times {E_p} = 10\% \times 200 = 20 \\
43
44
\text{Publisher Reward} \quad{R^p_p} &= {r} \times min({S^p_p}, {C}_p) = 10\% \times 100 = 10 \\
44
45
\text{Delegator Reward} \quad{R^d_p} &= {R_p} - {R^p_p} = 20 - 10 = 10 \\
46
+ \text{Effective Publisher Yield Rate} \quad{r^p_p} &= \frac{R^p_p}{S^p_p} = \frac{10}{100} = 10\% \\
47
+ \text{Effective Delegator Yield Rate} \quad{r^d_p} &= \frac{R^d_p}{S^d_p} = \frac{10}{100} = 10\% \\
45
48
\end{aligned}
46
49
$$
47
50
48
51
## Example 3: Publisher and Delegator Stake more than the Cap
49
52
50
- This example take the case where the combined stake of both the publisher and the delegator exceeds the cap.
53
+ This example takes the case where the combined stake of both the publisher and the delegator exceeds the cap.
51
54
52
55
$$
53
56
\begin{aligned}
61
64
\text{Total Reward for one year} \quad{R_p} &= {r} \times {E_p} = 10\% \times 500 = 50 \\
62
65
\text{Publisher Reward} \quad{R^p_p} &= {r} \times min({S^p_p}, {C}_p) = 10\% \times 300 = 30 \\
63
66
\text{Delegator Reward} \quad{R^d_p} &= {R_p} - {R^p_p} = 50 - 30 = 20 \\
67
+ \text{Effective Publisher Yield Rate} \quad{r^p_p} &= \frac{R^p_p}{S^p_p} = \frac{30}{300} = 10\% \\
68
+ \text{Effective Delegator Yield Rate} \quad{r^d_p} &= \frac{R^d_p}{S^d_p} = \frac{20}{300} = 6.67\% \\
64
69
\end{aligned}
65
70
$$
66
71
0 commit comments