Launchpad hook on Base
Uniswap v4 Hook Contract 0xac2fb4c2e4c1d8ea7790464b8ff56cd5b5e028cc on Base · Launchpad
- Volume (24h)
- $0.05
- Value locked (TVL)
- <$0.01
- All-time volume
- $0.05
- Pools using this hook
- 1
- Swaps (24h)
- 5 (1 traders)
- Total swaps
- 5
What it does
A Clanker-style launchpad hook that charges traders a dynamic swap fee (possibly higher early via an MEV module) plus a protocol fee cut, while LPs can always withdraw freely.
How it works step by step
- Clanker-style launchpad hook on Base that sets up pools for newly launched tokens, typically paired with WETH, through a factory.
- Charges a dynamic LP fee on swaps that can be adjusted by an attached MEV module during an early launch window.
- Takes a protocol fee from swaps using swap return deltas and collects LP rewards through a locker contract.
- Supports optional pool extensions that run after swaps, restricted to factory-created pools on an allowlist.
- Never runs on liquidity withdrawals, so LPs can always remove liquidity.
- Swap behaviour
- Before and after each swap the hook sets the dynamic LP fee, may apply MEV-module fee logic early in a pool's life, and takes a protocol fee slice from the swap via return deltas. Exact fee values cannot be confirmed from bytecode, though named caps (MAX_LP_FEE, MAX_MEV_LP_FEE, MIN_BASE_FEE) exist.
- Liquidity behaviour
- Before adding liquidity the hook runs checks tied to the MEV module and pool setup. Remove-liquidity callbacks are disabled, so LPs can always withdraw freely.
- Fee behaviour
- Uses a dynamic LP fee bounded by a minimum base fee and maximum LP/MEV fee constants, plus a protocol fee share taken from swaps and sent to the protocol; exact percentages are not readable from bytecode.
- Owner & admin controls
- A factory controls pool initialization and an allowlist governs which pool extensions can be used; MEV modules can set fees within the MAX_MEV_LP_FEE cap. Exact caps and admin identities cannot be verified from bytecode.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: restricts pool creation to the factory path; beforeAddLiquidity: enforces launch/MEV module setup; beforeSwap: sets the dynamic fee and runs MEV module logic; afterSwap: takes protocol fee, collects rewards and runs extensions; beforeSwapReturnDelta/afterSwapReturnDelta: lets the hook deduct its fee from swap amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: The deploying factory and allowlist owner decide which pools, MEV modules and extensions are used; they can influence swap fees within coded caps but cannot block withdrawals.
Risk to user funds: The hook can deduct fees from swap amounts, with exact maximum unverified from bytecode. LP principal cannot be locked or drained through withdrawal callbacks.
Security findings
- [medium] Swap return deltas active: The hook can take tokens from swaps as fees via return deltas; caps exist as named constants but their values are unverified.
- [low] MEV module fee setting: An attached MEV module can raise the LP fee, apparently bounded by MAX_MEV_LP_FEE and a maximum module delay.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 18,255 bytes
- Upgradeable proxy
- No
- Detected patterns
- access-control, dynamic-fee, launchpad, mev-protection, moves-currency, return-delta, rewards
Pools using Launchpad hook
- USDC / TEST_3 (Dynamic fee) — 24h volume $0.05, TVL <$0.01, 5 swaps today