Good Morning! Iam the developer of a smart contract called “Goomba Pirates” (0x9efbe52Af286C7880C090c747359C57179bfb9ab). The collection is live on OpenSea.io and I have been trying to verify it on PolygonScan for some days now (“Solidity (Single File)”, “MIT License”, Compiled with v0.8.7 and “Yes” for Optimization).
Unfortunately, I keep on getting the following errors when submitting it for verification:
Error! Unable to generate Contract ByteCode and ABI
Found the following ContractName(s) in source code : Address , Context , ERC165 , ERC721 , ERC721Enumerable , GoombaPirates , IERC165 , IERC721 , IERC721Enumerable , IERC721Metadata , IERC721Receiver , Ownable , Strings
But we were unable to locate a matching bytecode (err_code_2)
I did try to submit the codes that where provided in the section below (“ByteCode (what we are looking for)” / “vs what we got”), but unfortunately, that doesn’t seem to work either. When I enter the suggested “ByteCode”, I am getting the following error:
“Error! Invalid constructor arguments provided. Please verify that they are in ABI-encoded format”
Just dropping some links/info here that might be useful for now:
IPFS (Metadata): QmaxtWYhpYX6tAxCdmsqqaNXtdydafEWhYqEdokc5zw5M7
IPFS (Images): Qmc9dfGFg12vzpwRw87qNpDYsNazoLwnwxKKcNUY797f1F
Is there anyone here that’s able that has an idea what’s going on? It would be a great help!
Thanks a lot.