Build on Lotus
Developer hub for building on Lotus protocol with flash actions, vault adapters, liquidation modules, hooks, market creation, and integration recipes.
Last updated
Developer hub for building on Lotus protocol with flash actions, vault adapters, liquidation modules, hooks, market creation, and integration recipes.
Last updated
┌─────────────────────────────────────────────────────────────────────┐
│ High-Level Integration Map │
└─────────────────────────────────────────────────────────────────────┘
┌──────────┐ ┌──────────┐ ┌──────────┐
│ SDK │ │ dApp │ │ Wallet │
│ (ethers) │ │ UI │ │ Apps │
└────┬─────┘ └────┬─────┘ └────┬─────┘
│ │ │
└────────────────┼─────────────────┘
│
▼
┌───────────────────────┐
│ Adapters/Wrappers │
│ - LotusV2Adapter │
│ - Custom Integrations│
└──────────┬────────────┘
│
▼
┌───────────────────────────────────┐
│ LOTUS CORE CONTRACT │
│ ┌─────────────────────────────┐ │
│ │ Markets & Tranches │ │
│ │ - Market registry │ │
│ │ - Tranche accounting │ │
│ │ - Supply/Borrow/Collateral │ │
│ └─────────────────────────────┘ │
└──────┬───────────┬────────┬───────┘
│ │ │
┌────────▼──┐ ┌────▼────┐ ┌▼────────┐
│ IRMs │ │Liquidn │ │ Oracles │
│ (pluggable)│ │Modules │ │(external)│
│ - Adaptive│ │(pluggable)│ │ - Price │
│ - Managed │ │ - Oracle│ │ feeds │
│ - Fixed │ │ Incent│ │ │
└───────────┘ └─────────┘ └─────────┘