Vaults Adapter

Guide to integrating Morpho Vault V2 with Lotus protocol via the LotusV2Adapter for allocation, deallocation, and position tracking across tranches.

Lotus integrates with Morpho's Vault V2 via a LotusV2Adapter that turns lending vault allocations into Lotus supply/withdraw actions.

circle-exclamation

When to use:

  • You manage pooled assets and want to allocate across Lotus tranches.

  • Your vault’s denomination asset matches the Lotus market’s loan token.

Key behaviors:

  • Allocation calls supply assets to the specified market tranche.

  • Deallocation withdraws back to the adapter, then to the vault.

  • The adapter tracks active positions to compute realAssets().

Allocation Flow (Vault → Lotus)

spinner

Deallocation Flow (Lotus → Vault)

spinner

realAssets() = sum of supply balance across all active positions.

Constraints and safety:

  • Only use markets protected against initial-supply inflation attacks.

  • Do not use IRMs that can re-enter the adapter or parent vault.

  • Small rounding losses can occur on supply/withdraw.

See Also

Last updated