BucketQuoteFeeHook on Robinhood Chain

Uniswap v4 Hook Contract 0xc7e686d9f1db6622b3014c8a755fc2b2c2e0a0cc on Robinhood Chain · Fee sharing · Verified contract

Volume (24h)
$0
Value locked (TVL)
<$0.01
All-time volume
$491.69K
Pools using this hook
1
Swaps (24h)
0 (0 traders)
Total swaps
3,010

What it does

Every swap in either direction pays a fixed, immutable fee of up to 3% in the pool's quote token to a treasury vault, while LPs can add and withdraw liquidity freely.

How it works step by step

  • Charges a fixed fee on every swap, in either direction, paid in the pool's quote token (for example USDG).
  • The fee rate is set once at deployment and hard-capped at 3%; it can never be changed afterward.
  • Fees are sent as real tokens straight to a fixed vault address set at deployment.
  • Only allows pools to be created if one of the two tokens is the configured quote token.
  • Does not touch liquidity adds or withdrawals, so LPs can add and remove freely.
Swap behaviour
If the trader specifies the quote-token amount, the fee is taken from that amount before the swap. Otherwise it is taken from the quote-token side after the swap, so buyers and sellers pay the same fixed percentage.
Liquidity behaviour
No liquidity callbacks; LPs can add and withdraw freely.
Fee behaviour
A fixed fee set at deployment, at most 3% (the exact rate is readable via feeBps), is charged on the quote-token amount of every swap on top of the pool's normal LP fee. The fee goes to an immutable vault address.
Owner & admin controls
No admin controls found. The fee rate, quote token and vault are all fixed at deployment, and the fee is capped at 3%.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta

beforeInitialize: rejects pools that lack the quote token; beforeSwap and beforeSwapReturnDelta: take the fee when the quote amount is specified; afterSwap and afterSwapReturnDelta: take the fee from the quote output or input otherwise.

Security & trust assessment

Risk level: low (verified source, high confidence).

Who controls it: There is no owner or admin key. All settings, including the fee recipient vault, are immutable.

Risk to user funds: The hook only takes a fixed swap fee of at most 3% of the quote-token amount, paid to the vault. It cannot touch LP principal, and LP withdrawals are unrestricted.

Security findings

  • [info] Immutable fee capped at 3%: The fee rate is fixed in the constructor and cannot exceed 3%. There is no owner who can change it.
  • [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook cannot block or charge LP withdrawals.

Contract details

Verified source
Yes (BucketQuoteFeeHook)
Compiler
solc 0.8.26+commit.8a97fa7a
Bytecode size
3,570 bytes
Upgradeable proxy
No
Detected patterns
liquidity-management, moves-currency, return-delta

Pools using BucketQuoteFeeHook