LogoLogo
  • Welcome
  • Getting Started
    • Quickstart
  • Use Cases
    • Multi Token LP
    • Single Pair Stable LP
    • LP Money Market
  • Technicals
    • Multi-Pool High-Level Architecture
    • Multi-Pool Details
      • Closure
      • Value Accounting
      • Vertex
        • Vault Proxy
        • Reserve
      • Risks
    • Single-Pool Architecture
    • Risk Assessment
  • Community
    • 🎪 Welcome to the Troupe
Powered by GitBook
On this page
Export as PDF
  1. Technicals

Multi-Pool Details

A multi-pool is built to enable swaps and LPs for multiple assets pegged to a single token. The is accomplished with a smart contract that has...

  • The Diamond Pattern (EIP-2535) and Diamond Storage (Store.sol).

  • A Simplex

  • An Asset Book

  • Multiple Vertices

  • Multiple Closures

  • And "Value" Accounting

The Simplex is the overall protocol manager and holds any high-level parameterizations.

The AssetBook simply stores the value owned by each depositor.

Further details are available for Value, Closures, and Vertices.

PreviousMulti-Pool High-Level ArchitectureNextClosure

Last updated 1 month ago