-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Metamask] call contract vote() function #53
Comments
This was actually already implemented in #54. The UI still doesn't show the transaction progress. I'm not sure how to make that work @AlexJupiter @LucasIsasmendi |
@AlexJupiter @LucasIsasmendi should we leave the "transaction in progress" to be implemented in this issue? |
@aecc, I believe so yes. It isn't recorded in any other ticket. |
ok, I leave this to you guys because I have no idea how to do it. The ideal scenario would be that the modal is not blocking, and that after clicking "submit", the progress is in the background (meanwhile you can browse) and some kind of notification is obtained when the transaction is done (remember we are talking about minutes in the main net) |
Closing this issue, to celebrate that this task has been done, and then going to open a new issue just related to the transaction statuses. |
Related issue: DemocracyEarth/wallet#90 |
When user selects chooses an option (
yes
orno
) and then clicks on thevote
button it triggers a metamask transaction. Vote function parameters are vote(aremsg.sender, ballotId, voteOption)The text was updated successfully, but these errors were encountered: