Can someone please offer me some help or at least point me in the right direction? I have tried everything!!!
I can not verify my smart contract. I keep running into errors and have tried everything!
The contract address is 0xe6A1685E60c3547A19a77068DFaE8ec8b6A4DE3D
Have you checked the versions of ERC20 contract by OZ? The contract between your local environment and the one that is being verified can be different.
Thank you for replying! I have limited experience with smart contracts so I'm not entirely sure what you mean.
Do you mean the solidity version?
Sorry if that is a silly question but I have literally scrambled my brain trying to figure this out haha.
Solidity version is one thing, and the smart contract imported from OZ Library is another. It's not hard to spot a difference in the Solidity version, however, it is much more difficult to see the difference in OZ Library version. Make sure the contract you used to deploy on the blockchain has the same version with the one you used to verify.
It's because of the import. bscscan or whatever does NOT support imports. take the code from the imports so that there are NO more imports. it'll work then. Just paste it over your code
what do you mean take the code from the imports?
do you mean remove the entire import line?
paste what over the code? sorry i am really confused.
thanks for your help!
Hey!
Remove the import line and search for the code of the import on google. After that you'll find the code for the import. paste it in. the import itself will have imports too so you need to find the code for them and remove the import lines and replace with with code. It'll work then. you can also download the files and upload them as multiple files (haven't tryed that one). but the first works