deploy_pool
Documentation for eth_defi.uniswap_v3.deployment.deploy_pool function.
- deploy_pool(web3, deployer, *, deployment, token0, token1, fee)[source]
Deploy a new pool on Uniswap v3.
See UniswapV3Factory.createPool() for details.
- Parameters
web3 (web3.main.Web3) – Web3 instance
deployer (eth_typing.evm.HexAddress) – Deployer account
deployment (eth_defi.uniswap_v3.deployment.UniswapV3Deployment) – Uniswap v3 deployment
token0 (web3.contract.contract.Contract) – Base token of the pool
token1 (web3.contract.contract.Contract) – Quote token of the pool
fee (int) – Fee of the pool
- Returns
Pool contract proxy
- Return type
web3.contract.contract.Contract