Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
v4 hook · Robinhood Chain · block 92,921,385
0x69d3…2ac0
The eight checks
38 pools use this hook, the first one 96 d ago.
- 01caution
Permissions that touch your moneyThe address enables before remove liquidity. The hook is allowed to take; the next two checks measure whether it does.
- 02caution
What it takes from a swapIt takes 1.20% of each swap on top of the pool fee.
- 03pass
LPs can get outLiquidity added and removed in the same block came back whole.
- 04caution
The fee is the feeIts pools use a dynamic fee that the hook sets before every swap. It stands at 0% now and can change.
- 05caution
No one holds the switchNo owner() but it has setVolumeBotWallets, setGlobalExemption.
- 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 record38 pools over 96 days.
Measured at block 92,921,385. 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 & 0x3fff0x2ac0 · 10101011000000
- 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 / PONY
fee dynamic, now 0%- Swap ETH → PONYhook takes 1.20%
- Swap PONY → ETHhook takes 1.20%
- Add, then remove liquiditycame back whole
pool 0xdfa043c574bac6d84d0deb7048faf78acb8f55838baf0ccd98d497248993ec62
ETH / BUFF
fee dynamic, now 0%- Swap ETH → BUFFhook takes 1.20%
- Swap BUFF → ETHhook takes 1.20%
- Add, then remove liquiditycame back whole
pool 0x6ff902856662cc2e9866f8e4d4d8908ce2fdcc46da87bf78ab09d5e2b39f961a
Read from the bytecode
- Code size
- 10,059 bytes
- Owner
- none found
- Proxy
- no
- DELEGATECALL
- absent
- SELFDESTRUCT
- absent
- Outside calls
- 0
- 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.
- 0x026f6303 getCurrentTradingConfig
- 0x0f6d047c isVolumeBotWallet
- 0x21d0ee70 beforeRemoveLiquidity
- 0x249d39e9 BPS
- 0x259982e5 beforeAddLiquidity
- 0x30a6bf21 setVolumeBotWallets
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 remove liquidity. Can refuse a withdrawal. LPs may not get out.
- Before swap. Runs before every swap. On a dynamic-fee pool it can set the fee each time.
- After swap. Runs after every swap.
0x3d02be5b getVolumeBotWallets0x5061ab5d getPoolIdForToken0x575e24b4 beforeSwap0x6c2bbe7e afterRemoveLiquidity0x6fe7e6eb afterInitialize0x75f6d07f globalExemptions0x777841b5 getVolumeBotWalletCount0x79502c55 config0x7e104fb8 DEV_BUY_SECONDS0x8bf5928e sniperTaxBps0x902d55a5 TOTAL_SUPPLY0x9f063efc afterAddLiquidity0xad091230 launches0xb33fe011 userBalances0xb47b2fb1 afterSwap0xb6a8b0fa beforeDonate0xbd2670b5 getCurrentMcap0xc4e833ce getHookPermissions0xd227dcfc SNIPER_SECONDS0xd587d363 tokenToPoolId0xd5cb019c launchMode0xdb05f184 DEV_BUY_CAP_BPS0xdc4c90d3 poolManager0xdc98354e beforeInitialize0xdf7e6e38 activationInProgress0xe1b4af69 afterDonate0xed2e0836 setGlobalExemption0xef14d80e registerLaunch0xf7722626 devBuyAmount