LaunchHook on Ethereum
Uniswap v4 Hook Contract 0x27a30e3082d5bbe959f75f26b4063e18855328cc on Ethereum · Launchpad · Verified contract
- Volume (24h)
- $488
- Value locked (TVL)
- $0
- All-time volume
- $488
- Pools using this hook
- 9
- Swaps (24h)
- 1 (1 traders)
- Total swaps
- 351
What it does
A token launchpad hook that locks the launch liquidity and charges a 1% fee on all buys and sells, split between creator and platform, with trades in the first 20 seconds paying a much higher anti-snipe fee that starts at 99%.
This read was written for the hook 0xafed…28cc on Ethereum and reused here: the two share a code shape, so constants such as fees, owners and addresses can differ.
How it works step by step
- Launches new tokens by seeding single-sided token liquidity into a Uniswap v4 pool; only the hook itself can initialize pools or add liquidity.
- Charges a fee in the quote token (e.g. ETH) on both buys and sells, taken from buy input and from sell output.
- Anti-snipe: the fee starts at 99% at launch and falls linearly to 1% over the first 20 seconds, then stays at 1%.
- The 1% base fee is split 50/50 between the token creator and the platform; any anti-snipe surcharge above 1% goes entirely to the platform.
- Fees are held in a separate escrow contract where the creator and platform claim them; a designated dev buyer gets the 1% rate in the launch block.
- Swap behaviour
- Only exact-input swaps are allowed (exact-output swaps revert). Buys pay the fee from the quote-token input, sells pay it from the quote-token output, at 99% falling to 1% over the first 20 seconds after launch and 1% afterwards.
- Liquidity behaviour
- Only the hook can add liquidity, so outside LPs cannot join; the launch liquidity is added by the hook itself and has no removal path in this contract, so it stays permanently locked. Remove-liquidity callbacks are disabled, so the hook never runs on withdrawals.
- Fee behaviour
- The fee is 99% at launch and decays linearly to 1% over 20 seconds, then is fixed at 1% of the quote-token amount on every buy and sell. Of the 1% base fee, 0.5% goes to the creator and 0.5% to the platform, and any extra launch surcharge goes to the platform, all via a claimable escrow.
- Owner & admin controls
- The hook has no owner; only the factory can open launches. The escrow owner can change the platform fee recipient address and set the hook address once.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize: only the hook can create pools; beforeAddLiquidity: blocks anyone but the hook from adding liquidity; beforeSwap: rejects exact-output swaps and takes the buy fee from input; afterSwap: takes the sell fee from output and emits trade events; beforeSwapReturnDelta/afterSwapReturnDelta: let the hook deduct those fees from swap amounts.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: No admin can change fees or pause trading; the escrow owner can only redirect the platform's share of fees to a new address.
Risk to user funds: The hook only takes the quote-token swap fee: 99% decaying to 1% in the first 20 seconds, then 1% fixed. Launch liquidity is locked by design and no one can drain it.
Security findings
- [low] Steep anti-snipe fee at launch: For the first 20 seconds the fee starts at 99% and decays linearly to 1%, so very early buyers or sellers lose most of their trade; this is hard-coded and time-limited.
- [info] Fixed 1% fee afterwards: After 20 seconds the fee is a constant 1%, split 50/50 between creator and platform, with no admin ability to change it.
- [info] Launch liquidity permanently locked: Liquidity is seeded by the hook and cannot be withdrawn by anyone, and outside LPs cannot add liquidity, so there is no LP principal from third parties at risk.
Contract details
- Verified source
- Yes (LaunchHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 9,500 bytes
- Upgradeable proxy
- No
- Detected patterns
- launchpad, moves-currency, return-delta, self-unlock
Pools using LaunchHook
- AAPLon / IPHONE (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- MODEL / TSLAon (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- FORK / TSLAon (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- NVDAon / NDOG (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- NVDAon / NCAT (0.00% fee) — 24h volume $488, TVL $0, 1 swaps today
- ALBULL / SPYon (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AAPLon / 1984 (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- SPCXon / WCAT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AAPLon / APPLE (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today