adjust speed
This commit is contained in:
parent
8ac6896b75
commit
5c8364482c
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user