> For the complete documentation index, see [llms.txt](https://polydash.gitbook.io/polydash-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polydash.gitbook.io/polydash-docs/polypad/staking-pools.md).

# Staking pools

Staking pools are permissionless reward pools. Anyone can create a pool for any token, fund it with rewards, and let holders stake. Rewards stream every second.

The step-by-step holder guide, including the official POLYDASH rewards pool and NFT staking, is [How to stake](https://polydash.gitbook.io/polydash-docs/polypad/how-to-stake.md). The walkthrough below is the V2 token-pool path.

## Who it is for

* **Creators and communities** who want to reward holders of a token.
* **Holders** who want to earn a pool's reward token for staking a stake token.

## How to stake and unstake on Polypad

{% stepper %}
{% step %}

### Open the stake page

Go to [polypad.family/stake](https://polypad.family/stake). Choose **Tokens** for ERC-20 pools or **NFTs** for NFT staking pools. Connect a wallet on Robinhood Chain. You sign every transaction.
{% endstep %}

{% step %}

### Pick a pool

Check the stake token address, the reward token address, the remaining duration, the claim fee, and the factory. Anyone can create a pool, so treat an unknown token as unverified. For the official POLYDASH rewards pool, use [Stake in the POLYDASH rewards pool](https://polydash.gitbook.io/polydash-docs/polydash-token/buybacks-and-rewards-pool.md#how-to-stake-in-the-polydash-rewards-pool) instead of a permissionless V2 pool.
{% endstep %}

{% step %}

### Approve and stake

Approve the pool to spend the token (or the NFT) you want to stake, then stake. Staking on V2 is open until the pool ends, or until an optional cap is reached. There is no lockup.
{% endstep %}

{% step %}

### Claim rewards

Rewards accrue each second in proportion to your share. Claim whenever you like. V2 takes a creator-set claim fee of **1% to 5%** from the rewards you claim. **30%** of that fee goes to the platform and **70%** to the pool creator. The fee is not taken from your staked principal.
{% endstep %}

{% step %}

### Unstake

Withdraw at any time. V2 has no unstake fee and no lock. `emergencyWithdraw` returns principal and gives up unclaimed rewards. After the pool ends, the creator can recover leftover unallocated rewards, but cannot touch rewards already owed to stakers.
{% endstep %}
{% endstepper %}

The official POLYDASH rewards pool is a different contract. It has no owner, no lock, and no fee. Its rewards, when any are added, are the stakers' share of buybacks. See [Buybacks and rewards pool](https://polydash.gitbook.io/polydash-docs/polydash-token/buybacks-and-rewards-pool.md).

## How it works (StakingFactory V2)

{% stepper %}
{% step %}

### Create a pool

The creator calls `createPool` on the factory with a stake token, a reward token, a reward amount, a start time, a duration, an optional cap on total stake, a claim fee, a name, and a description. The reward amount moves from the creator into the new pool in the same transaction.
{% endstep %}

{% step %}

### Stake

Holders approve once, then stake. Staking is open until the pool ends, or until the optional cap is reached.
{% endstep %}

{% step %}

### Earn per second

Rewards accrue each second in proportion to a staker's share. `rewardRate` is total rewards divided by duration.
{% endstep %}

{% step %}

### Claim or exit

Stakers can claim rewards and withdraw at any time. There is no lockup and no unstake fee. `emergencyWithdraw` returns principal and gives up unclaimed rewards.
{% endstep %}

{% step %}

### Recover leftovers

After the pool ends, the creator can recover rewards that were never allocated, such as emissions while nobody was staked, and rewards that were forfeited. The creator cannot touch rewards owed to stakers.
{% endstep %}
{% endstepper %}

## Key parameters

| Parameter   | Value                                                         |
| ----------- | ------------------------------------------------------------- |
| Duration    | 1 day to 3,650 days                                           |
| Claim fee   | 1% to 5%, set by the creator, taken from rewards when claimed |
| Fee split   | 30% to the platform, 70% to the pool creator                  |
| Unstake fee | None                                                          |
| Lockup      | None                                                          |
| Accounting  | Share-based, rewards scaled by 1e36 with a carried remainder  |

## What the owner can and cannot do

The factory owner can set the fee recipient and mark pools as verified, which is a cosmetic flag. The owner cannot move staked tokens or reward tokens, and cannot change a pool's schedule or fee after creation. Pools are separate contracts, not upgradeable proxies.

## Contracts

| Contract                                     | Address                                                                                                                                  |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| StakingFactory V2                            | [`0x904b8F5d95B593b5F4a6Dbb116b58e1d5CBe93f0`](https://robinhoodchain.blockscout.com/address/0x904b8F5d95B593b5F4a6Dbb116b58e1d5CBe93f0) |
| Example pool                                 | [`0xB2BBc1752FAa5BCfC67571819af30CE2AaF58518`](https://robinhoodchain.blockscout.com/address/0xB2BBc1752FAa5BCfC67571819af30CE2AaF58518) |
| Example pool                                 | [`0x0F50043E172B8652bb786C4F14f30c415E5760AB`](https://robinhoodchain.blockscout.com/address/0x0F50043E172B8652bb786C4F14f30c415E5760AB) |
| StakingFactory V1 (legacy)                   | [`0x0aAEa47d2e7303EC5a809062eafa59e7F011D857`](https://robinhoodchain.blockscout.com/address/0x0aAEa47d2e7303EC5a809062eafa59e7F011D857) |
| PolydashRewardsPool (official POLYDASH pool) | [`0x608d106Bb58A804fcd45823e0C6087801dee2aCa`](https://robinhoodchain.blockscout.com/address/0x608d106Bb58A804fcd45823e0C6087801dee2aCa) |

V2 is a Sourcify exact match. V1 is legacy. Do not use V1 for new pools. The POLYDASH rewards pool is a Sourcify match. NFT staking uses a separate factory; see [NFT staking](https://polydash.gitbook.io/polydash-docs/polypad/nft-staking.md).

{% hint style="warning" %}
**V1 limitation.** The V1 reward accumulator uses 1e18 precision. With a 6-decimal reward token and a large 18-decimal stake supply, an update can round to zero and those rewards are lost. V2 fixes this. V1 also has a known issue where a fee recipient that rejects a token can freeze exits. See [Report a vulnerability](https://polydash.gitbook.io/polydash-docs/security-and-risk/report-a-vulnerability.md).
{% endhint %}

## Risks

* Anyone can create a pool. Check the token address and the reward before you stake.
* Rebasing tokens and tokens with transfer hooks or blocklists are not supported.
* Reward rates are token-denominated snapshots. They are not a promised return, and rewards can end early or be worth less than expected.
* The contracts are **Not audited.**


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://polydash.gitbook.io/polydash-docs/polypad/staking-pools.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
