# RCpoints Framework

A point route is one of multiple ways of receiving points. An epoch is a fixed amount of time.

There is a redemption rate $R_{pe}$ for each point route $p$ and epoch number $e$. The number $S_{pe}$ is a score received in epoch number $e$ through point route $p$. The point accrual rate at epoch number $e$ through point route $p$ is $S_{pe}R_{pe}$.

The amount of points earned through point route $p$ from epoch number $m$ to epoch number $n$ (including $n$) is

$A_{p}(m,n)=\sum_{e=m}^{n}S_{pe}R_{pe}$.

For $p$ the re-staking point route, we will have a number of epochs $N$, such that $R_{pe} > 1$ for all $e\leq N$ and $R{pe}=1$ for all $e > N$. The score $S_{pe}$ is the K2 ETH balance when epoch $e$ starts. For example, suppose that $N = 5$ and $R_{p5} = 3$, if K2 ETH balance is 2 ETH during both epoch 5, 6 and 7 then the amount of re-staking points earned in this period is

$A_{p}(5,7) = 2 \cdot 3 + 2 \cdot 1 + 2 \cdot 1$ ETH = 10 ETH.

**Example Calculation:**

Let’s say the starting points period ($N$) is 5th epoch and the redemption rate $R_{pe}$ is 3, and epoch 6,7 has $R_{pe}$ = 1. If you have 2 ETH staked from epoch 5 to 7, here’s how points are calulated :

- Epoch 5: 2 ETH * 3 = 6 ETH points (bonus applied)
- Epoch 6: 2 ETH * 1 = 2 ETH points (standard rate)
- Epoch 7: 2 ETH * 1 = 2 ETH points (standard rate)

Total points earned: 6 ETH + 2 ETH + 2 ETH = 10 ETH points

For $p$ an activities & participation (commercial) point route, the numbers $S_{pe}$ and $R_{pe}$ are dependent on epoch $e$.