@nucypher/shared 0.6.0-alpha.2 → 0.6.0-alpha.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.
- package/dist/cjs/contracts/agents/coordinator.d.ts +1 -2
- package/dist/cjs/contracts/agents/coordinator.js +0 -4
- package/dist/cjs/contracts/agents/coordinator.js.map +1 -1
- package/dist/cjs/contracts/agents/signing-coordinator.d.ts +4 -4
- package/dist/cjs/contracts/agents/signing-coordinator.js +5 -2
- package/dist/cjs/contracts/agents/signing-coordinator.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/Coordinator.d.ts +250 -98
- package/dist/cjs/contracts/ethers-typechain/SigningCoordinator.d.ts +61 -32
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +294 -104
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js +375 -133
- package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
- package/dist/cjs/contracts/ethers-typechain/factories/SigningCoordinator__factory.d.ts +60 -19
- package/dist/cjs/contracts/ethers-typechain/factories/SigningCoordinator__factory.js +72 -20
- package/dist/cjs/contracts/ethers-typechain/factories/SigningCoordinator__factory.js.map +1 -1
- package/dist/cjs/porter.d.ts +6 -8
- package/dist/cjs/porter.js +12 -36
- package/dist/cjs/porter.js.map +1 -1
- package/dist/cjs/types.d.ts +29 -42
- package/dist/cjs/types.js +37 -58
- package/dist/cjs/types.js.map +1 -1
- package/dist/es/contracts/agents/coordinator.d.ts +1 -2
- package/dist/es/contracts/agents/coordinator.js +1 -5
- package/dist/es/contracts/agents/coordinator.js.map +1 -1
- package/dist/es/contracts/agents/signing-coordinator.d.ts +4 -4
- package/dist/es/contracts/agents/signing-coordinator.js +5 -2
- package/dist/es/contracts/agents/signing-coordinator.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/Coordinator.d.ts +250 -98
- package/dist/es/contracts/ethers-typechain/SigningCoordinator.d.ts +61 -32
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +294 -104
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js +375 -133
- package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
- package/dist/es/contracts/ethers-typechain/factories/SigningCoordinator__factory.d.ts +60 -19
- package/dist/es/contracts/ethers-typechain/factories/SigningCoordinator__factory.js +72 -20
- package/dist/es/contracts/ethers-typechain/factories/SigningCoordinator__factory.js.map +1 -1
- package/dist/es/porter.d.ts +6 -8
- package/dist/es/porter.js +13 -37
- package/dist/es/porter.js.map +1 -1
- package/dist/es/types.d.ts +29 -42
- package/dist/es/types.js +34 -55
- package/dist/es/types.js.map +1 -1
- package/dist/tsconfig.cjs.tsbuildinfo +1 -1
- package/dist/tsconfig.es.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/dist/cjs/contracts/agents/signingCoordinator.d.ts +0 -14
- package/dist/cjs/contracts/agents/signingCoordinator.js +0 -32
- package/dist/cjs/contracts/agents/signingCoordinator.js.map +0 -1
- package/dist/es/contracts/agents/signingCoordinator.d.ts +0 -14
- package/dist/es/contracts/agents/signingCoordinator.js +0 -28
- package/dist/es/contracts/agents/signingCoordinator.js.map +0 -1
|
@@ -15,6 +15,16 @@ const _abi = [
|
|
|
15
15
|
type: 'address',
|
|
16
16
|
internalType: 'contract ITACoChildApplication',
|
|
17
17
|
},
|
|
18
|
+
{
|
|
19
|
+
name: '_dkgTimeout',
|
|
20
|
+
type: 'uint32',
|
|
21
|
+
internalType: 'uint32',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
name: '_handoverTimeout',
|
|
25
|
+
type: 'uint32',
|
|
26
|
+
internalType: 'uint32',
|
|
27
|
+
},
|
|
18
28
|
],
|
|
19
29
|
},
|
|
20
30
|
{
|
|
@@ -65,33 +75,6 @@ const _abi = [
|
|
|
65
75
|
},
|
|
66
76
|
],
|
|
67
77
|
},
|
|
68
|
-
{
|
|
69
|
-
type: 'error',
|
|
70
|
-
name: 'AddressEmptyCode',
|
|
71
|
-
inputs: [
|
|
72
|
-
{
|
|
73
|
-
name: 'target',
|
|
74
|
-
type: 'address',
|
|
75
|
-
internalType: 'address',
|
|
76
|
-
},
|
|
77
|
-
],
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
type: 'error',
|
|
81
|
-
name: 'AddressInsufficientBalance',
|
|
82
|
-
inputs: [
|
|
83
|
-
{
|
|
84
|
-
name: 'account',
|
|
85
|
-
type: 'address',
|
|
86
|
-
internalType: 'address',
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
type: 'error',
|
|
92
|
-
name: 'FailedInnerCall',
|
|
93
|
-
inputs: [],
|
|
94
|
-
},
|
|
95
78
|
{
|
|
96
79
|
type: 'error',
|
|
97
80
|
name: 'InvalidInitialization',
|
|
@@ -118,17 +101,6 @@ const _abi = [
|
|
|
118
101
|
},
|
|
119
102
|
],
|
|
120
103
|
},
|
|
121
|
-
{
|
|
122
|
-
type: 'error',
|
|
123
|
-
name: 'SafeERC20FailedOperation',
|
|
124
|
-
inputs: [
|
|
125
|
-
{
|
|
126
|
-
name: 'token',
|
|
127
|
-
type: 'address',
|
|
128
|
-
internalType: 'address',
|
|
129
|
-
},
|
|
130
|
-
],
|
|
131
|
-
},
|
|
132
104
|
{
|
|
133
105
|
type: 'event',
|
|
134
106
|
name: 'AggregationPosted',
|
|
@@ -154,6 +126,25 @@ const _abi = [
|
|
|
154
126
|
],
|
|
155
127
|
anonymous: false,
|
|
156
128
|
},
|
|
129
|
+
{
|
|
130
|
+
type: 'event',
|
|
131
|
+
name: 'BlindedSharePosted',
|
|
132
|
+
inputs: [
|
|
133
|
+
{
|
|
134
|
+
name: 'ritualId',
|
|
135
|
+
type: 'uint32',
|
|
136
|
+
internalType: 'uint32',
|
|
137
|
+
indexed: true,
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
name: 'departingParticipant',
|
|
141
|
+
type: 'address',
|
|
142
|
+
internalType: 'address',
|
|
143
|
+
indexed: true,
|
|
144
|
+
},
|
|
145
|
+
],
|
|
146
|
+
anonymous: false,
|
|
147
|
+
},
|
|
157
148
|
{
|
|
158
149
|
type: 'event',
|
|
159
150
|
name: 'DefaultAdminDelayChangeCanceled',
|
|
@@ -236,6 +227,106 @@ const _abi = [
|
|
|
236
227
|
],
|
|
237
228
|
anonymous: false,
|
|
238
229
|
},
|
|
230
|
+
{
|
|
231
|
+
type: 'event',
|
|
232
|
+
name: 'HandoverCanceled',
|
|
233
|
+
inputs: [
|
|
234
|
+
{
|
|
235
|
+
name: 'ritualId',
|
|
236
|
+
type: 'uint32',
|
|
237
|
+
internalType: 'uint32',
|
|
238
|
+
indexed: true,
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'departingParticipant',
|
|
242
|
+
type: 'address',
|
|
243
|
+
internalType: 'address',
|
|
244
|
+
indexed: true,
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
name: 'incomingParticipant',
|
|
248
|
+
type: 'address',
|
|
249
|
+
internalType: 'address',
|
|
250
|
+
indexed: true,
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
anonymous: false,
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
type: 'event',
|
|
257
|
+
name: 'HandoverFinalized',
|
|
258
|
+
inputs: [
|
|
259
|
+
{
|
|
260
|
+
name: 'ritualId',
|
|
261
|
+
type: 'uint32',
|
|
262
|
+
internalType: 'uint32',
|
|
263
|
+
indexed: true,
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
name: 'departingParticipant',
|
|
267
|
+
type: 'address',
|
|
268
|
+
internalType: 'address',
|
|
269
|
+
indexed: true,
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
name: 'incomingParticipant',
|
|
273
|
+
type: 'address',
|
|
274
|
+
internalType: 'address',
|
|
275
|
+
indexed: true,
|
|
276
|
+
},
|
|
277
|
+
],
|
|
278
|
+
anonymous: false,
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
type: 'event',
|
|
282
|
+
name: 'HandoverRequest',
|
|
283
|
+
inputs: [
|
|
284
|
+
{
|
|
285
|
+
name: 'ritualId',
|
|
286
|
+
type: 'uint32',
|
|
287
|
+
internalType: 'uint32',
|
|
288
|
+
indexed: true,
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
name: 'departingParticipant',
|
|
292
|
+
type: 'address',
|
|
293
|
+
internalType: 'address',
|
|
294
|
+
indexed: true,
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
name: 'incomingParticipant',
|
|
298
|
+
type: 'address',
|
|
299
|
+
internalType: 'address',
|
|
300
|
+
indexed: true,
|
|
301
|
+
},
|
|
302
|
+
],
|
|
303
|
+
anonymous: false,
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
type: 'event',
|
|
307
|
+
name: 'HandoverTranscriptPosted',
|
|
308
|
+
inputs: [
|
|
309
|
+
{
|
|
310
|
+
name: 'ritualId',
|
|
311
|
+
type: 'uint32',
|
|
312
|
+
internalType: 'uint32',
|
|
313
|
+
indexed: true,
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
name: 'departingParticipant',
|
|
317
|
+
type: 'address',
|
|
318
|
+
internalType: 'address',
|
|
319
|
+
indexed: true,
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
name: 'incomingParticipant',
|
|
323
|
+
type: 'address',
|
|
324
|
+
internalType: 'address',
|
|
325
|
+
indexed: true,
|
|
326
|
+
},
|
|
327
|
+
],
|
|
328
|
+
anonymous: false,
|
|
329
|
+
},
|
|
239
330
|
{
|
|
240
331
|
type: 'event',
|
|
241
332
|
name: 'Initialized',
|
|
@@ -480,25 +571,6 @@ const _abi = [
|
|
|
480
571
|
],
|
|
481
572
|
anonymous: false,
|
|
482
573
|
},
|
|
483
|
-
{
|
|
484
|
-
type: 'event',
|
|
485
|
-
name: 'TimeoutChanged',
|
|
486
|
-
inputs: [
|
|
487
|
-
{
|
|
488
|
-
name: 'oldTimeout',
|
|
489
|
-
type: 'uint32',
|
|
490
|
-
internalType: 'uint32',
|
|
491
|
-
indexed: false,
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
name: 'newTimeout',
|
|
495
|
-
type: 'uint32',
|
|
496
|
-
internalType: 'uint32',
|
|
497
|
-
indexed: false,
|
|
498
|
-
},
|
|
499
|
-
],
|
|
500
|
-
anonymous: false,
|
|
501
|
-
},
|
|
502
574
|
{
|
|
503
575
|
type: 'event',
|
|
504
576
|
name: 'TranscriptPosted',
|
|
@@ -550,6 +622,19 @@ const _abi = [
|
|
|
550
622
|
},
|
|
551
623
|
],
|
|
552
624
|
},
|
|
625
|
+
{
|
|
626
|
+
type: 'function',
|
|
627
|
+
name: 'HANDOVER_SUPERVISOR_ROLE',
|
|
628
|
+
stateMutability: 'view',
|
|
629
|
+
inputs: [],
|
|
630
|
+
outputs: [
|
|
631
|
+
{
|
|
632
|
+
name: '',
|
|
633
|
+
type: 'bytes32',
|
|
634
|
+
internalType: 'bytes32',
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
},
|
|
553
638
|
{
|
|
554
639
|
type: 'function',
|
|
555
640
|
name: 'TREASURY_ROLE',
|
|
@@ -609,6 +694,30 @@ const _abi = [
|
|
|
609
694
|
],
|
|
610
695
|
outputs: [],
|
|
611
696
|
},
|
|
697
|
+
{
|
|
698
|
+
type: 'function',
|
|
699
|
+
name: 'blindedSharePosition',
|
|
700
|
+
stateMutability: 'pure',
|
|
701
|
+
inputs: [
|
|
702
|
+
{
|
|
703
|
+
name: 'index',
|
|
704
|
+
type: 'uint256',
|
|
705
|
+
internalType: 'uint256',
|
|
706
|
+
},
|
|
707
|
+
{
|
|
708
|
+
name: 'threshold',
|
|
709
|
+
type: 'uint16',
|
|
710
|
+
internalType: 'uint16',
|
|
711
|
+
},
|
|
712
|
+
],
|
|
713
|
+
outputs: [
|
|
714
|
+
{
|
|
715
|
+
name: '',
|
|
716
|
+
type: 'uint256',
|
|
717
|
+
internalType: 'uint256',
|
|
718
|
+
},
|
|
719
|
+
],
|
|
720
|
+
},
|
|
612
721
|
{
|
|
613
722
|
type: 'function',
|
|
614
723
|
name: 'cancelDefaultAdminTransfer',
|
|
@@ -616,6 +725,24 @@ const _abi = [
|
|
|
616
725
|
inputs: [],
|
|
617
726
|
outputs: [],
|
|
618
727
|
},
|
|
728
|
+
{
|
|
729
|
+
type: 'function',
|
|
730
|
+
name: 'cancelHandover',
|
|
731
|
+
stateMutability: 'nonpayable',
|
|
732
|
+
inputs: [
|
|
733
|
+
{
|
|
734
|
+
name: 'ritualId',
|
|
735
|
+
type: 'uint32',
|
|
736
|
+
internalType: 'uint32',
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
name: 'departingParticipant',
|
|
740
|
+
type: 'address',
|
|
741
|
+
internalType: 'address',
|
|
742
|
+
},
|
|
743
|
+
],
|
|
744
|
+
outputs: [],
|
|
745
|
+
},
|
|
619
746
|
{
|
|
620
747
|
type: 'function',
|
|
621
748
|
name: 'changeDefaultAdminDelay',
|
|
@@ -687,6 +814,32 @@ const _abi = [
|
|
|
687
814
|
},
|
|
688
815
|
],
|
|
689
816
|
},
|
|
817
|
+
{
|
|
818
|
+
type: 'function',
|
|
819
|
+
name: 'dkgTimeout',
|
|
820
|
+
stateMutability: 'view',
|
|
821
|
+
inputs: [],
|
|
822
|
+
outputs: [
|
|
823
|
+
{
|
|
824
|
+
name: '',
|
|
825
|
+
type: 'uint32',
|
|
826
|
+
internalType: 'uint32',
|
|
827
|
+
},
|
|
828
|
+
],
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
type: 'function',
|
|
832
|
+
name: 'dkgTimeoutStub',
|
|
833
|
+
stateMutability: 'view',
|
|
834
|
+
inputs: [],
|
|
835
|
+
outputs: [
|
|
836
|
+
{
|
|
837
|
+
name: '',
|
|
838
|
+
type: 'uint32',
|
|
839
|
+
internalType: 'uint32',
|
|
840
|
+
},
|
|
841
|
+
],
|
|
842
|
+
},
|
|
690
843
|
{
|
|
691
844
|
type: 'function',
|
|
692
845
|
name: 'expectedTranscriptSize',
|
|
@@ -748,6 +901,24 @@ const _abi = [
|
|
|
748
901
|
},
|
|
749
902
|
],
|
|
750
903
|
},
|
|
904
|
+
{
|
|
905
|
+
type: 'function',
|
|
906
|
+
name: 'finalizeHandover',
|
|
907
|
+
stateMutability: 'nonpayable',
|
|
908
|
+
inputs: [
|
|
909
|
+
{
|
|
910
|
+
name: 'ritualId',
|
|
911
|
+
type: 'uint32',
|
|
912
|
+
internalType: 'uint32',
|
|
913
|
+
},
|
|
914
|
+
{
|
|
915
|
+
name: 'departingParticipant',
|
|
916
|
+
type: 'address',
|
|
917
|
+
internalType: 'address',
|
|
918
|
+
},
|
|
919
|
+
],
|
|
920
|
+
outputs: [],
|
|
921
|
+
},
|
|
751
922
|
{
|
|
752
923
|
type: 'function',
|
|
753
924
|
name: 'getAccessController',
|
|
@@ -805,6 +976,54 @@ const _abi = [
|
|
|
805
976
|
},
|
|
806
977
|
],
|
|
807
978
|
},
|
|
979
|
+
{
|
|
980
|
+
type: 'function',
|
|
981
|
+
name: 'getHandoverKey',
|
|
982
|
+
stateMutability: 'view',
|
|
983
|
+
inputs: [
|
|
984
|
+
{
|
|
985
|
+
name: 'ritualId',
|
|
986
|
+
type: 'uint32',
|
|
987
|
+
internalType: 'uint32',
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
name: 'departingProvider',
|
|
991
|
+
type: 'address',
|
|
992
|
+
internalType: 'address',
|
|
993
|
+
},
|
|
994
|
+
],
|
|
995
|
+
outputs: [
|
|
996
|
+
{
|
|
997
|
+
name: '',
|
|
998
|
+
type: 'bytes32',
|
|
999
|
+
internalType: 'bytes32',
|
|
1000
|
+
},
|
|
1001
|
+
],
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
type: 'function',
|
|
1005
|
+
name: 'getHandoverState',
|
|
1006
|
+
stateMutability: 'view',
|
|
1007
|
+
inputs: [
|
|
1008
|
+
{
|
|
1009
|
+
name: 'ritualId',
|
|
1010
|
+
type: 'uint32',
|
|
1011
|
+
internalType: 'uint32',
|
|
1012
|
+
},
|
|
1013
|
+
{
|
|
1014
|
+
name: 'departingParticipant',
|
|
1015
|
+
type: 'address',
|
|
1016
|
+
internalType: 'address',
|
|
1017
|
+
},
|
|
1018
|
+
],
|
|
1019
|
+
outputs: [
|
|
1020
|
+
{
|
|
1021
|
+
name: '',
|
|
1022
|
+
type: 'uint8',
|
|
1023
|
+
internalType: 'enum Coordinator.HandoverState',
|
|
1024
|
+
},
|
|
1025
|
+
],
|
|
1026
|
+
},
|
|
808
1027
|
{
|
|
809
1028
|
type: 'function',
|
|
810
1029
|
name: 'getInitiator',
|
|
@@ -1239,6 +1458,81 @@ const _abi = [
|
|
|
1239
1458
|
],
|
|
1240
1459
|
outputs: [],
|
|
1241
1460
|
},
|
|
1461
|
+
{
|
|
1462
|
+
type: 'function',
|
|
1463
|
+
name: 'handoverRequest',
|
|
1464
|
+
stateMutability: 'nonpayable',
|
|
1465
|
+
inputs: [
|
|
1466
|
+
{
|
|
1467
|
+
name: 'ritualId',
|
|
1468
|
+
type: 'uint32',
|
|
1469
|
+
internalType: 'uint32',
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: 'departingParticipant',
|
|
1473
|
+
type: 'address',
|
|
1474
|
+
internalType: 'address',
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
name: 'incomingParticipant',
|
|
1478
|
+
type: 'address',
|
|
1479
|
+
internalType: 'address',
|
|
1480
|
+
},
|
|
1481
|
+
],
|
|
1482
|
+
outputs: [],
|
|
1483
|
+
},
|
|
1484
|
+
{
|
|
1485
|
+
type: 'function',
|
|
1486
|
+
name: 'handoverTimeout',
|
|
1487
|
+
stateMutability: 'view',
|
|
1488
|
+
inputs: [],
|
|
1489
|
+
outputs: [
|
|
1490
|
+
{
|
|
1491
|
+
name: '',
|
|
1492
|
+
type: 'uint32',
|
|
1493
|
+
internalType: 'uint32',
|
|
1494
|
+
},
|
|
1495
|
+
],
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
type: 'function',
|
|
1499
|
+
name: 'handovers',
|
|
1500
|
+
stateMutability: 'view',
|
|
1501
|
+
inputs: [
|
|
1502
|
+
{
|
|
1503
|
+
name: 'handoverKey',
|
|
1504
|
+
type: 'bytes32',
|
|
1505
|
+
internalType: 'bytes32',
|
|
1506
|
+
},
|
|
1507
|
+
],
|
|
1508
|
+
outputs: [
|
|
1509
|
+
{
|
|
1510
|
+
name: 'requestTimestamp',
|
|
1511
|
+
type: 'uint32',
|
|
1512
|
+
internalType: 'uint32',
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
name: 'incomingProvider',
|
|
1516
|
+
type: 'address',
|
|
1517
|
+
internalType: 'address',
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
name: 'transcript',
|
|
1521
|
+
type: 'bytes',
|
|
1522
|
+
internalType: 'bytes',
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
name: 'decryptionRequestStaticKey',
|
|
1526
|
+
type: 'bytes',
|
|
1527
|
+
internalType: 'bytes',
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
name: 'blindedShare',
|
|
1531
|
+
type: 'bytes',
|
|
1532
|
+
internalType: 'bytes',
|
|
1533
|
+
},
|
|
1534
|
+
],
|
|
1535
|
+
},
|
|
1242
1536
|
{
|
|
1243
1537
|
type: 'function',
|
|
1244
1538
|
name: 'hasRole',
|
|
@@ -1268,11 +1562,6 @@ const _abi = [
|
|
|
1268
1562
|
name: 'initialize',
|
|
1269
1563
|
stateMutability: 'nonpayable',
|
|
1270
1564
|
inputs: [
|
|
1271
|
-
{
|
|
1272
|
-
name: '_timeout',
|
|
1273
|
-
type: 'uint32',
|
|
1274
|
-
internalType: 'uint32',
|
|
1275
|
-
},
|
|
1276
1565
|
{
|
|
1277
1566
|
name: '_maxDkgSize',
|
|
1278
1567
|
type: 'uint16',
|
|
@@ -1286,13 +1575,6 @@ const _abi = [
|
|
|
1286
1575
|
],
|
|
1287
1576
|
outputs: [],
|
|
1288
1577
|
},
|
|
1289
|
-
{
|
|
1290
|
-
type: 'function',
|
|
1291
|
-
name: 'initializeNumberOfRituals',
|
|
1292
|
-
stateMutability: 'nonpayable',
|
|
1293
|
-
inputs: [],
|
|
1294
|
-
outputs: [],
|
|
1295
|
-
},
|
|
1296
1578
|
{
|
|
1297
1579
|
type: 'function',
|
|
1298
1580
|
name: 'initiateRitual',
|
|
@@ -1332,35 +1614,6 @@ const _abi = [
|
|
|
1332
1614
|
},
|
|
1333
1615
|
],
|
|
1334
1616
|
},
|
|
1335
|
-
{
|
|
1336
|
-
type: 'function',
|
|
1337
|
-
name: 'isEncryptionAuthorized',
|
|
1338
|
-
stateMutability: 'view',
|
|
1339
|
-
inputs: [
|
|
1340
|
-
{
|
|
1341
|
-
name: '',
|
|
1342
|
-
type: 'uint32',
|
|
1343
|
-
internalType: 'uint32',
|
|
1344
|
-
},
|
|
1345
|
-
{
|
|
1346
|
-
name: '',
|
|
1347
|
-
type: 'bytes',
|
|
1348
|
-
internalType: 'bytes',
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
name: '',
|
|
1352
|
-
type: 'bytes',
|
|
1353
|
-
internalType: 'bytes',
|
|
1354
|
-
},
|
|
1355
|
-
],
|
|
1356
|
-
outputs: [
|
|
1357
|
-
{
|
|
1358
|
-
name: '',
|
|
1359
|
-
type: 'bool',
|
|
1360
|
-
internalType: 'bool',
|
|
1361
|
-
},
|
|
1362
|
-
],
|
|
1363
|
-
},
|
|
1364
1617
|
{
|
|
1365
1618
|
type: 'function',
|
|
1366
1619
|
name: 'isParticipant',
|
|
@@ -1559,16 +1812,16 @@ const _abi = [
|
|
|
1559
1812
|
},
|
|
1560
1813
|
{
|
|
1561
1814
|
type: 'function',
|
|
1562
|
-
name: '
|
|
1815
|
+
name: 'postBlindedShare',
|
|
1563
1816
|
stateMutability: 'nonpayable',
|
|
1564
1817
|
inputs: [
|
|
1565
1818
|
{
|
|
1566
|
-
name: '',
|
|
1819
|
+
name: 'ritualId',
|
|
1567
1820
|
type: 'uint32',
|
|
1568
1821
|
internalType: 'uint32',
|
|
1569
1822
|
},
|
|
1570
1823
|
{
|
|
1571
|
-
name: '',
|
|
1824
|
+
name: 'blindedShare',
|
|
1572
1825
|
type: 'bytes',
|
|
1573
1826
|
internalType: 'bytes',
|
|
1574
1827
|
},
|
|
@@ -1577,7 +1830,7 @@ const _abi = [
|
|
|
1577
1830
|
},
|
|
1578
1831
|
{
|
|
1579
1832
|
type: 'function',
|
|
1580
|
-
name: '
|
|
1833
|
+
name: 'postHandoverTranscript',
|
|
1581
1834
|
stateMutability: 'nonpayable',
|
|
1582
1835
|
inputs: [
|
|
1583
1836
|
{
|
|
@@ -1585,23 +1838,38 @@ const _abi = [
|
|
|
1585
1838
|
type: 'uint32',
|
|
1586
1839
|
internalType: 'uint32',
|
|
1587
1840
|
},
|
|
1841
|
+
{
|
|
1842
|
+
name: 'departingParticipant',
|
|
1843
|
+
type: 'address',
|
|
1844
|
+
internalType: 'address',
|
|
1845
|
+
},
|
|
1588
1846
|
{
|
|
1589
1847
|
name: 'transcript',
|
|
1590
1848
|
type: 'bytes',
|
|
1591
1849
|
internalType: 'bytes',
|
|
1592
1850
|
},
|
|
1851
|
+
{
|
|
1852
|
+
name: 'decryptionRequestStaticKey',
|
|
1853
|
+
type: 'bytes',
|
|
1854
|
+
internalType: 'bytes',
|
|
1855
|
+
},
|
|
1593
1856
|
],
|
|
1594
1857
|
outputs: [],
|
|
1595
1858
|
},
|
|
1596
1859
|
{
|
|
1597
1860
|
type: 'function',
|
|
1598
|
-
name: '
|
|
1861
|
+
name: 'publishTranscript',
|
|
1599
1862
|
stateMutability: 'nonpayable',
|
|
1600
1863
|
inputs: [
|
|
1601
1864
|
{
|
|
1602
|
-
name: '
|
|
1603
|
-
type: '
|
|
1604
|
-
internalType: '
|
|
1865
|
+
name: 'ritualId',
|
|
1866
|
+
type: 'uint32',
|
|
1867
|
+
internalType: 'uint32',
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
name: 'transcript',
|
|
1871
|
+
type: 'bytes',
|
|
1872
|
+
internalType: 'bytes',
|
|
1605
1873
|
},
|
|
1606
1874
|
],
|
|
1607
1875
|
outputs: [],
|
|
@@ -1648,7 +1916,7 @@ const _abi = [
|
|
|
1648
1916
|
stateMutability: 'view',
|
|
1649
1917
|
inputs: [
|
|
1650
1918
|
{
|
|
1651
|
-
name: '
|
|
1919
|
+
name: 'index',
|
|
1652
1920
|
type: 'uint256',
|
|
1653
1921
|
internalType: 'uint256',
|
|
1654
1922
|
},
|
|
@@ -1796,19 +2064,6 @@ const _abi = [
|
|
|
1796
2064
|
],
|
|
1797
2065
|
outputs: [],
|
|
1798
2066
|
},
|
|
1799
|
-
{
|
|
1800
|
-
type: 'function',
|
|
1801
|
-
name: 'setTimeout',
|
|
1802
|
-
stateMutability: 'nonpayable',
|
|
1803
|
-
inputs: [
|
|
1804
|
-
{
|
|
1805
|
-
name: 'newTimeout',
|
|
1806
|
-
type: 'uint32',
|
|
1807
|
-
internalType: 'uint32',
|
|
1808
|
-
},
|
|
1809
|
-
],
|
|
1810
|
-
outputs: [],
|
|
1811
|
-
},
|
|
1812
2067
|
{
|
|
1813
2068
|
type: 'function',
|
|
1814
2069
|
name: 'supportsInterface',
|
|
@@ -1859,19 +2114,6 @@ const _abi = [
|
|
|
1859
2114
|
],
|
|
1860
2115
|
outputs: [],
|
|
1861
2116
|
},
|
|
1862
|
-
{
|
|
1863
|
-
type: 'function',
|
|
1864
|
-
name: 'withdrawAllTokens',
|
|
1865
|
-
stateMutability: 'nonpayable',
|
|
1866
|
-
inputs: [
|
|
1867
|
-
{
|
|
1868
|
-
name: 'token',
|
|
1869
|
-
type: 'address',
|
|
1870
|
-
internalType: 'contract IERC20',
|
|
1871
|
-
},
|
|
1872
|
-
],
|
|
1873
|
-
outputs: [],
|
|
1874
|
-
},
|
|
1875
2117
|
];
|
|
1876
2118
|
class Coordinator__factory {
|
|
1877
2119
|
static abi = _abi;
|