币安链合约验证时出现问题

Compiler debug log:
Error! Unable to generate Contract ByteCode and ABI (Expected library(ies) but one or more was not provided)
Found the following ContractName(s) in source code : Address , BULLDOGS , Context , IERC20 , IUniswapV2Factory , IUniswapV2Pair , IUniswapV2Router01 , IUniswapV2Router02 , Ownable , ReentrancyGuard , SafeMath , Utils
But we were unable to locate a matching bytecode (err_code_2)
For troubleshooting, you can try compiling your source code with the Remix - Solidity IDE and check for exceptions

提示是这样的,我手动对比 发现他需要的abicode和我提供的有一个变量差距 我提供的字节码 有一个变量 他需要的是变量替换为地址的数据。 这个变量是一个library Utils 应该替换为部署后的合约地址 请问我该怎么操作?
才能验证源码

请先 登录 后评论

1 个回答

Tiny熊
  擅长:智能合约,以太坊

不能编译通过, 应该代码上传有误吧 。

请先 登录 后评论
  • 1 关注
  • 0 收藏,296 浏览
  • hnbwww 提出于 2021-08-10 10:24