For the complete documentation index, see llms.txt. This page is also available as Markdown.

Fees and Claims

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

Cost overview

Operation
What is paid

Token creation

Actual configured fee in Factory.launchFeeToken(). maxLaunchFee is a ceiling, not an extra charge.

Optional initial buy

Actual Quote spent, including base fee and Creator Tax; its recipient is automatically Snipe-exempt. Unspent input follows the creation refund path.

ERC20 approval

Permission to spend, not a protocol payment; the approval transaction uses gas.

Curve buy

Actual Quote spent = net pricing input + base fee + applicable Snipe Tax + Creator Tax.

Curve sell

Quote payout = gross output − base fee − Creator Tax.

V4 swap

Base Hook fee and Creator Tax adjust final output or input; see V4 fees.

Core fee claim

Pays the credited balance; no additional core claim fee. The transaction uses gas.

Any submitted transaction

Network gas is separate from Quote amounts and protocol fees.

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.

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.

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. Changing Recipient preserves existing ordinary Escrow credits at the old address.

Last updated

Was this helpful?