MarketHook on Arc

Uniswap v4 Hook Contract 0x334abcaecf5696a7d80f470508df0ad0eaafc0cc on Arc · Launchpad · Verified contract

Volume (24h)
$95
Value locked (TVL)
$268
All-time volume
$56.26K
Pools using this hook
5
Swaps (24h)
1 (1 traders)
Total swaps
506

What it does

A launchpad hook that charges a fixed fee of up to 1% in the quote currency on buys and sells, adds a short decaying anti-snipe penalty (up to 95%, gone within 10 minutes) on early buys, and forwards fees to a revenue router while leaving LPs free to withdraw.

How it works step by step

  • Shared hook for launchpad token markets paired against one quote currency (USDC on Arc), only works for pools registered by the launch factory.
  • Charges a per-launch trading fee of up to 1% in the quote currency on both buys and sells.
  • Adds an anti-snipe penalty on buys right after launch: up to 95% at the start, decaying linearly to 0 within at most 10 minutes (default 90% over 60 seconds).
  • Collected fees accumulate in the hook and anyone can trigger forwarding them to the fixed revenue router for creator, holder, burn and protocol splits.
  • Rejects exact-output swaps; only exact-input trades are supported.
Swap behaviour
On buys the fee (trading fee plus any active anti-snipe penalty) is deducted from the quote you pay in before the swap; on sells the trading fee is taken from the quote you receive. Exact-output swaps and swaps on unregistered pools revert.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Each market has a fixed trading fee of 0% to 1% set at launch, taken in the quote currency on buys and sells; buys in the first moments after launch also pay an anti-snipe penalty of up to 95% that decays linearly to zero within at most 600 seconds. Fees go to the immutable revenue router for splitting between protocol, creator, holders and burn.
Owner & admin controls
Only the immutable launch factory can register new markets, setting each market's fee (capped at 1%) and anti-snipe settings (capped at 95% for at most 600 seconds); these are fixed once registered and there is no owner, pause or upgrade function.

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeSwap: blocks exact-output and unregistered pools and takes the buy fee from input; afterSwap: takes the sell fee from quote output; beforeSwapReturnDelta: lets the hook reduce the buy input by the fee; afterSwapReturnDelta: lets the hook reduce the sell output by the fee.

Security & trust assessment

Risk level: low (verified source, high confidence).

Who controls it: The launch factory (fixed at deployment) registers markets and chooses their fee and anti-snipe settings within hard caps; nothing can be changed after registration and nobody can redirect fees from the immutable revenue router.

Risk to user funds: The hook only takes fees from swap amounts: 0% to 1% normally, plus up to 95% on buys during an opening window of at most 10 minutes. LP principal is never touched and withdrawals are unrestricted.

Security findings

  • [low] Steep but brief anti-snipe buy penalty: Buys in the opening window can pay up to 95% extra fee, decaying linearly to 0 within at most 10 minutes; early buyers should check currentBuyFeeBps before trading. Sells are never penalised.
  • [info] Trading fee hard-capped at 1%: The per-market trading fee is fixed at registration and cannot exceed 1%; there is no function to change it later.
  • [info] Immutable, no LP controls: No proxy, no owner, and remove-liquidity callbacks are disabled so LP withdrawals cannot be blocked.

Contract details

Verified source
Yes (MarketHook)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
8,195 bytes
Upgradeable proxy
No
Detected patterns
erc6909-claims, fee-sharing, launchpad, mev-protection, moves-currency, return-delta, self-unlock

Pools using MarketHook