BIRB / QQQ
fee 0%- Swap BIRB → QQQhook takes 1%
- Swap QQQ → BIRBhook takes 1.00%
- Add, then remove liquiditydeposit refused: NotPositionManager
pool 0x8d7bd9affdc0906971e0cf3f142c1865a79c2703b6928e0596dbbeab6b53430e
Reading the hook.
The address, the bytecode, then a swap each way through its pool. A few seconds.
3 pools use this hook, the first one 40 d ago.
The address enables before swap returns delta, after swap returns delta. The hook is allowed to take; the next two checks measure whether it does.
It takes 2% of each 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%, written in the pool key.
No owner() but it has setProtocolFeeShare.
Not a proxy, no DELEGATECALL, no SELFDESTRUCT.
Each callback refused a call that did not come from the PoolManager.
3 pools over 39 days.
Measured at block 93,429,471. 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 0x8d7bd9affdc0906971e0cf3f142c1865a79c2703b6928e0596dbbeab6b53430e
pool 0xaadb9706c5ed910df55d78f574d4d045a0c563c7a1f135d639897fce3412f8e0
Selectors found in the dispatcher, named from the public signature database. Red ones are what an owner usually keeps for itself.