> For the complete documentation index, see [llms.txt](https://docs.peach.ag/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/fees-and-claims.md).

# Fees and Claims

Quote is the launch's ERC20 payment asset. Display spending, fees and gas separately.

### Cost overview

<table><thead><tr><th width="233.5078125">Operation</th><th>What is paid</th></tr></thead><tbody><tr><td>Token creation</td><td>Actual configured fee in <code>Factory.launchFeeToken()</code>. <code>maxLaunchFee</code> is a ceiling, not an extra charge.</td></tr><tr><td>Optional initial buy</td><td>Actual Quote spent, including base fee and Creator Tax; its recipient is automatically Snipe-exempt. Unspent input follows the creation refund path.</td></tr><tr><td>ERC20 approval</td><td>Permission to spend, not a protocol payment; the approval transaction uses gas.</td></tr><tr><td>Curve buy</td><td>Actual Quote spent = net pricing input + base fee + applicable Snipe Tax + Creator Tax.</td></tr><tr><td>Curve sell</td><td>Quote payout = gross output − base fee − Creator Tax.</td></tr><tr><td>V4 swap</td><td>Base Hook fee and Creator Tax adjust final output or input; see <a href="https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/uniswap-v4-hooks/hook-behavior-and-fees">V4 fees</a>.</td></tr><tr><td>Core fee claim</td><td>Pays the credited balance; no additional core claim fee. The transaction uses gas.</td></tr><tr><td>Any submitted transaction</td><td>Network gas is separate from Quote amounts and protocol fees.</td></tr></tbody></table>

### Illustrative 100 Quote buy

Illustrative ordinary Curve buy: 100 Quote spent, nonexempt recipient, base 1%, Snipe Tax 2%, Creator Tax 1%, platform share 30%, Partner share of platform 20%.

| Allocation                             |  Quote |
| -------------------------------------- | -----: |
| Net Curve pricing input                |  96.00 |
| Platform, after Partner commission     |   0.84 |
| Partner                                |   0.06 |
| Creator revenue, including Creator Tax |   3.10 |
| Total                                  | 100.00 |

The fees are 1 + 2 + 1 = 4. Partner receives 20% of the base fee's platform portion: `1 × 30% × 20% = 0.06`.&#x20;

Platform keeps `0.30 − 0.06 + 0.60 = 0.84`; Creator receives `0.70 + 1.40 + 1 = 3.10`. Partner receives no Snipe or Creator Tax share. Round each trading fee down separately in raw units.

### From fees to claimable revenue

Fees accrue in Curve/Hook ledgers, are settled into FeeEscrow, then are claimed. `pendingCreator` **includes** `pendingCreatorTax`; the latter is a breakdown, not another amount to add. Keep pending revenue, Escrow credits and later Splitter allocations separate.

Anyone can call Curve `sweepProtocol()`, `sweepCreator()` or `sweepPartner(partnerId)` for the configured beneficiaries. `sweepFees()` combines Protocol/Creator settlement and requires the sweep operator or current Creator Recipient. V4 uses [Hook settlement](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/uniswap-v4-hooks/fee-settlement-and-state).

### Claim from FeeEscrow

Read `balanceOfToken(recipient, asset)` or `partnerBalance(partnerId, asset)`:

* `claimToken(asset)` or `claimToken(asset, amount)`: the credited address claims all or a positive portion.
* `claimPartner(partnerId, asset)`: current unfrozen Partner Recipient claims.
* `claimBatch(tokens, partners)`: 1–64 combined entries; each Partner entry is `(partnerId, token)`, with `token` identifying the fee asset.

Valid zero balances/duplicates skip in a batch. Invalid assets, unknown/frozen Partners, authorization failures or transfer failures revert the whole batch, even for zero Partner balances. Individual zero claims revert. Claims need no ERC20 allowance.

Wallet Recipients claim directly. Splitter Recipients use [Revenue Distribution](https://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/revenue-distribution). Changing Recipient preserves existing ordinary Escrow credits at the old address.


---

# 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://docs.peach.ag/documentation/arc/launchpad/launchpad-pro/core-features/fees-and-claims.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.
