Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0x9405edfb2957fb42a5516486ea8d6b04544b4088 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 hook runs custom logic before each swap, can take tokens from the pool and change swap amounts through a return delta, but its exact effect on trade pricing and which trades pay more or less cannot be determined from the decoded bytecode.

How it works step by step

  • Implements only beforeSwap, which runs before every swap on pools that use this hook
  • Takes currency from the pool via the PoolManager take(currency0, currency1, amount) call during the swap
  • Returns a delta through beforeSwapReturnDelta, so the hook can alter the amounts the swap settles for
  • Writes four uint256 storage slots (0 to 3) on each swap, which look like counters or tracked state
  • Exposes two view functions (0xbb5de0bf and 0xe75a1f3d returning uint256 values) that read the same storage
Swap behaviour
On each swap the hook's beforeSwap runs, updates its storage slots, may take tokens out of the pool through the PoolManager, and returns a delta that changes the swap amounts. The exact pricing effect cannot be fully determined from decoded bytecode without source.
Liquidity behaviour
No liquidity callbacks.
Fee behaviour
Fees are not clearly set by this hook from the decoded selectors; any fee effect would come through the return delta. Otherwise uses the pool's static fee.
Owner & admin controls
No admin controls found in the decoded selectors (no owner or setter selectors identified).

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap is used to run custom logic and take tokens before each swap; beforeSwapReturnDelta lets the hook return a delta that changes the swap's settled amounts.

Security & trust assessment

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

Who controls it: No owner or upgrade selectors were found, so the decoded bytecode does not show a privileged key. Central control cannot be ruled out without source or a proxy check.

Risk to user funds: The hook can take currency from the pool and alter swap settlement through its return delta, so it can affect LP and trader funds on pools that use it.

Security findings

  • [high] Return delta with currency movement: The hook has beforeSwapReturnDelta and calls take on the PoolManager during beforeSwap, so it can move pool funds and change what a swap settles for.
  • [medium] Unverified logic: No verified source is available, so the exact conditions for taking tokens and the size of the returned delta cannot be confirmed.
  • [info] Storage written on every swap: Four storage slots are written in beforeSwap (slots 0 to 3), indicating persistent state that changes with trading activity.

Contract details

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

Pools using Likely custom pricing hook