Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
v4 hook · Robinhood Chain · block 93,211,291
0x0edD…A888
The eight checks
6 pools use this hook, the first one 44 d ago.
- 01caution
Permissions that touch your moneyThe address enables before swap returns delta. The hook is allowed to take; the next two checks measure whether it does.
- 02n/a
What it takes from a swapNo pool with liquidity to swap through yet.
- 03n/a
LPs can get outClosed to outside LPs: only the hook's own liquidity is in the pool.
- 04pass
The fee is the feeA fixed fee of 0%, written in the pool key.
- 05caution
No one holds the switchOwned by 0x6937c4b3A672a4024ccEDdcbeE6d9aEA2983aCc1. Owner-style functions: setConfig, claimFees, setFeeRecipient, setFeedOnlyMaxAge, setLaunchpad, setMarketSource.
- 06pass
The code cannot changeNot a proxy, no DELEGATECALL, no SELFDESTRUCT.
- 07pass
Only the PoolManager can call itEach callback refused a call that did not come from the PoolManager.
- 08pass
Track record6 pools over 43 days.
Measured at block 93,211,291. A hook with an owner or a dynamic fee can behave differently later; scan again before a large trade.
What the address allows
A v4 hook's permissions are the last fourteen bits of its address. The PoolManager calls only what they switch on.
address & 0x3fff0x2888 · 10100010001000
- bit 13Before initialize
- bit 12After initialize
- bit 11Before add liquidity
- bit 10After add liquidity
- bit 9Before remove liquidity
- bit 8After remove liquidity
- bit 7Before swap
- bit 6After swap
- bit 5Before donate
What it did to a real swap
A small swap each way and a liquidity round trip, run through the PoolManager and this hook inside a call that is never sent. The pool fee is expected; anything else missing is the hook.
PONS / OZZY
fee 0%- Swap PONS → OZZYno liquidity at the current price
- Swap OZZY → PONSno liquidity at the current price
- Add, then remove liquiditydeposit refused: NoNativeLiquidity
pool 0x9bc32fd247d00974d05206444aa7f2e8d6b6a367ea074527ce0385e5387e8f8f
Read from the bytecode
- Code size
- 20,179 bytes
- Owner
- 0x6937c4b3A672a4024ccEDdcbeE6d9aEA2983aCc1
- Proxy
- no
- DELEGATECALL
- absent
- SELFDESTRUCT
- absent
- Outside calls
- 12
- Callbacks open to anyone
- none
Its functions, uncensored
Selectors found in the dispatcher, named from the public signature database. Red ones are what an owner usually keeps for itself.
- 0x02669b52 launchpad
- 0x02ba7326 setConfig
- 0x0ae89127 tokenOfPool
- 0x1584410a maxPriceAge
- 0x15a0ea6a claimFees
- 0x17447836 marketSource
- 0x1b553e39 MAX_PRICE_AGE_CAP
bit 4
After donate
bit 3Before swap returns deltabit 2After swap returns deltabit 1After add returns deltabit 0After remove returns delta- Before initialize. Runs once, when a pool is created.
- Before add liquidity. Can refuse a deposit, or only let some addresses provide liquidity.
- Before swap. Runs before every swap. On a dynamic-fee pool it can set the fee each time.
- Before swap returns delta. Can take part of what you put into a swap, or change how much is swapped.
0x1fb1c330 weightGuardFloorUsd0x21d0ee70 beforeRemoveLiquidity0x249d39e9 BPS0x259982e5 beforeAddLiquidity0x25d2a3f3 pendingFees0x25daa7df reserveOf0x270401cb setFeeRecipient0x2975067d MAX_CREATOR_TAX_BPS0x2c35e929 setFeedOnlyMaxAge0x34259b1b quoteBuy0x36f4c0eb setLaunchpad0x37ed3f1e protocolShareBps0x3b73dac9 isPoolPriced0x3bbbb17a setMarketSource0x3e99c1e4 getReserves0x46ca626b TICK_SPACING0x51d0ad29 snipeFeeBps0x5575e683 isOpen0x575e24b4 beforeSwap0x61d027b3 treasury0x6c2bbe7e afterRemoveLiquidity0x6fe7e6eb afterInitialize0x715018a6 renounceOwnership0x744b1bc1 isLaunch0x79a5e106 protocolFees0x79ba5097 acceptOwnership0x7b103999 registry0x7d619f83 feedOnlyMaxAge0x8da5cb5b owner0x8f5a26ae MAX_BASE_FEE_BPS0x91dd7346 unlockCallback0x91ddadf4 clock0x967234a8 register0x9981d632 quoteSell0x9f063efc afterAddLiquidity0xac36d332 maxWeightDeviationBps0xb3964f23 getLaunch0xb47b2fb1 afterSwap0xb5184459 priceUsd0xb6a8b0fa beforeDonate0xbf5a5940 baseFeeBps0xc3a2a331 snipeSeconds0xc4e833ce getHookPermissions0xc70287f9 creatorFees0xc7fcba21 poolKey0xc99f873d legPrices0xc9e75cab acceptCreator0xd3523162 unitUsd0xdc4c90d3 poolManager0xdc98354e beforeInitialize0xdea5c2e0 creatorOf0xe1b4af69 afterDonate0xe30c3978 pendingOwner0xf0f44260 setTreasury0xf1cc2a40 basketValueUsd0xf2fde38b transferOwnership0xf82e9b9d transferCreator0xff6d8d05 graduate