Token hook on Robinhood Chain

Uniswap v4 Hook Contract 0xda2a5cba57851cd52dc8a3f99f5137cb023c20cc on Robinhood Chain · Token

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

What it does

A token launch hook that keeps swaps closed until the owner opens trading, then charges fixed buy and sell taxes of unverified size on every trade and sends them to a tax wallet, while LPs can withdraw freely.

How it works step by step

  • Charges a buy tax and a sell tax on swaps in one pool tied to a specific token, sending the tax to a tax wallet.
  • Blocks all swaps until the owner calls enableTrading, after which trading stays open (no disable function found).
  • Binds itself to a single pool at initialization and records the pool id.
  • Owner can change the tax wallet address and transfer or renounce ownership.
  • Liquidity callbacks are not enabled, so LPs add and remove liquidity normally.
Swap behaviour
Swaps revert until trading is enabled. After that, the hook takes a buy or sell tax from each swap using return deltas and pulls it to the tax wallet.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
Fixed buy and sell tax rates are stored as constants (BUY_TAX_BPS and SELL_TAX_BPS), but their exact values cannot be read from the decoded bytecode. The tax is sent to the tax wallet, on top of the pool's normal LP fee.
Owner & admin controls
The owner can enable trading once, change the tax wallet, and transfer or renounce ownership. Tax rates appear to be constants and not adjustable.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: locks the hook to one pool; beforeSwap: blocks trades before launch and can tax input; afterSwap: can tax output; swap return deltas: let the hook take the tax from swap amounts.

Security & trust assessment

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

Who controls it: A single owner controls the trading launch switch and the tax wallet address. They cannot change tax rates or block LP withdrawals.

Risk to user funds: The hook takes a fixed buy or sell tax from swap amounts, but the exact percentage is unknown from bytecode. LP principal cannot be locked or drained.

Security findings

  • [medium] Unverified tax rates: Buy and sell taxes are hard-coded constants, but their values are not visible in the decoded data, so the exact deduction cannot be confirmed.
  • [low] Trading gate before launch: All swaps revert until the owner enables trading; no function to disable trading again was found.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so LPs can always withdraw.

Contract details

Verified source
No
Bytecode size
3,931 bytes
Upgradeable proxy
No
Detected patterns
moves-currency, ownable, return-delta, tax

Pools using Token hook