BitcoinCode
  • BLOCK CHAIN
    • BTC20 Smart Chain
      • INTRO
      • INTRO TO BTCC
      • DAPPS
      • SMART CONTRACTS
      • ACCOUNTS
      • TRANSACTIONS
      • BLOCKS
      • PROOF-OF-STAKE (POS)
      • Gas / Fee
      • NETWORKS
      • TERMINOLOGY
  • COD20
    • COD20
  • SWAP
    • CATENA SWAP
      • Concepts
        • Protocol Overview
        • Ecosystem Participants
        • Glossary
        • Core Concepts
          • Swaps
          • Pools
          • Flash Swaps
          • Oracles
      • Guides
        • Implement a Swap
        • Providing Liquidity
      • Advance Topics
        • Fees
        • Pricing
        • Security
  • BRIDGE
    • BIFROST BRIDGE
      • INTRO
      • BRIDGES TYPE?
      • BIFROST BRIDGE
Powered by GitBook
On this page
  1. SWAP
  2. CATENA SWAP
  3. Concepts

Glossary

PreviousEcosystem ParticipantsNextCore Concepts

Last updated 1 year ago

Automated market maker

An automated market maker is a smart contract on BTC20 Smart Chain that holds on-chain liquidity reserves. Users can trade against these reserves at prices set by an automated market making formula.

Constant product formula

The automated market making algorithm used by Catena swap. x*y=k.

BTC20

BTC20 tokens are fungible tokens on BTC20 Smart Chain. Catena swap supports all standard BTC20 implementations.

Factory

A smart contract that deploys a unique smart contract for any BTC20/BTC20 trading pair.

Pair

A smart contract deployed from the Catena swap Factory that enables trading between two BTC20 tokens.

Pool

Liquidity within a pair is pooled across all liquidity providers.

Liquidity provider / LP`

A liquidity provider is someone who deposits an equivalent value of two BTC20 tokens into the liquidity pool within a pair. Liquidity providers take on price risk and are compensated with fees.

Mid price

The price between what users can buy and sell tokens at a given moment. In Catena swap this is the ratio of the two BTC20 token reserves.

The difference between the mid-price and the execution price of a trade.

The amount the price moves in a trading pair between when a transaction is submitted and when it is executed.

Smart contracts that are essential for Catena swap to exist. Upgrading to a new version of core would require a liquidity migration.

External smart contracts that are useful, but not required for Catena swap to exist. New periphery contracts can always be deployed without migrating liquidity.

A trade that uses the tokens being purchased before paying for them.

The constant product formula.

The "k" value in the constant product formula

Price impact

Slippage

Core

Periphery

Flash swap

x * y = k

Invariant

​
​
​
​
​
​
​
​
​
​
​
​
​
​
​