1Hive / conviction-voting-app

Aragon app used to collectively allocate funds from a shared treasury 💧
93 stars 31 forks source link

Add Evm Script Execution functionality. #124

Closed willjgriff closed 3 years ago

willjgriff commented 3 years ago

Added Evm Script Execution functionality to proposals.

Note we must ensure the UI displays a warning when a proposal has the ability to execute an evm script. Ideally in the future we would want to include the radspec description of functions called in the evm script.

My thoughts regarding a UI are basically to indicate it would be for advanced users and allow the user to type the function they wish to call, including param types. We can parse the function they input to determine the params and display fields for each param. We can then create the evm script with the beneficiary as the target contract, the function signature, determined by the input function name and the params as input in the UI.