我正在尝试编译(通过 Hardhat)一个合约,该合约导入具有不同 Solidity 版本的多个接口,但出现以下错误:
Error HH606: The project cannot be compiled, see reasons below.
These files and its dependencies cannot be compiled with your config. This can happen because they have incompatible Solidity pragmas, or don't match any of your configured Solidity compilers.
* contracts/FlashLoaner.sol
Run Code Online (Sandbox Code Playgroud)
闪贷者.sol:
Error HH606: The project cannot be compiled, see reasons below.
These files and its dependencies cannot be compiled with your config. This can happen because they have incompatible Solidity pragmas, or don't match any …
Run Code Online (Sandbox Code Playgroud)