@nucypher/shared 0.3.0 → 0.5.0-alpha.0

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/agents/coordinator.d.ts +1 -1
  2. package/dist/cjs/contracts/agents/coordinator.js +2 -2
  3. package/dist/cjs/contracts/agents/coordinator.js.map +1 -1
  4. package/dist/cjs/contracts/ethers-typechain/Coordinator.d.ts +128 -120
  5. package/dist/cjs/contracts/ethers-typechain/GlobalAllowList.d.ts +17 -1
  6. package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +116 -155
  7. package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js +147 -198
  8. package/dist/cjs/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
  9. package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +24 -0
  10. package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +32 -0
  11. package/dist/cjs/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
  12. package/dist/cjs/contracts/ethers-typechain/index.d.ts +2 -2
  13. package/dist/cjs/contracts/ethers-typechain/index.js.map +1 -1
  14. package/dist/cjs/porter.d.ts +10 -5
  15. package/dist/cjs/porter.js +102 -18
  16. package/dist/cjs/porter.js.map +1 -1
  17. package/dist/cjs/schemas.d.ts +1 -1
  18. package/dist/cjs/schemas.js +10 -3
  19. package/dist/cjs/schemas.js.map +1 -1
  20. package/dist/es/contracts/agents/coordinator.d.ts +1 -1
  21. package/dist/es/contracts/agents/coordinator.js +2 -2
  22. package/dist/es/contracts/agents/coordinator.js.map +1 -1
  23. package/dist/es/contracts/ethers-typechain/Coordinator.d.ts +128 -120
  24. package/dist/es/contracts/ethers-typechain/GlobalAllowList.d.ts +17 -1
  25. package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.d.ts +116 -155
  26. package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js +147 -198
  27. package/dist/es/contracts/ethers-typechain/factories/Coordinator__factory.js.map +1 -1
  28. package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.d.ts +24 -0
  29. package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js +32 -0
  30. package/dist/es/contracts/ethers-typechain/factories/GlobalAllowList__factory.js.map +1 -1
  31. package/dist/es/contracts/ethers-typechain/index.d.ts +2 -2
  32. package/dist/es/contracts/ethers-typechain/index.js.map +1 -1
  33. package/dist/es/porter.d.ts +10 -5
  34. package/dist/es/porter.js +75 -16
  35. package/dist/es/porter.js.map +1 -1
  36. package/dist/es/schemas.d.ts +1 -1
  37. package/dist/es/schemas.js +9 -2
  38. package/dist/es/schemas.js.map +1 -1
  39. package/dist/tsconfig.cjs.tsbuildinfo +1 -1
  40. package/dist/tsconfig.es.tsbuildinfo +1 -1
  41. package/package.json +6 -5
@@ -4,18 +4,24 @@ import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, C
4
4
  import type { OnEvent, TypedEvent, TypedEventFilter, TypedListener } from './common';
5
5
  export interface GlobalAllowListInterface extends utils.Interface {
6
6
  functions: {
7
+ 'MAX_AUTH_ACTIONS()': FunctionFragment;
8
+ 'authActions(uint32)': FunctionFragment;
7
9
  'authorize(uint32,address[])': FunctionFragment;
8
10
  'coordinator()': FunctionFragment;
9
11
  'deauthorize(uint32,address[])': FunctionFragment;
10
12
  'isAddressAuthorized(uint32,address)': FunctionFragment;
11
13
  'isAuthorized(uint32,bytes,bytes)': FunctionFragment;
12
14
  };
13
- getFunction(nameOrSignatureOrTopic: 'authorize' | 'coordinator' | 'deauthorize' | 'isAddressAuthorized' | 'isAuthorized'): FunctionFragment;
15
+ getFunction(nameOrSignatureOrTopic: 'MAX_AUTH_ACTIONS' | 'authActions' | 'authorize' | 'coordinator' | 'deauthorize' | 'isAddressAuthorized' | 'isAuthorized'): FunctionFragment;
16
+ encodeFunctionData(functionFragment: 'MAX_AUTH_ACTIONS', values?: undefined): string;
17
+ encodeFunctionData(functionFragment: 'authActions', values: [BigNumberish]): string;
14
18
  encodeFunctionData(functionFragment: 'authorize', values: [BigNumberish, string[]]): string;
15
19
  encodeFunctionData(functionFragment: 'coordinator', values?: undefined): string;
16
20
  encodeFunctionData(functionFragment: 'deauthorize', values: [BigNumberish, string[]]): string;
17
21
  encodeFunctionData(functionFragment: 'isAddressAuthorized', values: [BigNumberish, string]): string;
18
22
  encodeFunctionData(functionFragment: 'isAuthorized', values: [BigNumberish, BytesLike, BytesLike]): string;
23
+ decodeFunctionResult(functionFragment: 'MAX_AUTH_ACTIONS', data: BytesLike): Result;
24
+ decodeFunctionResult(functionFragment: 'authActions', data: BytesLike): Result;
19
25
  decodeFunctionResult(functionFragment: 'authorize', data: BytesLike): Result;
20
26
  decodeFunctionResult(functionFragment: 'coordinator', data: BytesLike): Result;
21
27
  decodeFunctionResult(functionFragment: 'deauthorize', data: BytesLike): Result;
@@ -52,6 +58,8 @@ export interface GlobalAllowList extends BaseContract {
52
58
  once: OnEvent<this>;
53
59
  removeListener: OnEvent<this>;
54
60
  functions: {
61
+ MAX_AUTH_ACTIONS(overrides?: CallOverrides): Promise<[number]>;
62
+ authActions(arg0: BigNumberish, overrides?: CallOverrides): Promise<[BigNumber]>;
55
63
  authorize(ritualId: BigNumberish, addresses: string[], overrides?: Overrides & {
56
64
  from?: string;
57
65
  }): Promise<ContractTransaction>;
@@ -62,6 +70,8 @@ export interface GlobalAllowList extends BaseContract {
62
70
  isAddressAuthorized(ritualId: BigNumberish, encryptor: string, overrides?: CallOverrides): Promise<[boolean]>;
63
71
  isAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<[boolean]>;
64
72
  };
73
+ MAX_AUTH_ACTIONS(overrides?: CallOverrides): Promise<number>;
74
+ authActions(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
65
75
  authorize(ritualId: BigNumberish, addresses: string[], overrides?: Overrides & {
66
76
  from?: string;
67
77
  }): Promise<ContractTransaction>;
@@ -72,6 +82,8 @@ export interface GlobalAllowList extends BaseContract {
72
82
  isAddressAuthorized(ritualId: BigNumberish, encryptor: string, overrides?: CallOverrides): Promise<boolean>;
73
83
  isAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<boolean>;
74
84
  callStatic: {
85
+ MAX_AUTH_ACTIONS(overrides?: CallOverrides): Promise<number>;
86
+ authActions(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
75
87
  authorize(ritualId: BigNumberish, addresses: string[], overrides?: CallOverrides): Promise<void>;
76
88
  coordinator(overrides?: CallOverrides): Promise<string>;
77
89
  deauthorize(ritualId: BigNumberish, addresses: string[], overrides?: CallOverrides): Promise<void>;
@@ -83,6 +95,8 @@ export interface GlobalAllowList extends BaseContract {
83
95
  AddressAuthorizationSet(ritualId?: BigNumberish | null, _address?: string | null, isAuthorized?: null): AddressAuthorizationSetEventFilter;
84
96
  };
85
97
  estimateGas: {
98
+ MAX_AUTH_ACTIONS(overrides?: CallOverrides): Promise<BigNumber>;
99
+ authActions(arg0: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>;
86
100
  authorize(ritualId: BigNumberish, addresses: string[], overrides?: Overrides & {
87
101
  from?: string;
88
102
  }): Promise<BigNumber>;
@@ -94,6 +108,8 @@ export interface GlobalAllowList extends BaseContract {
94
108
  isAuthorized(ritualId: BigNumberish, evidence: BytesLike, ciphertextHeader: BytesLike, overrides?: CallOverrides): Promise<BigNumber>;
95
109
  };
96
110
  populateTransaction: {
111
+ MAX_AUTH_ACTIONS(overrides?: CallOverrides): Promise<PopulatedTransaction>;
112
+ authActions(arg0: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>;
97
113
  authorize(ritualId: BigNumberish, addresses: string[], overrides?: Overrides & {
98
114
  from?: string;
99
115
  }): Promise<PopulatedTransaction>;
@@ -9,14 +9,6 @@ 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: "_currency";
14
- readonly type: "address";
15
- readonly internalType: "contract IERC20";
16
- }, {
17
- readonly name: "_feeRatePerSecond";
18
- readonly type: "uint256";
19
- readonly internalType: "uint256";
20
12
  }];
21
13
  }, {
22
14
  readonly type: "error";
@@ -54,26 +46,6 @@ export declare class Coordinator__factory {
54
46
  readonly type: "bytes32";
55
47
  readonly internalType: "bytes32";
56
48
  }];
57
- }, {
58
- readonly type: "error";
59
- readonly name: "AddressEmptyCode";
60
- readonly inputs: readonly [{
61
- readonly name: "target";
62
- readonly type: "address";
63
- readonly internalType: "address";
64
- }];
65
- }, {
66
- readonly type: "error";
67
- readonly name: "AddressInsufficientBalance";
68
- readonly inputs: readonly [{
69
- readonly name: "account";
70
- readonly type: "address";
71
- readonly internalType: "address";
72
- }];
73
- }, {
74
- readonly type: "error";
75
- readonly name: "FailedInnerCall";
76
- readonly inputs: readonly [];
77
49
  }, {
78
50
  readonly type: "error";
79
51
  readonly name: "InvalidInitialization";
@@ -94,14 +66,6 @@ export declare class Coordinator__factory {
94
66
  readonly type: "uint256";
95
67
  readonly internalType: "uint256";
96
68
  }];
97
- }, {
98
- readonly type: "error";
99
- readonly name: "SafeERC20FailedOperation";
100
- readonly inputs: readonly [{
101
- readonly name: "token";
102
- readonly type: "address";
103
- readonly internalType: "address";
104
- }];
105
69
  }, {
106
70
  readonly type: "event";
107
71
  readonly name: "AggregationPosted";
@@ -177,6 +141,16 @@ export declare class Coordinator__factory {
177
141
  readonly indexed: false;
178
142
  }];
179
143
  readonly anonymous: false;
144
+ }, {
145
+ readonly type: "event";
146
+ readonly name: "FeeModelApproved";
147
+ readonly inputs: readonly [{
148
+ readonly name: "feeModel";
149
+ readonly type: "address";
150
+ readonly internalType: "contract IFeeModel";
151
+ readonly indexed: false;
152
+ }];
153
+ readonly anonymous: false;
180
154
  }, {
181
155
  readonly type: "event";
182
156
  readonly name: "Initialized";
@@ -265,6 +239,21 @@ export declare class Coordinator__factory {
265
239
  readonly indexed: true;
266
240
  }];
267
241
  readonly anonymous: false;
242
+ }, {
243
+ readonly type: "event";
244
+ readonly name: "RitualExtended";
245
+ readonly inputs: readonly [{
246
+ readonly name: "ritualId";
247
+ readonly type: "uint32";
248
+ readonly internalType: "uint32";
249
+ readonly indexed: true;
250
+ }, {
251
+ readonly name: "endTimestamp";
252
+ readonly type: "uint32";
253
+ readonly internalType: "uint32";
254
+ readonly indexed: false;
255
+ }];
256
+ readonly anonymous: false;
268
257
  }, {
269
258
  readonly type: "event";
270
259
  readonly name: "RoleAdminChanged";
@@ -400,16 +389,6 @@ export declare class Coordinator__factory {
400
389
  readonly type: "bytes32";
401
390
  readonly internalType: "bytes32";
402
391
  }];
403
- }, {
404
- readonly type: "function";
405
- readonly name: "INITIATOR_ROLE";
406
- readonly stateMutability: "view";
407
- readonly inputs: readonly [];
408
- readonly outputs: readonly [{
409
- readonly name: "";
410
- readonly type: "bytes32";
411
- readonly internalType: "bytes32";
412
- }];
413
392
  }, {
414
393
  readonly type: "function";
415
394
  readonly name: "TREASURY_ROLE";
@@ -436,6 +415,16 @@ export declare class Coordinator__factory {
436
415
  readonly type: "address";
437
416
  readonly internalType: "contract ITACoChildApplication";
438
417
  }];
418
+ }, {
419
+ readonly type: "function";
420
+ readonly name: "approveFeeModel";
421
+ readonly stateMutability: "nonpayable";
422
+ readonly inputs: readonly [{
423
+ readonly name: "feeModel";
424
+ readonly type: "address";
425
+ readonly internalType: "contract IFeeModel";
426
+ }];
427
+ readonly outputs: readonly [];
439
428
  }, {
440
429
  readonly type: "function";
441
430
  readonly name: "beginDefaultAdminTransfer";
@@ -476,16 +465,6 @@ export declare class Coordinator__factory {
476
465
  readonly type: "bytes32";
477
466
  readonly internalType: "bytes32";
478
467
  }];
479
- }, {
480
- readonly type: "function";
481
- readonly name: "currency";
482
- readonly stateMutability: "view";
483
- readonly inputs: readonly [];
484
- readonly outputs: readonly [{
485
- readonly name: "";
486
- readonly type: "address";
487
- readonly internalType: "contract IERC20";
488
- }];
489
468
  }, {
490
469
  readonly type: "function";
491
470
  readonly name: "defaultAdmin";
@@ -518,31 +497,45 @@ export declare class Coordinator__factory {
518
497
  }];
519
498
  }, {
520
499
  readonly type: "function";
521
- readonly name: "feeDeduction";
522
- readonly stateMutability: "pure";
500
+ readonly name: "extendRitual";
501
+ readonly stateMutability: "nonpayable";
523
502
  readonly inputs: readonly [{
524
- readonly name: "";
525
- readonly type: "uint256";
526
- readonly internalType: "uint256";
503
+ readonly name: "ritualId";
504
+ readonly type: "uint32";
505
+ readonly internalType: "uint32";
527
506
  }, {
507
+ readonly name: "duration";
508
+ readonly type: "uint32";
509
+ readonly internalType: "uint32";
510
+ }];
511
+ readonly outputs: readonly [];
512
+ }, {
513
+ readonly type: "function";
514
+ readonly name: "feeModelsRegistry";
515
+ readonly stateMutability: "view";
516
+ readonly inputs: readonly [{
528
517
  readonly name: "";
529
- readonly type: "uint256";
530
- readonly internalType: "uint256";
518
+ readonly type: "address";
519
+ readonly internalType: "contract IFeeModel";
531
520
  }];
532
521
  readonly outputs: readonly [{
533
522
  readonly name: "";
534
- readonly type: "uint256";
535
- readonly internalType: "uint256";
523
+ readonly type: "bool";
524
+ readonly internalType: "bool";
536
525
  }];
537
526
  }, {
538
527
  readonly type: "function";
539
- readonly name: "feeRatePerSecond";
528
+ readonly name: "getAccessController";
540
529
  readonly stateMutability: "view";
541
- readonly inputs: readonly [];
530
+ readonly inputs: readonly [{
531
+ readonly name: "ritualId";
532
+ readonly type: "uint32";
533
+ readonly internalType: "uint32";
534
+ }];
542
535
  readonly outputs: readonly [{
543
536
  readonly name: "";
544
- readonly type: "uint256";
545
- readonly internalType: "uint256";
537
+ readonly type: "address";
538
+ readonly internalType: "contract IEncryptionAuthorizer";
546
539
  }];
547
540
  }, {
548
541
  readonly type: "function";
@@ -558,6 +551,34 @@ export declare class Coordinator__factory {
558
551
  readonly type: "address";
559
552
  readonly internalType: "address";
560
553
  }];
554
+ }, {
555
+ readonly type: "function";
556
+ readonly name: "getFeeModel";
557
+ readonly stateMutability: "view";
558
+ readonly inputs: readonly [{
559
+ readonly name: "ritualId";
560
+ readonly type: "uint32";
561
+ readonly internalType: "uint32";
562
+ }];
563
+ readonly outputs: readonly [{
564
+ readonly name: "";
565
+ readonly type: "address";
566
+ readonly internalType: "contract IFeeModel";
567
+ }];
568
+ }, {
569
+ readonly type: "function";
570
+ readonly name: "getInitiator";
571
+ readonly stateMutability: "view";
572
+ readonly inputs: readonly [{
573
+ readonly name: "ritualId";
574
+ readonly type: "uint32";
575
+ readonly internalType: "uint32";
576
+ }];
577
+ readonly outputs: readonly [{
578
+ readonly name: "";
579
+ readonly type: "address";
580
+ readonly internalType: "address";
581
+ }];
561
582
  }, {
562
583
  readonly type: "function";
563
584
  readonly name: "getParticipant";
@@ -797,24 +818,6 @@ export declare class Coordinator__factory {
797
818
  readonly type: "uint32";
798
819
  readonly internalType: "uint32";
799
820
  }];
800
- }, {
801
- readonly type: "function";
802
- readonly name: "getRitualInitiationCost";
803
- readonly stateMutability: "view";
804
- readonly inputs: readonly [{
805
- readonly name: "providers";
806
- readonly type: "address[]";
807
- readonly internalType: "address[]";
808
- }, {
809
- readonly name: "duration";
810
- readonly type: "uint32";
811
- readonly internalType: "uint32";
812
- }];
813
- readonly outputs: readonly [{
814
- readonly name: "";
815
- readonly type: "uint256";
816
- readonly internalType: "uint256";
817
- }];
818
821
  }, {
819
822
  readonly type: "function";
820
823
  readonly name: "getRitualState";
@@ -857,6 +860,24 @@ export declare class Coordinator__factory {
857
860
  readonly type: "uint16";
858
861
  readonly internalType: "uint16";
859
862
  }];
863
+ }, {
864
+ readonly type: "function";
865
+ readonly name: "getTimestamps";
866
+ readonly stateMutability: "view";
867
+ readonly inputs: readonly [{
868
+ readonly name: "ritualId";
869
+ readonly type: "uint32";
870
+ readonly internalType: "uint32";
871
+ }];
872
+ readonly outputs: readonly [{
873
+ readonly name: "initTimestamp";
874
+ readonly type: "uint32";
875
+ readonly internalType: "uint32";
876
+ }, {
877
+ readonly name: "endTimestamp";
878
+ readonly type: "uint32";
879
+ readonly internalType: "uint32";
880
+ }];
860
881
  }, {
861
882
  readonly type: "function";
862
883
  readonly name: "grantRole";
@@ -912,6 +933,10 @@ export declare class Coordinator__factory {
912
933
  readonly name: "initiateRitual";
913
934
  readonly stateMutability: "nonpayable";
914
935
  readonly inputs: readonly [{
936
+ readonly name: "feeModel";
937
+ readonly type: "address";
938
+ readonly internalType: "contract IFeeModel";
939
+ }, {
915
940
  readonly name: "providers";
916
941
  readonly type: "address[]";
917
942
  readonly internalType: "address[]";
@@ -955,16 +980,6 @@ export declare class Coordinator__factory {
955
980
  readonly type: "bool";
956
981
  readonly internalType: "bool";
957
982
  }];
958
- }, {
959
- readonly type: "function";
960
- readonly name: "isInitiationPublic";
961
- readonly stateMutability: "view";
962
- readonly inputs: readonly [];
963
- readonly outputs: readonly [{
964
- readonly name: "";
965
- readonly type: "bool";
966
- readonly internalType: "bool";
967
- }];
968
983
  }, {
969
984
  readonly type: "function";
970
985
  readonly name: "isParticipant";
@@ -1011,12 +1026,6 @@ export declare class Coordinator__factory {
1011
1026
  readonly type: "bool";
1012
1027
  readonly internalType: "bool";
1013
1028
  }];
1014
- }, {
1015
- readonly type: "function";
1016
- readonly name: "makeInitiationPublic";
1017
- readonly stateMutability: "nonpayable";
1018
- readonly inputs: readonly [];
1019
- readonly outputs: readonly [];
1020
1029
  }, {
1021
1030
  readonly type: "function";
1022
1031
  readonly name: "maxDkgSize";
@@ -1075,20 +1084,6 @@ export declare class Coordinator__factory {
1075
1084
  readonly type: "uint48";
1076
1085
  readonly internalType: "uint48";
1077
1086
  }];
1078
- }, {
1079
- readonly type: "function";
1080
- readonly name: "pendingFees";
1081
- readonly stateMutability: "view";
1082
- readonly inputs: readonly [{
1083
- readonly name: "";
1084
- readonly type: "uint256";
1085
- readonly internalType: "uint256";
1086
- }];
1087
- readonly outputs: readonly [{
1088
- readonly name: "";
1089
- readonly type: "uint256";
1090
- readonly internalType: "uint256";
1091
- }];
1092
1087
  }, {
1093
1088
  readonly type: "function";
1094
1089
  readonly name: "postAggregation";
@@ -1134,20 +1129,6 @@ export declare class Coordinator__factory {
1134
1129
  readonly internalType: "bytes";
1135
1130
  }];
1136
1131
  readonly outputs: readonly [];
1137
- }, {
1138
- readonly type: "function";
1139
- readonly name: "processPendingFee";
1140
- readonly stateMutability: "nonpayable";
1141
- readonly inputs: readonly [{
1142
- readonly name: "ritualId";
1143
- readonly type: "uint32";
1144
- readonly internalType: "uint32";
1145
- }];
1146
- readonly outputs: readonly [{
1147
- readonly name: "refundableFee";
1148
- readonly type: "uint256";
1149
- readonly internalType: "uint256";
1150
- }];
1151
1132
  }, {
1152
1133
  readonly type: "function";
1153
1134
  readonly name: "renounceRole";
@@ -1242,6 +1223,10 @@ export declare class Coordinator__factory {
1242
1223
  readonly name: "aggregatedTranscript";
1243
1224
  readonly type: "bytes";
1244
1225
  readonly internalType: "bytes";
1226
+ }, {
1227
+ readonly name: "feeModel";
1228
+ readonly type: "address";
1229
+ readonly internalType: "contract IFeeModel";
1245
1230
  }];
1246
1231
  }, {
1247
1232
  readonly type: "function";
@@ -1326,16 +1311,6 @@ export declare class Coordinator__factory {
1326
1311
  readonly type: "uint32";
1327
1312
  readonly internalType: "uint32";
1328
1313
  }];
1329
- }, {
1330
- readonly type: "function";
1331
- readonly name: "totalPendingFees";
1332
- readonly stateMutability: "view";
1333
- readonly inputs: readonly [];
1334
- readonly outputs: readonly [{
1335
- readonly name: "";
1336
- readonly type: "uint256";
1337
- readonly internalType: "uint256";
1338
- }];
1339
1314
  }, {
1340
1315
  readonly type: "function";
1341
1316
  readonly name: "transferRitualAuthority";
@@ -1350,20 +1325,6 @@ export declare class Coordinator__factory {
1350
1325
  readonly internalType: "address";
1351
1326
  }];
1352
1327
  readonly outputs: readonly [];
1353
- }, {
1354
- readonly type: "function";
1355
- readonly name: "withdrawTokens";
1356
- readonly stateMutability: "nonpayable";
1357
- readonly inputs: readonly [{
1358
- readonly name: "token";
1359
- readonly type: "address";
1360
- readonly internalType: "contract IERC20";
1361
- }, {
1362
- readonly name: "amount";
1363
- readonly type: "uint256";
1364
- readonly internalType: "uint256";
1365
- }];
1366
- readonly outputs: readonly [];
1367
1328
  }];
1368
1329
  static createInterface(): CoordinatorInterface;
1369
1330
  static connect(address: string, signerOrProvider: Signer | Provider): Coordinator;