Uniswap / v3-periphery

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

uniswap v3 periphery npm package for compiler version 0.8.0 #367

Open picardcapt1212 opened 7 months ago

picardcapt1212 commented 7 months ago

Hi, i have a question about uniswap v3 periphery npm package.

I am writing a contract and the compiler version is ^0.8.9. But the uniswapv3 core, periphery seems to be targeted on 0.7.6. I want to use OracleLibrary.sol but the compiler version does not match with my contract.

I found a npm package that says uniswap-v3-periphery-0.8. Is this the official uniswap v3 periphery package?

If not can i just import OralceLibrary.sol code in my contract where the compiler version is pragma solidity >=0.5.0 <0.9.0. This code is in v3-periphery 0.8 branch OracleLibrary.sol.

Thanks in advanced!

GopherJ commented 7 months ago

same issue, uniswap should support compiler version > 0.8.0