Bonding Curves
Last updated
Was this helpful?
Last updated
Was this helpful?
Similar to the Liquidity Book feature on Trader Joe, Apex Burstβs bonding curves use bins to hold token amounts and determine prices. When AVAX is exchanged for a token, tokens are distributed from a bin until itβs empty, then the process moves to the next available bin. Token prices increase by 20% per bin, using a step-wise approach for a structured and incremental bonding curve.
This design allows Apex Burst to support multiple pricing strategies, offering flexibility for various token launches.
On the Create page, Apex Burst provides several curve options:
Linear Pricing: Price increases linearly with supply. This curve offers predictable pricing where each additional token incrementally increases in cost.
Carrying Capacity Curve (Logarithmic-like): Price rises quickly initially but levels off as supply increases. Early buyers face higher price increases, but later growth stabilizes, reducing further price jumps.
Exponential Curve: Price increases exponentially with supply. This curve rewards early participants, but prices escalate rapidly.
Cubic Curve (Bell): Price increases rapidly at the start, consolidates in the middle, and rises again towards the end. This curve offers both early and late buyers opportunities, with a mid-point where prices stabilize.
Price Calculation for Each Bin
To calculate the price in each bin, the formula is:
Where i
is the bin index (starting from 0), basePrice
is the initial token price and x
is the increment factor per bin.
Calculating the Last Non-Zero Bin Price
The price for the final bin with non-zero tokens is:
Where n
is the total number of bins and x
is the increment factor. This helps determine the final bin price at the end of the distribution.
Market Cap Calculation
The market cap, representing the tokenβs final value on a DEX like Trader Joe, is calculated as:
Fraction Validation
To validate the fraction of total supply in the bins, use:
Then, the fraction is calculated as:
This formula ensures the allocation aligns with the desired distribution on the bonding curve and the total selected amount required for bonding.