1

i am using remix to deploy this token. it compile and deployed to mainnet/testnet using remix. but when i try to verify the source code it gives me this error.

     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 : BABYCUBAN, BABYCUBANDividendTracker, Context, DividendPayingToken, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface, ERC20, IERC20, IERC20Metadata, IUniswapV2Factory, IUniswapV2Pair, IUniswapV2Router01, IUniswapV2Router02, IterableMapping, Ownable, SafeMath, SafeMathInt, SafeMathUint
But we were unable to locate a matching bytecode (err_code_2)

what am i missing.

here is the full code https://github.com/coderbang1/code-cuban/blob/main/code-cuban

1 Answer 1

1

maybe try this? It looks like you have the same problem thats described here https://forum.openzeppelin.com/t/how-to-verify-tiki-forks-on-etherscan-bscscan/12599

2
  • yes i got the library part but multiple files confused me...can you suggest me how to do this for this token?
    – stofu
    Commented Sep 1, 2021 at 20:53
  • Well you got the iterableMapping library as well, i think what happened for you is the exact thing described in this topic isnt it?
    – Foxxxey
    Commented Sep 1, 2021 at 22:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.