Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
v4 hook · Robinhood Chain · block 93,393,236
0xC150…2000
The eight checks
3 pools use this hook, the first one 46 d ago.
- 01pass
Permissions that touch your moneyNone of the permissions that let a hook take from swaps or from LPs are switched on.
- 02pass
What it takes from a swapA swap through it pays the pool fee and nothing else.
- 03pass
LPs can get outLiquidity added and removed in the same block came back whole.
- 04caution
The fee is the feeA fixed fee, but a high one: 2%.
- 05caution
No one holds the switchNo owner() but it has setPlatformToken, claim, claimTreasury, claimAll, setTreasury.
- 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 record3 pools over 45 days.
Measured at block 93,393,236. 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 & 0x3fff0x2000 · 10000000000000
- 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.
LAPTOP / NVDA
fee 2%- Swap LAPTOP → NVDAnothing taken
- Swap NVDA → LAPTOPnothing taken
- Add, then remove liquiditycame back whole
pool 0x98d2112271bd3e37f5e9fb89664d5899d566542bfbd7f340fbbe8ee31e0d5e8f
WETH / TENTACLES
fee 2%- Swap WETH → TENTACLESnothing taken
- Swap TENTACLES → WETHnothing taken
- Add, then remove liquiditycame back whole
pool 0xc29570040f64ee1073e34beb23c1ca3e176828e98f45081d5b71214690bac6e2
Read from the bytecode
- Code size
- 24,181 bytes
- Owner
- none found
- Proxy
- no
- DELEGATECALL
- absent
- SELFDESTRUCT
- absent
- Outside calls
- 19
- 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.
- 0x01099984 harvest
- 0x0255a03b setPlatformToken
- 0x0655a4a9 recordLaunch
- 0x0a669094 isRewardToken
- 0x0eb66676 BUILDER_VERSION
- 0x129047f1 deepeningBps
- 0x1e83409a claim
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.
0x21d0ee70 beforeRemoveLiquidity0x259982e5 beforeAddLiquidity0x260f3849 buyCooldownWindowSecs0x2619b32b DEFAULT_MAX_SHARE_BPS0x32cbba4e reflectionsPool0x343d3765 jitEnabled0x42071b86 growthInsideLastX1280x44e07682 MAX_BUY_COOLDOWN_SECS0x46f61ca8 claimTreasury0x481c6a75 manager0x48b0d886 wantsHolderTracking0x4c812916 reflectionsBps0x4ee628a3 universal0x51a171a7 launchedToken0x538a3f0e initializeFactory0x575e24b4 beforeSwap0x57ae3a9f USDG0x5960cbb9 seedPositionId0x61d027b3 treasury0x630c1900 vestingCustodian0x65bf5035 seed0x6930fd2a claimAll0x6c2bbe7e afterRemoveLiquidity0x6fe7e6eb afterInitialize0x791b98bc positionManager0x8cfdd327 deepeningMode0x91dd7346 unlockCallback0x9484bcde rewardTokens0x98ea099b phase1CapEth0x9a6e8dbf registerSeedPosition0x9f063efc afterAddLiquidity0xa7a963d9 creatorStatus0xab205643 launchTs0xab995608 juice0xad5c4648 WETH0xadc36894 buyCooldownSecs0xb2e4a9a1 MAX_CAP_ETH0xb47b2fb1 afterSwap0xb5c88b14 distributeReflections0xb6a8b0fa beforeDonate0xbc73943d registerSeed0xbd10bc5f antiSnipeEnabled0xbf856416 REFLECTIONS_BATCH0xc45a0155 unknown0xc6e15b82 MAX_BUY_COOLDOWN_WINDOW_SECS0xd1a4b990 phase1Secs0xd1b812cd platformToken0xd5708431 MAX_WINDOW_SECS0xd95c8b5f creatorBurnBps0xda4e6595 pending0xdb79e5c4 phase2Secs0xdbbaada9 lastBuyTs0xdc98354e beforeInitialize0xddd5e1b2 claim0xe1b4af69 afterDonate0xe222698c growthGlobalX1280xe9ade90e feeShare0xefff774a phase2CapEth0xf0f44260 setTreasury0xf4d5db61 prevFeeShare0xf5baf0d7 manifest