Ordiswap
  • The Ordiswap Protocol
  • Protocol Concepts
    • osAMM Overview
      • Modular Implementation
    • Off-Chain Balance States
    • osAPI
  • How to use Ordiswap
    • Swapping BRC-20 Tokens
    • Swapping Rune Tokens
    • Liquidity Provision
    • Fee Structure
    • Asset Custody
    • Ordiswap Cross-Chain Swaps
    • Native L1 Pools
    • Protocol Liquidity Vault
  • ordiswap off-chain engine
    • Protocol Structure
      • Module Functions & Pool Specific Logic
      • Database Initialization and Mempool Integration
      • Token Indexing & Retrieval
      • Cross-Chain Swap API Handling
      • Cross-Chain Swap Logic
      • Liquidity Pool Management
      • Bitcoin Transaction Creation Functions
    • Roadmap of Research
    • Combatting Centralization
    • Audit Review
  • Ordiswap Token
    • ORDS Token
      • veORDS
      • Gauges
      • Bribe System
  • Roadmap
    • Roadmap
  • Community
    • Links
Powered by GitBook
On this page
  1. Protocol Concepts
  2. osAMM Overview

Modular Implementation

Modularity Implementation in Ordiswap:

  • Ordiswap adopts a modular architecture

  • Modularity enhances the flexibility, scalability, and maintainability of the Ordiswap protocol, allowing seamless integration of new features and improvements.

Core Modules:

  • Ordiswap is organised into core modules, each responsible for a specific set of functionalities within the decentralized exchange.

  • Swap Module: Manages token swaps, utilizing the constant product formula inspired by Uniswap v2.

  • Liquidity Module: Facilitates liquidity provision to decentralised pools, allowing users to contribute funds and earn fees.

  • Indexing Module: Implements an efficient indexing system to organize and retrieve data related to tokens, trades, and liquidity pools.

Benefits of Modularity in Ordiswap:

  • Scalability: Ordiswap's modular design allows for easy scalability. New modules can be added to accommodate additional features or improvements without disrupting the existing structure.

  • Interchangeability: Modules within Ordiswap are designed to be interchangeable, enabling the seamless integration of upgraded or alternative modules to enhance specific functionalities.

  • Maintainability: The modular approach simplifies maintenance and updates. Each module can be individually upgraded without affecting the overall integrity of the Ordiswap protocol.

  • Innovation: The modularity proposal encourages continuous innovation. Developers can propose and implement new modules independently, fostering a dynamic ecosystem around Ordiswap.

Technical Implementation:

  • Ordiswap's build stacks are organized into separate modules, each containing the logic required for its designated functionality.

  • Modules communicate through well-defined interfaces, ensuring compatibility and ease of integration.

  • Upgrades or additions to modules are achieved through a transparent governance process, allowing the community to participate in decision-making (Future)

Governance and Upgrades:

  • Ordiswap's governance model empowers the community to propose and vote on new modules, modifications, or upgrades.

  • Proposals undergo a transparent governance process, ensuring alignment with the community's vision and values.

  • This decentralized governance approach guarantees that Ordiswap evolves in a way that best serves its users.

Last updated 9 months ago