Likely launchpad hook on Base

Uniswap v4 Hook Contract 0x96f20e53613f375327f1bfe3ae0a94c724b0e0cc on Base · Launchpad

Volume (24h)
$0
Value locked (TVL)
$0
All-time volume
$0
Pools using this hook
4
Swaps (24h)
1 (1 traders)
Total swaps
1

What it does

Launchpad-style tax hook that charges every swap in registered token pools a bounded tax split among creator, platform and a burn engine, while LPs can withdraw freely.

This read was written for the hook 0x8db0…20cc 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

  • Charges a tax on swaps in pools for tokens registered through a factory, taken from the swap amounts.
  • Splits collected tax between the token creator, a platform treasury, and a burn/buyback engine, tracked as amounts owed.
  • Creators and the treasury claim their accrued shares later; burn shares are pushed to an engine contract.
  • Only allows pools for registered tokens to be initialized with this hook.
  • Has no liquidity callbacks, so LPs add and withdraw freely.
Swap behaviour
On each swap the hook takes a tax from the input or output via return deltas and records it for the creator, treasury and burn engine. The tax rate is set per token within hard-coded minimum and maximum bounds whose exact values cannot be read from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
A per-token swap tax between built-in MIN and MAX limits (exact percentages unknown from bytecode) is charged on top of the pool fee, split between creator, platform (fixed platform share) and a burn engine.
Owner & admin controls
The owner can set the factory and engine addresses once (AlreadySet guard suggests one-time), and renounce ownership; the factory registers tokens with tax rates bounded by the max constant, and creator addresses can be changed.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize restricts pools to registered tokens; beforeSwap and afterSwap compute and take the tax; beforeSwapReturnDelta and afterSwapReturnDelta let the hook deduct the tax from swap amounts.

Security & trust assessment

Risk level: medium, estimated (decoded bytecode, medium confidence).

Who controls it: Not stated.

Risk to user funds: The hook takes only the swap tax portion of trades, bounded by an unverified hard-coded maximum; LP principal cannot be locked or drained.","centralization":"The owner controls factory and engine addresses and the factory sets per-token tax within fixed bounds; no pause or withdrawal blocking exists.

Security findings

  • [medium] Swap tax via return deltas: The hook deducts a per-token tax from swaps; a hard-coded maximum exists but its exact value cannot be verified from unverified bytecode.
  • [low] Owner-set engine and factory: The owner sets the factory that registers tokens and tax rates and the engine that receives burn shares, apparently only once.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
5,940 bytes
Upgradeable proxy
No
Detected patterns
erc20, moves-currency, ownable, return-delta

Pools using Likely launchpad hook