Omni-Pool Details

An omni-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.

Last updated