v3-periphery icon indicating copy to clipboard operation
v3-periphery copied to clipboard

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

Open drm424 opened this issue 3 years ago • 1 comments
trafficstars

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).

drm424 avatar Jun 02 '22 14:06 drm424

@drm424 did you ever resolved this ?

Graig123git avatar Aug 11 '22 00:08 Graig123git

This is being fixed in #271

hensha256 avatar Aug 11 '22 11:08 hensha256

Duplicate of #209

hensha256 avatar Aug 11 '22 11:08 hensha256