Launch Simulator

vLBP-Style Curve

The vLBP style curve is similar to Balancer’s LBPs.

These are virtual weighted AMM pools. You set initial virtual liquidity for token A and token B, initial weights for token A and token B, and lastly ending weights for token A and token B. The weight of the pools will linearly transition from starting to ending weight, creating a curve. As users buy or sell into the curve, virtual liquidity changes affecting the current price and curve.

This kind of curve usually has log-like growth that quickly approaches a limit and log like decay that is more aggressive early on.

For more information read the Balancer white paper [1] and math [2].

Time Decay Curve

Unlike LBP curves, a time decay curve starts low, grows more exponentially as users buy, and decays more aggressively as time goes on. Setting these curves up requires complicated mathematical considerations. For more info on time decay curves, see here.

C: Increasing this causes the price to increase faster in response to purchases, typically this is larger than 1 but less than 2.

D: Increasing this causes more aggressive decay. Typically this is larger than 1, but is fairly flexible.

K0 and K1: This determines the decay at the start and end. K1 must be less than K0. These are quite flexible, and may be pretty much any positive value. The bigger the difference between these values, the more aggressively decay ramps up over time.

Initial liquidity: It is also possible to start a time decay curve with virtual base and target liquidity, but this is generally an advanced feature. A simple application is to start a curve off at a given point. For example, you can set up a curve you like from t=10 onwards, then we can use virtual liquidity to start the curve at that point rather than the point at t=0. You may do this if you don't like how low prices are for the first few tokens sold.

Other Parameters

Though not shown in the simulator, we can also:

  • Scale the y axis by any value. If you like the shape of a curve, but want to divide the prices shown on the y axis by 10, or double them, etc, let us know.

  • Cap the amount of tokens that can sell. We call this the mint cap. For example, you can say the sale ends when 20 million tokens are sold, regardless of price. Generally you must deposit this many tokens into the program.

Simulations

There are buttons available to copy the raw data of any curve to your clipboard as csv data, so you can paste into excel or wherever you prefer.

Regular Sale Simulation

Simulates the price per token and total earnings if a buyer made purchases of Buy Per Round evenly over the time interval. Makes Buy Round purchases.

Random Sale Simulation

Simulates the designed curve for random purchase amounts at random times during the auction interval. This curve ignores buy per round settings and always buys between 100k and 500k per round.

Decayed Sale Simulation

Simulates a sale where there are no buyers at all until the sale is about 75% over, then all the purchases are made in the remaining time. This is typically a near worst case scenario for the price, since it denies early price growth, which typically has more impact.

Decay With No Sale Projection

Simulates the curve if there were 0 purchases. Each point shows you what the first sale would have been at this time. This view is very helpful to visualize the pricing of the curve, but not the price impact of purchases.

If you like a curve and want to save it, you can init the curve (your wallet must be on devnet and have devnet sol). Copy the key at the top somewhere after the tx is done. You can paste this key and use the load button at the top to restore your parameters (note that virtual liquidity and sim settings are not saved).

Resources

Last updated