Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
v4 hook · Robinhood Chain · block 93,268,711
0xD623…90cC
The eight checks
4 pools use this hook, the first one 82 d ago.
- 01caution
Permissions that touch your moneyThe address enables before swap returns delta, after swap returns delta. The hook is allowed to take; the next two checks measure whether it does.
- 02fail
What it takes from a swapEvery swap through it was refused: GameNotActive. Only an approved router may get through.
- 03pass
LPs can get outLiquidity added and removed in the same block came back whole.
- 04pass
The fee is the feeA fixed fee of 0%, written in the pool key.
- 05caution
No one holds the switchOwned by 0x9eb2b58df71d545260D5DB857DA0Ab5b461E6559. Owner-style functions: setCreateMemeFee, setUERC20Factory, setGameStartTime, setGameSchedule, setEndingMcapTick, setPlatform.
- 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 record4 pools over 81 days.
Measured at block 93,268,711. 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 & 0x3fff0x10cc · 01000011001100
- 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.
WETH / HOOK
fee 0%- Swap WETH → HOOKrefused: GameNotActive
- Swap HOOK → WETHrefused: GameNotActive
- Add, then remove liquiditycame back whole
pool 0x5c8113d58b8413af19d13a66d0d281266f92a90a49d44b46d3c182bca9ac4e6e
POOLSTRADE / WETH
fee 0%- Swap POOLSTRADE → WETHrefused: GameNotActive
- Swap WETH → POOLSTRADErefused: GameNotActive
- Add, then remove liquiditycame back whole
pool 0x47afcc261fcbc7c0d9ade261bbab33b8e469a50d5e2e30c85609514efc52e5fb
Read from the bytecode
- Code size
- 21,378 bytes
- Owner
- 0x9eb2b58df71d545260D5DB857DA0Ab5b461E6559
- Proxy
- no
- DELEGATECALL
- absent
- SELFDESTRUCT
- absent
- Outside calls
- 18
- 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.
- 0x0252b995 gameStartTime
- 0x0b8c5565 uerc20Factory
- 0x0c0ef2b0 isGameActive
- 0x0e70dd8b setCreateMemeFee
- 0x18178358 poke
- 0x1e97f91a creatorFeesAccrued
- 0x21d0ee70
bit 4
After donate
bit 3Before swap returns deltabit 2After swap returns deltabit 1After add returns deltabit 0After remove returns delta- After initialize. Runs once, right after a pool is created.
- Before swap. Runs before every swap. On a dynamic-fee pool it can set the fee each time.
- After swap. Runs after every swap.
- Before swap returns delta. Can take part of what you put into a swap, or change how much is swapped.
- After swap returns delta. Can take part of what you get out of every swap.
beforeRemoveLiquidity
0x22163b86 platformFeesAccrued0x259982e5 beforeAddLiquidity0x2743d786 setUERC20Factory0x2769c89a setGameStartTime0x302469bf topupPrize0x32e614fc startingMcapTick0x36d64d5c dayId0x388f6064 memes0x3a371e32 netWethFlow0x4061a5bf getTop30x41cd25bd executePrizeForEndedDay0x4290f3e8 continuousGame0x42df21de tokenToMeme0x44ab0000 setGameSchedule0x44d9bc5f gameEndTime0x4bde38c8 platform0x4f51a6f0 setEndingMcapTick0x516ba238 poolToMeme0x52b2f01d memePrizeWinBlock0x52e54e0a memeRaceToken0x57150546 endingMcapTick0x575e24b4 beforeSwap0x61a7b2df canonicalPoolId0x61d027b3 treasury0x6945c5ea setPlatform0x6c2bbe7e afterRemoveLiquidity0x6fe7e6eb afterInitialize0x704b6c02 setAdmin0x719ce73e prizePool0x73962620 withdrawCreatorFees0x79ba5097 acceptOwnership0x7b2124d2 memeCount0x8525d15d totalWethLiabilities0x8da5cb5b owner0x91dd7346 unlockCallback0x9f063efc afterAddLiquidity0xa4b44372 createMeme0xad5c4648 WETH0xaf354464 setStartingMcapTick0xaf4eb44c setContinuousGame0xafe9fb90 setGameDuration0xb47b2fb1 afterSwap0xb6a8b0fa beforeDonate0xbe8b206e top3Memes0xd0b0589d inTop30xd0b7830b withdrawPlatformFees0xd0c93a7c tickSpacing0xd580f00a memeRacePoolKey0xdc4c90d3 poolManager0xdc98354e beforeInitialize0xdd0bebe8 lastFlowDayId0xe003ca38 setMemeRace0xe1b4af69 afterDonate0xe1f0c376 gameDuration0xe30c3978 pendingOwner0xe61f0e34 memePoolKey0xf085a610 setTickSpacing0xf0f44260 setTreasury0xf2fde38b transferOwnership0xf6d11945 totalCreatorFeesAccrued0xf851a440 admin0xfa35a002 memeCreatedBlock