Verifying proxy contract : can we reach other status than " Similar Match Source Code "?

Hi :wave:

I am trying to verify the proxy of a smart contract on the BSC,

Followed the great instructions by @abcoathup I found at :

I am compiling the proxy contracts at 0.8.2, giving the arguments for the proxy constructor,

But I am always getting always this result :

NomicLabsHardhatPluginError: The Etherscan API responded with a failure status.
The verification may still succeed but should be checked manually.
Reason: Already Verified

Yet on the BSCScan The proxy contract stays at " Similar Match Source Code "

Is this the best "verification" status we can manage to get or can we get a " Contract Source Code Verified (Exact Match)" ? Like on this page :

Many thanks in advance :+1:

:computer: Environment

Hardhat
Solidity 0.8.9 (+ standard 0.8.2 for proxy)

Additional details : I am trying to verify a UUPS proxy contract

(so if I understand correctly there is no Proxy Admin constract to verify)

Did some of you ever got the " Contract Source Code Verified (Exact Match) " when verifying a proxy on BSCscan or you are stuck at " Similar Match Source Code " too ?

Tried multiple times with multiple proxies, I still striggle with this,

Anyone knows if it's possible to reach the Contract Source Code Verified (Exact Match) status ? Thanks in advance :blush::ok_hand:

Still couldn't manage to do it :neutral_face: If someone has an answer !..

Still struggling with this !! Would be super thankful for any hint :blush::ok_hand:

Up ! :call_me_hand: Still struggling with this..

Hi @Edouard, the error message The Etherscan API responded with a failure status. indicates it may be an Etherscan issue. It looks related to this: https://github.com/nomiclabs/hardhat/issues/2247. Can you try again with the latest version of hardhat-etherscan as mentioned in that issue?

1 Like

Ok thank you so much I will try this at once !