@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
|
@@ -9,6 +9,14 @@ export declare class Coordinator__factory {
|
|
|
9
9
|
readonly name: "_application";
|
|
10
10
|
readonly type: "address";
|
|
11
11
|
readonly internalType: "contract ITACoChildApplication";
|
|
12
|
+
}, {
|
|
13
|
+
readonly name: "_dkgTimeout";
|
|
14
|
+
readonly type: "uint32";
|
|
15
|
+
readonly internalType: "uint32";
|
|
16
|
+
}, {
|
|
17
|
+
readonly name: "_handoverTimeout";
|
|
18
|
+
readonly type: "uint32";
|
|
19
|
+
readonly internalType: "uint32";
|
|
12
20
|
}];
|
|
13
21
|
}, {
|
|
14
22
|
readonly type: "error";
|
|
@@ -46,26 +54,6 @@ export declare class Coordinator__factory {
|
|
|
46
54
|
readonly type: "bytes32";
|
|
47
55
|
readonly internalType: "bytes32";
|
|
48
56
|
}];
|
|
49
|
-
}, {
|
|
50
|
-
readonly type: "error";
|
|
51
|
-
readonly name: "AddressEmptyCode";
|
|
52
|
-
readonly inputs: readonly [{
|
|
53
|
-
readonly name: "target";
|
|
54
|
-
readonly type: "address";
|
|
55
|
-
readonly internalType: "address";
|
|
56
|
-
}];
|
|
57
|
-
}, {
|
|
58
|
-
readonly type: "error";
|
|
59
|
-
readonly name: "AddressInsufficientBalance";
|
|
60
|
-
readonly inputs: readonly [{
|
|
61
|
-
readonly name: "account";
|
|
62
|
-
readonly type: "address";
|
|
63
|
-
readonly internalType: "address";
|
|
64
|
-
}];
|
|
65
|
-
}, {
|
|
66
|
-
readonly type: "error";
|
|
67
|
-
readonly name: "FailedInnerCall";
|
|
68
|
-
readonly inputs: readonly [];
|
|
69
57
|
}, {
|
|
70
58
|
readonly type: "error";
|
|
71
59
|
readonly name: "InvalidInitialization";
|
|
@@ -86,14 +74,6 @@ export declare class Coordinator__factory {
|
|
|
86
74
|
readonly type: "uint256";
|
|
87
75
|
readonly internalType: "uint256";
|
|
88
76
|
}];
|
|
89
|
-
}, {
|
|
90
|
-
readonly type: "error";
|
|
91
|
-
readonly name: "SafeERC20FailedOperation";
|
|
92
|
-
readonly inputs: readonly [{
|
|
93
|
-
readonly name: "token";
|
|
94
|
-
readonly type: "address";
|
|
95
|
-
readonly internalType: "address";
|
|
96
|
-
}];
|
|
97
77
|
}, {
|
|
98
78
|
readonly type: "event";
|
|
99
79
|
readonly name: "AggregationPosted";
|
|
@@ -114,6 +94,21 @@ export declare class Coordinator__factory {
|
|
|
114
94
|
readonly indexed: false;
|
|
115
95
|
}];
|
|
116
96
|
readonly anonymous: false;
|
|
97
|
+
}, {
|
|
98
|
+
readonly type: "event";
|
|
99
|
+
readonly name: "BlindedSharePosted";
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly name: "ritualId";
|
|
102
|
+
readonly type: "uint32";
|
|
103
|
+
readonly internalType: "uint32";
|
|
104
|
+
readonly indexed: true;
|
|
105
|
+
}, {
|
|
106
|
+
readonly name: "departingParticipant";
|
|
107
|
+
readonly type: "address";
|
|
108
|
+
readonly internalType: "address";
|
|
109
|
+
readonly indexed: true;
|
|
110
|
+
}];
|
|
111
|
+
readonly anonymous: false;
|
|
117
112
|
}, {
|
|
118
113
|
readonly type: "event";
|
|
119
114
|
readonly name: "DefaultAdminDelayChangeCanceled";
|
|
@@ -179,6 +174,86 @@ export declare class Coordinator__factory {
|
|
|
179
174
|
readonly indexed: false;
|
|
180
175
|
}];
|
|
181
176
|
readonly anonymous: false;
|
|
177
|
+
}, {
|
|
178
|
+
readonly type: "event";
|
|
179
|
+
readonly name: "HandoverCanceled";
|
|
180
|
+
readonly inputs: readonly [{
|
|
181
|
+
readonly name: "ritualId";
|
|
182
|
+
readonly type: "uint32";
|
|
183
|
+
readonly internalType: "uint32";
|
|
184
|
+
readonly indexed: true;
|
|
185
|
+
}, {
|
|
186
|
+
readonly name: "departingParticipant";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
readonly indexed: true;
|
|
190
|
+
}, {
|
|
191
|
+
readonly name: "incomingParticipant";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
readonly internalType: "address";
|
|
194
|
+
readonly indexed: true;
|
|
195
|
+
}];
|
|
196
|
+
readonly anonymous: false;
|
|
197
|
+
}, {
|
|
198
|
+
readonly type: "event";
|
|
199
|
+
readonly name: "HandoverFinalized";
|
|
200
|
+
readonly inputs: readonly [{
|
|
201
|
+
readonly name: "ritualId";
|
|
202
|
+
readonly type: "uint32";
|
|
203
|
+
readonly internalType: "uint32";
|
|
204
|
+
readonly indexed: true;
|
|
205
|
+
}, {
|
|
206
|
+
readonly name: "departingParticipant";
|
|
207
|
+
readonly type: "address";
|
|
208
|
+
readonly internalType: "address";
|
|
209
|
+
readonly indexed: true;
|
|
210
|
+
}, {
|
|
211
|
+
readonly name: "incomingParticipant";
|
|
212
|
+
readonly type: "address";
|
|
213
|
+
readonly internalType: "address";
|
|
214
|
+
readonly indexed: true;
|
|
215
|
+
}];
|
|
216
|
+
readonly anonymous: false;
|
|
217
|
+
}, {
|
|
218
|
+
readonly type: "event";
|
|
219
|
+
readonly name: "HandoverRequest";
|
|
220
|
+
readonly inputs: readonly [{
|
|
221
|
+
readonly name: "ritualId";
|
|
222
|
+
readonly type: "uint32";
|
|
223
|
+
readonly internalType: "uint32";
|
|
224
|
+
readonly indexed: true;
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "departingParticipant";
|
|
227
|
+
readonly type: "address";
|
|
228
|
+
readonly internalType: "address";
|
|
229
|
+
readonly indexed: true;
|
|
230
|
+
}, {
|
|
231
|
+
readonly name: "incomingParticipant";
|
|
232
|
+
readonly type: "address";
|
|
233
|
+
readonly internalType: "address";
|
|
234
|
+
readonly indexed: true;
|
|
235
|
+
}];
|
|
236
|
+
readonly anonymous: false;
|
|
237
|
+
}, {
|
|
238
|
+
readonly type: "event";
|
|
239
|
+
readonly name: "HandoverTranscriptPosted";
|
|
240
|
+
readonly inputs: readonly [{
|
|
241
|
+
readonly name: "ritualId";
|
|
242
|
+
readonly type: "uint32";
|
|
243
|
+
readonly internalType: "uint32";
|
|
244
|
+
readonly indexed: true;
|
|
245
|
+
}, {
|
|
246
|
+
readonly name: "departingParticipant";
|
|
247
|
+
readonly type: "address";
|
|
248
|
+
readonly internalType: "address";
|
|
249
|
+
readonly indexed: true;
|
|
250
|
+
}, {
|
|
251
|
+
readonly name: "incomingParticipant";
|
|
252
|
+
readonly type: "address";
|
|
253
|
+
readonly internalType: "address";
|
|
254
|
+
readonly indexed: true;
|
|
255
|
+
}];
|
|
256
|
+
readonly anonymous: false;
|
|
182
257
|
}, {
|
|
183
258
|
readonly type: "event";
|
|
184
259
|
readonly name: "Initialized";
|
|
@@ -372,21 +447,6 @@ export declare class Coordinator__factory {
|
|
|
372
447
|
readonly indexed: false;
|
|
373
448
|
}];
|
|
374
449
|
readonly anonymous: false;
|
|
375
|
-
}, {
|
|
376
|
-
readonly type: "event";
|
|
377
|
-
readonly name: "TimeoutChanged";
|
|
378
|
-
readonly inputs: readonly [{
|
|
379
|
-
readonly name: "oldTimeout";
|
|
380
|
-
readonly type: "uint32";
|
|
381
|
-
readonly internalType: "uint32";
|
|
382
|
-
readonly indexed: false;
|
|
383
|
-
}, {
|
|
384
|
-
readonly name: "newTimeout";
|
|
385
|
-
readonly type: "uint32";
|
|
386
|
-
readonly internalType: "uint32";
|
|
387
|
-
readonly indexed: false;
|
|
388
|
-
}];
|
|
389
|
-
readonly anonymous: false;
|
|
390
450
|
}, {
|
|
391
451
|
readonly type: "event";
|
|
392
452
|
readonly name: "TranscriptPosted";
|
|
@@ -427,6 +487,16 @@ export declare class Coordinator__factory {
|
|
|
427
487
|
readonly type: "bytes32";
|
|
428
488
|
readonly internalType: "bytes32";
|
|
429
489
|
}];
|
|
490
|
+
}, {
|
|
491
|
+
readonly type: "function";
|
|
492
|
+
readonly name: "HANDOVER_SUPERVISOR_ROLE";
|
|
493
|
+
readonly stateMutability: "view";
|
|
494
|
+
readonly inputs: readonly [];
|
|
495
|
+
readonly outputs: readonly [{
|
|
496
|
+
readonly name: "";
|
|
497
|
+
readonly type: "bytes32";
|
|
498
|
+
readonly internalType: "bytes32";
|
|
499
|
+
}];
|
|
430
500
|
}, {
|
|
431
501
|
readonly type: "function";
|
|
432
502
|
readonly name: "TREASURY_ROLE";
|
|
@@ -473,12 +543,44 @@ export declare class Coordinator__factory {
|
|
|
473
543
|
readonly internalType: "address";
|
|
474
544
|
}];
|
|
475
545
|
readonly outputs: readonly [];
|
|
546
|
+
}, {
|
|
547
|
+
readonly type: "function";
|
|
548
|
+
readonly name: "blindedSharePosition";
|
|
549
|
+
readonly stateMutability: "pure";
|
|
550
|
+
readonly inputs: readonly [{
|
|
551
|
+
readonly name: "index";
|
|
552
|
+
readonly type: "uint256";
|
|
553
|
+
readonly internalType: "uint256";
|
|
554
|
+
}, {
|
|
555
|
+
readonly name: "threshold";
|
|
556
|
+
readonly type: "uint16";
|
|
557
|
+
readonly internalType: "uint16";
|
|
558
|
+
}];
|
|
559
|
+
readonly outputs: readonly [{
|
|
560
|
+
readonly name: "";
|
|
561
|
+
readonly type: "uint256";
|
|
562
|
+
readonly internalType: "uint256";
|
|
563
|
+
}];
|
|
476
564
|
}, {
|
|
477
565
|
readonly type: "function";
|
|
478
566
|
readonly name: "cancelDefaultAdminTransfer";
|
|
479
567
|
readonly stateMutability: "nonpayable";
|
|
480
568
|
readonly inputs: readonly [];
|
|
481
569
|
readonly outputs: readonly [];
|
|
570
|
+
}, {
|
|
571
|
+
readonly type: "function";
|
|
572
|
+
readonly name: "cancelHandover";
|
|
573
|
+
readonly stateMutability: "nonpayable";
|
|
574
|
+
readonly inputs: readonly [{
|
|
575
|
+
readonly name: "ritualId";
|
|
576
|
+
readonly type: "uint32";
|
|
577
|
+
readonly internalType: "uint32";
|
|
578
|
+
}, {
|
|
579
|
+
readonly name: "departingParticipant";
|
|
580
|
+
readonly type: "address";
|
|
581
|
+
readonly internalType: "address";
|
|
582
|
+
}];
|
|
583
|
+
readonly outputs: readonly [];
|
|
482
584
|
}, {
|
|
483
585
|
readonly type: "function";
|
|
484
586
|
readonly name: "changeDefaultAdminDelay";
|
|
@@ -533,6 +635,26 @@ export declare class Coordinator__factory {
|
|
|
533
635
|
readonly type: "uint48";
|
|
534
636
|
readonly internalType: "uint48";
|
|
535
637
|
}];
|
|
638
|
+
}, {
|
|
639
|
+
readonly type: "function";
|
|
640
|
+
readonly name: "dkgTimeout";
|
|
641
|
+
readonly stateMutability: "view";
|
|
642
|
+
readonly inputs: readonly [];
|
|
643
|
+
readonly outputs: readonly [{
|
|
644
|
+
readonly name: "";
|
|
645
|
+
readonly type: "uint32";
|
|
646
|
+
readonly internalType: "uint32";
|
|
647
|
+
}];
|
|
648
|
+
}, {
|
|
649
|
+
readonly type: "function";
|
|
650
|
+
readonly name: "dkgTimeoutStub";
|
|
651
|
+
readonly stateMutability: "view";
|
|
652
|
+
readonly inputs: readonly [];
|
|
653
|
+
readonly outputs: readonly [{
|
|
654
|
+
readonly name: "";
|
|
655
|
+
readonly type: "uint32";
|
|
656
|
+
readonly internalType: "uint32";
|
|
657
|
+
}];
|
|
536
658
|
}, {
|
|
537
659
|
readonly type: "function";
|
|
538
660
|
readonly name: "expectedTranscriptSize";
|
|
@@ -579,6 +701,20 @@ export declare class Coordinator__factory {
|
|
|
579
701
|
readonly type: "bool";
|
|
580
702
|
readonly internalType: "bool";
|
|
581
703
|
}];
|
|
704
|
+
}, {
|
|
705
|
+
readonly type: "function";
|
|
706
|
+
readonly name: "finalizeHandover";
|
|
707
|
+
readonly stateMutability: "nonpayable";
|
|
708
|
+
readonly inputs: readonly [{
|
|
709
|
+
readonly name: "ritualId";
|
|
710
|
+
readonly type: "uint32";
|
|
711
|
+
readonly internalType: "uint32";
|
|
712
|
+
}, {
|
|
713
|
+
readonly name: "departingParticipant";
|
|
714
|
+
readonly type: "address";
|
|
715
|
+
readonly internalType: "address";
|
|
716
|
+
}];
|
|
717
|
+
readonly outputs: readonly [];
|
|
582
718
|
}, {
|
|
583
719
|
readonly type: "function";
|
|
584
720
|
readonly name: "getAccessController";
|
|
@@ -621,6 +757,42 @@ export declare class Coordinator__factory {
|
|
|
621
757
|
readonly type: "address";
|
|
622
758
|
readonly internalType: "contract IFeeModel";
|
|
623
759
|
}];
|
|
760
|
+
}, {
|
|
761
|
+
readonly type: "function";
|
|
762
|
+
readonly name: "getHandoverKey";
|
|
763
|
+
readonly stateMutability: "view";
|
|
764
|
+
readonly inputs: readonly [{
|
|
765
|
+
readonly name: "ritualId";
|
|
766
|
+
readonly type: "uint32";
|
|
767
|
+
readonly internalType: "uint32";
|
|
768
|
+
}, {
|
|
769
|
+
readonly name: "departingProvider";
|
|
770
|
+
readonly type: "address";
|
|
771
|
+
readonly internalType: "address";
|
|
772
|
+
}];
|
|
773
|
+
readonly outputs: readonly [{
|
|
774
|
+
readonly name: "";
|
|
775
|
+
readonly type: "bytes32";
|
|
776
|
+
readonly internalType: "bytes32";
|
|
777
|
+
}];
|
|
778
|
+
}, {
|
|
779
|
+
readonly type: "function";
|
|
780
|
+
readonly name: "getHandoverState";
|
|
781
|
+
readonly stateMutability: "view";
|
|
782
|
+
readonly inputs: readonly [{
|
|
783
|
+
readonly name: "ritualId";
|
|
784
|
+
readonly type: "uint32";
|
|
785
|
+
readonly internalType: "uint32";
|
|
786
|
+
}, {
|
|
787
|
+
readonly name: "departingParticipant";
|
|
788
|
+
readonly type: "address";
|
|
789
|
+
readonly internalType: "address";
|
|
790
|
+
}];
|
|
791
|
+
readonly outputs: readonly [{
|
|
792
|
+
readonly name: "";
|
|
793
|
+
readonly type: "uint8";
|
|
794
|
+
readonly internalType: "enum Coordinator.HandoverState";
|
|
795
|
+
}];
|
|
624
796
|
}, {
|
|
625
797
|
readonly type: "function";
|
|
626
798
|
readonly name: "getInitiator";
|
|
@@ -948,6 +1120,64 @@ export declare class Coordinator__factory {
|
|
|
948
1120
|
readonly internalType: "address";
|
|
949
1121
|
}];
|
|
950
1122
|
readonly outputs: readonly [];
|
|
1123
|
+
}, {
|
|
1124
|
+
readonly type: "function";
|
|
1125
|
+
readonly name: "handoverRequest";
|
|
1126
|
+
readonly stateMutability: "nonpayable";
|
|
1127
|
+
readonly inputs: readonly [{
|
|
1128
|
+
readonly name: "ritualId";
|
|
1129
|
+
readonly type: "uint32";
|
|
1130
|
+
readonly internalType: "uint32";
|
|
1131
|
+
}, {
|
|
1132
|
+
readonly name: "departingParticipant";
|
|
1133
|
+
readonly type: "address";
|
|
1134
|
+
readonly internalType: "address";
|
|
1135
|
+
}, {
|
|
1136
|
+
readonly name: "incomingParticipant";
|
|
1137
|
+
readonly type: "address";
|
|
1138
|
+
readonly internalType: "address";
|
|
1139
|
+
}];
|
|
1140
|
+
readonly outputs: readonly [];
|
|
1141
|
+
}, {
|
|
1142
|
+
readonly type: "function";
|
|
1143
|
+
readonly name: "handoverTimeout";
|
|
1144
|
+
readonly stateMutability: "view";
|
|
1145
|
+
readonly inputs: readonly [];
|
|
1146
|
+
readonly outputs: readonly [{
|
|
1147
|
+
readonly name: "";
|
|
1148
|
+
readonly type: "uint32";
|
|
1149
|
+
readonly internalType: "uint32";
|
|
1150
|
+
}];
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly type: "function";
|
|
1153
|
+
readonly name: "handovers";
|
|
1154
|
+
readonly stateMutability: "view";
|
|
1155
|
+
readonly inputs: readonly [{
|
|
1156
|
+
readonly name: "handoverKey";
|
|
1157
|
+
readonly type: "bytes32";
|
|
1158
|
+
readonly internalType: "bytes32";
|
|
1159
|
+
}];
|
|
1160
|
+
readonly outputs: readonly [{
|
|
1161
|
+
readonly name: "requestTimestamp";
|
|
1162
|
+
readonly type: "uint32";
|
|
1163
|
+
readonly internalType: "uint32";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly name: "incomingProvider";
|
|
1166
|
+
readonly type: "address";
|
|
1167
|
+
readonly internalType: "address";
|
|
1168
|
+
}, {
|
|
1169
|
+
readonly name: "transcript";
|
|
1170
|
+
readonly type: "bytes";
|
|
1171
|
+
readonly internalType: "bytes";
|
|
1172
|
+
}, {
|
|
1173
|
+
readonly name: "decryptionRequestStaticKey";
|
|
1174
|
+
readonly type: "bytes";
|
|
1175
|
+
readonly internalType: "bytes";
|
|
1176
|
+
}, {
|
|
1177
|
+
readonly name: "blindedShare";
|
|
1178
|
+
readonly type: "bytes";
|
|
1179
|
+
readonly internalType: "bytes";
|
|
1180
|
+
}];
|
|
951
1181
|
}, {
|
|
952
1182
|
readonly type: "function";
|
|
953
1183
|
readonly name: "hasRole";
|
|
@@ -971,10 +1201,6 @@ export declare class Coordinator__factory {
|
|
|
971
1201
|
readonly name: "initialize";
|
|
972
1202
|
readonly stateMutability: "nonpayable";
|
|
973
1203
|
readonly inputs: readonly [{
|
|
974
|
-
readonly name: "_timeout";
|
|
975
|
-
readonly type: "uint32";
|
|
976
|
-
readonly internalType: "uint32";
|
|
977
|
-
}, {
|
|
978
1204
|
readonly name: "_maxDkgSize";
|
|
979
1205
|
readonly type: "uint16";
|
|
980
1206
|
readonly internalType: "uint16";
|
|
@@ -984,12 +1210,6 @@ export declare class Coordinator__factory {
|
|
|
984
1210
|
readonly internalType: "address";
|
|
985
1211
|
}];
|
|
986
1212
|
readonly outputs: readonly [];
|
|
987
|
-
}, {
|
|
988
|
-
readonly type: "function";
|
|
989
|
-
readonly name: "initializeNumberOfRituals";
|
|
990
|
-
readonly stateMutability: "nonpayable";
|
|
991
|
-
readonly inputs: readonly [];
|
|
992
|
-
readonly outputs: readonly [];
|
|
993
1213
|
}, {
|
|
994
1214
|
readonly type: "function";
|
|
995
1215
|
readonly name: "initiateRitual";
|
|
@@ -1020,28 +1240,6 @@ export declare class Coordinator__factory {
|
|
|
1020
1240
|
readonly type: "uint32";
|
|
1021
1241
|
readonly internalType: "uint32";
|
|
1022
1242
|
}];
|
|
1023
|
-
}, {
|
|
1024
|
-
readonly type: "function";
|
|
1025
|
-
readonly name: "isEncryptionAuthorized";
|
|
1026
|
-
readonly stateMutability: "view";
|
|
1027
|
-
readonly inputs: readonly [{
|
|
1028
|
-
readonly name: "";
|
|
1029
|
-
readonly type: "uint32";
|
|
1030
|
-
readonly internalType: "uint32";
|
|
1031
|
-
}, {
|
|
1032
|
-
readonly name: "";
|
|
1033
|
-
readonly type: "bytes";
|
|
1034
|
-
readonly internalType: "bytes";
|
|
1035
|
-
}, {
|
|
1036
|
-
readonly name: "";
|
|
1037
|
-
readonly type: "bytes";
|
|
1038
|
-
readonly internalType: "bytes";
|
|
1039
|
-
}];
|
|
1040
|
-
readonly outputs: readonly [{
|
|
1041
|
-
readonly name: "";
|
|
1042
|
-
readonly type: "bool";
|
|
1043
|
-
readonly internalType: "bool";
|
|
1044
|
-
}];
|
|
1045
1243
|
}, {
|
|
1046
1244
|
readonly type: "function";
|
|
1047
1245
|
readonly name: "isParticipant";
|
|
@@ -1193,40 +1391,52 @@ export declare class Coordinator__factory {
|
|
|
1193
1391
|
readonly outputs: readonly [];
|
|
1194
1392
|
}, {
|
|
1195
1393
|
readonly type: "function";
|
|
1196
|
-
readonly name: "
|
|
1394
|
+
readonly name: "postBlindedShare";
|
|
1197
1395
|
readonly stateMutability: "nonpayable";
|
|
1198
1396
|
readonly inputs: readonly [{
|
|
1199
|
-
readonly name: "";
|
|
1397
|
+
readonly name: "ritualId";
|
|
1200
1398
|
readonly type: "uint32";
|
|
1201
1399
|
readonly internalType: "uint32";
|
|
1202
1400
|
}, {
|
|
1203
|
-
readonly name: "";
|
|
1401
|
+
readonly name: "blindedShare";
|
|
1204
1402
|
readonly type: "bytes";
|
|
1205
1403
|
readonly internalType: "bytes";
|
|
1206
1404
|
}];
|
|
1207
1405
|
readonly outputs: readonly [];
|
|
1208
1406
|
}, {
|
|
1209
1407
|
readonly type: "function";
|
|
1210
|
-
readonly name: "
|
|
1408
|
+
readonly name: "postHandoverTranscript";
|
|
1211
1409
|
readonly stateMutability: "nonpayable";
|
|
1212
1410
|
readonly inputs: readonly [{
|
|
1213
1411
|
readonly name: "ritualId";
|
|
1214
1412
|
readonly type: "uint32";
|
|
1215
1413
|
readonly internalType: "uint32";
|
|
1414
|
+
}, {
|
|
1415
|
+
readonly name: "departingParticipant";
|
|
1416
|
+
readonly type: "address";
|
|
1417
|
+
readonly internalType: "address";
|
|
1216
1418
|
}, {
|
|
1217
1419
|
readonly name: "transcript";
|
|
1218
1420
|
readonly type: "bytes";
|
|
1219
1421
|
readonly internalType: "bytes";
|
|
1422
|
+
}, {
|
|
1423
|
+
readonly name: "decryptionRequestStaticKey";
|
|
1424
|
+
readonly type: "bytes";
|
|
1425
|
+
readonly internalType: "bytes";
|
|
1220
1426
|
}];
|
|
1221
1427
|
readonly outputs: readonly [];
|
|
1222
1428
|
}, {
|
|
1223
1429
|
readonly type: "function";
|
|
1224
|
-
readonly name: "
|
|
1430
|
+
readonly name: "publishTranscript";
|
|
1225
1431
|
readonly stateMutability: "nonpayable";
|
|
1226
1432
|
readonly inputs: readonly [{
|
|
1227
|
-
readonly name: "
|
|
1228
|
-
readonly type: "
|
|
1229
|
-
readonly internalType: "
|
|
1433
|
+
readonly name: "ritualId";
|
|
1434
|
+
readonly type: "uint32";
|
|
1435
|
+
readonly internalType: "uint32";
|
|
1436
|
+
}, {
|
|
1437
|
+
readonly name: "transcript";
|
|
1438
|
+
readonly type: "bytes";
|
|
1439
|
+
readonly internalType: "bytes";
|
|
1230
1440
|
}];
|
|
1231
1441
|
readonly outputs: readonly [];
|
|
1232
1442
|
}, {
|
|
@@ -1262,7 +1472,7 @@ export declare class Coordinator__factory {
|
|
|
1262
1472
|
readonly name: "rituals";
|
|
1263
1473
|
readonly stateMutability: "view";
|
|
1264
1474
|
readonly inputs: readonly [{
|
|
1265
|
-
readonly name: "
|
|
1475
|
+
readonly name: "index";
|
|
1266
1476
|
readonly type: "uint256";
|
|
1267
1477
|
readonly internalType: "uint256";
|
|
1268
1478
|
}];
|
|
@@ -1377,16 +1587,6 @@ export declare class Coordinator__factory {
|
|
|
1377
1587
|
readonly internalType: "contract IReimbursementPool";
|
|
1378
1588
|
}];
|
|
1379
1589
|
readonly outputs: readonly [];
|
|
1380
|
-
}, {
|
|
1381
|
-
readonly type: "function";
|
|
1382
|
-
readonly name: "setTimeout";
|
|
1383
|
-
readonly stateMutability: "nonpayable";
|
|
1384
|
-
readonly inputs: readonly [{
|
|
1385
|
-
readonly name: "newTimeout";
|
|
1386
|
-
readonly type: "uint32";
|
|
1387
|
-
readonly internalType: "uint32";
|
|
1388
|
-
}];
|
|
1389
|
-
readonly outputs: readonly [];
|
|
1390
1590
|
}, {
|
|
1391
1591
|
readonly type: "function";
|
|
1392
1592
|
readonly name: "supportsInterface";
|
|
@@ -1425,16 +1625,6 @@ export declare class Coordinator__factory {
|
|
|
1425
1625
|
readonly internalType: "address";
|
|
1426
1626
|
}];
|
|
1427
1627
|
readonly outputs: readonly [];
|
|
1428
|
-
}, {
|
|
1429
|
-
readonly type: "function";
|
|
1430
|
-
readonly name: "withdrawAllTokens";
|
|
1431
|
-
readonly stateMutability: "nonpayable";
|
|
1432
|
-
readonly inputs: readonly [{
|
|
1433
|
-
readonly name: "token";
|
|
1434
|
-
readonly type: "address";
|
|
1435
|
-
readonly internalType: "contract IERC20";
|
|
1436
|
-
}];
|
|
1437
|
-
readonly outputs: readonly [];
|
|
1438
1628
|
}];
|
|
1439
1629
|
static createInterface(): CoordinatorInterface;
|
|
1440
1630
|
static connect(address: string, signerOrProvider: Signer | Provider): Coordinator;
|