EulerSwap
BNBRegisteredEulerSwap is a Uniswap v4 hook on BNB Chain. Custom-curve AMM hook backed by Euler Protocol vaults. In beforeSwap, it fully handles swap execution: takes input tokens from the PoolManager, deposits them into an Euler vault, withdraws output tokens from another vault, and returns a BeforeSwapDelta — bypassing standard Uniswap v4 concentrated liquidity. beforeAddLiquidity and beforeDonate always revert to protect users from non-productive positions.
- 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.