Likely custom pricing hook on Ethereum
Uniswap v4 Hook Contract 0xd67b0b62f723b65fa2a40919f4d956f80fe10088 on Ethereum · Access control
- 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
A Uniswap v4 hook that runs logic before swaps and can adjust swap settlement via a return delta, under owner and role-based access control.
How it works step by step
- Runs custom logic in beforeSwap for every swap routed through the pool
- Returns a delta from beforeSwap to adjust amounts settled in the swap
- Moves currency via take and transfer when settling
- Restricts router access via an allowedRouters mapping
- Supports signature-based execution with replay protection via usedSignatures
- Uses owner and role-based access control with ownership handover
- Swap behaviour
- beforeSwap runs custom logic before each swap and can return a delta that changes settlement, with currency moved through take and transfer calls.
- Liquidity behaviour
- No liquidity callbacks.
- Fee behaviour
- Uses the pool's static fee.
- Owner & admin controls
- x
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic before each swap, with a return delta that lets the hook take over part of the swap settlement; beforeSwapReturnDelta: allows the hook to return a delta that changes the amounts settled in the swap.
Security & trust assessment
Risk level: high, estimated (decoded bytecode, low confidence).
Who controls it: The owner (ownable) and role holders can allow routers, set the composer, bind an executor, wire approvals and settle tokens, so a privileged key can influence swap settlement and move tokens held by the hook.
Risk to user funds: The hook can take and transfer currency and returns deltas during beforeSwap, so it can hold or redirect swap funds; without source the exact conditions cannot be confirmed.
Security findings
- [high] Privileged token movement: Owner can call settleToken, setComposer, bindExecutor and wireApprovals, and the hook moves currency via take and transfer calls, so privileged keys have broad control over tokens held by the hook.
- [medium] Return delta alters swap settlement: beforeSwapReturnDelta lets the hook alter settlement amounts on every swap, so swap outcomes depend on hook logic that cannot be verified from bytecode alone.
- [medium] Router and signature gating: Router allowlist (allowRouter, allowedRouters) and signature-based execution (usedSignatures, domainSeparator) gate who can trigger hook logic.
- [info] Ownership model unverified: Ownership transfer and two-step handover exist, but no source is available to confirm the owner is a multisig or timelock.
Contract details
- Verified source
- No
- Bytecode size
- 23,592 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, ownable, return-delta
Pools using Likely custom pricing hook
- SOCKS / WETH (0.00% fee) — 24h volume $0, TVL $0, 0 swaps today