Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
v4 hook · Robinhood Chain · block 92,892,559
0xA6E4…DAcC
The eight checks
117 pools use this hook, the first one 98 d ago.
- 01caution
Permissions that touch your moneyThe address enables before remove liquidity, before swap returns delta, after 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.
- 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 setTreasurySplit, setGame, setFees, setTreasuryRecipient, setProtocolFeeRecipient, setDynamicFeeParams.
- 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 record117 pools over 98 days.
Measured at block 92,892,559. 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 & 0x3fff0x1acc · 01101011001100
- 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 / ZSEASI
fee dynamic, now 0%- Swap ETH → ZSEASIno liquidity at the current price
- Swap ZSEASI → ETHno liquidity at the current price
- Add, then remove liquiditydeposit refused: OnlyGame
pool 0x493e9e8f20cabeb0eff74e356c74ab4ca966515e21d46db0c405ed2b08162657
Read from the bytecode
- Code size
- 8,660 bytes
- Owner
- none found
- Proxy
- no
- DELEGATECALL
- absent
- SELFDESTRUCT
- absent
- Outside calls
- 2
- 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.
- 0x14229fd7 HALT_WINDOW_SELL_FEE_BPS
- 0x21d0ee70 beforeRemoveLiquidity
- 0x23e0cf7a decayBps
- 0x259982e5 beforeAddLiquidity
- 0x3589bf0d treasurySplitBps
- 0x3b01d64d OVERRIDE_FEE_FLAG
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 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.
- 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.
0x3b676235 activateHaltWindow0x3db608d6 maxDynamicFeeBps0x48d67e1b decayPeriod0x4ada218b tradingEnabled0x5339b03b FEE_CONTROL_DENOMINATOR0x53c17d19 activateCircuitBreaker0x56e7f02b maxTotalFeeBps0x575e24b4 beforeSwap0x57b9ab13 CIRCUIT_BREAKER_MAX_FEE_BPS0x63b96780 getVolatility0x6499b633 getCurrentFee0x64df049e protocolFeeRecipient0x6c2bbe7e afterRemoveLiquidity0x6f205fca volatility0x6fe7e6eb afterInitialize0x80995627 setTreasurySplit0x819912a2 setGame0x838b0824 registerPoolIndex0x84a08400 poolIndex0x8a8c523c enableTrading0x92c75b4e LP_FEE_OVERRIDE0x92d39a89 CIRCUIT_BREAKER_DURATION0x9ef833d4 setFees0x9f063efc afterAddLiquidity0xb277c6a7 setTreasuryRecipient0xb47b2fb1 afterSwap0xb4cf7029 circuitBreakerActivatedAt0xb6a8b0fa beforeDonate0xc3fe3e28 game0xc4e833ce getHookPermissions0xd0001850 haltWindowActive0xd1e48b3a getCurrentSellFee0xd38967f7 flatFeeBps0xd967e14e feeControlNumerator0xdc4c90d3 poolManager0xdc98354e beforeInitialize0xde329ee7 ABSOLUTE_MAX_FEE_BPS0xe1b4af69 afterDonate0xe521cb92 setProtocolFeeRecipient0xe9ef2ce1 setDynamicFeeParams0xeb4eebc7 treasuryRecipient0xf851a440 admin0xfe378b92 deactivateHaltWindow