Likely custom pricing hook on Ethereum
Uniswap v4 Hook Contract 0x0aced6033db3e11b857d273e7de483f114aca888 on Ethereum · Custom pricing
- Volume (24h)
- $0
- Value locked (TVL)
- $0
- All-time volume
- $0
- Pools using this hook
- 1
- Swaps (24h)
- 0 (0 traders)
- Total swaps
- 10
What it does
A custom-accounting hook that runs logic before pool initialization, liquidity additions and swaps, and can adjust swap settlement through a return delta.
How it works step by step
- Runs logic when a pool using this hook is initialized (beforeInitialize)
- Runs checks or adjustments before liquidity is added (beforeAddLiquidity)
- Runs logic before each swap and can return a balance delta to the pool (beforeSwap with return delta)
- Implements Uniswap V3 and PancakeSwap V3 swap callbacks, suggesting internal swap execution against V3-style pools
- Reverts unauthorized callers using an Unauthorized() error
- Swap behaviour
- beforeSwap runs on every swap and can return a delta to the pool, altering the token amounts settled, and the hook includes V3-style swap callbacks that suggest it routes or settles swaps against other pools.
- Liquidity behaviour
- beforeAddLiquidity is present and may gate or adjust liquidity additions; exact logic cannot be determined from the bytecode summary.
- Fee behaviour
- Fee handling not determinable from decoded functions alone; beforeSwap may return a fee override or delta but this cannot be confirmed without source.
- Owner & admin controls
- No admin controls found.
Enabled Uniswap v4 callbacks
beforeInitialize, beforeAddLiquidity, beforeSwap, beforeSwapReturnDelta
beforeInitialize: runs logic when the pool is initialized. beforeAddLiquidity: runs checks or logic before liquidity is added. beforeSwap: runs logic before each swap and can return a delta to the pool (beforeSwapReturnDelta), so it can alter swap accounting.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No owner or admin selector is visible in the dispatch table, so the hook appears non-upgradeable and without an obvious privileged key, but this is not confirmed without source.
Risk to user funds: Because beforeSwap can return a delta and the hook appears to make V3-style swap calls, the hook may hold or move pool tokens during swaps. The exact flow of funds cannot be confirmed without verified source.
Security findings
- [medium] Return delta permission on swaps: beforeSwapReturnDelta is enabled, so the hook can take or give tokens during swaps, which changes the amounts the pool settles.
- [info] Access restriction present: The selector 0x82b42900 Unauthorized() appears in the bytecode, indicating access checks that revert non-authorized callers, probably restricting who can call the hook or the pool-facing callbacks.
- [medium] Internal V3-style swap callbacks: Dispatch includes pancakeV3SwapCallback and uniswapV3SwapCallback, suggesting the hook may perform swaps against V3-style pools internally and therefore interacts with external pool contracts during its callbacks.
- [info] Storage layout not inferred: No storage layout was inferred, so no persistent parameters are visible in the decoded data; the contract's state and any tunable values cannot be assessed from this input.
Contract details
- Verified source
- No
- Bytecode size
- 8,256 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / USDC (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today