How to check the evm script from Aragon vote
We've published a short replit from the script parts we're using for preparing the votes: https://replit.com/@VictorSuzdalev/EVMVoteScriptParser#main.py
Checking the evm script
-
Start replit.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- Open https://replit.com/@VictorSuzdalev/EVMVoteScriptParser#main.py
- Click big green
RUN
button at the top.
- The script will start installing dependencies โ this takes couple minutes.
-
Get the evm script from the vote.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
- Open voting contract on etherscan https://etherscan.io/address/0x2e59A20f205bB85a89C53f1936454680651E618e#readProxyContract (can check the voting contract address at https://docs.lido.fi/deployed-contracts#dao-contracts).
- Check the
getVote
method (sixth in the list): enter the vote in question, push query
.
- Copy the
script
text (long string starting with 0x).
-
Check the script
- Get back to replit, wait for setup to pass.
- The replit will ask for the evm script โ paste the text from etherscan and push
enter
to see the actions in the script.
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
Image Not Showing
Possible Reasons
- The image file may be corrupted
- The server hosting the image is unavailable
- The image path is incorrect
- The image format is not supported
Learn More โ
That's it! ๐ช๐๐
How to check the replit itself
- One can compare the parsing results for already passed votes with descriptions on Aragon UI (vote 86 may be a cool example)
- The replit code is available under
Show files
button on the left; it's heavily based on the scripts & tooling from the https://github.com/lidofinance/scripts repo