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

Approvals

An approval lets a specific contract spend a wallet's ERC-20 asset. Use the spender for the operation you are about to submit. Approval does not itself pay the creation fee or execute a trade.

Choose the spender

Operation
Asset approved
Spender

Direct Pro creation

Creation-fee asset and optional first-buy Quote

V2 Factory

Creation with revenue distribution

Creation-fee asset and optional first-buy Quote

Revenue Forwarder

Curve buy

The launch's Quote asset

That token's Curve

Curve sell

The launch token

That token's Curve

Emergency redemption

The launch token

Its activated EmergencyDistributor

FeeEscrow and revenue claims pay funds already held by the relevant contracts and require no ERC-20 approval. Network gas remains separate.

Approve, confirm, then continue

  1. Read the operation's required asset amounts and spender. Include the configured creation fee and any first-buy Quote. A revenue-distribution preview returns its funding requirements.

  2. Check the connected wallet's allowance for each asset and spender.

  3. If needed, submit an ERC-20 approval for the required amount.

  4. Wait for a successful approval receipt, refresh the operation preview and prepare the creation, trade or redemption transaction.

Approval sets the total allowance, rather than adding the supplied amount to the old allowance. If a token requires resetting an existing allowance, confirm a zero approval before setting the new amount.

Example

Suppose creation costs 2 units of an asset and the first buy supplies another 10 units of that same asset. Required funding is 12 units, approved to the selected creation spender. If the existing allowance is 5, set the allowance to 12, not 7.

If creation uses a different fee asset from the first-buy Quote, approve the two assets separately. Display amounts with each asset's actual decimals while retaining raw bigint amounts for contract calls.

For a Curve buy, approve the full input you submit. A closing buy can spend less and return unused input, but approval checks must still cover the submitted amount. See Bonding Curve Trading.

Resolve the Curve from the selected token's Factory record. For redemption, resolve the activated EmergencyDistributor for that token. A Revenue Splitter or Holder strategy is a different contract and is not the emergency-redemption spender. See Emergency Exit.

Each approval and business transaction has its own receipt and gas cost. A transaction hash or a successful simulation alone does not confirm allowance or payment.

Last updated

Was this helpful?