TickerHook on Robinhood Chain
Uniswap v4 Hook Contract 0x40ad321c3e38dddf0b8466352776d99ee09da0cc on Robinhood Chain · Utility · Verified contract
- Volume (24h)
- $1.02K
- Value locked (TVL)
- $1.01K
- All-time volume
- $280.60K
- Pools using this hook
- 1
- Swaps (24h)
- 5 (5 traders)
- Total swaps
- 3,546
What it does
Charges a fixed 0.60% fee on buys and 1.44% on sells, always in the quote currency, and forwards it to a fixed recipient within the same swap so the base token never accumulates with the fee recipient.
How it works step by step
- Takes a 0.60% fee when the caller buys the base token, denominated in the quote currency.
- Takes a 1.44% fee when the caller sells the base token, denominated in the quote currency.
- Splits fee handling between beforeSwap (specified leg) and afterSwap (unspecified leg) based on exact-input or exact-output and trade direction.
- Transfers collected fees to an immutable feeRecipient inside the same swap call, so the hook holds no balance.
- Restricts itself to one pool with fixed currencies, zero LP fee, tick spacing and opening price.
- Swap behaviour
- On each swap the hook determines whether the quote currency is the specified or unspecified leg and takes the fee from it: beforeSwap handles the specified leg and afterSwap the unspecified leg, with fees grossed up on exact-output trades so the rate is consistent across routes.
- Liquidity behaviour
- No liquidity callbacks. Add and remove liquidity are not hooked and revert with HookNotImplemented if reached.
- Fee behaviour
- Charges a fixed 0.60% fee on buys and 1.44% on sells, always denominated in the quote currency and taken via poolManager.take to the immutable feeRecipient. On exact input the fee is a percentage of the amount; on exact output the amount is grossed up by bps/(10000-bps) so the effective rate is the same across routes. The pool's LP fee must be zero.
- Owner & admin controls
- No admin controls found. There is no owner, setter, pause or upgrade path; BUY_FEE_BPS (60), SELL_FEE_BPS (144) and feeRecipient are immutable or constant, and the pool parameters are pinned at initialization.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize restricts the pool to the expected currency pair, zero LP fee, the fixed tick spacing and the fixed opening sqrt price. beforeSwap takes the fee from the quote leg when it is the specified currency and returns a positive specified delta. afterSwap takes the fee from the quote leg when it is the unspecified currency and returns it as an unspecified delta. beforeSwapReturnDelta and afterSwapReturnDelta allow these deltas to alter the amounts settled with the caller.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: No privileged key exists after deployment. The fee rates, recipient and pool configuration cannot be changed, so no single party can alter user costs or block trades.
Risk to user funds: The hook does not hold user or pool funds between calls; it takes a fixed percentage of the quote leg and forwards it to feeRecipient within the same swap. Traders bear the 0.60% buy and 1.44% sell fees as a cost but cannot have funds blocked or redirected by the hook.
Security findings
- [info] Return-delta fee skim on every swap: The hook takes fees in the quote currency via poolManager.take on every buy and sell, and returns deltas that change the amounts users pay or receive.
- [info] No owner, pause or upgrade path: Fee rates are compile-time constants and the recipient is immutable, so the fee cannot be raised after launch and there is no pause or upgrade mechanism.
- [info] Single-pool initialization pinning: The hook is restricted to one pool with fixed currencies, zero LP fee, tick spacing and opening price, so a pool-initialization race only affects who pays gas.
- [low] Fee recipient receives quote currency on every trade: Fees are sent to feeRecipient during each swap and the hook holds no balance between calls, so user funds are not accumulated in the hook.
Contract details
- Verified source
- Yes (TickerHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 4,928 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using TickerHook
- WETH / TICKER (0.00% fee) — 24h volume $1.02K, TVL $1.01K, 5 swaps today