Assessment reports>Memecoin Launcher>Discussion>Price gap during deployment

Price gap during deployment

Before the liquidity pool is deployed, the token price is computed with a formula involving virtual ETH and token reserves. When the liquidity pool is deployed, the price that the liquidity-pool contract gets is based on the real reserves, which may be different from the price that is being used immediately before deployment, which includes the constant offset from the virtual assets. Even if for some dexThreshold values the gap may be minimal, it should be documented how this value should be chosen to avoid loss during liquidity deployment.

Zellic © 2025Back to top ↑