Aggregator hook on Robinhood Chain
Uniswap v4 Hook Contract 0x34fded3f80e61aee81671724a9517fe958877acc on Robinhood Chain · Aggregator
- Volume (24h)
- $0
- Value locked (TVL)
- $0.46
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 2 (1 traders)
- Total swaps
- 2
What it does
This hook routes swaps through owner-chosen external venues under a bounded dynamic fee with a treasury share, restricts who can add liquidity, and may time-lock LP withdrawals; exact fee levels are unverified.
How it works step by step
- Routes swaps through owner-configured external venues (routes) using return deltas, so trades may be filled outside the pool's own liquidity.
- Uses a dynamic LP fee with fixed floor and ceiling constants, and may donate part of fees to LPs and send a house share to a treasury.
- Gates adding liquidity to allowlisted addresses or routers until the owner opens liquidity permanently.
- Records when liquidity was added, and checks this on removal, which suggests a lock or vesting period on withdrawals.
- Supports trusted forwarders and a pass signer for signed passes or top-ups tied to campaigns.
- Swap behaviour
- Before and after each swap the hook can reroute the trade through external venues, take or settle tokens via return deltas, and update the dynamic fee. Exact amounts and limits cannot be confirmed from bytecode.
- Liquidity behaviour
- Adding liquidity is restricted to allowlisted addresses and routers unless the owner has opened liquidity forever. Removal runs a check against when the liquidity was added, so withdrawals may be time-locked; the exact duration is unknown but a maximum vest duration constant exists.
- Fee behaviour
- Uses a dynamic LP fee bounded by hard-coded floor and ceiling constants, plus a fixed fee constant and a house share sent to a treasury. Exact percentages cannot be read from bytecode.
- Owner & admin controls
- The owner can enable or disable routes, add routes, set liquidity allowlist and routers, set trusted forwarders and the pass signer, and permanently open liquidity. Renouncing ownership is disabled, and ownership transfers use a two-step process.
Enabled Uniswap v4 callbacks
beforeInitialize, afterInitialize, beforeAddLiquidity, beforeRemoveLiquidity, beforeSwap, afterSwap, beforeSwapReturnDelta, afterSwapReturnDelta
beforeInitialize/afterInitialize: set up the single pool, price and seeding; beforeAddLiquidity: enforce the LP allowlist and record deposit time; beforeRemoveLiquidity: check deposit time, possibly blocking early withdrawals; beforeSwap/afterSwap: route through external venues, adjust fees, settle deltas; swap return deltas: change swap amounts the trader pays or receives.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: A single owner controls routes, LP allowlists, forwarders and the signer, and cannot renounce ownership. The worst case is routing swaps to bad venues or keeping LP access gated.
Risk to user funds: Swap input and output can be altered through return deltas and external routing, with unverified bounds. LP principal may be time-locked on removal, though the hook cannot take LP tokens via liquidity deltas.
Security findings
- [high] Possible LP withdrawal lock: beforeRemoveLiquidity reads each position's add time and can revert, so LPs may be unable to withdraw until a lock or vesting period ends. The exact duration is unverified.
- [medium] Owner-controlled swap routing with return deltas: The owner chooses which external venues swaps are routed through, and the hook can modify swap amounts via return deltas. Caps on these amounts are unverified.
- [low] Gated liquidity provision: Only allowlisted addresses or routers can add liquidity until the owner opens it forever.
Contract details
- Verified source
- No
- Bytecode size
- 24,226 bytes
- Upgradeable proxy
- No
- Detected patterns
- donates, dynamic-fee, liquidity-management, moves-currency, ownable, return-delta
Pools using Aggregator hook
- ETH / CASHCAT (Dynamic fee) — 24h volume $0, TVL $0.46, 2 swaps today