@maci-protocol/website 0.0.0-ci.fc91dc9 → 0.0.0-ci.fd5247e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maci-protocol/website",
|
|
3
|
-
"version": "0.0.0-ci.
|
|
3
|
+
"version": "0.0.0-ci.fd5247e",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -61,5 +61,5 @@
|
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": ">=18.0"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "82107dafe2dcdb9d11a30402ca81db9605accdec"
|
|
65
65
|
}
|
|
@@ -1189,7 +1189,7 @@
|
|
|
1189
1189
|
"textAlign": "center",
|
|
1190
1190
|
"verticalAlign": "middle",
|
|
1191
1191
|
"containerId": "Ka6q_sOFuLWnYbQS69ZUD",
|
|
1192
|
-
"originalText": "
|
|
1192
|
+
"originalText": "currentPerVoteOptionSpentVoiceCredits",
|
|
1193
1193
|
"lineHeight": 1.25,
|
|
1194
1194
|
"baseline": 43
|
|
1195
1195
|
},
|
|
@@ -1259,7 +1259,7 @@
|
|
|
1259
1259
|
"textAlign": "center",
|
|
1260
1260
|
"verticalAlign": "middle",
|
|
1261
1261
|
"containerId": "FFbwZ9KFPAsGY6MsR7hzw",
|
|
1262
|
-
"originalText": "
|
|
1262
|
+
"originalText": "currentPerVoteOptionSpentVoiceCreditsRootSalt",
|
|
1263
1263
|
"lineHeight": 1.25,
|
|
1264
1264
|
"baseline": 43
|
|
1265
1265
|
},
|
|
@@ -1399,7 +1399,7 @@
|
|
|
1399
1399
|
"textAlign": "center",
|
|
1400
1400
|
"verticalAlign": "middle",
|
|
1401
1401
|
"containerId": "P8MkdLX2TZ0mzOyGUENvn",
|
|
1402
|
-
"originalText": "
|
|
1402
|
+
"originalText": "newPerVoteOptionSpentVoiceCreditsRootSalt",
|
|
1403
1403
|
"lineHeight": 1.25,
|
|
1404
1404
|
"baseline": 43
|
|
1405
1405
|
},
|
|
@@ -9103,7 +9103,7 @@
|
|
|
9103
9103
|
"textAlign": "center",
|
|
9104
9104
|
"verticalAlign": "middle",
|
|
9105
9105
|
"containerId": "YmzPJYWprUZQljBOVqXpA",
|
|
9106
|
-
"originalText": "
|
|
9106
|
+
"originalText": "currentPerVoteOptionSpentVoiceCredits (array of len 5 ** voteOptionTreeDepth)",
|
|
9107
9107
|
"lineHeight": 1.25,
|
|
9108
9108
|
"baseline": 93
|
|
9109
9109
|
},
|
|
@@ -9173,7 +9173,7 @@
|
|
|
9173
9173
|
"textAlign": "center",
|
|
9174
9174
|
"verticalAlign": "middle",
|
|
9175
9175
|
"containerId": "RhVKxQeKIVq3XFFbQdqOz",
|
|
9176
|
-
"originalText": "
|
|
9176
|
+
"originalText": "currentPerVoteOptionSpentVoiceCreditsRootSalt",
|
|
9177
9177
|
"lineHeight": 1.25,
|
|
9178
9178
|
"baseline": 43
|
|
9179
9179
|
},
|
|
@@ -9243,7 +9243,7 @@
|
|
|
9243
9243
|
"textAlign": "center",
|
|
9244
9244
|
"verticalAlign": "middle",
|
|
9245
9245
|
"containerId": "xJQ2p5b5ivfhgaFnfz4zB",
|
|
9246
|
-
"originalText": "
|
|
9246
|
+
"originalText": "newPerVoteOptionSpentVoiceCreditsRootSalt",
|
|
9247
9247
|
"lineHeight": 1.25,
|
|
9248
9248
|
"baseline": 43
|
|
9249
9249
|
},
|
|
@@ -9313,7 +9313,7 @@
|
|
|
9313
9313
|
"textAlign": "center",
|
|
9314
9314
|
"verticalAlign": "middle",
|
|
9315
9315
|
"containerId": "0HQ9uPXuwUodD7cUlnZvz",
|
|
9316
|
-
"originalText": "
|
|
9316
|
+
"originalText": "newPerVoteOptionSpentVoiceCredits (array of len 5 ** voteOptionTreeDepth)",
|
|
9317
9317
|
"lineHeight": 1.25,
|
|
9318
9318
|
"baseline": 68
|
|
9319
9319
|
},
|
|
@@ -9891,7 +9891,7 @@
|
|
|
9891
9891
|
"textAlign": "center",
|
|
9892
9892
|
"verticalAlign": "middle",
|
|
9893
9893
|
"containerId": "UH_pzDK5btI67K5tIpJcD",
|
|
9894
|
-
"originalText": "use QuinCheckRoot and pass all items in
|
|
9894
|
+
"originalText": "use QuinCheckRoot and pass all items in currentPerVoteOptionSpentVoiceCredits",
|
|
9895
9895
|
"lineHeight": 1.25,
|
|
9896
9896
|
"baseline": 93
|
|
9897
9897
|
},
|
|
@@ -11107,7 +11107,7 @@
|
|
|
11107
11107
|
"textAlign": "center",
|
|
11108
11108
|
"verticalAlign": "middle",
|
|
11109
11109
|
"containerId": "7r_7R5GsIuz_WZCd0FXJ-",
|
|
11110
|
-
"originalText": "use QuinCheckRoot and pass all items in
|
|
11110
|
+
"originalText": "use QuinCheckRoot and pass all items in currentPerVoteOptionSpentVoiceCredits",
|
|
11111
11111
|
"lineHeight": 1.25,
|
|
11112
11112
|
"baseline": 93
|
|
11113
11113
|
},
|
|
@@ -95,7 +95,7 @@ pollId = maciState.deployPoll(
|
|
|
95
95
|
|
|
96
96
|
```ts
|
|
97
97
|
const poll = maciState.polls[pollId];
|
|
98
|
-
const command1 = new
|
|
98
|
+
const command1 = new VoteCommand(
|
|
99
99
|
BigInt(user1StateIndex),
|
|
100
100
|
user1Keypair.publicKey,
|
|
101
101
|
user1VoteOptionIndex,
|
|
@@ -112,7 +112,7 @@ const sharedKey1 = Keypair.genEcdhSharedKey(ecdhKeypair1.privateKey, coordinator
|
|
|
112
112
|
const message1 = command1.encrypt(signature1, sharedKey1);
|
|
113
113
|
poll.publishMessage(message1, ecdhKeypair1.publicKey);
|
|
114
114
|
|
|
115
|
-
const command2 = new
|
|
115
|
+
const command2 = new VoteCommand(
|
|
116
116
|
BigInt(user2StateIndex),
|
|
117
117
|
user2Keypair.publicKey,
|
|
118
118
|
user2VoteOptionIndex,
|
|
@@ -134,7 +134,7 @@ poll.publishMessage(message2, ecdhKeypair2.publicKey);
|
|
|
134
134
|
|
|
135
135
|
```ts
|
|
136
136
|
const poll = maciState.polls[pollId];
|
|
137
|
-
const command = new
|
|
137
|
+
const command = new VoteCommand(
|
|
138
138
|
BigInt(user1StateIndex),
|
|
139
139
|
secondKeypair.publicKey,
|
|
140
140
|
user1VoteOptionIndex,
|