Skip to content
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

Voting options (Yes/No/Abstain) #296

Open
1 task done
mesudip opened this issue Jan 6, 2025 · 1 comment
Open
1 task done

Voting options (Yes/No/Abstain) #296

mesudip opened this issue Jan 6, 2025 · 1 comment
Assignees

Comments

@mesudip
Copy link
Contributor

mesudip commented Jan 6, 2025

For event trigger and manual trigger in Vote. Current implementation is only Yes.

Todo:

  • Give user option to chose the vote Yes/No/Abstain
@Sital999
Copy link
Collaborator

Sital999 commented Jan 6, 2025

Above mentioned options have been added and also refactored agent-node for supporting voting options in event based trigger.

Scenario when filter is matched
  • If voting option is provided during creation of event filter then provided voting option is used to trigger the voting function
  • Else 'Yes' option will be used to trigger the voting option

Along with that when filter is matched, voting for multiple proposals in a single transaction is supported.
( Note: Multiple proposals should appear in a single transaction while matching the filter)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants