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:
https://ipfs.io/ipfs/QmetZFECpPYnqxeXjcmv2yRAXHhjnMFtq7AajZBj9undQW

Screenshot of error:

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

1 Like