IPoolManagerDeployer

Git Source

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

NameTypeDescription
_poolManagerFactoryIPoolManagerFactoryThe pool manager factory

deployPoolManager

Deploys a new pool manager for a given UniswapV3 pool

function deployPoolManager(IUniswapV3Pool _pool) external returns (IPoolManager _poolManager);

Parameters

NameTypeDescription
_poolIUniswapV3PoolThe UniswapV3 pool

Returns

NameTypeDescription
_poolManagerIPoolManagerThe newly deployed pool manager

Errors

PoolManagerDeployer_OnlyPoolManagerFactory

Thrown when someone other than the pool manager factory tries to call the method

error PoolManagerDeployer_OnlyPoolManagerFactory();