🔬
InterSwap Docs
  • Welcome
  • Protocol Level
    • Liquidity Pools
      • Weighted Pools
      • Stable Pools
      • Dynamic Weights
      • Gas Tokens Index(GTI)
    • Add/Remove Liquidity
      • New Pool Creation
      • Add Liquidity
      • Remove Liquidity
    • Swap
  • Integration Level
    • You Integrate us
    • We Integrate you
    • Cross-Chain Smart Routing
  • Supported networks
  • How To
    • Setting Up a Wallet
      • Creating a New Wallet
      • Adding Networks to Metamask
      • Connecting Your Wallet
    • Swap
    • Add Liquidity
    • Remove Liquidity
  • Security
    • Audits
    • Bug Bounty
    • Deployed Contracts
  • TOKENOMICS & GOVERNANCE
    • Allocation & Lockups
    • Token Value Accrual
    • Fees
    • Governance Model
    • Proposals & Voting
  • Information
    • FAQ
Powered by GitBook
On this page
  1. Protocol Level

Liquidity Pools

PreviousProtocol LevelNextWeighted Pools

Last updated 2 years ago

InterSwap Liquidity Pools are different from other AMM liquidity pools. InterSwapPair contract on masterchain does not store tokens, it only keeps the state of the pool. In fact, Tokens are stored in Lock contracts on child chains.

InterSwap AMM engine relies on simple and robust mechanisms like Constant Product Market Maker for Weighted Pools (WeightedMath) and a combination of Constant Sum and Constant Product for 1:1 pegged assets (StableMath).

Maximum Number of Assets

InterSwap has a dynamic limit of a maximum number of assets. Currently, there are 8, but it can be changed by a Governance process with the hard limit of 20 assets.

The weights are divided equally when creating a pool, but then they are adjusted during add/remove liquidity. Read more about .

Dynamic Weights
InterSwap Infrastructure