File tree Expand file tree Collapse file tree 1 file changed +12
-6
lines changed
docs/src/architecture/08_concepts/catalyst_voting Expand file tree Collapse file tree 1 file changed +12
-6
lines changed Original file line number Diff line number Diff line change 11vote_tx = [
2- network_id : UUID, ; e.g. Midnight, Catalyst etc.
2+ brand_id : UUID, ; e.g. Midnight, Catalyst etc.
33 campaign_id: UUID, ; e.g. Fund 1, Fund 2 etc.
4+ event_id: UUID, ;
5+ category_id: UUID,
6+ vote_type: UUID,
47 challenge_info,
58 votes,
6- ]
7-
8- challenge_info = [
9- challenge_id: UUID,
10- proposals: ? [+ UUID],
9+ voters_data: encoded_cbor
1110]
1211
1312votes = [+ vote]
1413vote = (public_vote / private_vote)
14+ ;---
15+ vote = [ choices, ? proof, ? prop_id ]
16+ choices = [ + choice ]
17+ choice = encoded-cbor
18+ ;---
1519
1620public_vote = [2* bool]
1721; public_vote = [2* scalar]
@@ -32,3 +36,5 @@ scalar = (bytes .size 32)
3236group_element = (bytes .size 32)
3337
3438UUID = #6.37(bytes) ; UUID type
39+
40+ #6.24( bstr( biguint ) )
You can’t perform that action at this time.
0 commit comments