I'm trying to help a friend verify their smart contract. It originally had some github references for the imports for OZ. I took the contract, replaced the github links in Truffle, flattened it, and removed the extraeneous LIcense calls. However I still cannot verify the contract. I've tried every single combination of compilers 0.8.0 and higher, optimzed and unoptimized, and still can't get it to work. Anything else I can do here?
I do not have a problem relaunching and verifying on rinkeby, the problem I'm having is trying to figure out how to verify a contract that was previously not flattened and had github references for OZ imports. Even when I don't pass parameters, I cannot verify it on the main net.
I modified the contract you published, to be deployed in the main network, there is currently a problem with the verification, if you pass parameters to inherited constructors
I guess I'm confused sorry. The contract is already deployed and live, and people are minting NFTs on it. I'm not trying to redeploy it, just verify it.
that will be somewhat difficult, since the file has to be exactly the same as the one that was displayed, so it is recommended as soon as it is displayed to verify it, so that the file does not suffer alterations
I'm sorry, it cannot be verified, recommendations for future deployments, flatten the files and deploy the flattened file, verify the contract immediately after being moved,
the problem you raise has already been seen several times and in 100% of the cases it cannot be verified