freecoding.school100% FREE · NO SIGNUP
Yield OceanISSUE #9 of 34

aave v3 · isolation mode · e-mode

Liquidity LuVSThe Sandwich Bot
Liquidity Lu saysAave v3 added isolation mode (cap new collateral with strict borrow limits) and e-mode (correlated assets get up to ~95% LTV) — sharpening the safety/efficiency trade-off per asset.

Aave v3 introduced two modes that split the historic one-size-fits-all approach. Isolation mode lets risky new collateral onboard with a strict debt ceiling — you can only borrow specific stables against it. E-mode recognizes that some assets are highly correlated (ETH-pegged LSDs vs ETH) and lets users borrow at much higher LTV (up to 95%) when both sides are in the same e-mode group.

The demo computes maximum borrowable for the same $1000 collateral across standard, e-mode, and isolation.

Power-ups you unlock

The Sandwich Bot attacks — common mistakes

Boss battleCompare maximum borrowable for $1000 collateral under standard, e-mode, and isolation.

Example code

<!doctype html><html><head><meta charset="utf-8"></head>
<body style="background:#06040d;color:#e6e0ff;font-family:monospace;padding:20px"><pre id="o"></pre>
<script>
const collateral = 1000;
const modes = [
  { name:'standard', ltv:0.80, note:'broad asset support' },
  { name:'e-mode (ETH-correlated)', ltv:0.95, note:'high LTV, only correlated borrows' },
  { name:'isolation', ltv:0.50, note:'capped by debt ceiling, stables only' }
];
document.getElementById('o').textContent = [
  'collateral: $' + collateral,
  '',
  ...modes.map(m => '  ' + m.name.padEnd(28) + ' LTV ' + (m.ltv*100).toFixed(0) + '%  → borrow up to $' + (collateral*m.ltv).toFixed(0) + '   (' + m.note + ')'),
  '',
  'sharper risk control = higher capital efficiency where it is safe'
].join('\n');
</script></body></html>
▶ Open the interactive comic issue
‹ Twap Oracles · Manipulation ResistanceLiquidations · Health Factor · Keepers ›