EthereumWordsHook
EthereumRegisteredEthereumWordsHook is a non-upgradeable Uniswap v4 hook for Ethereum Words protocol-registered pools. It enforces immutable liquidity rules, charges fixed protocol fees using beforeSwap and afterSwap return deltas (2% on the ETH/WORDS pool and 1% on WORDS/child-token pools), tracks WORDS reserves as NFT reward weights, burns child-market WORDS fees, and distributes main-pool ETH fees between the treasury and NFT owners.
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 runs before liquidity is removed, so it can delay or refuse LP exits.
It checks every deposit before it goes in.
It runs when a pool is created, often to lock in that pool’s settings.
It runs when someone donates tokens to the pool’s LPs.