Tying to Verify & Publish Contract Source Code on Etherscan using ETh - ERC 20
I used remix to deploy. I checked everything three times. The Compiler .8.20 was the same in the code and contract and verify. Enable Optimization was selected on both sides. I used the Version on the Zeplin Imports. At 5.0.0, etc
Flatened the Compiled contract code. The Flatened version compiled succesfully,
Environment ALL DONE with REMIX
I have never used and dont want to use Truffle, Hardhat
##ERROR
Compiler debug log:
Error! Unable to generate Contract Bytecode and ABI
Found the following ContractName(s) in source code : Checkpoints, Context, CryptoAdoptionToken, ECDSA, EIP712, ERC20, ERC20Burnable, ERC20Permit, ERC20Votes, IERC1155Errors, IERC20, IERC20Errors, IERC20Metadata, IERC20Permit, IERC5267, IERC5805, IERC6372, IERC721Errors, IVotes, Math, MessageHashUtils, Nonces, Ownable, SafeCast, ShortStrings, SignedMath, StorageSlot, Strings, Time, Votes
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
- Compiler Version: v0.8.20+commit.a1b79de6
- Optimization Enabled: True
- Runs: 200
Bytecode (what we are looking for):
610160604052600c80546001600160a01b031990811673e9c7b49dcb9193c