Uniswap / v3-periphery

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

Placehoder in NonfungibleTokenPositionDescriptor artifact bytecodes #216

Closed jaeboklee-modo closed 2 years ago

jaeboklee-modo commented 2 years ago

Hi!

I'm having an issue deploying NonfungibleTokenPositionDescriptor contract while testing in the local environment.

NonfungibleTokenPositionDescriptor contract uses libraries, so its bytecode contains library placeholder and address.

Since there's only interface and artifact of contracts and there's no source code in uniswap periphery npm package, I'm not able to deploy in the local environment by using it.

Should I clone all the source code for deploying it?

ewilz commented 2 years ago

You should be able to deploy the library as well from the most recent periphery npm package:

'@uniswap/v3-periphery/artifacts/contracts/libraries/NFTDescriptor.sol/NFTDescriptor.json'