IPoolManagerDeployer
Deployer of pool managers
This contract is needed to reduce the size of the pool manager factory contract
Functions
POOL_MANAGER_FACTORY
Returns the pool manager factory
function POOL_MANAGER_FACTORY() external view returns (IPoolManagerFactory _poolManagerFactory);
Returns
Name | Type | Description |
---|---|---|
_poolManagerFactory | IPoolManagerFactory | The pool manager factory |
deployPoolManager
Deploys a new pool manager for a given UniswapV3 pool
function deployPoolManager(IUniswapV3Pool _pool) external returns (IPoolManager _poolManager);
Parameters
Name | Type | Description |
---|---|---|
_pool | IUniswapV3Pool | The UniswapV3 pool |
Returns
Name | Type | Description |
---|---|---|
_poolManager | IPoolManager | The newly deployed pool manager |
Errors
PoolManagerDeployer_OnlyPoolManagerFactory
Thrown when someone other than the pool manager factory tries to call the method
error PoolManagerDeployer_OnlyPoolManagerFactory();