Launching
| Error | Means |
|---|---|
LaunchFeeNotPaid | The value sent isn’t exactly the launch fee, plus the opening buy for native launches. |
NotWhitelisted | Launching is paused and the caller isn’t on the whitelist. Check canLaunch before quoting a launch. |
InvalidLaunchConfigId | There’s no config with that id. |
LaunchConfigDisabled | The config exists but is turned off. Load the config list instead of caching ids. |
PairTokenNotApproved | The quote asset isn’t approved for launches. |
LaunchEconomicsMismatch | The launch terms changed since you read them. Read previewLaunchEconomics again and retry. |
CreatorTaxTooHigh | The creator tax is above the factory’s cap. |
CombinedFeeTooHigh | The hook fee plus the creator tax would be over 2000 bps. |
InvalidTokenParams | The name or symbol is empty. |
OpeningTickUnaligned | A problem with the protocol’s configuration, not the caller’s input. Let us know if you see it. |
Trading
| Error | Means |
|---|---|
ExactInputShortfall | An exact-input swap that specified the quote amount couldn’t be fully filled. The fee is charged before the fill is known, so the swap reverts instead of overcharging. |
ExactOutputShortfall | Same as above, for an exact-output swap that specified the quote amount. |
WrappedError. Decode the inner error from it. A swap with a wrong pool key fails
in Uniswap with PoolNotInitialized, not with a hook error.
Fees, claims and vesting
| Error | Means |
|---|---|
UnknownPool | The hook has no launch record for that pool id. Sweeps and admin calls raise it, but reads such as launches, pendingFees and consult return zeros for an unknown pool instead of reverting. Check how you derived it. |
NotFeeSweepOperator | The hook’s sweep was called by someone other than the sweep relay or the launch’s creator. |
InternalSwapRequiresOperator | The creator called the hook’s sweep on a pool with pending fees. Only the operator can sweep those. |
NoBalance | There’s nothing to claim. |
TransferFailed | The recipient rejected an ETH claim. Use claimTo to send it to another address. |
ZeroAddress | The zero address was passed, for example as the recipient of claimTo or claimTokenTo. |
InvalidRecipient | The escrow’s own address was passed as the recipient of claimTo or claimTokenTo. |
NotCreatorFeeRecipient | Only the current creator fee recipient can move a launch’s fees. |
CreatorFeeRedirectTooEarly | The protocol tried to change the fee recipient before its delay was up. A creator changing their own recipient never gets this. |
NotBuybackController | Only the creator’s fee recipient can turn a buyback on. The owner can only turn it off. |
BuybackLatchedOff | The buyback earmark was cleared, and the buyback can’t be turned back on until the latch is lifted. |
NotVestBeneficiary | Only the creator’s or the protocol’s recipient can release a vest. |
EpochReleaseHeld | A release was called from inside a sweep callback. |