> 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/token-floor-vault.md).

# Token floor vault

A token floor vault is a fixed-price NFT collection linked to a Polypad launch token. Part of every mint funds a vault that holds ETH and the launch token. Holders can burn an NFT to redeem a pro-rata share of the vault.

## Who it is for

The creator of a Polypad token who wants an NFT collection that adds to a shared vault, and collectors who want a redeem path.

## How it works

`PolypadTokenFloorFactory` creates one collection per request. Each collection is an EIP-1167 clone of `PolypadTokenFloorCollection`. Only the creator of a token launched through the current or earlier Polypad launch factory can create a collection for it.

{% stepper %}
{% step %}

### Mint

Each mint splits the price. `floorBps` goes to the collection vault. 0.2% goes to the platform. The rest goes to the creator. Both fees are pull-based.
{% endstep %}

{% step %}

### Queue token buys

Of the vault share, `tokenShareBps` is queued as ETH to buy the linked token. The rest stays in ETH.
{% endstep %}

{% step %}

### Run capped buys

After the launch has graduated, anyone can call `observePrice()` and then `buyToken()` between 5 minutes and 1 hour later. A buy runs only if spot is within 2% of the observed price, spends at most `maxBuyEth`, and waits 10 minutes between buys.
{% endstep %}

{% step %}

### Redeem

Burning NFTs pays the holder a pro-rata share of the vault's ETH and of the tokens it holds. If a token transfer fails, the amount is recorded as owed and can be claimed later, so ETH cannot be trapped.
{% endstep %}
{% endstepper %}

If a launch has not graduated within 180 days, anyone can call `endTokenShare()` and the queued ETH stays in the ETH bucket.

## Parameters

| Parameter                                        | Range                             |
| ------------------------------------------------ | --------------------------------- |
| `maxSupply`                                      | 1 to 10,000                       |
| `price`                                          | 0.00001 to 100 ETH                |
| `floorBps` (vault share of price)                | 2,000 to 8,000 (20% to 80%)       |
| `tokenShareBps` (token share of the vault share) | 1,000 to 5,000                    |
| `maxSlippageBps`                                 | 100 to 1,000                      |
| `maxBuyEth`                                      | 0.001 to 10 ETH                   |
| `royaltyBps` (ERC-2981)                          | 0 to 1,000                        |
| `maxPerWallet`                                   | 1 to 100, and at most `maxSupply` |
| `startTime`                                      | Now, or up to 30 days ahead       |

## Owner powers

None over funds. The creator can change the payout wallet and base URI only. The creator cannot withdraw vault funds.

## Contracts

| Contract                                     | Address                                                                                                                                  |
| -------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| PolypadTokenFloorFactory                     | [`0xdD149A1a76363BaAaFEF97c3E8d8cfdD2E7A277c`](https://robinhoodchain.blockscout.com/address/0xdD149A1a76363BaAaFEF97c3E8d8cfdD2E7A277c) |
| PolypadTokenFloorCollection (implementation) | [`0xFa23E496f7244d1674fA8bE5C42556bd054140EA`](https://robinhoodchain.blockscout.com/address/0xFa23E496f7244d1674fA8bE5C42556bd054140EA) |

Sourcify status: match.

## Risks

The redeem value is a share of what the vault holds. The token part moves with the market and can go to zero. There is no minimum redeem value. Buy limits bound execution cost, not market outcome. Thin pools can fill partially. 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/token-floor-vault.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.
