dao-contracts icon indicating copy to clipboard operation
dao-contracts copied to clipboard

BAD! Query by proposal status and voting status.

Open Buckram123 opened this issue 2 years ago • 0 comments

Ok, I think it's just absolutely worse than #412. Can't see any advantage, except gas, when wallet did miss a lot of proposals. But wanted to share the idea anyway! Maybe if I came up with a better abstraction...

The idea here is every Address have their own Map<proposal_id, Ballot>, which will give us faster iteration.

Buckram123 avatar Aug 18 '22 13:08 Buckram123