> For the complete documentation index, see [llms.txt](https://docs.ierc20.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ierc20.com/new-features/ierc-dpos.md).

# IERC DPoS

In a DPoS system, the mining output of users is entirely determined by the DPoS\_EOA (Delegated Proof of Stake Externally Owned Account) points they hold. When users are ready to perform a Mint operation, they can choose the amount of points they want to consume and pay gas fees to have the transaction added to the blockchain. The calculation of rewards follows the following formula:

1. **The formula for calculating the DPoS weight is as follows:**

$$Weight = \frac{BurnPoints}{BurnPoints\_T}$$

* $$Weight$$ represents the proportion of rewards that you will receive in this block.
* $$BurnPoints$$ Represents the number of points you consume in this transaction.
* $$BurnPoints\_T$$ Represents the total sum of points used effectively in the block where this transaction is included.

2. **The formula for calculating DPoS rewards is as follows:**

$$Rewards = \frac{Weight}{Weight\_T} \* (BlockRewards \* Ratio\_{DPoS} \* (1+LastEmptyCount))$$

* $$Weight$$ represent the mining rewards that you can obtain in the current block.
* $$Weight\_T$$ represents the total sum of weights of all valid mining activities in the current block.
* $$BlockRewards \* Ratio\_{DPoS}$$ represents the output rewards of each DPoS block. Initially, it is 50% of 1000 tokens. After every two years, it halves until the fourth year, when it maintains a fixed output ratio.
* $$LastEmptyCount$$ is the number of consecutive blocks without valid DPoS transactions in the previous block or blocks. This value increases the rewards for subsequent blocks until a valid transaction occurs.

### DPoS **Staking**

Staking is an important component of Delegated Proof of Stake (DPoS). In DPoS, users have the option to stake or delegate their tokens by choosing an appropriate staking strategy.

<table data-header-hidden><thead><tr><th width="174"></th><th width="144"></th><th width="166"></th><th></th></tr></thead><tbody><tr><td>Inscriptions/Stake Type</td><td>Free</td><td>Lockout 30D</td><td>Lockout more</td></tr><tr><td>$ethi</td><td>1x</td><td>1.5x</td><td>...</td></tr><tr><td>...</td><td>...</td><td>...</td><td>...</td></tr></tbody></table>
