Likely custom pricing hook on Ethereum
Uniswap v4 Hook Contract 0xc7a063d024c46779c0fb0aca75a63185593fc088 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
- 0
What it does
An unverified, non-upgradeable hook that can adjust swaps and take an unknown share of swap tokens before each trade, while leaving LP deposits and withdrawals untouched.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Can change swap amounts through a before-swap return delta and pull tokens out of the pool manager using take.
- Keeps simple counters and a per-address balance record that is updated on each swap.
- Exposes a read function that returns a stored value for a given address, likely an accrued amount or swap count.
- Swap behaviour
- Before each swap the hook may adjust the swap amounts and take tokens from the pool manager, which can act as a fee or a custom settlement. The exact amount or percentage cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- May charge a hook-level deduction on swaps by taking tokens via the before-swap delta, credited to an address tracked in storage. The exact rate and recipient are unknown without verified source.
- Owner & admin controls
- No admin or owner functions were found in the dispatched selectors; only the swap callback and one read-only function exist.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates counters before each swap; beforeSwapReturnDelta: lets the hook change swap amounts and take tokens from the swap.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged admin functions appear in the bytecode, and the contract is not upgradeable.
Risk to user funds: Swappers' input or output may be reduced by an unknown amount taken through the before-swap delta. LP principal cannot be locked or charged by this hook.
Security findings
- [medium] Unverified swap-amount modification: The hook can alter swap amounts and take tokens during swaps, but the size of any deduction cannot be verified without source code.
- [info] No admin functions or withdrawal gating: No owner setters were found, and remove-liquidity callbacks are disabled, so LP withdrawals cannot be blocked.
Contract details
- Verified source
- No
- Bytecode size
- 1,429 bytes
- Upgradeable proxy
- No
- Detected patterns
- moves-currency, return-delta
Pools using Likely custom pricing hook
- ETH / YEON (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today