Skip to main content

Aragon Vote: Checking the EVM Script

We've published a short Replit from the script parts we're using for preparing the votes: EVMVoteScriptParser#main.py

Checking the EVM script

  1. Start Replit.

    1. Open the Replit script
    2. Click the big green RUN button at the top.
    3. The script will start installing dependencies — this takes a couple of minutes.
  2. Get the EVM script from the vote.

    1. Open voting contract on etherscan 0x2e59A20f205bB85a89C53f1936454680651E618e#readProxyContract (can check the voting contract address in Deployed contracts).
    2. Check the getVote method (sixth in the list): enter the vote in question, push query.
    3. Copy the script text (long string starting with 0x).
  3. Check the script

    1. Get back to Replit, wait for the setup to pass.
    2. The Replit will ask for the EVM script — paste the text from Etherscan and push enter to see the actions in the script.

That's it! 💪🎉🏝

How to check the Replit itself

  • One can compare the parsing results for already passed votes with descriptions on the Voting UI (vote #172 may be a cool example)
  • The Replit code is available under the Show files button on the left; it's heavily based on the scripts & tooling from the scripts repo