Likely custom pricing hook on Robinhood Chain
Uniswap v4 Hook Contract 0x4e29a93920eb2a91b61abe654bc3a23258090088 on Robinhood Chain · 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
A small, immutable hook that runs before each swap and can adjust swap amounts by an unverified amount, while LPs keep full freedom to add and withdraw liquidity.
How it works step by step
- Runs custom logic before every swap in pools that use it.
- Is allowed to change swap amounts through a before-swap return delta, so it can take or supply part of a swap.
- Keeps a single stored counter or value that is updated on each swap and can be read publicly.
- Has no liquidity callbacks, so adding and removing liquidity work as normal.
- Swap behaviour
- Before each swap the hook runs and may adjust how much of the swap goes through the pool by returning a delta, and it updates one stored value. The exact adjustment logic and any fee amount cannot be confirmed from bytecode alone.
- Liquidity behaviour
- No liquidity callbacks; LPs can add and withdraw freely.
- Fee behaviour
- No explicit fee setting was found. The pool's static fee applies, but the before-swap return delta could alter swap amounts by an amount that cannot be confirmed without source.
- Owner & admin controls
- No admin controls found. There are no owner or setter functions, only the swap callback and one read-only function.
Enabled Uniswap v4 callbacks
beforeSwap, beforeSwapReturnDelta
beforeSwap: runs custom logic and updates stored state before each swap; beforeSwapReturnDelta: lets the hook change the swap's input or output amounts.
Security & trust assessment
Risk level: medium, estimated (decoded bytecode, low confidence).
Who controls it: No privileged keys were found and the contract is not upgradeable. Its behaviour is fixed at deployment.
Risk to user funds: The hook can affect traders' swap amounts through its return delta, by an amount that is unknown without source. It cannot touch LP principal, and LPs can always withdraw.
Security findings
- [medium] Unverified swap-amount modification: The hook can change swap amounts via a before-swap return delta, and since the source is unverified, the size and direction of any adjustment cannot be checked.
- [info] No admin or upgrade path: It is a direct contract with no owner functions, so its behaviour cannot be changed after deployment.
- [info] LP withdrawals unrestricted: Remove-liquidity callbacks are disabled, so the hook can never block or charge LP withdrawals.
Contract details
- Verified source
- No
- Bytecode size
- 1,703 bytes
- Upgradeable proxy
- No
- Detected patterns
- return-delta
Pools using Likely custom pricing hook
- ETH / COOK (1.00% fee) — 24h volume $0, TVL $0, 0 swaps today