ReverseV4AggregatorHook on Base

Uniswap v4 Hook Contract 0xefa65c46646f039abf50be86c8a426d8a45a2888 on Base · Aggregator · Verified contract

Volume (24h)
$0
Value locked (TVL)
$0
All-time volume
$0
Pools using this hook
1
Swaps (24h)
0 (0 traders)
Total swaps
0

What it does

An immutable aggregator hook that fills every exact-input v4 swap from the matching Aerodrome Slipstream pool, charging all swappers the same fixed fee of at most 1% of output and awarding points on the input, with no v4 liquidity allowed.

How it works step by step

  • Routes every exact-input swap on its Uniswap v4 pool to the matching Aerodrome Slipstream concentrated-liquidity pool on Base, so v4 routers can reach that liquidity.
  • Takes a fixed fee on the swap output (set once at deployment, at most 1%) and sends it to a fixed fee recipient.
  • Awards non-transferable-by-default ERC-1155 points on the swap input to an address supplied in the swap's hook data, at fixed per-token rates.
  • Blocks all liquidity additions, since the v4 pool holds no liquidity of its own.
  • Only one fixed initializer address can open pools, and only ERC-20 pairs with a matching venue pool.
Swap behaviour
Exact-input swaps are filled entirely on the Slipstream venue pool; the swapper pays the full input and receives the venue's output minus the fixed fee. Exact-output swaps, native ETH pairs and partial fills revert, and there is no slippage cap applied by the hook beyond the router's own checks.
Liquidity behaviour
Adding liquidity always reverts because the pool is meant to stay empty. Remove-liquidity callbacks are disabled, so the hook can never block withdrawals (there are no positions to withdraw anyway).
Fee behaviour
A fixed fee of up to 1% of the swap output, set permanently in the constructor, is sent to an immutable fee recipient; the v4 pool's own LP fee is irrelevant since no v4 liquidity is used.
Owner & admin controls
No admin controls found; factory, fee (capped at 1%), fee recipient, points rules and initializer are all immutable.

Enabled Uniswap v4 callbacks

beforeInitialize, beforeAddLiquidity, beforeSwap, beforeSwapReturnDelta

beforeInitialize restricts pool creation to the initializer and links the venue pool; beforeAddLiquidity rejects all liquidity; beforeSwap executes the swap on the external venue; beforeSwapReturnDelta replaces the v4 swap with the venue result minus the fee.

Security & trust assessment

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

Who controls it: There are no privileged keys after deployment; the initializer can only choose which matching pairs get v4 pools.

Risk to user funds: The hook only handles the swapper's input and output within a single swap, deducting a fixed fee of at most 1% of output. No LP funds exist in these pools and nothing can be locked or drained.

Security findings

  • [info] Immutable fee capped at 1%: The output fee is fixed at deployment and cannot exceed 1%; no owner or setter exists.
  • [info] External venue execution: Swaps are priced by the Slipstream pool with no hook-side price limit, so users rely on their router's minimum-output check for slippage protection.
  • [info] Callback restricted to active venue: Only the venue pool for the in-progress swap can trigger payment, and only for exactly the swap's full input.

Contract details

Verified source
Yes (ReverseV4AggregatorHook)
Compiler
solc 0.8.30+commit.73712a01
Bytecode size
11,747 bytes
Upgradeable proxy
No
Detected patterns
aggregator, fee-sharing, moves-currency, return-delta, rewards

Pools using ReverseV4AggregatorHook