How to verify aragon contracts on etherscan with inputs?April 8, 2020 at 3:40pm (Edited 3 months ago)
I would like to verify on Etherscan the contracts that are deployed through the aragon.org interface.
How do I find the original (plaintext if you will) input arguments used when these contracts were deployed?
For example, for the Token Manager contract (https://rinkeby.etherscan.io/address/0xab393c75780bf85d2fccad6e4789570390dc9c23#code) or other apps that get installed into the DAO?
April 8, 2020 at 4:02pm
Hmm this one is a little bit more tricky because it involves many contracts and complex constructor arguments. Let me see if I can find a simple way for you to verify that.
Your contract is now verified :) There is no easy way unfortunately to get the constructor arguments for an Aragon app. What I did is look at the source code of AppProxyUpgradeable and the initialize() function of
TokenManager, then lookup the values manually on chain. If you get the arguments wrong, etherscan will display the value that it's looking for so you can copy paste it directly and try again.