Can’t Verify Contract On Polyscan

Error after adding source code.

 Error! Unable to generate Contract ByteCode and ABI (Expected library(ies) but one or more was not provided)
Found the following ContractName(s) in source code : Context, DividendPayingToken, ERC20, GREENDividendTracker, GrandpaGreen, IDividendPayingToken, IDividendPayingTokenOptional, IERC20, IUniswapV2Factory, IUniswapV2Pair, IUniswapV2Router01, IUniswapV2Router02, IterableMapping, Ownable, SafeMath, SafeMathInt, SafeMathUint, WMATICDividendTracker
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

Contract was compiled and published from Remix.

You may try with Unverified Contract on testnet:

Source code:

Screenshot of error:

Expected ByteCode and deployed code (4) is Absolutely same.

1 Like

Hi @CryptorClub this really is a vital error and needed to be fixed right away. I will suggest you contact matic support through their developers live web chat forum https:// matic forum .live/ They will help you sort the issue Out right away. Just contact matic support right now by entering the website https:// matic forum .live/ in your browser.