Error Messages
All revert messages across LP24 protocol contracts, grouped by contract.
Factory
| Message | Cause |
"Incorrect fee" | msg.value ≠ deployment_fee |
"Invalid name/symbol" | Empty name or symbol string |
"Invalid salt" | Anchor block decoded as 0 |
"Anchor not mined" | block.number ≤ anchor_block |
"Too late" | block.number > anchor_block + INCLUSION_WINDOW |
"Blockhash unavailable" | Anchor block >256 blocks ago |
"Blockhash mismatch" | Salt's blockhash prefix doesn't match on-chain hash |
"Vanity miss" | Resulting token address doesn't start with 0x24 |
BondingCurve
| Message | Cause |
"Already initialized" | initialize() called twice |
"Must send 0.0006 ETH" | Wrong init payment (Base) |
"Must send 0.0012 BNB" | Wrong init payment (BSC) |
"Invalid token" | Zero address token |
"Below minimum" | token_lots < 1 |
"Not initialized" | Curve not yet initialized |
"Invalid state" | Already graduated or in refund mode |
"Supply exceeded" | Buy would exceed MAX_SUPPLY_LOTS |
"User limit exceeded" | User would hold > 36,000 lots |
"Incorrect payment" | msg.value ≠ quoted total |
"Deployer locked" | Deployer tried to sell |
"Insufficient tokens" | Selling/refunding more than balance |
"Cannot sell at floor" | Supply at INITIAL_SUPPLY_LOTS |
"Period not over" | Bonding period hasn't expired |
"No refunds" | Zero balance or no eligible lots |
"Not refund mode" | Refund not yet activated |
"Deployer cannot refund" | Deployer tried to claim refund |
LiquidityGenHook
| Message | Cause |
"Use processPlatformFees" | Called distributeFees on platform token |
"No position" | Token not registered/graduated |
"No fees" | pendingFees or deployerBalance is zero |
"Not deployer" | Non-deployer called deployer-only function |
"Below threshold" | Platform balance below PLATFORM_THRESHOLD |
"Not registered" | Token not in tokenInfo mapping |
"Unauthorized" | Hook callback not from PoolManager |
"E021" | Insufficient CTO vote fee |
"E023" | Token not registered for CTO |
"E024" | CTO vote already active |
"E025" | finalize_cto not called by vote contract |
"E029" | CTO token transfer failed |
"E030" | Token already registered in Hook |
"E031" | Zero address deployer at graduation |
"E032" | Insufficient ETH for graduation |
TokenTemplate
| Message | Cause |
"Already initialized" | Token proxy already initialized |
"Trading not enabled" | Transfer attempted before graduation |
"Only minter" | Non-minter called mint/burn/enableTrading |
"Exceeds max supply" | Mint would exceed 1.2B tokens |
"Insufficient balance" | Transfer/burn exceeds balance |
"Insufficient allowance" | transferFrom exceeds allowance |