📊Bonding Curves
Math behind the curve.
Last updated
Math behind the curve.
Last updated
similiar to the Liquidity Book on Trader Joe XYZ, our curves are setup using bins to store token amounts and prices.
As more AVAX is exchanged for a token, the bin will fill up until their is no more tokens in that bin, then it will go to the next non empty bin.
Token prices per bin goes up 20% incrementally. This is a step-wise approach to the bonding curve problem. Compare that to moonshot or pumpdotfun whose bonding curves follow the a distinct curve.
This allows Bellum to cater to multiple pricing strategies.
First one in the list is comparable to a linear pricing model, where the price per token increases linearly.
The second is familiar to a carrying capacity curve. Where initially the price goes up fast, but levels out the further along the bins it gets.
The third is similar to pump dot fun's model of an exponential curve.
The last is similar to a cubic function where the price goes up fast and consolidates in the middle, then goes up fast again.
Calculate the price for the bin using the formula:
Determine the price for the last non-zero bin using:
This is the market cap at the last bin. This is the value of the token when migrated to Trader Joe.
This is the fraction of the total supply that we want added to the bins.