0

Using Openzeppelin CLI I created Upgradable Smart contract and Deployed it on my rinkeby Testnetwork thats all working fine.but after the deployment i check the source code of my contract on https://rinkeby.etherscan.io/ it shows my contract is verified and Note:

This contract matches the deployed ByteCode of the Source Code for Contract 0xEe03719900bcf6295871846DAe4711F7446b70C6.

And the source code which is on the etherscan is not my contract source code.

enter image description here

Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435

2 Answers2

0

Most likely your source code produces identical bytecode to an existing contract. I assume EtherScan only checks only for the first verified source code and byte code pair of a deployed contract.

This e.g. happens when you copy someone's else's code and only try to change some comments and naming.

Mikko Ohtamaa
  • 82,057
  • 50
  • 264
  • 435
0

It happens sometimes when you redeploy the same contract in remix. possible solution re verifies the contract again and go to https://etherscan.io/tokenapprovalchecker? to delete the old one or the new contract address