UniHooks

AssetToAssetSwapHookForERC4626

UnichainRegistered

Periphery hook for pools using ERC4626 vault wrapper tokens. In beforeSwap, converts input ERC20 assets to vault wrapper shares, performs a nested swap in the corresponding vault wrapper pool via poolManager.swap(), then redeems output shares back to underlying assets. Handles both exact-input and exact-output swaps. Vault wrappers can be supplied via hookData or configured as per-pool defaults by the owner.

0x604e6c45fee7d7634865603c37ef1695d0f2c888 First pool 8 Oct 2025View on explorer
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
13mo
Code size
10,543 B

What it can do

Runs code on every swap

Its code executes inside each trade in pools that use it.

Can take tokens from swaps

It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.

Gates who can add liquidity

It checks every deposit before it goes in.

Safety report

Automated checks, not an audit
✓Not upgradeableNo proxy pattern found: the code is fixed.
!Has an adminowner() is 0x12e7…b394. That account can usually change fees, limits or allowlists after you trade.
✓Listed in Uniswap’s hook registryRegistered with Uniswap Labs (a listing, not a security review).
✓Source code publishedThe code on the block explorer matches what's deployed (contract: AssetToAssetSwapHookForERC4626).
iCan change swap amountsIt has a ReturnDelta permission. Normal for fees and burns, but also how fake-quote hooks steal.
?No audit linkedAutomated checks only.

Pools using this hook

1 total
PairCreatedFeePool ID
USDC / USD₮0 13mo 0.002% 0x7de7…e8de Tx ↗