IPoolFactoryDeployer

Git Source

Functions

deployPool

Deploy a new option pool

function deployPool(IPoolFactory.PoolKey calldata k) external returns (address poolAddress);

Parameters

NameTypeDescription
kIPoolFactory.PoolKeyThe pool key

Returns

NameTypeDescription
poolAddressaddressThe 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);