BoardHook
BaseRegisteredA token-launch hook that manages a FairLaunch mechanism: it gates swaps temporally until a configurable launch timestamp, enforces an optional Merkle-proof allowlist during the fair launch window, intercepts swap input/output via BeforeSwapDelta to sell tokens from a one-sided position, and captures custom swap fees redistributed to protocol, token creators, referrers, and a Muse manager via AfterSwapDelta.
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.