IPoolFactoryDeployer
Functions
deployPool
Deploy a new option pool
function deployPool(IPoolFactory.PoolKey calldata k) external returns (address poolAddress);
Parameters
| Name | Type | Description |
|---|---|---|
k | IPoolFactory.PoolKey | The pool key |
Returns
| Name | Type | Description |
|---|---|---|
poolAddress | address | The address of the deployed pool |
calculatePoolAddress
Calculate the deterministic address deployment of a pool
function calculatePoolAddress(IPoolFactory.PoolKey calldata k) external view returns (address);
Errors
PoolFactoryDeployer__NotPoolFactory
error PoolFactoryDeployer__NotPoolFactory(address caller);