Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
v4 hook · Robinhood Chain · block 92,891,775
0xD00d…E888
The eight checks
101 pools use this hook, the first one 54 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 switchNo owner() but it has settlementReserveNative.
- 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 record101 pools over 54 days.
Measured at block 92,891,775. 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.
ETH / TYPEDARRAY
fee 0%- Swap ETH → TYPEDARRAYno liquidity at the current price
- Swap TYPEDARRAY → ETHno liquidity at the current price
- Add, then remove liquiditydeposit refused: Unauthorized
pool 0x572e4f0086916fcb0c7239406c36a007d2ca25d14cd5f03e599e9bdb302b9ac2
Read from the bytecode
- Code size
- 23,613 bytes
- Owner
- none found
- Proxy
- no
- DELEGATECALL
- absent
- SELFDESTRUCT
- absent
- Outside calls
- 27
- 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.
- 0x01ffc9a7 supportsInterface
- 0x05c5226e OPENING_VALUATION_NATIVE
- 0x06bfcec6 implementationVersion
- 0x117803e3 OWNER
- 0x149d32ed marketOpeningValuationNative
- 0x14a03426 targetSqrtPriceX96
- 0x210be102 unknown
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.
0x249d39e9 BPS0x259982e5 beforeAddLiquidity0x28c32069 getEffectiveLiquidity0x2a8def35 unknown0x387bd4da marketForToken0x3a055e48 unknown0x3ca4b36b VIRTUAL_DEPTH_NATIVE0x406f2a4b spotPriceNativePerCoinWad0x44d2e91b latestMarketForSubject0x46ca626b TICK_SPACING0x48d8b0ba getReserves0x553a7a7b accruedProtocolFeesNative0x575e24b4 beforeSwap0x5a58fe4b TOKEN_FACTORY0x5f01059a unknown0x62308e85 POOL_MANAGER0x6f28507c TOTAL_FEE_BPS0x78656822 totalNativeClaims0x7c9afb2b getBonkPosition0x7d12ce21 quoteOpenBonk0x7f5a7c7b hook0x82dc7a4d spotValuationNative0x863d8bba unknown0x9089ad0e ENTRY_FEE_BPS0x91dd7346 unlockCallback0x93a93d68 executableSettlementCapacityNative0x950a5ff1 unattributedNativeClaims0xa70b9f0c EPOCH_DURATION0xa81507c5 settlementReserveNative0xb152f6cf TOKEN_SUPPLY0xb9541c49 unknown0xbf934fcc unknown0xc0d67a9f marketLaunchBlock0xd22db9c9 marketForPool0xd55be8c6 MAX_FEE_BPS0xd6fd7145 unknown0xd8e81031 openBonk0xdc98354e beforeInitialize0xdd1b9c4a POOL_FEE0xdf0ec4dc unknown0xe85a70f0 DISPLAY_TICK_LOWER0xe94a6a22 DISPLAY_TICK_UPPER0xeb44fdd3 getMarket0xec979082 marketCount0xf94e1c2c unknown