Utility hook on Robinhood Chain

Uniswap v4 Hook Contract 0xe63a0ceec310b491c938feb85fd0889dbfb320cc on Robinhood Chain · Utility

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

What it does

A Uniswap v4 hook that takes a fee-related share of swaps and maintains gas refund balances that can be claimed by addresses, based only on decoded bytecode.

How it works step by step

  • Runs custom logic before and after every swap via beforeSwap and afterSwap.
  • Uses return deltas to take a share of swap currency from the trade.
  • Tracks per-address gas refund balances in a mapping and lets users claim them.
  • Enforces slippage limits and a maximum gas price before swaps.
  • Uses a one-time initializer check during pool initialization.
Swap behaviour
beforeSwap and afterSwap run custom logic and use return deltas to move currency on swaps, including a slippage limit and gas price checks.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Exposes poolFee, TRADE_FEE_BPS and BPS views, suggesting a fee is taken on trades; exact fee mechanics cannot be confirmed without source.
Owner & admin controls
No admin controls found.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize checks the initializer and pool; beforeSwap and afterSwap run custom logic on swaps; beforeSwapReturnDelta and afterSwapReturnDelta let the hook take or give currency deltas on swaps.

Security & trust assessment

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

Who controls it: No privileged owner or admin functions were identified in the decoded selectors; the initializer is restricted via OnlyInitializer.

Risk to user funds: The hook can take currency through return deltas during swaps and holds a balance mapping that backs gas refund claims, so it can hold and move pool and user funds.

Security findings

  • [medium] Return-delta fee capture on swaps: The hook returns currency deltas in beforeSwap and afterSwap, so it can take a share of swap amounts from users.
  • [medium] Hook holds funds for gas refunds: Bytecode contains a gas refund claim flow (claimGasRefund, claimableGasRefund, gasAllowanceFor) with a per-address balance mapping, so the hook holds and pays out ETH or tokens.
  • [low] External transfer dependency: The hook calls take on the pool manager and carries a RefundTransferFailed error, so transfer failures on refunds are handled but depend on external token behaviour.
  • [info] Partially opaque logic: Reads of an initializer flag and a buyback-related error suggest a one-time setup and a buyback path, but the logic cannot be confirmed without source.

Contract details

Verified source
No
Bytecode size
6,934 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta

Pools using Utility hook