UniswapV3Deployment

Documentation for eth_defi.uniswap_v3.deployment.UniswapV3Deployment class.

class UniswapV3Deployment[source]

Describe Uniswap v3 deployment.

Attributes summary

web3

The Web3 instance for which all the contracts here are bound

factory

Factory address.

weth

WETH9Mock address.

swap_router

Swap router address.

position_manager

Non-fungible position manager address.

quoter

PoolContract

See the Solidity source code.

Methods summary

__init__(web3, factory, weth, swap_router, ...)

web3: web3.main.Web3

The Web3 instance for which all the contracts here are bound

factory: web3.contract.Contract

Factory address. See the Solidity source code.

weth: web3.contract.Contract

WETH9Mock address. See the Solidity source code.

swap_router: web3.contract.Contract

Swap router address. See the Solidity source code.

position_manager: web3.contract.Contract

Non-fungible position manager address. See the Solidity source code.

PoolContract: web3.contract.Contract

See the Solidity source code.

__init__(web3, factory, weth, swap_router, position_manager, quoter, PoolContract)
Parameters
Return type

None