EulerSwap
UnichainRegisteredA custom-curve Uniswap v4 hook that routes swaps through Euler Finance vaults. In beforeSwap, it computes input/output amounts via a proprietary pricing curve, takes input tokens into an Euler vault, withdraws output tokens from another Euler vault, and returns a BeforeSwapDelta to bypass the pool's internal swap logic. Direct liquidity provision and donations are blocked by reverting in beforeAddLiquidity and beforeDonate.
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.