Launchpad hook on Ethereum

Uniswap v4 Hook Contract 0x7ab50bd587708f22432d946ce308eeec3f3900cc on Ethereum · Launchpad

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

What it does

A token-launch hook that can burn a capped (unverified) share of each swap, lets an admin gate or pause trading and exempt some addresses from fees, while LPs remain free to withdraw.

How it works step by step

  • Acts as a token-launch hook that creates and seeds a Uniswap v4 pool for a launched token paired with another token.
  • Runs checks before every swap using admin-controlled flags and address lists (likely a trading lock, allowlist/blocklist and fee exemptions).
  • Can take a cut of swap amounts through return deltas, apparently used to burn tokens (it tracks a total-burned figure and a maximum burn fee setting).
  • Tracks referral-style address mappings after swaps and includes an owner token-withdraw function.
  • Does not run on liquidity withdrawals, so LPs can always remove liquidity.
Swap behaviour
Before each swap the hook checks several admin-set flags and address lists and may block a trade; before and after the swap it can deduct part of the swap amount as a burn or fee. Exact percentages cannot be read from unverified bytecode.
Liquidity behaviour
No liquidity callbacks are enabled; LPs can add and withdraw freely and the hook cannot block withdrawals.
Fee behaviour
Swaps may be charged a burn fee taken through return deltas, capped by an on-chain MAX_BURN_FEE_BPS constant whose value is unknown from bytecode; exempt addresses likely pay none. Burned amounts are tracked in a running total.
Owner & admin controls
A privileged account appears able to toggle trading locks and other flags, manage several address allowlists/blocklists, and withdraw tokens held by the hook. Fee cap value and exact access rules are not verifiable from bytecode.

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeSwap: gates trades with flags/lists and may take a fee; afterSwap: updates burn totals and referral tracking; beforeSwapReturnDelta: lets it deduct from swap input; afterSwapReturnDelta: lets it deduct from swap output.

Security & trust assessment

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

Who controls it: An admin key appears to control trading flags, allow/block lists and fee exemptions, and can withdraw tokens held by the hook. The worst case is halting or selectively blocking swaps.

Risk to user funds: The hook can deduct a burn/fee portion of each swap up to an unverified cap; it cannot touch LP principal and LP withdrawals are unrestricted.

Security findings

  • [medium] Admin swap gating: Storage flags and address mappings written by admin-style functions are read in beforeSwap, suggesting an admin can pause trading or block specific traders.
  • [low] Swap fee via return deltas: The hook can deduct part of swap amounts as a burn fee bounded by MAX_BURN_FEE_BPS; the cap value is unknown without source.
  • [low] Token withdrawal function: A withdrawToken function can move tokens held by the hook itself; pool reserves live in the PoolManager and are not reachable this way.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
21,224 bytes
Upgradeable proxy
No
Detected patterns
erc20, erc6909-claims, launchpad, moves-currency, return-delta, rewards, self-unlock

Pools using Launchpad hook