Documentation for eth_defi.uniswap_v3.deployment.fetch_deployment function.
- fetch_deployment(web3, factory_address, router_address, position_manager_address, quoter_address)[source]
Construct Uniswap v3 deployment based on on-chain data.
allow_different_weth_var – We assume Uniswap v3 ABI that has router.WETH() accessor. Some other DEXes might not have it. If set (default) ignore this error and just have None as the value for the wrapped token.
web3 (web3.main.Web3) –
position_manager_address (Union[eth_typing.evm.HexAddress, str]) –
Data class representing Uniswap v3 exchange deployment
- Return type