Likely fee sharing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xf307be4915ced208d63257a39339e7ebd538c044 on Robinhood Chain · Fee sharing
- 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
This fixed, admin-free hook takes an extra fee of unverified size from every swap's output and sends it to a hard-coded recipient, while LPs can still add and withdraw liquidity freely.
How it works step by step
- Runs after every swap in pools that use it and can take a cut of the swap output using an after-swap return delta.
- Withdraws the taken tokens from the pool manager to a fixed address hard-coded in the contract, since the contract has no storage.
- References a WETH address, which suggests special handling for wrapped ETH pools or fees.
- Has no admin functions or storage, so its behaviour appears fixed at deployment.
- Never runs on liquidity changes, so LPs can add and remove liquidity freely.
- Swap behaviour
- After each swap the hook can reduce the trader's output by an amount it calculates and pull that amount out of the pool manager. The exact fee rate cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- The hook appears to charge an extra fee on swap output on top of the pool's normal LP fee, and sends it to a hard-coded recipient. The exact percentage is not visible in the decoded bytecode, but it appears fixed because there is no storage or admin setter.
- Owner & admin controls
- No admin controls found. There is no storage and no owner or setter functions, so the fee logic and recipient appear fixed.
Enabled Uniswap v4 callbacks
afterSwap, afterSwapReturnDelta
afterSwap: runs after each swap to calculate the fee; afterSwapReturnDelta: lets the hook deduct that fee from the swap's output.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: Not stated.
Risk to user funds: The hook can only touch the swap output of traders, taking an unverified fixed fee per swap. LP principal cannot be locked or drained.
Security findings
- [low] Unverified swap fee via return delta: The hook can deduct tokens from swap output and take them from the pool manager. The exact rate cannot be verified without source code.
- [info] Immutable, no admin: The contract is not a proxy and has no storage or admin functions, so no one can change the fee or recipient after deployment.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,189 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta