EulerSwap
UnichainRegisteredEulerSwap is a custom-curve hook that uses Euler Finance vaults as liquidity sources. In beforeSwap, it deposits input tokens into an Euler vault, withdraws output tokens from another vault, and enforces a custom curve invariant (EulerSwap v1), returning a BeforeSwapDelta to bypass Uniswap's standard AMM pricing entirely. Standard add-liquidity, donations, and direct pool initialization are all reverted.
ALooks safeRegistered, verified, immutable
Pools
1
Dynamic-fee pools
0
Last new pool
16mo
Code size
438 B
What it can do
Runs code on every swap
Its code executes inside each trade in pools that use it.
Can take tokens from swaps
It can take or add tokens during a swap. Fees, burns and custom curves work this way, and so do scams.
Gates who can add liquidity
It checks every deposit before it goes in.
Runs at pool creation
It runs when a pool is created, often to lock in that pool’s settings.
Handles donations to LPs
It runs when someone donates tokens to the pool’s LPs.