Fee sharing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x71d4ced41796986c3b7b800f7af68d1e813640c8 on Robinhood Chain · Fee sharing
- Volume (24h)
- $0.05
- Value locked (TVL)
- $2.43
- All-time volume
- $0.05
- Pools using this hook
- 3
- Swaps (24h)
- 2 (2 traders)
- Total swaps
- 2
What it does
Every swap in this pool pays an extra fixed-rate hook fee, split between claimable royalties and a token burn, while LPs can add and withdraw freely.
How it works step by step
- Charges an extra fee on swaps in its pools by taking a cut of the swap amount before the trade runs.
- Splits that fee into royalties credited to recipient addresses (claimable later via a claim function) and a burn reserve.
- Accumulated burn reserves can be flushed (likely sent to a burn destination) through a public flush function, tracked as total burned per token.
- Keeps simple counters of swaps (labelled copies and posts), suggesting a social or copy-trading style royalty scheme.
- Does not run on liquidity adds or withdrawals, so LPs are unaffected.
- Swap behaviour
- Before each swap the hook takes a fee from the swap amount using a return delta and records royalty and burn balances. After the swap it updates a counter. The exact fee size is set by constants (BPS, TRADER_BPS, BASE_LP_FEE) whose values cannot be read from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- An extra hook fee is deducted from swaps on top of the pool's LP fee, split between royalty recipients (claimable) and a burn reserve. The exact percentages are hard-coded constants that could not be confirmed from bytecode.
- Owner & admin controls
- No owner-settable parameters were found; fee rates appear to be fixed constants. A keeper() address is referenced, possibly involved in flushing burns, but its role is unclear.
Enabled Uniswap v4 callbacks
beforeSwap, afterSwap, beforeSwapReturnDelta
beforeSwap: computes and takes the hook fee and records royalty/burn amounts; beforeSwapReturnDelta: lets the hook deduct that fee from the swap; afterSwap: updates a post-swap counter.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, medium confidence).
Who controls it: No admin setter functions were found and the contract is not upgradeable; a keeper address may trigger burn flushes but cannot evidently change fees.
Risk to user funds: The hook touches only the fee portion it takes from swaps, holding it as claimable royalties or burn reserve; the exact fee percentage is unknown from bytecode. LP principal cannot be locked or drained.
Security findings
- [low] Swap fee deducted via return delta: The hook can take part of each swap's amount; the rate comes from fixed constants whose exact values are not verifiable from bytecode.
- [info] Unverified contract: No source is published, so the fee split and the role of the keeper address are inferred from selectors only.
- [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
- 5,208 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta, self-unlock
Pools using Fee sharing hook
- TSLA / USDG (Dynamic fee) — 24h volume $0.05, TVL $0.79, 2 swaps today
- USDG / QQQ (Dynamic fee) — 24h volume $0, TVL $1.06, 0 swaps today
- USDG / NVDA (Dynamic fee) — 24h volume $0, TVL $0.58, 0 swaps today