Likely custom pricing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xecde77e55469a2d423e7c8ff83ae6b623b3e8088 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

An unverified, non-upgradeable hook that can take an unknown amount from each swap before it executes, while LPs can deposit and withdraw freely.

How it works step by step

  • Runs custom logic before every swap in pools that use it.
  • Can change swap amounts through a return delta, for example taking part of the input before the pool trade.
  • Calls the PoolManager's take function to pull tokens out during swaps, likely to collect a fee or skim.
  • Keeps a few running counters in storage, readable through one view function.
  • Has no liquidity callbacks, so LP deposits and withdrawals are never touched.
Swap behaviour
Before each swap the hook can adjust the swap amount with a return delta and take tokens from the PoolManager. The exact amount or percentage cannot be confirmed from bytecode alone.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
The hook appears to take tokens from swaps on top of the pool's normal fee, but the rate and recipient are unknown without verified source. No admin-settable fee function was found.
Owner & admin controls
No admin controls found. Only a beforeSwap entry point and one view function are exposed.

Enabled Uniswap v4 callbacks

beforeSwap, beforeSwapReturnDelta

beforeSwap: runs custom logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens from the swap.

Security & trust assessment

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

Who controls it: No privileged admin functions were found and the contract cannot be upgraded. Its behaviour is fixed, though unverified.

Risk to user funds: The hook can take part of a trader's swap amounts, and the maximum deduction is unknown from bytecode. LP principal cannot be locked or drained by this hook.

Security findings

  • [medium] Unverified swap deduction: The hook can change swap amounts and take tokens through a return delta, but the code is unverified, so the size of the deduction cannot be confirmed.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled by the address bits, so LPs can always withdraw.
  • [info] No admin or upgrade path: This is a small direct contract with no owner-style functions and no proxy.

Contract details

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

Pools using Likely custom pricing hook