CleaveV4Hook
EthereumRegisteredA hook charging a 0.7% fee on buys (ETH) and sells (tokens). Buy fees accumulate in an ETH pot; every 20 swaps a buyback is queued, then executed by an external buyAndReflectPrism() call that buys back tokens and distributes them via notifyReflection(). Sell fees go to the token's reflection bucket. Sells are blocked in a buyback's block; afterSwap also holds a deployer-controlled allowlist (canReflect + reflectionBase) that, once activated, restricts sells to deployer-whitelisted addresses.
What it can do
Its code executes inside each trade in pools that use it.
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
It checks every deposit before it goes in.
It runs when a pool is created, often to lock in that pool’s settings.