Overall
  • šŸ‘‹Welcome to Artichoke
  • Single-Sided LP Mechanics
    • šŸ“ Basic Mathematics
    • šŸ’°Related Pricing
    • šŸ“ŠThe Bonding Curve
    • āŒ›Staking & Impermanent Loss
    • šŸ”™Variation and Returns
    • 🧮Total Returns
  • Single-Sided Liquidity Strategies
    • 1ļøāƒ£Uniswap's Inherent Hedging
    • 2ļøāƒ£The Straddle
    • 3ļøāƒ£Delta-Zero
  • Protocol Architecture
    • šŸ”€Virtual Omnipool and Tails
    • āš–ļøStabilizer Pool
    • šŸ‘Øā€šŸ’»Product Overview from the User Perspective
  • Token Metrics
    • šŸŖ™CHOKE Token
    • šŸ“ˆAccruing Value
    • šŸ”„Burn Schedule
  • Staking
    • šŸ“—Staking Guide
    • ā”Staking FAQ
  • Security Report
    • šŸ”Artichoke Alpha Phase Report
  • FAQ
    • ā“Frequently Asked Questions
Powered by GitBook
On this page
  1. Single-Sided LP Mechanics

Related Pricing

As every economic system, the price will be determined by supply and demand. In our particular case scenario, prices of tokens in an LP are determined by the supply of the tokens, i.e., the amounts of reserves of the tokens that the pool is holding. Token prices are simply relations of reserves:

Px=yx;Py=xyP_x = \frac{y}{x} ; P_y = \frac{x}{y}Px​=xy​;Py​=yx​

Where PxP_xPx​ and PyP_yPy​ are prices of tokens in terms of the other token. Such prices are called spot prices and they only reflect current market prices. Howe- ver, the actual price of a trade is calculated differently as high demand increases price. We want the price to be high when demand is high, and we can use pool reserves to measure the demand: the more tokens you want to remove from an LP, the higher the impact of demand is. Mathematically:

Ī”y=(yā‹…Ī”x)(x+Ī”x)\Delta y = \frac{(y \cdot \Delta x)}{(x + \Delta x)} Ī”y=(x+Ī”x)(yā‹…Ī”x)​

Ī”x=xā‹…yyāˆ’Ī”y)\Delta x = \frac{x \cdot y}{y - \Delta y)} Ī”x=yāˆ’Ī”y)xā‹…y​

PreviousBasic MathematicsNextThe Bonding Curve

Last updated 2 years ago

šŸ’°