Likely fee sharing hook on Robinhood Chain
Uniswap v4 Hook Contract 0xd827849cf9fd2b9d298feada1777ec99b74810c4 on Robinhood Chain · Dynamic fee
- Volume (24h)
- $0
- Value locked (TVL)
- <$0.01
- All-time volume
- $25.63K
- Pools using this hook
- 12
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 2,568
What it does
A Uniswap v4 hook that applies a volatility-based dynamic fee on swaps and routes a portion of trading value into a pending burn and buyback mechanism.
How it works step by step
- Initializes per-pool state after pool creation
- Computes a dynamic swap fee bounded by MIN_FEE and MAX_FEE using volatility parameters
- Tracks pool state and pending burn amounts per pool
- Takes a portion of swap output after each swap via afterSwapReturnDelta
- Exposes executeBuyback to convert accumulated tokens into buybacks
- Swap behaviour
- beforeSwap sets the dynamic fee from volatility state; afterSwap updates state and can take a share of output via the return delta.
- Liquidity behaviour
- No custom liquidity logic beyond beforeAddLiquidity, afterAddLiquidity, beforeRemoveLiquidity and afterRemoveLiquidity selectors, which appear to be standard hook entry points.
- Fee behaviour
- Dynamic fee exposed through currentFee(bytes32) with MIN_FEE, MAX_FEE, maxVolatility, decayPeriod, reductionFactor and filterPeriod parameters, suggesting a volatility-based fee; the fee is applied in beforeSwap.
- Owner & admin controls
- No admin controls found in the dispatched selectors; executeBuyback and 9cdccabc/a5310856 are nonpayable and may carry access restrictions not visible from bytecode alone.
Enabled Uniswap v4 callbacks
afterInitialize, beforeSwap, afterSwap, afterSwapReturnDelta
afterInitialize initializes per-pool state; beforeSwap computes the dynamic fee; afterSwap updates pool state and returns a delta (afterSwapReturnDelta) allowing the hook to take a portion of swap output; executeBuyback suggests the collected tokens are used for buybacks.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: Unclear from bytecode; a privileged caller of executeBuyback or the nonpayable configuration functions could influence buyback timing and parameters.
Risk to user funds: The hook can take a share of swap output through the after-swap return delta and burns or buys back tokens from pending balances, so swap outputs for traders are affected by its logic.
Security findings
- [medium] Hook takes tokens via return delta: afterSwapReturnDelta is enabled, so the hook can take tokens from swap outputs and route them to pending burns or buybacks.
- [medium] Unverified access control on nonpayable functions: executeBuyback and configuration selectors are nonpayable with no visible role checks in the decoded output; access control cannot be confirmed without source.
- [info] No proxy pattern observed: Storage is a simple mapping layout with no visible proxy selectors, so upgradeability is not indicated, but this is not confirmed.
Contract details
- Verified source
- No
- Bytecode size
- 16,754 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely fee sharing hook
- AI / UBIK (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / CATGPT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / ZZZ (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- FATCOIN / AI (0.00% fee) — 24h volume $0, TVL <$0.01, 0 swaps today
- AI / MOO (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / CREDIT (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / USDG (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / RSGP (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / CLANKER (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- CASHCAT / AI (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / PONS (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today
- AI / QUOTRON (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today