Verify Proxy on mainnet

Hi @surfer77,

Welcome to the community forum :wave:
Thanks for posting here.

I verified the ProxyAdmin on mainnet:

I copied the contracts from OpenZeppelin Upgrades Core to contracts/proxy, installed @openzeppelin/contracts@3.1.0 and verified using the Hardhat etherscan plugin (using this approach: Verify Upgrades Plugins proxy on Etherscan):

  • AdminUpgradeabilityProxy.sol
  • Proxy.sol
  • ProxyAdmin.sol
  • UpgradeabilityProxy.sol
$ npx hardhat verify --network mainnet 0x3206a055d7d2854aAa7eD8F25F6ab4FF3BF101CB
Nothing to compile
Successfully submitted source code for contract
contracts/proxy/ProxyAdmin.sol:ProxyAdmin at 0x3206a055d7d2854aAa7eD8F25F6ab4FF3BF101CB
for verification on etherscan. Waiting for verification result...
Successfully verified contract on etherscan

Your implementation contract doesn’t appear to be verified yet. I recommend verifying (Verify smart contract inheriting from OpenZeppelin Contracts) as you can then interact with your proxy contract.

1 Like