RingAggregatorHook on Ethereum
Uniswap v4 Hook Contract 0x3dd864a80cc5dc3d6e3f4e1a6af92b0d2047e888 on Ethereum · Aggregator · Verified contract
- Volume (24h)
- $0
- Value locked (TVL)
- $278.02M
- All-time volume
- $69.48K
- Pools using this hook
- 8
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 38
What it does
An ownerless aggregator hook that fills every swap from a Ring FewV2 pair and charges all trades the same fixed 0.05% protocol fee on top of FewV2's 0.30% fee, while blocking liquidity deposits to the v4 pool.
How it works step by step
- Routes every swap in its Uniswap v4 pools through a matching Ring FewV2 pair (a Uniswap V2 style AMM) instead of v4 pool liquidity.
- Wraps your input token 1:1 into Ring's fewToken, swaps it on FewV2, then unwraps the output 1:1 and hands it back through the PoolManager in the same transaction.
- Takes a fixed 0.05% protocol fee from the swap output and sends it to a fixed fee address (uniBurner), on top of FewV2's own 0.30% pair fee.
- Blocks anyone from adding liquidity to the v4 shell pool. All liquidity comes from the external FewV2 pair.
- Has no owner, no pause and no upgrade path. All wiring is fixed at deployment.
- Swap behaviour
- Each swap is fully handled by the hook before the v4 pool runs: it takes your input, trades it on the registered FewV2 pair at V2 pricing with a 0.30% pair fee, keeps 0.05% of the output as a protocol fee, and returns the rest. Exact-output swaps revert if the delivered amount falls short, and swaps revert if the pair is drained.
- Liquidity behaviour
- Adding liquidity to these v4 pools always reverts, so no LP funds are ever held in the v4 pool. Remove-liquidity callbacks are disabled, and there is nothing to withdraw.
- Fee behaviour
- A fixed, hard-coded 0.05% of each swap's output goes to the immutable uniBurner address, plus FewV2's built-in 0.30% fee, which goes to FewV2 LPs. The v4 pool must use the 0.05% fee tier, but the hook replaces v4 pricing, so no v4 LP fee applies.
- Owner & admin controls
- No admin controls found. The public sweep function lets anyone send stray tokens or ETH sitting in the hook to the immutable fee recipient, and it cannot touch user swap funds mid-transaction.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, beforeSwapReturnDelta
beforeInitialize: only allows pools with the 0.05% fee tier and tick spacing 10, and registers exactly one FewV2 pair per pool; beforeAddLiquidity: always reverts to block liquidity; beforeSwap: executes the trade on FewV2; beforeSwapReturnDelta: replaces the v4 swap amounts with the FewV2 result net of the 0.05% fee.
Security & trust assessment
Risk level: low (verified source, high confidence).
Who controls it: No one holds admin keys. The factory, WETH, fee recipient and burner addresses are fixed at deployment and cannot be changed.
Risk to user funds: The hook only handles a trader's swap amount within a single atomic transaction and deducts exactly 0.05% of the output, on top of FewV2's 0.30% fee. There is no LP principal in the v4 pool to lock or drain.
Security findings
- [info] Fixed, immutable fee: The protocol fee is a constant 0.05% of swap output and cannot be changed. There is no owner, no pause and no proxy.
- [low] Relies on external Ring contracts: Pricing and execution depend on the FewV2 pair and the fewToken wrappers. A manipulated or drained pair gives a bad rate or a revert, so users should set slippage limits.
- [info] Liquidity deposits disabled: The v4 pool cannot receive LP deposits, so no LP principal is at risk inside v4.
Contract details
- Verified source
- Yes (RingAggregatorHook)
- Compiler
- solc 0.8.26+commit.8a97fa7a
- Bytecode size
- 10,711 bytes
- Upgradeable proxy
- No
- Detected patterns
- aggregator, erc20, fee-sharing, moves-currency, return-delta
Pools using RingAggregatorHook
- ETH / USDR (0.05% fee) — 24h volume $0, TVL $1.56M, 0 swaps today
- WBTC / USDT (0.05% fee) — 24h volume $0, TVL $15.58M, 0 swaps today
- WBTC / DAI (0.05% fee) — 24h volume $0, TVL $4.26M, 0 swaps today
- ETH / USDT (0.05% fee) — 24h volume $0, TVL $57.18M, 0 swaps today
- ETH / USDC (0.05% fee) — 24h volume $0, TVL $26.01M, 0 swaps today
- WBTC / USDC (0.05% fee) — 24h volume $0, TVL $4.27M, 0 swaps today
- ETH / WBTC (0.05% fee) — 24h volume $0, TVL $158.93M, 0 swaps today
- ETH / DAI (0.05% fee) — 24h volume $0, TVL $10.22M, 0 swaps today