EulerSwap

  • Name: EulerSwap
  • URL: https://docs.euler.finance/concepts/advanced/euler-swap/
  • Category: DEX-lending hybrid / AMM-coupled leverage / swap-operator on credit-vault liquidity
  • Tags: ethereum-ecosystem
  • Summary: EulerSwap is a swap wrapper on top of Euler credit vaults, not a normal AMM. Reserves stay in lending vaults, a single LP controls the pool, and output depth can be borrowed into existence during execution. The real control surfaces are vault choice, immutable curve settings, registry visibility, and operator maintenance.
  • What it does:
    • Lets an LP install an EulerSwap operator on top of assets already supplied to Euler vaults instead of moving those reserves into a separate pool contract
    • Uses just-in-time borrowing from Euler lending reserves when a swap needs more output inventory than the LP is statically holding, using the incoming asset as collateral during execution
    • Allows the same underlying vault assets to earn lending yield, serve as collateral for borrowing, and back swaps across multiple pairs at once
    • Gives the pool owner fixed-at-deploy-time controls over equilibrium price, concentration, fee level, and asymmetric or single-sided liquidity shape
    • Uses a single-owner pool model rather than shared LP ownership, so market-making policy sits with one account or strategy operator per pool
    • Exposes Uniswap-v4-hook compatibility and periphery quote / swap helpers so EulerSwap liquidity can plug into broader routing and solver infrastructure
    • Adds a registry layer and validity-bond mechanism to advertise pools as active while allowing misconfigured or abandoned pools to be removed
  • Key claims:
    • The main reusable primitive is not merely lending plus swaps; it is vault-native AMM liquidity where reserves remain inside a lending system and are only borrowed into existence when swap flow needs them.
    • EulerSwap changes where liquidity policy lives. Traditional AMMs concentrate control in a shared pool contract, while EulerSwap pushes practical control into the LP-owned vault position, chosen vaults, operator installation, and immutable per-pool curve settings.
    • The single-owner model matters analytically because it makes EulerSwap closer to a curated market-making wrapper around credit infrastructure than to a communal LP venue. That means spread policy, concentration, maintenance discipline, and abandonment risk sit with one operator, not a diffuse LP set.
    • The registry / validity-bond layer is an important extra control surface. Because pools can be abandoned by withdrawing from the underlying vaults, discoverability and swap safety partly depend on off-pool registration, quoting, and bond-forfeiture policy rather than only on pool code.
    • EulerSwap belongs in the active corpus because it makes one comparison branch much clearer: AMM depth can be manufactured by rehypothecatable lending liquidity instead of by idle reserves, but that shifts risk and power into vault caps, borrow conditions, registry maintenance, and LP/operator sophistication.
    • The strongest open question is whether this architecture primarily decentralizes capital efficiency or instead favors professional LPs and integrated solvers that can manage lending risk, hedging, pool maintenance, and routing complexity better than ordinary LPs.

Internal linkages