Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x2e9741fed5b2d6e74803796aae87ee77ca780088 on Robinhood Chain · Custom pricing

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

What it does

This small unverified hook runs before every swap and can take an unknown cut of each trade through the PoolManager, while LPs can add and withdraw liquidity freely.

How it works step by step

  • Runs a check before every swap in pools that use it.
  • Can change swap amounts through a before-swap return delta, likely taking a cut of the swap input.
  • Calls the PoolManager's take function to pull tokens out of the swap to an address the hook chooses.
  • Keeps two running counters in storage, likely a swap count and a total amount taken, readable through one view function.
  • Has no admin functions and no liquidity callbacks.
Swap behaviour
Before each swap the hook runs and can adjust the swap amounts, and it calls take to withdraw tokens from the PoolManager, which suggests a fee or skim on the swap. The exact amount or percentage cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
May charge an extra hook fee on swaps by taking tokens through a before-swap return delta, on top of the pool's normal LP fee. The exact rate and recipient are not visible in the decoded bytecode.
Owner & admin controls
No admin controls found; no owner or setter functions appear in the dispatched selectors.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook change the swap amounts, for example to take tokens from the trade.

Security & trust assessment

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

Who controls it: No privileged roles were found in the bytecode. The behaviour appears fixed at deployment.

Risk to user funds: Traders' swap amounts can be reduced by an unknown amount through the return delta. LP principal cannot be locked or drained because liquidity callbacks are disabled.

Security findings

  • [medium] Unverified swap-amount modification: The hook can adjust swap amounts and take tokens through the PoolManager, but without source code the size of any deduction cannot be confirmed.
  • [info] No admin or withdrawal controls: There are no owner functions and no remove-liquidity callbacks, so LP withdrawals cannot be blocked.

Contract details

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

Pools using Likely custom pricing hook