adjust speed

This commit is contained in:
mantikoros 2022-10-10 14:20:55 -05:00
parent 8ac6896b75
commit 5c8364482c

View File

@ -38,8 +38,8 @@ const drizzleMarket = async (contractId: string) => {
const r = Math.random()
const logPopularity = Math.log10((popularityScore ?? 0) + 1)
const v = Math.max(1, Math.min(4, logPopularity))
const amount = subsidyPool <= 1 ? subsidyPool : r * v * 0.02 * subsidyPool
const v = Math.max(1, Math.min(5, logPopularity))
const amount = subsidyPool <= 0.5 ? subsidyPool : r * v * 0.01 * subsidyPool
const { newPool, newP } = addCpmmLiquidity(pool, p, amount)