menu

Aragon

Aragon is the most powerful and modular way to run DAOs

Channels
# All channels
view-forward
# Announcements
view-forward
# App development
view-forward
# Aragon Agent
view-forward
# Aragon Client
view-forward
# Aragon Connect
view-forward
# aragonOS
view-forward
# aragonUI
view-forward
# Feature requests
view-forward
Team

How to verify aragon contracts on etherscan with inputs?

April 8, 2020 at 3:40pm

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
related to the questions you answered before
Edited
  • reply
  • like
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.
like-fill
1
  • reply
  • like
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.
like-fill
1
  • reply
  • like
Got it. Thank you!
  • reply
  • like