Savmswap
  • 💡Introduction
    • Comparative Analysis with Traditional Markets
    • Automated Market Maker (AMM) vs Order Book
    • Embracing Permissionless Systems
  • ♟️Protocol Overview
    • ⚒️How Savmswap Works
      • Smart Contracts
      • Core
      • Factory
      • Pairs
      • Periphery
      • Library
      • Router
      • Design Decisions
      • Minimum Liquidity
    • ⛴️Ecosystem Participants
      • Liquidity Providers
      • Traders
      • Developers/Projects
    • 🔬Glossary
    • ⚙️Contract Addresses
  • 🛰️Core Concept
    • Swaps
      • Receiving Tokens
      • Sending Tokens
    • Pools
      • Pool Tokens
      • Why Pools?
    • Staking
      • How to Stake on Savmswap?
      • Staking on Savmswap
      • Fees on Savmswap
    • Flash Swaps
    • Oracles
Powered by GitBook
On this page
  1. Protocol Overview
  2. How Savmswap Works

Core

The core of Savmswap comprises a unique factory and numerous pairs, with the factory responsible for their creation and indexing. These contracts are intentionally minimalistic, adhering to a philosophy of functional elegance and simplicity. This design principle ensures ease of understanding, reduced susceptibility to bugs, and greater operational efficiency. A major advantage of this approach is the ability to assert many of the system's desired properties directly in the code, minimizing the scope for errors. However, one trade-off is the user-unfriendliness of core contracts. Direct interaction with these contracts is generally not advised for most users; instead, it is preferable to utilize a peripheral contract.

PreviousSmart ContractsNextFactory

Last updated 1 year ago

♟️
⚒️