EulerSwap
UnichainRegisteredCustom AMM hook backed by Euler Finance vaults. In beforeSwap, it handles the full swap by depositing input tokens into and withdrawing output tokens from Euler vaults, returning a BeforeSwapDelta to settle accounting with the PoolManager. A custom curve invariant is verified after each trade. beforeInitialize, beforeAddLiquidity, and beforeDonate all revert to prevent unauthorized pool creation, CLAMM positions, and irrecoverable donations.
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.
It runs when someone donates tokens to the pool’s LPs.