Liquidity Provider Fundamentals: LP Valuation (Part 1)

You are currently viewing Liquidity Provider Fundamentals: LP Valuation (Part 1)

Understanding the Liquidity Provider Role

Liquidity providers serve as the backbone of decentralized exchanges (DEXs), supplying the essential trading pairs that enable seamless transactions. In return for this service, they earn a portion of the DEX trading fees. But how exactly do these compensation mechanisms translate into tangible returns?

This critical question, surprisingly, lacks comprehensive answers across online resources. Our multi-part series aims to provide complete clarity – stay with us through each installment for full mastery of liquidity provider economics.

The Nature of DEX Compensation

Unlike traditional exchanges where fees are distributed as separate payments, DEXs automatically reinvest commissions directly into the liquidity pool. This means:

  • Fees accumulate within the pool’s total value
  • Rewards compound automatically
  • Compensation is proportional to each provider’s stake

Valuing LP Positions: Market Perspectives

LP tokens present unique valuation challenges since they aren’t traded on open markets. The prevailing industry approach calculates value by summing the underlying assets:

\displaystyle \text{Value}(LP)_{\text{total}} = x \times P(X) + y \times P(Y)

Where:

  • x: Quantity of Token X
  • y: Quantity of Token Y
  • P(X): Price of Token X
  • P(Y): Price of Token Y

Individual LP’s value that belongs to liquidity provider Alice is then determined by:

\displaystyle \text{Value}(LP)_{\text{Alice}} = \text{Value}(LP)_{\text{total}} \times \text{Share}(LP)_{\text{Alice}}

Price Relationships in Liquidity Pools

The pool’s internal pricing mechanisms create elegant mathematical relationships.

The price of Token X in terms of Token Y is:

\displaystyle P(X) = \frac{y}{x}

The price of Token Y in terms of Token Y is just itself:

\displaystyle P(Y) = 1

When we plug P(X) and P(Y), we get Value(LP)total in terms of Token Y:

\displaystyle \text{Value}(LP)_{\text{total}} = x \times \frac{y}{x} + y \times 1 = y + y = 2y

Similarly, Value(LP)total can be measured in terms of Token X.

The price of Token Y in terms of Token X is:

\displaystyle P(Y) = \frac{x}{y}

The price of Token X in terms of Token X is just itself:

\displaystyle P(X) = 1

When we plug P(X) and P(Y), we get Value(LP)total in terms of Token X:

\displaystyle \text{Value}(LP)_{\text{total}} = x \times 1 + y \times \frac{x}{y} = x + x = 2x

Practical Example

Consider a Pool:

  • QD(DAI) = 100,000 DAI
  • QD(eGHST) = 10,000 eGHST

Full LP Valuation:

\displaystyle \text{Value}(LP)_{\text{total}} = QD(\text{DAI}) \times P(\text{DAI}) + QD(\text{eGHST}) \times P(\text{eGHST})

\displaystyle P(\text{eGHST}) = \frac{100,\!000\ \text{DAI}}{10,\!000\ \text{eGHST}} = 10\ \text{DAI}

\displaystyle P(\text{DAI}) = 1\ \text{DAI}

To finalize:

\displaystyle \text{Value}(LP)_{\text{total}} = 100,\!000 \times 1 + 10,\!000 \times 10 =

\displaystyle 100,\!000 + 100,\!000 = 200,\!000\ \text{DAI}

Simplified Calculation:

We can just have a shortcut as well discovered earlier, where:

\displaystyle \text{Value}(LP)_{\text{total}} = 2 \times QD(\text{DAI})

\displaystyle \text{Value}(LP)_{\text{total}} = 2 \times 100,\!000 = 200,\!000\ \text{DAI}

In our next installment, we’ll explore how to calculate individual LP shares and examine more complex valuation scenarios.