LogoLogo
  • Learn about Balancer
  • Background
    • Team Goal
  • Fundamentals
    • White Paper
      • The Value Function
        • USDC WETH WBTC 33/33/33
        • BAL WETH 80/20
        • Price Change Proof
      • Spot & Effective Price
        • Spot Price
        • Effective Price
        • Price Impact
        • Price Impact - With Swap Fees
      • Trading Formulas
        • Out-Given-In
          • Including Swap Fees
        • In-Given-Out
          • Including Swap Fees
        • In-Given-Price
          • In-Given-Price Proof
          • Arbitrage 80/20
          • Arbitrage 50/50
        • Summary
      • Deposits & Withdrawals
        • Deposits
          • Proportional Deposits
            • BAL / WETH 80/20
          • Single Sided Deposits
            • Price Impact; 10,000 BAL
            • Price Impact; 100,000 BAL
          • Multi-token Deposits
            • Price Impact WMATIC / MTA / WETH
            • Price Impact [2] WMATIC / MTA / WETH
        • Withdrawals
          • Proportional Withdrawals
            • BAL/WETH 80/20
          • Singled Sided Withdrawals
            • Withdrawal Price Impact
    • Impermanent Loss
      • 50/50 Pools
      • 80/20 Pools
      • Multi-token Pools
    • veBAL Tokenomics
      • TLDR
      • Vote-Escrowed Governance
      • Financial Implications
        • Boosting BAL Incentives
          • Minimum veBAL for Max Boost
          • Maximum Boost
          • Calculating my Boost
          • Boost Delegation for Contract Wallet
        • Protocol Revenue Distribution
        • Gauge Voting
      • Inflation Schedule
      • veBAL FAQ
  • More Information
    • For Developers
      • GitHub Integration
    • For Support
    • References & Related Content
  • Documented Questions
    • Coming soon
Powered by GitBook
On this page

Was this helpful?

Export as PDF
  1. Fundamentals
  2. White Paper
  3. The Value Function

Price Change Proof

This is a proof for the net USD value of a pool based upon the invariant. Please note this can be done for any denomination of currency.

PreviousBAL WETH 80/20NextSpot & Effective Price

Last updated 2 years ago

Was this helpful?

The change in value of a Balancer pool given a price reference (in this case a base of USD) as seen on the medium article linked here can be defined by the following equation :

Note per the whitepaper the invariant (V) is a constant value based upon a pool’s traits. This would mean that

This understanding of the invariant as a constant surface is crucial when proving the initial equation stated to be true.

  1. Next, we can calculate the Value function in relation to the USD reference point using the following equations:

Assuming Pi is equal to the price of a token in reference to USD in this case

2. Once a change in price occurs the Balance of each token will change due to the pool being rebalanced by arbitrageurs yielding (B’) at a new price (P’) in relation to the reference.

3. To determine the change in dollar value of our entire pool we will need the ratio of our new USD value divided by our initial USD dollar value. This is shown as the following:

4.This is to be simplified to the following by isolating our balances from our prices.

5. Therefore the fraction of these two values is equal to 1 leaving: