BracketHook
EthereumRegisteredBracketHook is the central contract for the TheCup protocol, managing 48 country-token pools across two AMM regimes: a bonding curve phase (hook handles all swap math via custom virtual-reserve AMM and a 1% protocol fee) and a graduated phase (standard v4 AMM with 1% protocol fee plus an optional 9% elimination tax on sells of knocked-out country tokens). A per-block price-impact cap (5%) is enforced as a sandwich protection mechanism.
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.
Pools using it let the hook choose the swap fee instead of a fixed tier.
It runs before liquidity is removed, so it can delay or refuse LP exits.
It checks every deposit before it goes in.