Uniswap / v3-periphery

🦄 🦄 🦄 Peripheral smart contracts for interacting with Uniswap v3
https://uniswap.org
GNU General Public License v2.0
1.16k stars 1.08k forks source link

Type error for @uniswap/v3-periphery/contracts/libraries/PoolAddress.sol on line 35 #274

Closed drm424 closed 2 years ago

drm424 commented 2 years ago

When I compile the said contract with solidity versions >=0.8.0 I get the error:

TypeError: Explicit type conversion not allowed from "uint256" to "address". --> .deps/npm/@uniswap/v3-periphery/contracts/libraries/PoolAddress.sol:35:16: | 35 | pool = address( | ^ (Relevant source part starts here and spans across multiple lines).

Graig123git commented 2 years ago

@drm424 did you ever resolved this ?

hensha256 commented 2 years ago

This is being fixed in #271

hensha256 commented 2 years ago

Duplicate of #209