Skip to main content
edited title
Link
rlib
  • 289
  • 2
  • 10

Uniswap core requires solidysolidity 5 while periphery requires 6

Source Link
rlib
  • 289
  • 2
  • 10

Uniswap core requires solidy 5 while periphery requires 6

Working through the examples of uniswap v2 (https://uniswap.org/docs/v2/smart-contract-integration/quick-start/) I got stuck with the following problem: Versions required are different

As we can see, v2-core requires solidity 5 while v2-peryphery requires solidity 6.

The issue is opened on the github: https://github.com/Uniswap/uniswap-v2-core/issues/105 from 2020.

Does anyone have a solution to that? How should i import both core and periphery contracts into my contract to make their examples work?