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

Approvals

Approve the required token and spender before creating, trading or redeeming.

Approve the contract that will pull the input asset. An allowance is permission to spend, not a payment.

Operation
Spender

Direct Factory creation

Classic Factory

Forwarder creation, including Holder Fee Sharing

Current LaunchForwarder

Curve buy or sell

The token's Curve

Emergency redemption

The activated EmergencyDistributor

For creation, include the optional initial-buy Quote and current creation fee. Combine the amounts only when the asset is the same. Read fees and allowance before submission, confirm any approval receipt, then simulate the reviewed operation.

Approve the total required allowance rather than the difference from the existing allowance. Follow an asset's zero-reset requirement where necessary. For closing buys, allowance must cover the submitted input even when execution returns unused Quote.

Escrow and Holder claims require no ERC20 allowance. Every approval and submitted transaction uses network gas.

Last updated

Was this helpful?