HoodLaunchpad
The singleton that combines the token factory, every bonding curve, the fee ledger, and the Uniswap v3 migrator.Launching
HoodToken and opens its curve. Any attached ETH executes an optional dev buy at the public starting price; minTokensOut protects it against front-running. Emits TokenCreated.
Trading
graduated = true. Emits Trade on every fill and Graduated on the final one.
Views & quotes
CurveState fields: virtualEth, virtualToken, realTokensLeft, realEth, creator, graduated, migrated.
Migration
0xdEaD; leftover WETH accrues to protocol fees. Emits Migrated.
Fees
Owner surface (complete list)
Events
Custom errors
CurveClosed, CurveStillOpen, AlreadyMigrated, Expired, SlippageExceeded, UnknownToken, ZeroAmount, ZeroAddress, FeeTooHigh, NotFeeRecipient, LockerNotSet
HoodToken
The per-launch ERC-20, deployed bycreateToken:
- OpenZeppelin
ERC20+ERC20Permit(EIP-2612), 18 decimals - Fixed supply of 1,000,000,000 × 1e18, minted once to the launchpad
metadataURI()— immutable token metadata pointer (e.g.ipfs://…)- No owner, mint, burn-by-admin, pause, blacklist, or fee-on-transfer
FeeLocker
The immutable, ownerless vault for graduated liquidity:Curve constants
Math.ceilDiv on reserve division) so the invariant k never decreases.