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, for an exact-output swap that specified the quote amount. |
UnknownPool | The hook has no launch record for that pool id. Check how you derived it. |
Fees, claims and vesting
| Error | Means |
|---|---|
InternalSwapRequiresOperator | A sweep was called on a pool with pending fees. Only the operator can do that. |
NoBalance | There’s nothing to claim. |
TransferFailed | The recipient rejected the transfer. Use claimTo or claimTokenTo. |
InvalidRecipient | The zero address was passed to 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. |