USDFI - The revolution will not be centralized.
  • USDFI Working Paper
    • Abstract
    • Introduction
      • Custodial Stablecoins
      • Non-custodial Stablecoins
    • USDFI Design
      • Introduction
      • The Decentralized Stablecoin Trilemma
      • Design Considerations
      • Financial stability: AMOs, BLR, AMMLR & The DeFi Trinity
    • USDFI Stability Mechanisms
  • Dual ve-tokenomics
    • Introduction
    • Liquidity Incentivization
      • Curve Finance
      • Olympus DAO
      • Zero-sum, ve and ve(3,3)
      • Dual-ve model
    • Analysis of dual-ve
  • USDFI: The protocol for protocols
    • How to get deep liquidity for your token
    • Problem: Bootstrapping your liquidity
    • Solution: USDFI P4P
  • USDFI explained in 120 seconds
    • Vision
    • Dual-ve tokenomics
    • STABLE/veSTABLE
    • USDFI/veUSDFI
  • USDFI AMM
    • Understanding Automated Market Makers
      • How-to execute a token swap
        • Token prices
        • Price Impact
        • Price Slippage
        • Price Impact vs Slippage
      • Understanding liquidity pools
      • vAMM vs sAMM
      • Understanding AMM users
    • Understanding USDFI's AFSA-Shield
    • Becoming a liquidity provider
      • Whitelisting
      • Dynamic pool fees for partner protocols
    • Understanding USDFI Pools
    • Understanding the USDFI Router
  • USDFI Money Markets
    • Peer-to-Pool Money Markets
    • Lending vs Liquidity
      • Lending
      • Borrowing
      • Liquidiations
      • Advanced Money Market Strategies
      • Contracts
    • Security
      • Token Report (BSC)
  • USDFI Stablecoin
    • Minting
    • Understanding the Minter
  • USDFI Money Legos
    • Introduction
    • Protocols
      • Thena
    • Risks
  • Security
    • About Chainsecurity
    • Audits
    • Contracts
  • More USDFI
    • The USDFI vision
    • Roadmap
    • Tokenomics
    • Pitch Deck
  • GETTING STARTED
    • Connecting a wallet to USDFI
    • Switching networks
    • What's a wallet address?
    • Getting a crypto wallet
    • Understanding Networks and Layers
    • Understanding Layer 2
    • Understanding transaction hashes
    • Understanding approval transactions
    • Network Fees
    • Buy Crypto
      • Credit Card
      • Bank transfer
  • AFFILIATES
    • How to become an USDFI affiliate
  • Brand assets
    • SVGs
  • FAQ
    • General questions about USDFI
    • How is USDFI different from...
    • Questions about the USDFI ecosystem
    • Terms of Use / Legal information
    • Where to find more information
    • Security and audit
    • The most important question
  • LINKS
    • Twitter
    • Discord
    • Telegram
    • Github
Powered by GitBook
On this page
  1. USDFI AMM
  2. Understanding Automated Market Makers
  3. How-to execute a token swap

Token prices

In the context of USDFI and other decentralized exchange platforms, token prices are determined by the supply and demand of the tokens in question. The smart contract that governs the platform utilizes an algorithm known as a constant product market maker, which maintains a constant ratio between the amount of two different tokens in a pool.

This constant, represented by the formula x×y≥k x × y ≥ kx×y≥k, is adjusted during each trade to maintain equilibrium in the market and determine the current price of the tokens.

The amount of each token in the pool is influenced by the actions of users buying and selling on the platform, resulting in fluctuations in token prices.

PreviousHow-to execute a token swapNextPrice Impact

Last updated 2 years ago