Uniswap / v3-periphery

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

SwapRouter.sol not compiling in Remix #283

Closed NickSneo closed 2 years ago

NickSneo commented 2 years ago

When trying to compile SwapRouter.sol in Remix getting these errors - Error: not found @openzeppelin/contracts/drafts/ERC20Permit.sol in TestERC20.sol Error: not found @openzeppelin/contracts/drafts/IERC20Permit.sol in SelfPermit.sol

hensha256 commented 2 years ago

Thats because Remix wont automatically perform your imports for you - you have to either copy those contracts in, or officially import them. If instead you clone the repo, you will find that it imports the contracts.