Skip to content

uniswap v3 periphery npm package for compiler version 0.8.0 #367

@picardcapt1212

Description

@picardcapt1212

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions