Token hook on Robinhood Chain

Uniswap v4 Hook Contract 0xaad0fa7c01517aeea98368e4762b7868f2ab20cc on Robinhood Chain · Token

Volume (24h)
$4.08K
Value locked (TVL)
$1.98K
All-time volume
$4.08K
Pools using this hook
1
Swaps (24h)
75 (44 traders)
Total swaps
75

What it does

A cat-token themed hook that charges every swapper a tax of unverified size, sends it to a fixed tax recipient, and leaves LP deposits and withdrawals untouched.

How it works step by step

  • Charges a swap tax on trades in its pool, set by a stored tax rate in basis points (exact value not readable from bytecode).
  • Collects the tax inside the Uniswap v4 PoolManager as pending tax and lets anyone trigger claimTaxes to send it to a fixed tax recipient.
  • Tracks a 'cat token' game state (mood, interactions, swap count, last activity) that anyone can update through an interact function.
  • Checks the opening price when the pool is initialized, so the pool must start at a set price.
Swap behaviour
On each swap the hook can take a tax from the swap amounts through return deltas and update its mood and activity counters. The exact tax rate and whether mood changes the tax cannot be confirmed from bytecode.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
A swap tax read from a stored basis-point value is added to pending tax and later paid to a tax recipient address via claimTaxes. The exact percentage and any cap are unknown from bytecode.
Owner & admin controls
No owner or setter functions were found; the tax rate, recipient, and token appear fixed. Anyone can call claimTaxes and interact.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize checks the pool's opening price; beforeSwap and afterSwap apply the tax and update game state; beforeSwapReturnDelta and afterSwapReturnDelta let the hook deduct the tax from swap amounts.

Security & trust assessment

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

Who controls it: No privileged admin functions were identified; tax goes to a stored recipient address that appears fixed.

Risk to user funds: The hook can take a tax from swappers' trade amounts at an unverified rate. LP principal cannot be locked or taxed.

Security findings

  • [medium] Swap tax via return deltas: The hook deducts a tax from swaps using return deltas; the rate and whether it can change with the mood state cannot be verified from unverified bytecode.
  • [info] No admin setters found: No owner or fee-change functions are exposed, suggesting fixed tax settings.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
5,791 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, return-delta, self-unlock, tax

Pools using Token hook