[英]why I cannot import this to my local file
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;
import "@chainlink/contracts/src/v0.6/tests/MockV3Aggregator.sol";
I cannot import this to my local artifact when I comile this as a mock, does anyone meet this before?当我将其编译为模拟时,我无法将其导入到我的本地工件中,以前有人遇到过吗?
Help!!!!!帮助!!!!!
I thnik the problem is that the compiler parses your code as javascript not as solidity我认为问题是编译器将您的代码解析为 javascript 而不是 solidity
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.