EulerSwap
UnichainRegisteredEulerSwap is a Uniswap v4 hook on Unichain. EulerSwap is a Uniswap v4 hook implementing a custom AMM curve backed by Euler Protocol vaults. In beforeSwap, input tokens are deposited into an Euler vault and output tokens are withdrawn from another vault; a custom curve invariant enforces valid reserve ratios. The hook blocks native concentrated liquidity (beforeAddLiquidity reverts) and unauthorized pool initialization (beforeInitialize reverts).
- Contract name
- EulerSwap
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.