Market Cap Calculations
When a new token is being flaunched, an initial market cap will be calculated for the pool created during the flow. This market cap determines the cost per token (CPT) by finding an ETH price to set against the initial token supply of 100B (1e29
).
Although this contract reference can be set in the PositionManager through an Ownable call of setInitialPrice
, the protocol currently uses the MarketCappedPrice
implementation.

When the token is flaunched, we make an onchain call to the primary Uniswap V4 ETH:USDC
that has the most liquidity to find an ETH equivalency of a set USDC value.
When launching a token, our current implementation uses the initialPriceParams
to define the initial market cap. This can be set by passing the USDC token value of the desired market cap. For example, 5000e6
would give a starting market cap of $5000
. The market cap must be >= 1000e6
.
Last updated