Likely fee sharing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x343fbe5e8cf1d05fd316cc2c698fc91d003cc044 on Robinhood Chain · Fee sharing
- Volume (24h)
- $257
- Value locked (TVL)
- $9.87
- All-time volume
- $344
- Pools using this hook
- 21
- Swaps (24h)
- 46 (5 traders)
- Total swaps
- 79
What it does
A Uniswap v4 hook that appears to skim a configurable tax from swap output after each trade and route it to a recipient, with the rate set per pool by an admin or factory.
This read was written for the hook 0xb93f…8044 on Robinhood Chain and reused here: the two run the same code.
How it works step by step
- Runs an afterSwap callback on every swap in pools that use it
- Computes a per-pool tax using stored configuration (cfg mapping)
- Takes the tax amount from the swap output via the return delta mechanism
- Transfers the taken tokens to a recipient through a take call to the pool manager
- Caps configurable tax using a MAX_TAX_BPS constant
- Exposes admin and factory setters that control configuration
- Swap behaviour
- After each swap, the hook computes a tax on the output and takes it via afterSwapReturnDelta and the take call, so the swapper receives reduced output.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- The hook's afterSwap path, combined with the afterSwapReturnDelta permission, appears to take a tax from swap output and send it to a recipient via a take call; the exact tax rate is bounded by MAX_TAX_BPS and configured per pool through cfg storage. Whether the tax is charged to the swapper or routed to fee recipients cannot be fully confirmed without source.
- Owner & admin controls
- Admin address (slot 1) can be set via setAdmin(address) and the factory address (slot 0) via setFactory(address); the factory-set and admin-set paths indicate an owner/admin key can reconfigure the hook. Per-pool configuration (cfg, mapping at slot 2 keyed by uint256) is written by the 0x5442ece3 function, which takes parameters including two uint16 values and two addresses, suggesting admin or factory can set tax parameters. A MAX_TAX_BPS constant exists, which bounds the tax.
Enabled Uniswap v4 callbacks
afterSwap, afterSwapReturnDelta
afterSwap: runs after each swap to compute and collect a tax. afterSwapReturnDelta: lets the hook alter the swap's settled amounts by taking a portion of the output token.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: The admin and factory addresses can change configuration; a malicious or compromised admin could raise tax parameters (bounded by MAX_TAX_BPS, but the bound value is not confirmed) or redirect fee recipients, affecting swappers in configured pools.
Risk to user funds: The hook can take a portion of swap output tokens through afterSwapReturnDelta and take calls, so swappers in pools using this hook receive less than the pool's raw output, up to the configured tax.
Security findings
- [medium] Hook takes output tokens via return delta and take calls:
- [medium] Admin-controlled configuration of tax parameters: setAdmin and setFactory allow privileged addresses to change configuration and parameters affecting swap settlement.
- [low] Tax cap enforcement unverified: The MAX_TAX_BPS view function exists, suggesting a cap, but the cap value and whether all setter paths enforce it cannot be confirmed from bytecode alone.
- [info] Unverified source: No source is available, so the exact tax math, recipient logic, and any pause or upgrade mechanism cannot be verified.
Contract details
- Verified source
- No
- Bytecode size
- 2,723 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely fee sharing hook
- WETH / JIFFY (1.00% fee) — 24h volume $63, TVL $0.31, 10 swaps today
- WETH / BALLOON (1.00% fee) — 24h volume $59, TVL $0.29, 8 swaps today
- WETH / YOYO (1.00% fee) — 24h volume $59, TVL $0.29, 8 swaps today
- BALLOON / WETH (1.00% fee) — 24h volume $53, TVL $0.26, 8 swaps today
- WETH / BALLOON (1.00% fee) — 24h volume $18, TVL $0.09, 4 swaps today
- WETH / BALLOON (1.00% fee) — 24h volume $5.09, TVL $0.27, 3 swaps today
- WETH / BALLOON (1.00% fee) — 24h volume $0.48, TVL <$0.01, 2 swaps today
- WETH / SNOOP (1.00% fee) — 24h volume $0.02, TVL $0.02, 1 swaps today
- WETH / SNOOPA (1.00% fee) — 24h volume $0.02, TVL $0.02, 1 swaps today
- WETH / SNOOP (1.00% fee) — 24h volume $0.02, TVL $0.02, 1 swaps today
- WETH / CREATE (1.00% fee) — 24h volume $0, TVL $0.06, 0 swaps today
- NVPAY / WETH (1.00% fee) — 24h volume $0, TVL $4.86, 0 swaps today
- WETH / SADPEPE (1.00% fee) — 24h volume $0, TVL $3.19, 0 swaps today
- WETH / BEAR (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- WETH / ARCA (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- WETH / HARMONIC (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- HARMONIC / WETH (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- WETH / TEST (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- HARMONIC / WETH (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today
- WETH / HARMONIC (1.00% fee) — 24h volume $0, TVL $0.02, 0 swaps today