Fee sharing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x44bc6698accd27921557c0060841ceac91ee40cc on Robinhood Chain · Fee sharing
- Volume (24h)
- $0
- Value locked (TVL)
- $0.06
- All-time volume
- $677
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 5
What it does
This hook charges fixed, hard-coded buy and sell fees on every swap and sends them to a set recipient, while LPs can add and remove liquidity freely.
How it works step by step
- Charges a buy fee and a sell fee on swaps in pools that use this hook.
- The buy and sell fee rates are constants built into the contract and cannot be changed.
- Collected fees are taken from the pool and sent to a fixed fee recipient address.
- Does not touch adding or removing liquidity, so LPs can deposit and withdraw freely.
- Swap behaviour
- On each swap the hook takes a fee from the swap amounts, using a buy-fee rate or a sell-fee rate depending on direction, and sends it to the fee recipient. The exact rates are hard-coded constants whose values could not be read from bytecode.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- A fixed buy fee and a fixed sell fee (constants BUY_FEE_BPS and SELL_FEE_BPS) are taken on top of the pool's normal LP fee and paid to a fixed fee recipient. The exact percentages are not visible in the decoded data.
- Owner & admin controls
- No admin controls found; the fee rates are constants and the fee recipient appears fixed, since there is no storage and no setter functions.
Enabled Uniswap v4 callbacks
beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeSwap: applies the fee before the swap executes; afterSwap: applies the fee after the swap executes; beforeSwapReturnDelta: lets the hook take its fee from the swap input; afterSwapReturnDelta: lets the hook take its fee from the swap output.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: No privileged keys were found; the fee rates and recipient are fixed at deployment. The fee recipient only receives swap fees.
Risk to user funds: The hook takes a fixed but unverified percentage from swap amounts on buys and sells. It cannot touch LP principal, and LP withdrawals are unrestricted.
Security findings
- [low] Unverified hook with swap fee deltas: The hook can deduct fees from swaps via return deltas and send them to a recipient, but the exact buy and sell fee percentages cannot be confirmed without source.
- [info] Immutable, no admin: There is no storage or owner, so fees and recipient cannot be changed after deployment.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 2,926 bytes
- Upgradeable proxy
- No
- Detected patterns
- fee-sharing, moves-currency, return-delta
Pools using Fee sharing hook
- ETH / ONDEX (0.00% fee) — 24h volume $0, TVL $0.06, 0 swaps today