test7 / PLATFORM
fee 0.30%- Swap test7 → PLATFORMtoo little liquidity to measure
- Swap PLATFORM → test7hook takes 0.51%
- Add, then remove liquiditydeposit refused: OnlyFactory
pool 0xcdc2826945d07423a2497ed9b558b6823d05d62756bc90b7acf61a4b3872e425
Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
11 pools use this hook, the first one 149 d ago.
The address enables before remove liquidity, after swap returns delta. The hook is allowed to take; the next two checks measure whether it does.
It took 42.50% of a swap on top of the pool fee.
Closed to outside LPs: only the hook's own liquidity is in the pool.
A fixed fee of 0.30%, written in the pool key.
No owner() but it has sweepToken.
Not a proxy, no DELEGATECALL, no SELFDESTRUCT.
Each callback refused a call that did not come from the PoolManager.
11 pools over 149 days.
Measured at block 93,031,541. A hook with an owner or a dynamic fee can behave differently later; scan again before a large trade.
A v4 hook's permissions are the last fourteen bits of its address. The PoolManager calls only what they switch on.
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.
pool 0xcdc2826945d07423a2497ed9b558b6823d05d62756bc90b7acf61a4b3872e425
pool 0xecbc00c6e74e71ad61eb7b734a096096290b98bae1181a12260e2919033314fe
Selectors found in the dispatcher, named from the public signature database. Red ones are what an owner usually keeps for itself.