HashLips / solidity_smart_contracts

A list of smart contracts coded in solidity
MIT License
599 stars 491 forks source link

polygonscan verification error #10

Open stringcheeseslut opened 3 years ago

stringcheeseslut commented 3 years ago

trying to figure out how to resolve this issue. much appreciated in advance.

Compiler debug log: Error! Unable to generate Contract ByteCode and ABI (General Exception, unable to get compiled [bytecode]) For troubleshooting, you can try compiling your source code with the Remix - Solidity IDE and check for exceptions

ParserError: Source "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol" not found: File import callback not supported --> myc:7:1: | 7 | import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

ParserError: Source "@openzeppelin/contracts/access/Ownable.sol" not found: File import callback not supported --> myc:8:1: | 8 | import "@openzeppelin/contracts/access/Ownable.sol" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

sultan-710 commented 2 years ago

Yes i have the same issue when i wanna verify my contract address and i get the exact same error. plz anyone help :)

alessandrohk commented 2 years ago

same issue here, what should i do?