EulerSwap
UnichainRegisteredA custom AMM hook that replaces Uniswap v4's standard concentrated liquidity with a bonding curve backed by Euler lending vaults. In beforeSwap, it computes quotes using a custom curve, deposits input tokens into and withdraws output tokens from Euler vaults, and returns a BeforeSwapDelta to handle all pool accounting, bypassing standard tick-based pricing. Reverts on beforeAddLiquidity and beforeDonate to prevent unproductive positions.
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.