
Two posts ago, Morpho made the case that lending pools should be unbundled into small, isolated markets with risk management sold separately. The last post watched Spark re-bundle everything from above. Euler is the third data point in that argument, and the strangest one — because it arrived at modularity by dying first. In March 2023, Euler's original protocol was drained of roughly $197 million, at the time the largest exploit of any DeFi lending market. Then something almost without precedent happened: nearly all of it came back. And then the team did something rarer still — they shut the protocol down anyway, and rebuilt it from scratch on a different architecture.
That sequence is why Euler earns a post. The failure of version one is the cleanest mechanism-level lesson in this whole series about what audits can and can't buy you. And the shape of version two — built independently, by a team with every incentive to get it right the second time — landed on the same modular conclusion Morpho reached. When two teams walk different roads to the same design, that's evidence about where lending architecture is settling.
Euler Finance is a lending protocol on Ethereum. Version one, live from late 2021 to March 2023, was a single pooled system whose signature feature was permissionless asset listing under a tiered risk system. Version two, live since 2024, is a modular framework with two parts: the Euler Vault Kit (EVK), which lets anyone deploy a lending vault with its own chosen oracle, interest model, and collateral rules, and the Ethereum Vault Connector (EVC), a standard that lets one vault accept another vault's deposits as collateral. An EUL token governs the system.
It's worth being fair to v1, because it wasn't a naive design. In Aave or Compound, listing a new asset is a governance decision precisely because every listed asset shares one risk surface — a bad listing poisons the whole pool. Euler's answer was a tier system. Unknown assets entered an isolation tier where they could be borrowed but not used as collateral; assets could be promoted to cross and collateral tiers as evidence accumulated. It was the first serious attempt to let long-tail assets into pooled lending without handing them the keys. Liquidations were smarter than the standard fixed-bonus design too: a Dutch-auction discount that ramped up gradually, so liquidators competed the penalty down instead of extracting a flat fee — the standard machinery, refined.
The exploit didn't touch any of that. It came through a peripheral function — one that let users donate deposits to the protocol's reserves — which skipped a single solvency check. An attacker used a flash loan to build a large position, donated enough of it to make their own account artificially insolvent, then self-liquidated at a discount and walked away with the difference. Repeated across markets: about $197 million.
Here's the part I keep coming back to. Euler v1 was one of the most heavily audited protocols of its generation, and the fatal function wasn't even in the launch code — it was added later, through a governance upgrade that passed review. The lesson isn't "they were sloppy." The lesson is structural: in a monolithic pool, every line of code is load-bearing for the entire balance sheet. Audits reduce the odds of a bad line; the architecture decides the blast radius when one gets through. After weeks of on-chain negotiation, the attacker returned almost all of the funds — a genuinely unusual ending, and a story with enough texture that it deserves its own post later in this series. Euler wound down v1 and made depositors whole. Most protocols don't get a second life. This one used it to change the architecture.
The rebuild inverts the original premise. Instead of one pool with clever internal tiers, v2 ships components. An EVK vault is a self-contained lending market — the standard ERC-4626 vault shape, plus borrowing. Whoever deploys it chooses the oracle, the interest rate model, the collateral list, the loan-to-value limits, and — this is the interesting dial — the governance setting. A vault can be actively managed by its creator, or "finalized": parameters locked, upgradeability burned, nothing left for anyone to change. Given that v1 was killed by an upgrade, you can read finalized vaults as institutional memory written into the product.
The EVC is what makes the pieces compose. It's a thin coordination layer that lets a position in one vault count as collateral for a loan from another, and it handles the accounting of who-can-liquidate-what across them. Build a cluster of vaults that recognize each other and you've assembled something that behaves like an Aave-style market — except each piece has its own risk settings, its own failure domain, and in principle a failed vault fails alone.
If that sounds like Morpho's thesis — isolated markets, risk curation as a competitive job rather than a monopoly committee — it is. The difference is depth of composability. Morpho's markets are deliberately primitive; Euler's vaults can be wired into chains, where vault A's shares collateralize vault B, whose shares collateralize vault C. That's more expressive, and expressiveness is exactly the property that quietly rebuilds the linkage modularity was supposed to remove. Isolation contains failures only if people resist wiring the modules back into one big machine. The market, historically, does not resist.
The hard constraints follow directly. Every vault's solvency runs through its chosen oracle, and permissionless oracle choice means the freedom to choose badly — a bad feed doesn't just misprice one market, it can propagate through any chain of vaults built on top. The EVC itself is the one component everything shares; a bug there would be v1's problem reborn at the standard layer, a single line of code load-bearing for every cluster at once. And finalized vaults cut both ways: immune to malicious upgrades, and equally immune to fixes.
The soft constraints are the familiar ones. Curated vaults are only as good as their curators. Liquidity fragments across many small markets unless aggregation layers stitch it together. And the regulatory posture of permissionless lending remains what it is everywhere in this series: unresolved.
The v2 ecosystem has been in build-out since 2024 — more chains, more curated vault clusters, and a growing set of things built on the vault layer itself, including EulerSwap, which routes swaps through lending-vault liquidity rather than idle AMM reserves (details directional; the design is recent and moving). The EUL token and its fee mechanics have been through several adjustments — directional again. The architecture itself, kit-plus-connector, has been stable since launch.
The confirmation that matters most is grim but simple: a vault failing — an oracle exploit, a bad curation call — and the loss staying inside that vault. Modularity is a claim about blast radius, and only a live failure tests it. Short of that: sustained growth in independent (not team-affiliated) vault deployments, and third-party protocols treating EVC as a standard rather than a product.
An EVC-level bug, full stop — the shared component is the architecture's one systemic surface. A cascade through chained vaults that turns "isolated" markets into a contagion path, proving the composability reintroduced what the modularity removed. Or the quiet version: liquidity consolidating back into two or three giant curated clusters, at which point the system is a monolithic pool again with extra steps.
Now: the composition of vault clusters — how much of the system's deposits sit in chained or interlinked vaults versus genuinely isolated ones. That number is the honest measure of how modular the system actually is, and it's public. Next: whether vault-liquidity reuse (the EulerSwap direction) survives its first stress episode. Later: the standards question. Morpho and Euler are now competing answers to the same architectural thesis; whether DeFi lending converges on one connector standard, several, or none will decide whether "modular lending" was a category or a feature.
None of this is a recommendation to deposit into, borrow from, or hold EUL or any vault token. The 2023 exploit is a fact about version one's architecture, not a verdict on version two — and version two's cleaner design is a hypothesis, not a guarantee; it hasn't yet had the failure that would test it. Figures and structural details are directional and move quickly. This is the static explanation. The tracked version lives elsewhere.




