what is the formula of pump.fun bonding
- User
what is the formula of pump.fun bonding
- Assistant
The formula forbonding curveslike those used inPump.funor other bonding curve-based tokenomics models typically involves a mathematical relationship between the token price and the total token supply. The bonding curve formula defines how the price of a token changes as more tokens are minted (or burned).
Here is the general idea:
1.Linear Bonding Curve:
Price increases linearly with the number of tokens minted.
Formula:P(x)=m⋅x+bP(x) = m \cdot x + bP(x)=m⋅x+bP(x)P(x)P(x): Price at supplyxxxmmm: Slope (rate of price increase per token)bbb: Base price (price at 0 supply)xxx: Total supply of tokens
P(x)P(x)P(x): Price at supplyxxx
mmm: Slope (rate of price increase per token)
bbb: Base price (price at 0 supply)
xxx: Total supply of tokens
Price increases linearly with the number of tokens minted.
Formula:
P(x)P(x)P(x): Price at supplyxxx
mmm: Slope (rate of price increase per token)
bbb: Base price (price at 0 supply)
xxx: Total supply of tokens
P(x)P(x)P(x): Price at supplyxxx
mmm: Slope (rate of price increase per token)
bbb: Base price (price at 0 supply)
xxx: Total supply of tokens
2.Exponential Bonding Curve:
Price increases exponentially with the number of tokens minted.
Formula:P(x)=a⋅ekxP(x) = a \cdot e^{kx}P(x)=a⋅ekxP(x)P(x)P(x): Price at supplyxxxaaa: Starting priceeee: Euler's number (≈2.718\approx 2.718≈2.718)kkk: Growth rate constantxxx: Total supply of tokens
P(x)P(x)P(x): Price at supplyxxx
aaa: Starting price
eee: Euler's number (≈2.718\approx 2.718≈2.718)
kkk: Growth rate constant
xxx: Total supply of tokens
Price increases exponentially with the number of tokens minted.
Formula:
P(x)P(x)P(x): Price at supplyxxx
aaa: Starting price
eee: Euler's number (≈2.718\approx 2.718≈2.718)
kkk: Growth rate constant
xxx: Total supply of tokens
P(x)P(x)P(x): Price at supplyxxx
aaa: Starting price
eee: Euler's number (≈2.718\approx 2.718≈2.718)
kkk: Growth rate constant
xxx: Total supply of tokens
3.Polynomial Bonding Curve:
Price increases based on a power relationship with supply.
Formula:P(x)=a⋅xnP(x) = a \cdot x^nP(x)=a⋅xnP(x)P(x)P(x): Price at supplyxxxaaa: Coefficient (scaling factor)nnn: Power (controls the steepness of the curve)
P(x)P(x)P(x): Price at supplyxxx
aaa: Coefficient (scaling factor)
nnn: Power (controls the steepness of the curve)