Fee sharing hook on Robinhood Chain

Uniswap v4 Hook Contract 0xc46036911b15c63161099f58773ea9376efd80cc 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

Immutable hook that charges fixed buy and sell fees of unverified size on every swap and sends them to a fixed recipient, while LPs can add and withdraw freely.

How it works step by step

  • Charges a fixed buy fee and a fixed sell fee on swaps, with the rates set as constants in the code.
  • Takes the fee out of the swap using return deltas and sends it straight to a fixed fee recipient address.
  • Has no storage variables, so the fee rates and recipient appear to be fixed at deployment and cannot be changed.
  • Does not touch liquidity: LPs can add and withdraw freely.
Swap behaviour
On each swap the hook takes a buy fee or a sell fee, depending on direction, from the swap amounts and transfers it to the fee recipient. The exact percentages are fixed constants that cannot be read from the decoded data.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
A fixed buy fee and a fixed sell fee are charged on top of the pool's normal LP fee and paid to a fixed fee recipient. The exact rates are constants in the code that are not visible in this data, so they are unknown.
Owner & admin controls
No admin controls found. There are no storage variables, so the fee rates and recipient appear to be immutable.

Enabled Uniswap v4 callbacks

beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeSwap: works out and takes the fee before the swap runs; afterSwap: takes the fee from the swap output; beforeSwapReturnDelta and afterSwapReturnDelta: let the hook reduce swap amounts by the fee and send it to the recipient.

Security & trust assessment

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

Who controls it: No privileged keys were found. The fee recipient is fixed and only receives fees.

Risk to user funds: The hook can only take its fixed buy or sell fee from swap amounts, and the exact rate is unknown without source. LP principal cannot be locked or drained.

Security findings

  • [low] Unverified fixed buy/sell fees: Buy and sell fees are constants that are taken from swaps through return deltas. Their exact sizes cannot be checked from the bytecode, and buy and sell rates may differ.
  • [info] Immutable, no admin: The hook is not a proxy and has no storage, so nobody can change the fees or recipient after deployment.
  • [info] LP withdrawals unrestricted: The remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.

Contract details

Verified source
No
Bytecode size
2,930 bytes
Upgradeable proxy
No
Detected patterns
fee-sharing, moves-currency, return-delta

Pools using Fee sharing hook