RehypHook
BaseRegisteredA custom AMM hook that implements a bonding-curve market maker between ERC-20 assets and a yield-bearing token (REHYP). It intercepts all swaps via beforeSwap with full delta returns, rehypothecates deposited assets into Aave to earn yield, and burns harvested yield against REHYP supply. Liquidity and swap operations are managed entirely by the hook's internal pricing logic.
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.