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. Core Concept

Pools

Each Savmswap liquidity pool is a trading venue for a pair of ERC20 tokens. When a pool contract is created, it starts with zero balances for each token. For the pool to begin facilitating trades, an initial deposit of each token is required. The first liquidity provider sets the initial price in the pool by depositing an equal value of both tokens. If they deposit tokens at a ratio diverging from the current market rate, it immediately creates a profitable arbitrage opportunity, likely to be seized by an external party.

Subsequent liquidity providers adding to an existing pool must deposit tokens proportional to the current price. If they don’t, their added liquidity risks being arbitraged. If they believe the current price is inaccurate, they have the option to arbitrage it to their desired level and then add liquidity at that price.

PreviousSending TokensNextPool Tokens

Last updated 1 year ago

🛰️