📊Bonding Curves

Math behind the curve.

How it works

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.

  1. First one in the list is comparable to a linear pricing model, where the price per token increases linearly.

  2. 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.

  3. The third is similar to pump dot fun's model of an exponential curve.

  4. The last is similar to a cubic function where the price goes up fast and consolidates in the middle, then goes up fast again.

Mathematical Formulas

Price Calculation for Each Bin:

Calculate the price for the bin using the formula:

Calculate Last Non-Zero Bin Price

Determine the price for the last non-zero bin using:

Market Cap Calculation

This is the market cap at the last bin. This is the value of the token when migrated to Trader Joe.

Fraction Validation

This is the fraction of the total supply that we want added to the bins.

Last updated