Token hook on Robinhood Chain

Uniswap v4 Hook Contract 0xf2bf981d818e4b0dad3536f162f4fbf9b643a0cc on Robinhood Chain · Token

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

What it does

A token-plus-hook contract whose single home pool appears to take a cut of every swap through return deltas and distribute it to token holders who cash out, while LPs can always withdraw freely.

How it works step by step

  • The hook is also an ERC20 token that pairs with a single home pool it locks in at pool creation.
  • On swaps it can adjust swap amounts through return deltas, likely skimming a cut of the trade into claim balances held in the PoolManager.
  • Accrued value appears to be tracked per token holder (owed and cashed balances, with some addresses excluded), and holders can withdraw their share with a cash-out function.
  • A public function taking a number appears to let anyone trigger processing or redemption of accrued claims through the PoolManager.
  • Ownership exists (transfer or renounce), but no owner-only fee or pause setters were identified.
Swap behaviour
Each swap in the home pool runs before and after swap logic that can change the amounts traders send or receive, likely taking a fee. The exact fee rate cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks are enabled, so LPs can add and withdraw freely. The hook cannot block withdrawals or charge a withdrawal fee.
Fee behaviour
A swap fee or skim appears to be taken through return deltas and held as PoolManager claims, then distributed to token holders who cash out. A constant named NET_BPS suggests a fixed rate, but the exact percentage is not verifiable.
Owner & admin controls
Only Ownable ownership transfer and renounce were found. No owner-only fee, pause, or allowlist setters were identified, though this is not verifiable from bytecode alone.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: records the single home pool and blocks other pools; beforeSwap: checks the pool and may adjust input amounts; afterSwap: may take a cut of output and update accounting; beforeSwapReturnDelta and afterSwapReturnDelta: allow changing swap amounts to collect the fee.

Security & trust assessment

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

Who controls it: An owner exists, but no owner-only setters were identified beyond ownership transfer. The hook is not a proxy, so its code cannot be changed.

Risk to user funds: The hook can deduct part of each swap's amounts through return deltas; the exact percentage is unknown from bytecode. LP principal cannot be locked or drained by the hook.

Security findings

  • [medium] Swap return deltas active: The hook can modify swap amounts to take tokens from trades. The rate appears to be a constant but cannot be verified without source.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled by the address bits, so LP principal cannot be blocked or charged.
  • [low] Unverified contract: Distribution and cash-out logic is inferred from storage usage and selectors only.

Contract details

Verified source
No
Bytecode size
9,958 bytes
Upgradeable proxy
No
Detected patterns
erc20, erc6909-claims, moves-currency, ownable, return-delta, self-unlock

Pools using Token hook