migration_quote_threshold
, this can be presented as a function of liquidity, minimum price, and maximum price. We denote:
l
= liquiditypa
= minimum pricepb
= maximum price(l = 100, pa = 1, pb = 2)
(l = 500, pa = 2, pb = 4)
sqrt_price
and liquidity
values which will be much bigger.Migration Fee Percentage
is the fee (as a decimal, e.g., 0.01 for 1%)Migration Amount
is the total amount of base mint tokens being migratedquote_min
from the migration_quote_threshold
amount.
buildCurveWithMarketCap
function from the DBC Typescript SDK, you will need to calculate the actual initial_market_cap
value that you want based on the desired initial market cap.