hookAbi and feeWithdrawal through Capabilities before selecting write functions.
Structs
ethAmount and MIN_BUY_ETH still represent quote-asset units. Use the deployment’s quote asset and decimals.
Native creation and curve writes
buy and sell append string referralCode after captcha.
Plain
createLaunch is the portable partner default. Referral selector support differs across historical deployments. Do not call createLaunchWithReferral on the deprecated Ink hook.xStocks creation and buy
transferFrom. Approve the exact per-asset hook first. Send no native value.
Reads
PoolKey contains currency0, currency1, fee, tickSpacing, and hooks. The corrected native hooks and current xStocks hooks expose this selector. The deprecated Ink deployment marked hookAbi: "ink-legacy" does not; use its complete indexed immutable pool fields instead.
Fee withdrawals
feeWithdrawal in the deployment manifest.
Events
TradeType is 0 for buy and 1 for sell.
Canonical topics
Use the ABI object in the Launchpad Quickstart for a copyable
createLaunch and receipt decoder.