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