Helpful?
PoolInitializer
Git Source - Generated with forge doc
Inherits: ImmutableState
Initializes a Uniswap v4 Pool
Enables create pool + mint liquidity in a single transaction with multicall
Functions
initializePool
Initialize a Uniswap v4 Pool
function initializePool(PoolKey calldata key, uint160 sqrtPriceX96) external payable returns (int24);
Parameters
| Name | Type | Description | 
|---|---|---|
| key | PoolKey | the PoolKey of the pool to initialize | 
| sqrtPriceX96 | uint160 | the initial sqrtPriceX96 of the pool |