Moonbeam / Moonbase Alpha UUPS Proxy verification

Hello OZ team @frangio,

I am trying to verify contracts using UUPS proxies on Moonbeam / Moonbase Alpha. In multiple forum posts I've seen that OZ is responsible for verifying the initially the proxies deployed so I'd like to ask to do the verification on Moonbeam network.

Thanks and regards,

:1234: Code to reproduce

Here's a sample for a UUPS proxy deployed on Moonbase Alpha:

I've been using hardhat upgrades plugin for deployment.
"hardhat": "^2.8.2"
"@openzeppelin/hardhat-upgrades": "^1.12.1",

:computer: Environment

Hi @adradr, We now offer a way for you to verify these without relying on us. Please look at the "Upgradeable Contracts and Proxies" section here:

Let me know if you need further help.

I was finally able to verify the @openzeppelin/hardhat-upgrades uups proxy on Moonbase Alpha.

I had to flatten the source ERC1967Proxy.sol from @openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol and encode the constructor arguments used with upgrades.deployProxy() using this:

Here's the contract on Moonbase Alpha:


1 Like