Likely launchpad hook on Ink
Uniswap v4 Hook Contract 0xa600b5e0d5ddf823a0c44106ec8d91ed39fd2ac8 on Ink · Launchpad
- Volume (24h)
- $0
- Value locked (TVL)
- $2.83
- All-time volume
- $8.55
- Pools using this hook
- 6
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 16
What it does
A launchpad-style hook for Uniswap v4 pools that applies dynamic fees, sandwich protection and wallet limits, and routes part of trading flows into vaults, buybacks and holder airdrops.
How it works step by step
- Stores per-pool configuration and launch state keyed by pool id
- Computes dynamic swap fees via dynamicFeeForSwap
- Blocks sandwich-style swaps by tracking last swap per address
- Enforces maximum wallet holdings
- Routes fee or trade value into vault, buyback and airdrop accounting
- Uses beforeSwapReturnDelta to adjust swap settlement amounts
- Swap behaviour
- beforeSwap and afterSwap run on every swap: they compute dynamic fees, record last-swap data per address, enforce sandwich and anti-MEV checks, and may take or credit currency through return deltas.
- Liquidity behaviour
- beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity are implemented and read per-pool config and state (launchState, configs); the hook appears to gate or track liquidity during a launch phase, but exact rules are unclear.
- Fee behaviour
- Uses dynamic fee logic: dynamicFeeForSwap is exposed, so swap fees are computed by the hook rather than the pool's static fee; exact fee formula cannot be determined from decoded bytecode.
- Owner & admin controls
- Owner (storage slot 0) can call setOwner and setFactory (slot 1 stores a factory address set via 5bb47808); owner-gated configuration appears to exist but the exact parameters changeable cannot be determined without source. No pause or upgrade function is evident from the selectors.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta
beforeInitialize: pool registration and configuration storage. beforeAddLiquidity and beforeRemoveLiquidity: restrict or account for liquidity changes. beforeSwap and afterSwap: dynamic fee, last-swap tracking per address, and sandwich/anti-MEV checks plus possible swap-time accounting. beforeSwapReturnDelta: the hook can take or give currency during swaps, so it can alter swap settlement amounts.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: The owner can reassign ownership and the factory address, and may control configuration; a compromised owner key could alter hook behaviour for pools using this hook.
Risk to user funds: The hook can take currency during swaps via return deltas and manages vault, escrow and buyback token balances, so it can hold, move or block user and pool funds; the precise mechanics require source verification.
Security findings
- [high] Return-delta hook alters swap settlement: beforeSwapReturnDelta is enabled and the hook calls take and moves currency, so the hook can alter the amounts users receive or pay on swaps.
- [medium] Hook holds and redistributes tokens: Selectors for vault, airdrop, buyback, escrow and distributor functions plus transfer/transferFrom/approve indicate the hook holds and redistributes token balances on behalf of pools or users.
- [medium] Swaps and holdings can be blocked: Error selectors SandwichBlocked and MaxWalletExceeded indicate active transaction restrictions that can block specific swaps or holders.
- [medium] Owner can reassign privileged roles: setOwner and setFactory are callable by the owner with no timelock evident in the bytecode, so ownership and factory control can change instantly.
- [info] Limited visibility without verified source: No source is verified, so exact fee caps, parameter bounds and whether the owner can change fees or pause trading cannot be confirmed.
Contract details
- Verified source
- No
- Bytecode size
- 21,799 bytes
- Upgradeable proxy
- No
- Detected patterns
- donates, erc20, moves-currency, return-delta
Pools using Likely launchpad hook
- BEN / wNVDAx (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- ETH / ASS (Dynamic fee) — 24h volume $0, TVL $0.30, 0 swaps today
- USDG / ASS (Dynamic fee) — 24h volume $0, TVL $0.22, 0 swaps today
- ETH / DFVST (Dynamic fee) — 24h volume $0, TVL $2.30, 0 swaps today
- ETH / HTST (0.00% fee) — 24h volume $0, TVL <$0.01, 0 swaps today
- wMCDx / ASS (Dynamic fee) — 24h volume $0, TVL $0, 0 swaps today