wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.18k stars 286 forks source link

how flatten TransparentUpgradeableProxy to use verify by source? #390

Open poonsak58 opened 1 year ago

poonsak58 commented 1 year ago

Describe the bug I deploy "OpenZeppelinTransparentProxy" and i want to verify TransparentUpgradeableProxy by source. i don't know where file i could to flatten. as well as ProxyAdmin.

i got error from explorer "Constructor arguments do not match, please try again."

why me not use "@nomiclabs/hardhat-etherscan". becuase chain i use it not support , it have only verify by source

versions

wighawag commented 1 year ago

you can find them here : https://github.com/wighawag/hardhat-deploy/blob/master/solc_0.8/

example : https://github.com/wighawag/hardhat-deploy/blob/master/solc_0.8/openzeppelin/proxy/transparent/TransparentUpgradeableProxy.sol