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

Add queries needed for the tribute contract #19

Merged
merged 1 commit into from
Apr 22, 2024

Conversation

dusan-maksimovic
Copy link
Contributor

  • Proposal struct is extended with proposal_id field that is needed for tribute contract to determine if user voted for one of N top proposal when they want to claim their portion of tribute
  • Added new query UserVote so that tribute can determine what user voted for in the given round_id and tranche_id

Copy link
Member

@p-offtermatt p-offtermatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@dusan-maksimovic dusan-maksimovic merged commit f951a0f into main Apr 22, 2024
3 checks passed
@dusan-maksimovic dusan-maksimovic deleted the queries-for-tribute branch April 22, 2024 09:10
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

Successfully merging this pull request may close these issues.

2 participants