Dynamic fee hook on Robinhood Chain

Uniswap v4 Hook Contract 0xa9eb94b7c594e910797dad070ba1cbc687e2c000 on Robinhood Chain · Dynamic fee

Volume (24h)
$117
Value locked (TVL)
$8.36K
All-time volume
$138.74K
Pools using this hook
2
Swaps (24h)
6 (6 traders)
Total swaps
1,331

What it does

A Uniswap v4 hook that applies an owner-adjustable dynamic LP fee to swaps on its pools, with a launch fee and a maximum fee cap.

How it works step by step

  • Stores a configurable dynamic fee value per pool key
  • Exposes setFee(PoolKey, uint24) to update the fee, which calls updateDynamicLPFee on the pool manager
  • Enforces a MAX_FEE ceiling and provides a LAUNCH_FEE constant
  • Uses two-step ownership (transferOwnership and acceptOwnership) for admin rights
  • Exposes poolManager() as an immutable reference to the Uniswap v4 PoolManager
Swap behaviour
Swap fee is supplied dynamically via the pool's LP fee mechanism, using the owner-configured value; no return-delta token handling is evident from the bytecode.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Fee is set by the owner through setFee, which forwards a dynamic LP fee update to the pool manager (updateDynamicLPFee). A LAUNCH_FEE constant and MAX_FEE cap exist; the fee value stored at slot 1 offset 20 is read by a view function and written by setFee.
Owner & admin controls
Owner (two-step ownership: transferOwnership then acceptOwnership, renounceOwnership available) can call setFee to set the dynamic LP fee on a pool, bounded by MAX_FEE. Pending owner stored separately. No pause or upgrade functions found.

Security & trust assessment

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

Who controls it: The owner alone controls the pool fee within the MAX_FEE bound, and can transfer or renounce ownership. A malicious or compromised owner could raise fees up to the cap on hooked pools, extracting value from swappers.

Risk to user funds: The hook does not appear to hold tokens or move pool funds directly; exposure is through fee level changes that affect swap outputs for users of the pool.

Security findings

  • [medium] Owner-controlled dynamic fee: setFee lets the owner change the dynamic LP fee on pools using this hook, capped by MAX_FEE.
  • [info] Two-step ownership transfer: Ownership transfer uses a pending owner step (acceptOwnership), which reduces risk of accidental transfer to a wrong address.
  • [info] Ownership can be renounced: renounceOwnership exists; if called, fee configuration would become permanently fixed.
  • [low] Unverified source: Source is not verified, so the exact fee cap enforcement and any access checks in setFee could not be confirmed from source.

Contract details

Verified source
No
Bytecode size
1,954 bytes
Upgradeable proxy
No
Detected patterns
dynamic-fee, launchpad, ownable

Pools using Dynamic fee hook