@nucypher/shared 0.1.0-rc.3 → 0.1.0-rc.4

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.
Files changed (41) hide show
  1. package/dist/cjs/contracts/ethers-typechain/Coordinator.d.ts +212 -212
  2. package/dist/cjs/contracts/ethers-typechain/GlobalAllowList.d.ts +98 -98
  3. package/dist/cjs/contracts/ethers-typechain/SubscriptionManager.d.ts +71 -71
  4. package/dist/cjs/contracts/ethers-typechain/common.d.ts +3 -3
  5. package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +3 -3
  6. package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js +683 -683
  7. package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
  8. package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +3 -3
  9. package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +244 -244
  10. package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
  11. package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.d.ts +3 -3
  12. package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.js +229 -229
  13. package/dist/cjs/contracts/ethers-typechain/factories/SubscriptionManager__factory.js.map +1 -1
  14. package/dist/cjs/contracts/ethers-typechain/factories/index.d.ts +3 -3
  15. package/dist/cjs/contracts/ethers-typechain/index.d.ts +7 -7
  16. package/dist/cjs/utils.d.ts +1 -1
  17. package/dist/cjs/utils.js +9 -9
  18. package/dist/cjs/utils.js.map +1 -1
  19. package/dist/es/contracts/ethers-typechain/Coordinator.d.ts +212 -212
  20. package/dist/es/contracts/ethers-typechain/GlobalAllowList.d.ts +98 -98
  21. package/dist/es/contracts/ethers-typechain/SubscriptionManager.d.ts +71 -71
  22. package/dist/es/contracts/ethers-typechain/common.d.ts +3 -3
  23. package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +3 -3
  24. package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js +684 -684
  25. package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
  26. package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +3 -3
  27. package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +245 -245
  28. package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
  29. package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.d.ts +3 -3
  30. package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.js +230 -230
  31. package/dist/es/contracts/ethers-typechain/factories/SubscriptionManager__factory.js.map +1 -1
  32. package/dist/es/contracts/ethers-typechain/factories/index.d.ts +3 -3
  33. package/dist/es/contracts/ethers-typechain/factories/index.js +3 -3
  34. package/dist/es/contracts/ethers-typechain/index.d.ts +7 -7
  35. package/dist/es/contracts/ethers-typechain/index.js +4 -4
  36. package/dist/es/utils.d.ts +1 -1
  37. package/dist/es/utils.js +7 -7
  38. package/dist/es/utils.js.map +1 -1
  39. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  40. package/dist/tsconfig.es.tsbuildinfo +1 -1
  41. package/package.json +3 -3
@@ -7,1422 +7,1422 @@ exports.Coordinator__factory = void 0;
7
7
  const ethers_1 = require("ethers");
8
8
  const _abi = [
9
9
  {
10
- type: "constructor",
11
- stateMutability: "nonpayable",
10
+ type: 'constructor',
11
+ stateMutability: 'nonpayable',
12
12
  inputs: [
13
13
  {
14
- name: "_application",
15
- type: "address",
16
- internalType: "contract ITACoChildApplication",
14
+ name: '_application',
15
+ type: 'address',
16
+ internalType: 'contract ITACoChildApplication',
17
17
  },
18
18
  {
19
- name: "_timeout",
20
- type: "uint32",
21
- internalType: "uint32",
19
+ name: '_timeout',
20
+ type: 'uint32',
21
+ internalType: 'uint32',
22
22
  },
23
23
  {
24
- name: "_maxDkgSize",
25
- type: "uint16",
26
- internalType: "uint16",
24
+ name: '_maxDkgSize',
25
+ type: 'uint16',
26
+ internalType: 'uint16',
27
27
  },
28
28
  {
29
- name: "_admin",
30
- type: "address",
31
- internalType: "address",
29
+ name: '_admin',
30
+ type: 'address',
31
+ internalType: 'address',
32
32
  },
33
33
  {
34
- name: "_currency",
35
- type: "address",
36
- internalType: "contract IERC20",
34
+ name: '_currency',
35
+ type: 'address',
36
+ internalType: 'contract IERC20',
37
37
  },
38
38
  {
39
- name: "_feeRatePerSecond",
40
- type: "uint256",
41
- internalType: "uint256",
39
+ name: '_feeRatePerSecond',
40
+ type: 'uint256',
41
+ internalType: 'uint256',
42
42
  },
43
43
  ],
44
44
  },
45
45
  {
46
- type: "event",
47
- name: "AggregationPosted",
46
+ type: 'event',
47
+ name: 'AggregationPosted',
48
48
  inputs: [
49
49
  {
50
- name: "ritualId",
51
- type: "uint32",
52
- internalType: "uint32",
50
+ name: 'ritualId',
51
+ type: 'uint32',
52
+ internalType: 'uint32',
53
53
  indexed: true,
54
54
  },
55
55
  {
56
- name: "node",
57
- type: "address",
58
- internalType: "address",
56
+ name: 'node',
57
+ type: 'address',
58
+ internalType: 'address',
59
59
  indexed: true,
60
60
  },
61
61
  {
62
- name: "aggregatedTranscriptDigest",
63
- type: "bytes32",
64
- internalType: "bytes32",
62
+ name: 'aggregatedTranscriptDigest',
63
+ type: 'bytes32',
64
+ internalType: 'bytes32',
65
65
  indexed: false,
66
66
  },
67
67
  ],
68
68
  anonymous: false,
69
69
  },
70
70
  {
71
- type: "event",
72
- name: "DefaultAdminDelayChangeCanceled",
71
+ type: 'event',
72
+ name: 'DefaultAdminDelayChangeCanceled',
73
73
  inputs: [],
74
74
  anonymous: false,
75
75
  },
76
76
  {
77
- type: "event",
78
- name: "DefaultAdminDelayChangeScheduled",
77
+ type: 'event',
78
+ name: 'DefaultAdminDelayChangeScheduled',
79
79
  inputs: [
80
80
  {
81
- name: "newDelay",
82
- type: "uint48",
83
- internalType: "uint48",
81
+ name: 'newDelay',
82
+ type: 'uint48',
83
+ internalType: 'uint48',
84
84
  indexed: false,
85
85
  },
86
86
  {
87
- name: "effectSchedule",
88
- type: "uint48",
89
- internalType: "uint48",
87
+ name: 'effectSchedule',
88
+ type: 'uint48',
89
+ internalType: 'uint48',
90
90
  indexed: false,
91
91
  },
92
92
  ],
93
93
  anonymous: false,
94
94
  },
95
95
  {
96
- type: "event",
97
- name: "DefaultAdminTransferCanceled",
96
+ type: 'event',
97
+ name: 'DefaultAdminTransferCanceled',
98
98
  inputs: [],
99
99
  anonymous: false,
100
100
  },
101
101
  {
102
- type: "event",
103
- name: "DefaultAdminTransferScheduled",
102
+ type: 'event',
103
+ name: 'DefaultAdminTransferScheduled',
104
104
  inputs: [
105
105
  {
106
- name: "newAdmin",
107
- type: "address",
108
- internalType: "address",
106
+ name: 'newAdmin',
107
+ type: 'address',
108
+ internalType: 'address',
109
109
  indexed: true,
110
110
  },
111
111
  {
112
- name: "acceptSchedule",
113
- type: "uint48",
114
- internalType: "uint48",
112
+ name: 'acceptSchedule',
113
+ type: 'uint48',
114
+ internalType: 'uint48',
115
115
  indexed: false,
116
116
  },
117
117
  ],
118
118
  anonymous: false,
119
119
  },
120
120
  {
121
- type: "event",
122
- name: "EndRitual",
121
+ type: 'event',
122
+ name: 'EndRitual',
123
123
  inputs: [
124
124
  {
125
- name: "ritualId",
126
- type: "uint32",
127
- internalType: "uint32",
125
+ name: 'ritualId',
126
+ type: 'uint32',
127
+ internalType: 'uint32',
128
128
  indexed: true,
129
129
  },
130
130
  {
131
- name: "successful",
132
- type: "bool",
133
- internalType: "bool",
131
+ name: 'successful',
132
+ type: 'bool',
133
+ internalType: 'bool',
134
134
  indexed: false,
135
135
  },
136
136
  ],
137
137
  anonymous: false,
138
138
  },
139
139
  {
140
- type: "event",
141
- name: "MaxDkgSizeChanged",
140
+ type: 'event',
141
+ name: 'MaxDkgSizeChanged',
142
142
  inputs: [
143
143
  {
144
- name: "oldSize",
145
- type: "uint16",
146
- internalType: "uint16",
144
+ name: 'oldSize',
145
+ type: 'uint16',
146
+ internalType: 'uint16',
147
147
  indexed: false,
148
148
  },
149
149
  {
150
- name: "newSize",
151
- type: "uint16",
152
- internalType: "uint16",
150
+ name: 'newSize',
151
+ type: 'uint16',
152
+ internalType: 'uint16',
153
153
  indexed: false,
154
154
  },
155
155
  ],
156
156
  anonymous: false,
157
157
  },
158
158
  {
159
- type: "event",
160
- name: "ParticipantPublicKeySet",
159
+ type: 'event',
160
+ name: 'ParticipantPublicKeySet',
161
161
  inputs: [
162
162
  {
163
- name: "ritualId",
164
- type: "uint32",
165
- internalType: "uint32",
163
+ name: 'ritualId',
164
+ type: 'uint32',
165
+ internalType: 'uint32',
166
166
  indexed: true,
167
167
  },
168
168
  {
169
- name: "participant",
170
- type: "address",
171
- internalType: "address",
169
+ name: 'participant',
170
+ type: 'address',
171
+ internalType: 'address',
172
172
  indexed: true,
173
173
  },
174
174
  {
175
- name: "publicKey",
176
- type: "tuple",
175
+ name: 'publicKey',
176
+ type: 'tuple',
177
177
  components: [
178
178
  {
179
- name: "word0",
180
- type: "bytes32",
181
- internalType: "bytes32",
179
+ name: 'word0',
180
+ type: 'bytes32',
181
+ internalType: 'bytes32',
182
182
  },
183
183
  {
184
- name: "word1",
185
- type: "bytes32",
186
- internalType: "bytes32",
184
+ name: 'word1',
185
+ type: 'bytes32',
186
+ internalType: 'bytes32',
187
187
  },
188
188
  {
189
- name: "word2",
190
- type: "bytes32",
191
- internalType: "bytes32",
189
+ name: 'word2',
190
+ type: 'bytes32',
191
+ internalType: 'bytes32',
192
192
  },
193
193
  ],
194
- internalType: "struct BLS12381.G2Point",
194
+ internalType: 'struct BLS12381.G2Point',
195
195
  indexed: false,
196
196
  },
197
197
  ],
198
198
  anonymous: false,
199
199
  },
200
200
  {
201
- type: "event",
202
- name: "RoleAdminChanged",
201
+ type: 'event',
202
+ name: 'RoleAdminChanged',
203
203
  inputs: [
204
204
  {
205
- name: "role",
206
- type: "bytes32",
207
- internalType: "bytes32",
205
+ name: 'role',
206
+ type: 'bytes32',
207
+ internalType: 'bytes32',
208
208
  indexed: true,
209
209
  },
210
210
  {
211
- name: "previousAdminRole",
212
- type: "bytes32",
213
- internalType: "bytes32",
211
+ name: 'previousAdminRole',
212
+ type: 'bytes32',
213
+ internalType: 'bytes32',
214
214
  indexed: true,
215
215
  },
216
216
  {
217
- name: "newAdminRole",
218
- type: "bytes32",
219
- internalType: "bytes32",
217
+ name: 'newAdminRole',
218
+ type: 'bytes32',
219
+ internalType: 'bytes32',
220
220
  indexed: true,
221
221
  },
222
222
  ],
223
223
  anonymous: false,
224
224
  },
225
225
  {
226
- type: "event",
227
- name: "RoleGranted",
226
+ type: 'event',
227
+ name: 'RoleGranted',
228
228
  inputs: [
229
229
  {
230
- name: "role",
231
- type: "bytes32",
232
- internalType: "bytes32",
230
+ name: 'role',
231
+ type: 'bytes32',
232
+ internalType: 'bytes32',
233
233
  indexed: true,
234
234
  },
235
235
  {
236
- name: "account",
237
- type: "address",
238
- internalType: "address",
236
+ name: 'account',
237
+ type: 'address',
238
+ internalType: 'address',
239
239
  indexed: true,
240
240
  },
241
241
  {
242
- name: "sender",
243
- type: "address",
244
- internalType: "address",
242
+ name: 'sender',
243
+ type: 'address',
244
+ internalType: 'address',
245
245
  indexed: true,
246
246
  },
247
247
  ],
248
248
  anonymous: false,
249
249
  },
250
250
  {
251
- type: "event",
252
- name: "RoleRevoked",
251
+ type: 'event',
252
+ name: 'RoleRevoked',
253
253
  inputs: [
254
254
  {
255
- name: "role",
256
- type: "bytes32",
257
- internalType: "bytes32",
255
+ name: 'role',
256
+ type: 'bytes32',
257
+ internalType: 'bytes32',
258
258
  indexed: true,
259
259
  },
260
260
  {
261
- name: "account",
262
- type: "address",
263
- internalType: "address",
261
+ name: 'account',
262
+ type: 'address',
263
+ internalType: 'address',
264
264
  indexed: true,
265
265
  },
266
266
  {
267
- name: "sender",
268
- type: "address",
269
- internalType: "address",
267
+ name: 'sender',
268
+ type: 'address',
269
+ internalType: 'address',
270
270
  indexed: true,
271
271
  },
272
272
  ],
273
273
  anonymous: false,
274
274
  },
275
275
  {
276
- type: "event",
277
- name: "StartAggregationRound",
276
+ type: 'event',
277
+ name: 'StartAggregationRound',
278
278
  inputs: [
279
279
  {
280
- name: "ritualId",
281
- type: "uint32",
282
- internalType: "uint32",
280
+ name: 'ritualId',
281
+ type: 'uint32',
282
+ internalType: 'uint32',
283
283
  indexed: true,
284
284
  },
285
285
  ],
286
286
  anonymous: false,
287
287
  },
288
288
  {
289
- type: "event",
290
- name: "StartRitual",
289
+ type: 'event',
290
+ name: 'StartRitual',
291
291
  inputs: [
292
292
  {
293
- name: "ritualId",
294
- type: "uint32",
295
- internalType: "uint32",
293
+ name: 'ritualId',
294
+ type: 'uint32',
295
+ internalType: 'uint32',
296
296
  indexed: true,
297
297
  },
298
298
  {
299
- name: "authority",
300
- type: "address",
301
- internalType: "address",
299
+ name: 'authority',
300
+ type: 'address',
301
+ internalType: 'address',
302
302
  indexed: true,
303
303
  },
304
304
  {
305
- name: "participants",
306
- type: "address[]",
307
- internalType: "address[]",
305
+ name: 'participants',
306
+ type: 'address[]',
307
+ internalType: 'address[]',
308
308
  indexed: false,
309
309
  },
310
310
  ],
311
311
  anonymous: false,
312
312
  },
313
313
  {
314
- type: "event",
315
- name: "TimeoutChanged",
314
+ type: 'event',
315
+ name: 'TimeoutChanged',
316
316
  inputs: [
317
317
  {
318
- name: "oldTimeout",
319
- type: "uint32",
320
- internalType: "uint32",
318
+ name: 'oldTimeout',
319
+ type: 'uint32',
320
+ internalType: 'uint32',
321
321
  indexed: false,
322
322
  },
323
323
  {
324
- name: "newTimeout",
325
- type: "uint32",
326
- internalType: "uint32",
324
+ name: 'newTimeout',
325
+ type: 'uint32',
326
+ internalType: 'uint32',
327
327
  indexed: false,
328
328
  },
329
329
  ],
330
330
  anonymous: false,
331
331
  },
332
332
  {
333
- type: "event",
334
- name: "TranscriptPosted",
333
+ type: 'event',
334
+ name: 'TranscriptPosted',
335
335
  inputs: [
336
336
  {
337
- name: "ritualId",
338
- type: "uint32",
339
- internalType: "uint32",
337
+ name: 'ritualId',
338
+ type: 'uint32',
339
+ internalType: 'uint32',
340
340
  indexed: true,
341
341
  },
342
342
  {
343
- name: "node",
344
- type: "address",
345
- internalType: "address",
343
+ name: 'node',
344
+ type: 'address',
345
+ internalType: 'address',
346
346
  indexed: true,
347
347
  },
348
348
  {
349
- name: "transcriptDigest",
350
- type: "bytes32",
351
- internalType: "bytes32",
349
+ name: 'transcriptDigest',
350
+ type: 'bytes32',
351
+ internalType: 'bytes32',
352
352
  indexed: false,
353
353
  },
354
354
  ],
355
355
  anonymous: false,
356
356
  },
357
357
  {
358
- type: "function",
359
- name: "DEFAULT_ADMIN_ROLE",
360
- stateMutability: "view",
358
+ type: 'function',
359
+ name: 'DEFAULT_ADMIN_ROLE',
360
+ stateMutability: 'view',
361
361
  inputs: [],
362
362
  outputs: [
363
363
  {
364
- name: "",
365
- type: "bytes32",
366
- internalType: "bytes32",
364
+ name: '',
365
+ type: 'bytes32',
366
+ internalType: 'bytes32',
367
367
  },
368
368
  ],
369
369
  },
370
370
  {
371
- type: "function",
372
- name: "INITIATOR_ROLE",
373
- stateMutability: "view",
371
+ type: 'function',
372
+ name: 'INITIATOR_ROLE',
373
+ stateMutability: 'view',
374
374
  inputs: [],
375
375
  outputs: [
376
376
  {
377
- name: "",
378
- type: "bytes32",
379
- internalType: "bytes32",
377
+ name: '',
378
+ type: 'bytes32',
379
+ internalType: 'bytes32',
380
380
  },
381
381
  ],
382
382
  },
383
383
  {
384
- type: "function",
385
- name: "TREASURY_ROLE",
386
- stateMutability: "view",
384
+ type: 'function',
385
+ name: 'TREASURY_ROLE',
386
+ stateMutability: 'view',
387
387
  inputs: [],
388
388
  outputs: [
389
389
  {
390
- name: "",
391
- type: "bytes32",
392
- internalType: "bytes32",
390
+ name: '',
391
+ type: 'bytes32',
392
+ internalType: 'bytes32',
393
393
  },
394
394
  ],
395
395
  },
396
396
  {
397
- type: "function",
398
- name: "acceptDefaultAdminTransfer",
399
- stateMutability: "nonpayable",
397
+ type: 'function',
398
+ name: 'acceptDefaultAdminTransfer',
399
+ stateMutability: 'nonpayable',
400
400
  inputs: [],
401
401
  outputs: [],
402
402
  },
403
403
  {
404
- type: "function",
405
- name: "application",
406
- stateMutability: "view",
404
+ type: 'function',
405
+ name: 'application',
406
+ stateMutability: 'view',
407
407
  inputs: [],
408
408
  outputs: [
409
409
  {
410
- name: "",
411
- type: "address",
412
- internalType: "contract ITACoChildApplication",
410
+ name: '',
411
+ type: 'address',
412
+ internalType: 'contract ITACoChildApplication',
413
413
  },
414
414
  ],
415
415
  },
416
416
  {
417
- type: "function",
418
- name: "beginDefaultAdminTransfer",
419
- stateMutability: "nonpayable",
417
+ type: 'function',
418
+ name: 'beginDefaultAdminTransfer',
419
+ stateMutability: 'nonpayable',
420
420
  inputs: [
421
421
  {
422
- name: "newAdmin",
423
- type: "address",
424
- internalType: "address",
422
+ name: 'newAdmin',
423
+ type: 'address',
424
+ internalType: 'address',
425
425
  },
426
426
  ],
427
427
  outputs: [],
428
428
  },
429
429
  {
430
- type: "function",
431
- name: "cancelDefaultAdminTransfer",
432
- stateMutability: "nonpayable",
430
+ type: 'function',
431
+ name: 'cancelDefaultAdminTransfer',
432
+ stateMutability: 'nonpayable',
433
433
  inputs: [],
434
434
  outputs: [],
435
435
  },
436
436
  {
437
- type: "function",
438
- name: "changeDefaultAdminDelay",
439
- stateMutability: "nonpayable",
437
+ type: 'function',
438
+ name: 'changeDefaultAdminDelay',
439
+ stateMutability: 'nonpayable',
440
440
  inputs: [
441
441
  {
442
- name: "newDelay",
443
- type: "uint48",
444
- internalType: "uint48",
442
+ name: 'newDelay',
443
+ type: 'uint48',
444
+ internalType: 'uint48',
445
445
  },
446
446
  ],
447
447
  outputs: [],
448
448
  },
449
449
  {
450
- type: "function",
451
- name: "cohortFingerprint",
452
- stateMutability: "pure",
450
+ type: 'function',
451
+ name: 'cohortFingerprint',
452
+ stateMutability: 'pure',
453
453
  inputs: [
454
454
  {
455
- name: "nodes",
456
- type: "address[]",
457
- internalType: "address[]",
455
+ name: 'nodes',
456
+ type: 'address[]',
457
+ internalType: 'address[]',
458
458
  },
459
459
  ],
460
460
  outputs: [
461
461
  {
462
- name: "",
463
- type: "bytes32",
464
- internalType: "bytes32",
462
+ name: '',
463
+ type: 'bytes32',
464
+ internalType: 'bytes32',
465
465
  },
466
466
  ],
467
467
  },
468
468
  {
469
- type: "function",
470
- name: "currency",
471
- stateMutability: "view",
469
+ type: 'function',
470
+ name: 'currency',
471
+ stateMutability: 'view',
472
472
  inputs: [],
473
473
  outputs: [
474
474
  {
475
- name: "",
476
- type: "address",
477
- internalType: "contract IERC20",
475
+ name: '',
476
+ type: 'address',
477
+ internalType: 'contract IERC20',
478
478
  },
479
479
  ],
480
480
  },
481
481
  {
482
- type: "function",
483
- name: "defaultAdmin",
484
- stateMutability: "view",
482
+ type: 'function',
483
+ name: 'defaultAdmin',
484
+ stateMutability: 'view',
485
485
  inputs: [],
486
486
  outputs: [
487
487
  {
488
- name: "",
489
- type: "address",
490
- internalType: "address",
488
+ name: '',
489
+ type: 'address',
490
+ internalType: 'address',
491
491
  },
492
492
  ],
493
493
  },
494
494
  {
495
- type: "function",
496
- name: "defaultAdminDelay",
497
- stateMutability: "view",
495
+ type: 'function',
496
+ name: 'defaultAdminDelay',
497
+ stateMutability: 'view',
498
498
  inputs: [],
499
499
  outputs: [
500
500
  {
501
- name: "",
502
- type: "uint48",
503
- internalType: "uint48",
501
+ name: '',
502
+ type: 'uint48',
503
+ internalType: 'uint48',
504
504
  },
505
505
  ],
506
506
  },
507
507
  {
508
- type: "function",
509
- name: "defaultAdminDelayIncreaseWait",
510
- stateMutability: "view",
508
+ type: 'function',
509
+ name: 'defaultAdminDelayIncreaseWait',
510
+ stateMutability: 'view',
511
511
  inputs: [],
512
512
  outputs: [
513
513
  {
514
- name: "",
515
- type: "uint48",
516
- internalType: "uint48",
514
+ name: '',
515
+ type: 'uint48',
516
+ internalType: 'uint48',
517
517
  },
518
518
  ],
519
519
  },
520
520
  {
521
- type: "function",
522
- name: "feeRatePerSecond",
523
- stateMutability: "view",
521
+ type: 'function',
522
+ name: 'feeRatePerSecond',
523
+ stateMutability: 'view',
524
524
  inputs: [],
525
525
  outputs: [
526
526
  {
527
- name: "",
528
- type: "uint256",
529
- internalType: "uint256",
527
+ name: '',
528
+ type: 'uint256',
529
+ internalType: 'uint256',
530
530
  },
531
531
  ],
532
532
  },
533
533
  {
534
- type: "function",
535
- name: "getAuthority",
536
- stateMutability: "view",
534
+ type: 'function',
535
+ name: 'getAuthority',
536
+ stateMutability: 'view',
537
537
  inputs: [
538
538
  {
539
- name: "ritualId",
540
- type: "uint32",
541
- internalType: "uint32",
539
+ name: 'ritualId',
540
+ type: 'uint32',
541
+ internalType: 'uint32',
542
542
  },
543
543
  ],
544
544
  outputs: [
545
545
  {
546
- name: "",
547
- type: "address",
548
- internalType: "address",
546
+ name: '',
547
+ type: 'address',
548
+ internalType: 'address',
549
549
  },
550
550
  ],
551
551
  },
552
552
  {
553
- type: "function",
554
- name: "getParticipantFromProvider",
555
- stateMutability: "view",
553
+ type: 'function',
554
+ name: 'getParticipantFromProvider',
555
+ stateMutability: 'view',
556
556
  inputs: [
557
557
  {
558
- name: "ritualId",
559
- type: "uint32",
560
- internalType: "uint32",
558
+ name: 'ritualId',
559
+ type: 'uint32',
560
+ internalType: 'uint32',
561
561
  },
562
562
  {
563
- name: "provider",
564
- type: "address",
565
- internalType: "address",
563
+ name: 'provider',
564
+ type: 'address',
565
+ internalType: 'address',
566
566
  },
567
567
  ],
568
568
  outputs: [
569
569
  {
570
- name: "",
571
- type: "tuple",
570
+ name: '',
571
+ type: 'tuple',
572
572
  components: [
573
573
  {
574
- name: "provider",
575
- type: "address",
576
- internalType: "address",
574
+ name: 'provider',
575
+ type: 'address',
576
+ internalType: 'address',
577
577
  },
578
578
  {
579
- name: "aggregated",
580
- type: "bool",
581
- internalType: "bool",
579
+ name: 'aggregated',
580
+ type: 'bool',
581
+ internalType: 'bool',
582
582
  },
583
583
  {
584
- name: "transcript",
585
- type: "bytes",
586
- internalType: "bytes",
584
+ name: 'transcript',
585
+ type: 'bytes',
586
+ internalType: 'bytes',
587
587
  },
588
588
  {
589
- name: "decryptionRequestStaticKey",
590
- type: "bytes",
591
- internalType: "bytes",
589
+ name: 'decryptionRequestStaticKey',
590
+ type: 'bytes',
591
+ internalType: 'bytes',
592
592
  },
593
593
  ],
594
- internalType: "struct Coordinator.Participant",
594
+ internalType: 'struct Coordinator.Participant',
595
595
  },
596
596
  ],
597
597
  },
598
598
  {
599
- type: "function",
600
- name: "getParticipants",
601
- stateMutability: "view",
599
+ type: 'function',
600
+ name: 'getParticipants',
601
+ stateMutability: 'view',
602
602
  inputs: [
603
603
  {
604
- name: "ritualId",
605
- type: "uint32",
606
- internalType: "uint32",
604
+ name: 'ritualId',
605
+ type: 'uint32',
606
+ internalType: 'uint32',
607
607
  },
608
608
  ],
609
609
  outputs: [
610
610
  {
611
- name: "",
612
- type: "tuple[]",
611
+ name: '',
612
+ type: 'tuple[]',
613
613
  components: [
614
614
  {
615
- name: "provider",
616
- type: "address",
617
- internalType: "address",
615
+ name: 'provider',
616
+ type: 'address',
617
+ internalType: 'address',
618
618
  },
619
619
  {
620
- name: "aggregated",
621
- type: "bool",
622
- internalType: "bool",
620
+ name: 'aggregated',
621
+ type: 'bool',
622
+ internalType: 'bool',
623
623
  },
624
624
  {
625
- name: "transcript",
626
- type: "bytes",
627
- internalType: "bytes",
625
+ name: 'transcript',
626
+ type: 'bytes',
627
+ internalType: 'bytes',
628
628
  },
629
629
  {
630
- name: "decryptionRequestStaticKey",
631
- type: "bytes",
632
- internalType: "bytes",
630
+ name: 'decryptionRequestStaticKey',
631
+ type: 'bytes',
632
+ internalType: 'bytes',
633
633
  },
634
634
  ],
635
- internalType: "struct Coordinator.Participant[]",
635
+ internalType: 'struct Coordinator.Participant[]',
636
636
  },
637
637
  ],
638
638
  },
639
639
  {
640
- type: "function",
641
- name: "getProviderPublicKey",
642
- stateMutability: "view",
640
+ type: 'function',
641
+ name: 'getProviderPublicKey',
642
+ stateMutability: 'view',
643
643
  inputs: [
644
644
  {
645
- name: "_provider",
646
- type: "address",
647
- internalType: "address",
645
+ name: '_provider',
646
+ type: 'address',
647
+ internalType: 'address',
648
648
  },
649
649
  {
650
- name: "_ritualId",
651
- type: "uint256",
652
- internalType: "uint256",
650
+ name: '_ritualId',
651
+ type: 'uint256',
652
+ internalType: 'uint256',
653
653
  },
654
654
  ],
655
655
  outputs: [
656
656
  {
657
- name: "",
658
- type: "tuple",
657
+ name: '',
658
+ type: 'tuple',
659
659
  components: [
660
660
  {
661
- name: "word0",
662
- type: "bytes32",
663
- internalType: "bytes32",
661
+ name: 'word0',
662
+ type: 'bytes32',
663
+ internalType: 'bytes32',
664
664
  },
665
665
  {
666
- name: "word1",
667
- type: "bytes32",
668
- internalType: "bytes32",
666
+ name: 'word1',
667
+ type: 'bytes32',
668
+ internalType: 'bytes32',
669
669
  },
670
670
  {
671
- name: "word2",
672
- type: "bytes32",
673
- internalType: "bytes32",
671
+ name: 'word2',
672
+ type: 'bytes32',
673
+ internalType: 'bytes32',
674
674
  },
675
675
  ],
676
- internalType: "struct BLS12381.G2Point",
676
+ internalType: 'struct BLS12381.G2Point',
677
677
  },
678
678
  ],
679
679
  },
680
680
  {
681
- type: "function",
682
- name: "getPublicKeyFromRitualId",
683
- stateMutability: "view",
681
+ type: 'function',
682
+ name: 'getPublicKeyFromRitualId',
683
+ stateMutability: 'view',
684
684
  inputs: [
685
685
  {
686
- name: "ritualId",
687
- type: "uint32",
688
- internalType: "uint32",
686
+ name: 'ritualId',
687
+ type: 'uint32',
688
+ internalType: 'uint32',
689
689
  },
690
690
  ],
691
691
  outputs: [
692
692
  {
693
- name: "dkgPublicKey",
694
- type: "tuple",
693
+ name: 'dkgPublicKey',
694
+ type: 'tuple',
695
695
  components: [
696
696
  {
697
- name: "word0",
698
- type: "bytes32",
699
- internalType: "bytes32",
697
+ name: 'word0',
698
+ type: 'bytes32',
699
+ internalType: 'bytes32',
700
700
  },
701
701
  {
702
- name: "word1",
703
- type: "bytes16",
704
- internalType: "bytes16",
702
+ name: 'word1',
703
+ type: 'bytes16',
704
+ internalType: 'bytes16',
705
705
  },
706
706
  ],
707
- internalType: "struct BLS12381.G1Point",
707
+ internalType: 'struct BLS12381.G1Point',
708
708
  },
709
709
  ],
710
710
  },
711
711
  {
712
- type: "function",
713
- name: "getRitualIdFromPublicKey",
714
- stateMutability: "view",
712
+ type: 'function',
713
+ name: 'getRitualIdFromPublicKey',
714
+ stateMutability: 'view',
715
715
  inputs: [
716
716
  {
717
- name: "dkgPublicKey",
718
- type: "tuple",
717
+ name: 'dkgPublicKey',
718
+ type: 'tuple',
719
719
  components: [
720
720
  {
721
- name: "word0",
722
- type: "bytes32",
723
- internalType: "bytes32",
721
+ name: 'word0',
722
+ type: 'bytes32',
723
+ internalType: 'bytes32',
724
724
  },
725
725
  {
726
- name: "word1",
727
- type: "bytes16",
728
- internalType: "bytes16",
726
+ name: 'word1',
727
+ type: 'bytes16',
728
+ internalType: 'bytes16',
729
729
  },
730
730
  ],
731
- internalType: "struct BLS12381.G1Point",
731
+ internalType: 'struct BLS12381.G1Point',
732
732
  },
733
733
  ],
734
734
  outputs: [
735
735
  {
736
- name: "ritualId",
737
- type: "uint32",
738
- internalType: "uint32",
736
+ name: 'ritualId',
737
+ type: 'uint32',
738
+ internalType: 'uint32',
739
739
  },
740
740
  ],
741
741
  },
742
742
  {
743
- type: "function",
744
- name: "getRitualInitiationCost",
745
- stateMutability: "view",
743
+ type: 'function',
744
+ name: 'getRitualInitiationCost',
745
+ stateMutability: 'view',
746
746
  inputs: [
747
747
  {
748
- name: "providers",
749
- type: "address[]",
750
- internalType: "address[]",
748
+ name: 'providers',
749
+ type: 'address[]',
750
+ internalType: 'address[]',
751
751
  },
752
752
  {
753
- name: "duration",
754
- type: "uint32",
755
- internalType: "uint32",
753
+ name: 'duration',
754
+ type: 'uint32',
755
+ internalType: 'uint32',
756
756
  },
757
757
  ],
758
758
  outputs: [
759
759
  {
760
- name: "",
761
- type: "uint256",
762
- internalType: "uint256",
760
+ name: '',
761
+ type: 'uint256',
762
+ internalType: 'uint256',
763
763
  },
764
764
  ],
765
765
  },
766
766
  {
767
- type: "function",
768
- name: "getRitualState",
769
- stateMutability: "view",
767
+ type: 'function',
768
+ name: 'getRitualState',
769
+ stateMutability: 'view',
770
770
  inputs: [
771
771
  {
772
- name: "ritualId",
773
- type: "uint32",
774
- internalType: "uint32",
772
+ name: 'ritualId',
773
+ type: 'uint32',
774
+ internalType: 'uint32',
775
775
  },
776
776
  ],
777
777
  outputs: [
778
778
  {
779
- name: "",
780
- type: "uint8",
781
- internalType: "enum Coordinator.RitualState",
779
+ name: '',
780
+ type: 'uint8',
781
+ internalType: 'enum Coordinator.RitualState',
782
782
  },
783
783
  ],
784
784
  },
785
785
  {
786
- type: "function",
787
- name: "getRoleAdmin",
788
- stateMutability: "view",
786
+ type: 'function',
787
+ name: 'getRoleAdmin',
788
+ stateMutability: 'view',
789
789
  inputs: [
790
790
  {
791
- name: "role",
792
- type: "bytes32",
793
- internalType: "bytes32",
791
+ name: 'role',
792
+ type: 'bytes32',
793
+ internalType: 'bytes32',
794
794
  },
795
795
  ],
796
796
  outputs: [
797
797
  {
798
- name: "",
799
- type: "bytes32",
800
- internalType: "bytes32",
798
+ name: '',
799
+ type: 'bytes32',
800
+ internalType: 'bytes32',
801
801
  },
802
802
  ],
803
803
  },
804
804
  {
805
- type: "function",
806
- name: "getThresholdForRitualSize",
807
- stateMutability: "pure",
805
+ type: 'function',
806
+ name: 'getThresholdForRitualSize',
807
+ stateMutability: 'pure',
808
808
  inputs: [
809
809
  {
810
- name: "size",
811
- type: "uint16",
812
- internalType: "uint16",
810
+ name: 'size',
811
+ type: 'uint16',
812
+ internalType: 'uint16',
813
813
  },
814
814
  ],
815
815
  outputs: [
816
816
  {
817
- name: "",
818
- type: "uint16",
819
- internalType: "uint16",
817
+ name: '',
818
+ type: 'uint16',
819
+ internalType: 'uint16',
820
820
  },
821
821
  ],
822
822
  },
823
823
  {
824
- type: "function",
825
- name: "grantRole",
826
- stateMutability: "nonpayable",
824
+ type: 'function',
825
+ name: 'grantRole',
826
+ stateMutability: 'nonpayable',
827
827
  inputs: [
828
828
  {
829
- name: "role",
830
- type: "bytes32",
831
- internalType: "bytes32",
829
+ name: 'role',
830
+ type: 'bytes32',
831
+ internalType: 'bytes32',
832
832
  },
833
833
  {
834
- name: "account",
835
- type: "address",
836
- internalType: "address",
834
+ name: 'account',
835
+ type: 'address',
836
+ internalType: 'address',
837
837
  },
838
838
  ],
839
839
  outputs: [],
840
840
  },
841
841
  {
842
- type: "function",
843
- name: "hasRole",
844
- stateMutability: "view",
842
+ type: 'function',
843
+ name: 'hasRole',
844
+ stateMutability: 'view',
845
845
  inputs: [
846
846
  {
847
- name: "role",
848
- type: "bytes32",
849
- internalType: "bytes32",
847
+ name: 'role',
848
+ type: 'bytes32',
849
+ internalType: 'bytes32',
850
850
  },
851
851
  {
852
- name: "account",
853
- type: "address",
854
- internalType: "address",
852
+ name: 'account',
853
+ type: 'address',
854
+ internalType: 'address',
855
855
  },
856
856
  ],
857
857
  outputs: [
858
858
  {
859
- name: "",
860
- type: "bool",
861
- internalType: "bool",
859
+ name: '',
860
+ type: 'bool',
861
+ internalType: 'bool',
862
862
  },
863
863
  ],
864
864
  },
865
865
  {
866
- type: "function",
867
- name: "initiateRitual",
868
- stateMutability: "nonpayable",
866
+ type: 'function',
867
+ name: 'initiateRitual',
868
+ stateMutability: 'nonpayable',
869
869
  inputs: [
870
870
  {
871
- name: "providers",
872
- type: "address[]",
873
- internalType: "address[]",
871
+ name: 'providers',
872
+ type: 'address[]',
873
+ internalType: 'address[]',
874
874
  },
875
875
  {
876
- name: "authority",
877
- type: "address",
878
- internalType: "address",
876
+ name: 'authority',
877
+ type: 'address',
878
+ internalType: 'address',
879
879
  },
880
880
  {
881
- name: "duration",
882
- type: "uint32",
883
- internalType: "uint32",
881
+ name: 'duration',
882
+ type: 'uint32',
883
+ internalType: 'uint32',
884
884
  },
885
885
  {
886
- name: "accessController",
887
- type: "address",
888
- internalType: "contract IEncryptionAuthorizer",
886
+ name: 'accessController',
887
+ type: 'address',
888
+ internalType: 'contract IEncryptionAuthorizer',
889
889
  },
890
890
  ],
891
891
  outputs: [
892
892
  {
893
- name: "",
894
- type: "uint32",
895
- internalType: "uint32",
893
+ name: '',
894
+ type: 'uint32',
895
+ internalType: 'uint32',
896
896
  },
897
897
  ],
898
898
  },
899
899
  {
900
- type: "function",
901
- name: "isEncryptionAuthorized",
902
- stateMutability: "view",
900
+ type: 'function',
901
+ name: 'isEncryptionAuthorized',
902
+ stateMutability: 'view',
903
903
  inputs: [
904
904
  {
905
- name: "ritualId",
906
- type: "uint32",
907
- internalType: "uint32",
905
+ name: 'ritualId',
906
+ type: 'uint32',
907
+ internalType: 'uint32',
908
908
  },
909
909
  {
910
- name: "evidence",
911
- type: "bytes",
912
- internalType: "bytes",
910
+ name: 'evidence',
911
+ type: 'bytes',
912
+ internalType: 'bytes',
913
913
  },
914
914
  {
915
- name: "ciphertextHeader",
916
- type: "bytes",
917
- internalType: "bytes",
915
+ name: 'ciphertextHeader',
916
+ type: 'bytes',
917
+ internalType: 'bytes',
918
918
  },
919
919
  ],
920
920
  outputs: [
921
921
  {
922
- name: "",
923
- type: "bool",
924
- internalType: "bool",
922
+ name: '',
923
+ type: 'bool',
924
+ internalType: 'bool',
925
925
  },
926
926
  ],
927
927
  },
928
928
  {
929
- type: "function",
930
- name: "isInitiationPublic",
931
- stateMutability: "view",
929
+ type: 'function',
930
+ name: 'isInitiationPublic',
931
+ stateMutability: 'view',
932
932
  inputs: [],
933
933
  outputs: [
934
934
  {
935
- name: "",
936
- type: "bool",
937
- internalType: "bool",
935
+ name: '',
936
+ type: 'bool',
937
+ internalType: 'bool',
938
938
  },
939
939
  ],
940
940
  },
941
941
  {
942
- type: "function",
943
- name: "isProviderPublicKeySet",
944
- stateMutability: "view",
942
+ type: 'function',
943
+ name: 'isProviderPublicKeySet',
944
+ stateMutability: 'view',
945
945
  inputs: [
946
946
  {
947
- name: "_provider",
948
- type: "address",
949
- internalType: "address",
947
+ name: '_provider',
948
+ type: 'address',
949
+ internalType: 'address',
950
950
  },
951
951
  ],
952
952
  outputs: [
953
953
  {
954
- name: "",
955
- type: "bool",
956
- internalType: "bool",
954
+ name: '',
955
+ type: 'bool',
956
+ internalType: 'bool',
957
957
  },
958
958
  ],
959
959
  },
960
960
  {
961
- type: "function",
962
- name: "isRitualFinalized",
963
- stateMutability: "view",
961
+ type: 'function',
962
+ name: 'isRitualFinalized',
963
+ stateMutability: 'view',
964
964
  inputs: [
965
965
  {
966
- name: "ritualId",
967
- type: "uint32",
968
- internalType: "uint32",
966
+ name: 'ritualId',
967
+ type: 'uint32',
968
+ internalType: 'uint32',
969
969
  },
970
970
  ],
971
971
  outputs: [
972
972
  {
973
- name: "",
974
- type: "bool",
975
- internalType: "bool",
973
+ name: '',
974
+ type: 'bool',
975
+ internalType: 'bool',
976
976
  },
977
977
  ],
978
978
  },
979
979
  {
980
- type: "function",
981
- name: "makeInitiationPublic",
982
- stateMutability: "nonpayable",
980
+ type: 'function',
981
+ name: 'makeInitiationPublic',
982
+ stateMutability: 'nonpayable',
983
983
  inputs: [],
984
984
  outputs: [],
985
985
  },
986
986
  {
987
- type: "function",
988
- name: "maxDkgSize",
989
- stateMutability: "view",
987
+ type: 'function',
988
+ name: 'maxDkgSize',
989
+ stateMutability: 'view',
990
990
  inputs: [],
991
991
  outputs: [
992
992
  {
993
- name: "",
994
- type: "uint16",
995
- internalType: "uint16",
993
+ name: '',
994
+ type: 'uint16',
995
+ internalType: 'uint16',
996
996
  },
997
997
  ],
998
998
  },
999
999
  {
1000
- type: "function",
1001
- name: "numberOfRituals",
1002
- stateMutability: "view",
1000
+ type: 'function',
1001
+ name: 'numberOfRituals',
1002
+ stateMutability: 'view',
1003
1003
  inputs: [],
1004
1004
  outputs: [
1005
1005
  {
1006
- name: "",
1007
- type: "uint256",
1008
- internalType: "uint256",
1006
+ name: '',
1007
+ type: 'uint256',
1008
+ internalType: 'uint256',
1009
1009
  },
1010
1010
  ],
1011
1011
  },
1012
1012
  {
1013
- type: "function",
1014
- name: "owner",
1015
- stateMutability: "view",
1013
+ type: 'function',
1014
+ name: 'owner',
1015
+ stateMutability: 'view',
1016
1016
  inputs: [],
1017
1017
  outputs: [
1018
1018
  {
1019
- name: "",
1020
- type: "address",
1021
- internalType: "address",
1019
+ name: '',
1020
+ type: 'address',
1021
+ internalType: 'address',
1022
1022
  },
1023
1023
  ],
1024
1024
  },
1025
1025
  {
1026
- type: "function",
1027
- name: "pendingDefaultAdmin",
1028
- stateMutability: "view",
1026
+ type: 'function',
1027
+ name: 'pendingDefaultAdmin',
1028
+ stateMutability: 'view',
1029
1029
  inputs: [],
1030
1030
  outputs: [
1031
1031
  {
1032
- name: "newAdmin",
1033
- type: "address",
1034
- internalType: "address",
1032
+ name: 'newAdmin',
1033
+ type: 'address',
1034
+ internalType: 'address',
1035
1035
  },
1036
1036
  {
1037
- name: "schedule",
1038
- type: "uint48",
1039
- internalType: "uint48",
1037
+ name: 'schedule',
1038
+ type: 'uint48',
1039
+ internalType: 'uint48',
1040
1040
  },
1041
1041
  ],
1042
1042
  },
1043
1043
  {
1044
- type: "function",
1045
- name: "pendingDefaultAdminDelay",
1046
- stateMutability: "view",
1044
+ type: 'function',
1045
+ name: 'pendingDefaultAdminDelay',
1046
+ stateMutability: 'view',
1047
1047
  inputs: [],
1048
1048
  outputs: [
1049
1049
  {
1050
- name: "newDelay",
1051
- type: "uint48",
1052
- internalType: "uint48",
1050
+ name: 'newDelay',
1051
+ type: 'uint48',
1052
+ internalType: 'uint48',
1053
1053
  },
1054
1054
  {
1055
- name: "schedule",
1056
- type: "uint48",
1057
- internalType: "uint48",
1055
+ name: 'schedule',
1056
+ type: 'uint48',
1057
+ internalType: 'uint48',
1058
1058
  },
1059
1059
  ],
1060
1060
  },
1061
1061
  {
1062
- type: "function",
1063
- name: "pendingFees",
1064
- stateMutability: "view",
1062
+ type: 'function',
1063
+ name: 'pendingFees',
1064
+ stateMutability: 'view',
1065
1065
  inputs: [
1066
1066
  {
1067
- name: "",
1068
- type: "uint256",
1069
- internalType: "uint256",
1067
+ name: '',
1068
+ type: 'uint256',
1069
+ internalType: 'uint256',
1070
1070
  },
1071
1071
  ],
1072
1072
  outputs: [
1073
1073
  {
1074
- name: "",
1075
- type: "uint256",
1076
- internalType: "uint256",
1074
+ name: '',
1075
+ type: 'uint256',
1076
+ internalType: 'uint256',
1077
1077
  },
1078
1078
  ],
1079
1079
  },
1080
1080
  {
1081
- type: "function",
1082
- name: "postAggregation",
1083
- stateMutability: "nonpayable",
1081
+ type: 'function',
1082
+ name: 'postAggregation',
1083
+ stateMutability: 'nonpayable',
1084
1084
  inputs: [
1085
1085
  {
1086
- name: "ritualId",
1087
- type: "uint32",
1088
- internalType: "uint32",
1086
+ name: 'ritualId',
1087
+ type: 'uint32',
1088
+ internalType: 'uint32',
1089
1089
  },
1090
1090
  {
1091
- name: "aggregatedTranscript",
1092
- type: "bytes",
1093
- internalType: "bytes",
1091
+ name: 'aggregatedTranscript',
1092
+ type: 'bytes',
1093
+ internalType: 'bytes',
1094
1094
  },
1095
1095
  {
1096
- name: "dkgPublicKey",
1097
- type: "tuple",
1096
+ name: 'dkgPublicKey',
1097
+ type: 'tuple',
1098
1098
  components: [
1099
1099
  {
1100
- name: "word0",
1101
- type: "bytes32",
1102
- internalType: "bytes32",
1100
+ name: 'word0',
1101
+ type: 'bytes32',
1102
+ internalType: 'bytes32',
1103
1103
  },
1104
1104
  {
1105
- name: "word1",
1106
- type: "bytes16",
1107
- internalType: "bytes16",
1105
+ name: 'word1',
1106
+ type: 'bytes16',
1107
+ internalType: 'bytes16',
1108
1108
  },
1109
1109
  ],
1110
- internalType: "struct BLS12381.G1Point",
1110
+ internalType: 'struct BLS12381.G1Point',
1111
1111
  },
1112
1112
  {
1113
- name: "decryptionRequestStaticKey",
1114
- type: "bytes",
1115
- internalType: "bytes",
1113
+ name: 'decryptionRequestStaticKey',
1114
+ type: 'bytes',
1115
+ internalType: 'bytes',
1116
1116
  },
1117
1117
  ],
1118
1118
  outputs: [],
1119
1119
  },
1120
1120
  {
1121
- type: "function",
1122
- name: "postTranscript",
1123
- stateMutability: "nonpayable",
1121
+ type: 'function',
1122
+ name: 'postTranscript',
1123
+ stateMutability: 'nonpayable',
1124
1124
  inputs: [
1125
1125
  {
1126
- name: "ritualId",
1127
- type: "uint32",
1128
- internalType: "uint32",
1126
+ name: 'ritualId',
1127
+ type: 'uint32',
1128
+ internalType: 'uint32',
1129
1129
  },
1130
1130
  {
1131
- name: "transcript",
1132
- type: "bytes",
1133
- internalType: "bytes",
1131
+ name: 'transcript',
1132
+ type: 'bytes',
1133
+ internalType: 'bytes',
1134
1134
  },
1135
1135
  ],
1136
1136
  outputs: [],
1137
1137
  },
1138
1138
  {
1139
- type: "function",
1140
- name: "processPendingFee",
1141
- stateMutability: "nonpayable",
1139
+ type: 'function',
1140
+ name: 'processPendingFee',
1141
+ stateMutability: 'nonpayable',
1142
1142
  inputs: [
1143
1143
  {
1144
- name: "ritualId",
1145
- type: "uint32",
1146
- internalType: "uint32",
1144
+ name: 'ritualId',
1145
+ type: 'uint32',
1146
+ internalType: 'uint32',
1147
1147
  },
1148
1148
  ],
1149
1149
  outputs: [],
1150
1150
  },
1151
1151
  {
1152
- type: "function",
1153
- name: "renounceRole",
1154
- stateMutability: "nonpayable",
1152
+ type: 'function',
1153
+ name: 'renounceRole',
1154
+ stateMutability: 'nonpayable',
1155
1155
  inputs: [
1156
1156
  {
1157
- name: "role",
1158
- type: "bytes32",
1159
- internalType: "bytes32",
1157
+ name: 'role',
1158
+ type: 'bytes32',
1159
+ internalType: 'bytes32',
1160
1160
  },
1161
1161
  {
1162
- name: "account",
1163
- type: "address",
1164
- internalType: "address",
1162
+ name: 'account',
1163
+ type: 'address',
1164
+ internalType: 'address',
1165
1165
  },
1166
1166
  ],
1167
1167
  outputs: [],
1168
1168
  },
1169
1169
  {
1170
- type: "function",
1171
- name: "revokeRole",
1172
- stateMutability: "nonpayable",
1170
+ type: 'function',
1171
+ name: 'revokeRole',
1172
+ stateMutability: 'nonpayable',
1173
1173
  inputs: [
1174
1174
  {
1175
- name: "role",
1176
- type: "bytes32",
1177
- internalType: "bytes32",
1175
+ name: 'role',
1176
+ type: 'bytes32',
1177
+ internalType: 'bytes32',
1178
1178
  },
1179
1179
  {
1180
- name: "account",
1181
- type: "address",
1182
- internalType: "address",
1180
+ name: 'account',
1181
+ type: 'address',
1182
+ internalType: 'address',
1183
1183
  },
1184
1184
  ],
1185
1185
  outputs: [],
1186
1186
  },
1187
1187
  {
1188
- type: "function",
1189
- name: "rituals",
1190
- stateMutability: "view",
1188
+ type: 'function',
1189
+ name: 'rituals',
1190
+ stateMutability: 'view',
1191
1191
  inputs: [
1192
1192
  {
1193
- name: "",
1194
- type: "uint256",
1195
- internalType: "uint256",
1193
+ name: '',
1194
+ type: 'uint256',
1195
+ internalType: 'uint256',
1196
1196
  },
1197
1197
  ],
1198
1198
  outputs: [
1199
1199
  {
1200
- name: "initiator",
1201
- type: "address",
1202
- internalType: "address",
1200
+ name: 'initiator',
1201
+ type: 'address',
1202
+ internalType: 'address',
1203
1203
  },
1204
1204
  {
1205
- name: "initTimestamp",
1206
- type: "uint32",
1207
- internalType: "uint32",
1205
+ name: 'initTimestamp',
1206
+ type: 'uint32',
1207
+ internalType: 'uint32',
1208
1208
  },
1209
1209
  {
1210
- name: "endTimestamp",
1211
- type: "uint32",
1212
- internalType: "uint32",
1210
+ name: 'endTimestamp',
1211
+ type: 'uint32',
1212
+ internalType: 'uint32',
1213
1213
  },
1214
1214
  {
1215
- name: "totalTranscripts",
1216
- type: "uint16",
1217
- internalType: "uint16",
1215
+ name: 'totalTranscripts',
1216
+ type: 'uint16',
1217
+ internalType: 'uint16',
1218
1218
  },
1219
1219
  {
1220
- name: "totalAggregations",
1221
- type: "uint16",
1222
- internalType: "uint16",
1220
+ name: 'totalAggregations',
1221
+ type: 'uint16',
1222
+ internalType: 'uint16',
1223
1223
  },
1224
1224
  {
1225
- name: "authority",
1226
- type: "address",
1227
- internalType: "address",
1225
+ name: 'authority',
1226
+ type: 'address',
1227
+ internalType: 'address',
1228
1228
  },
1229
1229
  {
1230
- name: "dkgSize",
1231
- type: "uint16",
1232
- internalType: "uint16",
1230
+ name: 'dkgSize',
1231
+ type: 'uint16',
1232
+ internalType: 'uint16',
1233
1233
  },
1234
1234
  {
1235
- name: "threshold",
1236
- type: "uint16",
1237
- internalType: "uint16",
1235
+ name: 'threshold',
1236
+ type: 'uint16',
1237
+ internalType: 'uint16',
1238
1238
  },
1239
1239
  {
1240
- name: "aggregationMismatch",
1241
- type: "bool",
1242
- internalType: "bool",
1240
+ name: 'aggregationMismatch',
1241
+ type: 'bool',
1242
+ internalType: 'bool',
1243
1243
  },
1244
1244
  {
1245
- name: "accessController",
1246
- type: "address",
1247
- internalType: "contract IEncryptionAuthorizer",
1245
+ name: 'accessController',
1246
+ type: 'address',
1247
+ internalType: 'contract IEncryptionAuthorizer',
1248
1248
  },
1249
1249
  {
1250
- name: "publicKey",
1251
- type: "tuple",
1250
+ name: 'publicKey',
1251
+ type: 'tuple',
1252
1252
  components: [
1253
1253
  {
1254
- name: "word0",
1255
- type: "bytes32",
1256
- internalType: "bytes32",
1254
+ name: 'word0',
1255
+ type: 'bytes32',
1256
+ internalType: 'bytes32',
1257
1257
  },
1258
1258
  {
1259
- name: "word1",
1260
- type: "bytes16",
1261
- internalType: "bytes16",
1259
+ name: 'word1',
1260
+ type: 'bytes16',
1261
+ internalType: 'bytes16',
1262
1262
  },
1263
1263
  ],
1264
- internalType: "struct BLS12381.G1Point",
1264
+ internalType: 'struct BLS12381.G1Point',
1265
1265
  },
1266
1266
  {
1267
- name: "aggregatedTranscript",
1268
- type: "bytes",
1269
- internalType: "bytes",
1267
+ name: 'aggregatedTranscript',
1268
+ type: 'bytes',
1269
+ internalType: 'bytes',
1270
1270
  },
1271
1271
  ],
1272
1272
  },
1273
1273
  {
1274
- type: "function",
1275
- name: "rollbackDefaultAdminDelay",
1276
- stateMutability: "nonpayable",
1274
+ type: 'function',
1275
+ name: 'rollbackDefaultAdminDelay',
1276
+ stateMutability: 'nonpayable',
1277
1277
  inputs: [],
1278
1278
  outputs: [],
1279
1279
  },
1280
1280
  {
1281
- type: "function",
1282
- name: "setMaxDkgSize",
1283
- stateMutability: "nonpayable",
1281
+ type: 'function',
1282
+ name: 'setMaxDkgSize',
1283
+ stateMutability: 'nonpayable',
1284
1284
  inputs: [
1285
1285
  {
1286
- name: "newSize",
1287
- type: "uint16",
1288
- internalType: "uint16",
1286
+ name: 'newSize',
1287
+ type: 'uint16',
1288
+ internalType: 'uint16',
1289
1289
  },
1290
1290
  ],
1291
1291
  outputs: [],
1292
1292
  },
1293
1293
  {
1294
- type: "function",
1295
- name: "setProviderPublicKey",
1296
- stateMutability: "nonpayable",
1294
+ type: 'function',
1295
+ name: 'setProviderPublicKey',
1296
+ stateMutability: 'nonpayable',
1297
1297
  inputs: [
1298
1298
  {
1299
- name: "_publicKey",
1300
- type: "tuple",
1299
+ name: '_publicKey',
1300
+ type: 'tuple',
1301
1301
  components: [
1302
1302
  {
1303
- name: "word0",
1304
- type: "bytes32",
1305
- internalType: "bytes32",
1303
+ name: 'word0',
1304
+ type: 'bytes32',
1305
+ internalType: 'bytes32',
1306
1306
  },
1307
1307
  {
1308
- name: "word1",
1309
- type: "bytes32",
1310
- internalType: "bytes32",
1308
+ name: 'word1',
1309
+ type: 'bytes32',
1310
+ internalType: 'bytes32',
1311
1311
  },
1312
1312
  {
1313
- name: "word2",
1314
- type: "bytes32",
1315
- internalType: "bytes32",
1313
+ name: 'word2',
1314
+ type: 'bytes32',
1315
+ internalType: 'bytes32',
1316
1316
  },
1317
1317
  ],
1318
- internalType: "struct BLS12381.G2Point",
1318
+ internalType: 'struct BLS12381.G2Point',
1319
1319
  },
1320
1320
  ],
1321
1321
  outputs: [],
1322
1322
  },
1323
1323
  {
1324
- type: "function",
1325
- name: "setReimbursementPool",
1326
- stateMutability: "nonpayable",
1324
+ type: 'function',
1325
+ name: 'setReimbursementPool',
1326
+ stateMutability: 'nonpayable',
1327
1327
  inputs: [
1328
1328
  {
1329
- name: "pool",
1330
- type: "address",
1331
- internalType: "contract IReimbursementPool",
1329
+ name: 'pool',
1330
+ type: 'address',
1331
+ internalType: 'contract IReimbursementPool',
1332
1332
  },
1333
1333
  ],
1334
1334
  outputs: [],
1335
1335
  },
1336
1336
  {
1337
- type: "function",
1338
- name: "setRitualAuthority",
1339
- stateMutability: "nonpayable",
1337
+ type: 'function',
1338
+ name: 'setRitualAuthority',
1339
+ stateMutability: 'nonpayable',
1340
1340
  inputs: [
1341
1341
  {
1342
- name: "ritualId",
1343
- type: "uint32",
1344
- internalType: "uint32",
1342
+ name: 'ritualId',
1343
+ type: 'uint32',
1344
+ internalType: 'uint32',
1345
1345
  },
1346
1346
  {
1347
- name: "authority",
1348
- type: "address",
1349
- internalType: "address",
1347
+ name: 'authority',
1348
+ type: 'address',
1349
+ internalType: 'address',
1350
1350
  },
1351
1351
  ],
1352
1352
  outputs: [],
1353
1353
  },
1354
1354
  {
1355
- type: "function",
1356
- name: "setTimeout",
1357
- stateMutability: "nonpayable",
1355
+ type: 'function',
1356
+ name: 'setTimeout',
1357
+ stateMutability: 'nonpayable',
1358
1358
  inputs: [
1359
1359
  {
1360
- name: "newTimeout",
1361
- type: "uint32",
1362
- internalType: "uint32",
1360
+ name: 'newTimeout',
1361
+ type: 'uint32',
1362
+ internalType: 'uint32',
1363
1363
  },
1364
1364
  ],
1365
1365
  outputs: [],
1366
1366
  },
1367
1367
  {
1368
- type: "function",
1369
- name: "supportsInterface",
1370
- stateMutability: "view",
1368
+ type: 'function',
1369
+ name: 'supportsInterface',
1370
+ stateMutability: 'view',
1371
1371
  inputs: [
1372
1372
  {
1373
- name: "interfaceId",
1374
- type: "bytes4",
1375
- internalType: "bytes4",
1373
+ name: 'interfaceId',
1374
+ type: 'bytes4',
1375
+ internalType: 'bytes4',
1376
1376
  },
1377
1377
  ],
1378
1378
  outputs: [
1379
1379
  {
1380
- name: "",
1381
- type: "bool",
1382
- internalType: "bool",
1380
+ name: '',
1381
+ type: 'bool',
1382
+ internalType: 'bool',
1383
1383
  },
1384
1384
  ],
1385
1385
  },
1386
1386
  {
1387
- type: "function",
1388
- name: "timeout",
1389
- stateMutability: "view",
1387
+ type: 'function',
1388
+ name: 'timeout',
1389
+ stateMutability: 'view',
1390
1390
  inputs: [],
1391
1391
  outputs: [
1392
1392
  {
1393
- name: "",
1394
- type: "uint32",
1395
- internalType: "uint32",
1393
+ name: '',
1394
+ type: 'uint32',
1395
+ internalType: 'uint32',
1396
1396
  },
1397
1397
  ],
1398
1398
  },
1399
1399
  {
1400
- type: "function",
1401
- name: "totalPendingFees",
1402
- stateMutability: "view",
1400
+ type: 'function',
1401
+ name: 'totalPendingFees',
1402
+ stateMutability: 'view',
1403
1403
  inputs: [],
1404
1404
  outputs: [
1405
1405
  {
1406
- name: "",
1407
- type: "uint256",
1408
- internalType: "uint256",
1406
+ name: '',
1407
+ type: 'uint256',
1408
+ internalType: 'uint256',
1409
1409
  },
1410
1410
  ],
1411
1411
  },
1412
1412
  {
1413
- type: "function",
1414
- name: "withdrawTokens",
1415
- stateMutability: "nonpayable",
1413
+ type: 'function',
1414
+ name: 'withdrawTokens',
1415
+ stateMutability: 'nonpayable',
1416
1416
  inputs: [
1417
1417
  {
1418
- name: "token",
1419
- type: "address",
1420
- internalType: "contract IERC20",
1418
+ name: 'token',
1419
+ type: 'address',
1420
+ internalType: 'contract IERC20',
1421
1421
  },
1422
1422
  {
1423
- name: "amount",
1424
- type: "uint256",
1425
- internalType: "uint256",
1423
+ name: 'amount',
1424
+ type: 'uint256',
1425
+ internalType: 'uint256',
1426
1426
  },
1427
1427
  ],
1428
1428
  outputs: [],