@gearbox-protocol/sdk 1.1.0 → 1.2.2

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 (99) hide show
  1. package/lib/core/creditManager.d.ts +5 -0
  2. package/lib/core/creditManager.js +5 -0
  3. package/lib/pathfinder/path.js +5 -5
  4. package/lib/payload/creditManager.d.ts +5 -0
  5. package/lib/strategies/creditFacade.js +1 -1
  6. package/lib/tokens/token.js +18 -18
  7. package/lib/types/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator.d.ts +271 -20
  8. package/lib/types/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents.d.ts +8 -19
  9. package/lib/types/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended.d.ts +9 -9
  10. package/lib/types/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2.d.ts +52 -116
  11. package/lib/types/contracts/interfaces/IDataCompressor.sol/IDataCompressor.d.ts +26 -1
  12. package/lib/types/contracts/interfaces/IDegenNFT.sol/IDegenNFT.d.ts +10 -10
  13. package/lib/types/contracts/interfaces/V1/ICreditFilter.d.ts +3 -3
  14. package/lib/types/contracts/interfaces/adapters/convex/IConvexV1BoosterAdapter.d.ts +1 -9
  15. package/lib/types/contracts/pathfinder/index.d.ts +0 -1
  16. package/lib/types/contracts/pathfinder/interfaces/IClosePathResolver.d.ts +125 -0
  17. package/lib/types/contracts/pathfinder/{ISwapper.js → interfaces/IClosePathResolver.js} +0 -0
  18. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor.d.ts +159 -0
  19. package/lib/types/contracts/pathfinder/interfaces/{ISwapPathFinder.js → IDepositor.sol/IDepositor.js} +0 -0
  20. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions.d.ts +165 -0
  21. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions.js +2 -0
  22. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/index.d.ts +2 -0
  23. package/lib/types/contracts/pathfinder/interfaces/IDepositor.sol/index.js +2 -0
  24. package/lib/types/contracts/pathfinder/interfaces/IGasPricer.d.ts +44 -0
  25. package/lib/types/contracts/pathfinder/interfaces/IGasPricer.js +2 -0
  26. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker.d.ts +113 -0
  27. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker.js +2 -0
  28. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions.d.ts +119 -0
  29. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions.js +2 -0
  30. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/index.d.ts +2 -0
  31. package/lib/types/contracts/pathfinder/interfaces/ILPWorker.sol/index.js +2 -0
  32. package/lib/types/contracts/pathfinder/interfaces/IPathFinder.d.ts +210 -0
  33. package/lib/types/contracts/pathfinder/interfaces/IPathFinder.js +2 -0
  34. package/lib/types/contracts/pathfinder/interfaces/IPathResolver.d.ts +131 -0
  35. package/lib/types/contracts/pathfinder/interfaces/IPathResolver.js +2 -0
  36. package/lib/types/contracts/pathfinder/interfaces/{ISwapPathFinder.d.ts → ISwapAggregator.d.ts} +98 -14
  37. package/lib/types/contracts/pathfinder/interfaces/ISwapAggregator.js +2 -0
  38. package/lib/types/contracts/pathfinder/{ISwapper.d.ts → interfaces/ISwapper.d.ts} +1 -1
  39. package/lib/types/contracts/pathfinder/interfaces/ISwapper.js +2 -0
  40. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer.d.ts +144 -0
  41. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer.js +2 -0
  42. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions.d.ts +160 -0
  43. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions.js +2 -0
  44. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/index.d.ts +2 -0
  45. package/lib/types/contracts/pathfinder/interfaces/IWithdrawer.sol/index.js +2 -0
  46. package/lib/types/contracts/pathfinder/interfaces/index.d.ts +12 -1
  47. package/lib/types/factories/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.js +1 -14
  48. package/lib/types/factories/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorExceptions__factory.js +2 -17
  49. package/lib/types/factories/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.js +240 -31
  50. package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExceptions__factory.js +7 -2
  51. package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacadeExtended__factory.js +1 -1
  52. package/lib/types/factories/contracts/interfaces/ICreditFacade.sol/ICreditFacade__factory.js +7 -2
  53. package/lib/types/factories/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2Exceptions__factory.js +2 -2
  54. package/lib/types/factories/contracts/interfaces/ICreditManagerV2.sol/ICreditManagerV2__factory.js +41 -84
  55. package/lib/types/factories/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.d.ts +14 -14
  56. package/lib/types/factories/contracts/interfaces/IDataCompressor.sol/IDataCompressor__factory.js +74 -0
  57. package/lib/types/factories/contracts/interfaces/IDegenNFT.sol/IDegenNFT__factory.js +4 -4
  58. package/lib/types/factories/contracts/interfaces/V1/ICreditFilter__factory.js +1 -1
  59. package/lib/types/factories/contracts/interfaces/adapters/convex/IConvexV1BoosterAdapter__factory.js +0 -13
  60. package/lib/types/factories/contracts/pathfinder/index.d.ts +0 -1
  61. package/lib/types/factories/contracts/pathfinder/index.js +1 -3
  62. package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.d.ts +57 -0
  63. package/lib/types/factories/contracts/pathfinder/interfaces/IClosePathResolver__factory.js +264 -0
  64. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions__factory.d.ts +62 -0
  65. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositorOptions__factory.js +717 -0
  66. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.d.ts +62 -0
  67. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/IDepositor__factory.js +702 -0
  68. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/index.d.ts +2 -0
  69. package/lib/types/factories/contracts/pathfinder/interfaces/IDepositor.sol/index.js +10 -0
  70. package/lib/types/factories/contracts/pathfinder/interfaces/IGasPricer__factory.d.ts +22 -0
  71. package/lib/types/factories/contracts/pathfinder/interfaces/IGasPricer__factory.js +41 -0
  72. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.d.ts +62 -0
  73. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions__factory.js +252 -0
  74. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.d.ts +62 -0
  75. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker__factory.js +247 -0
  76. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/index.d.ts +2 -0
  77. package/lib/types/factories/contracts/pathfinder/interfaces/ILPWorker.sol/index.js +10 -0
  78. package/lib/types/factories/contracts/pathfinder/interfaces/{ISwapPathFinder__factory.d.ts → IPathFinder__factory.d.ts} +42 -28
  79. package/lib/types/factories/contracts/pathfinder/interfaces/IPathFinder__factory.js +483 -0
  80. package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.d.ts +57 -0
  81. package/lib/types/factories/contracts/pathfinder/interfaces/IPathResolver__factory.js +467 -0
  82. package/lib/types/factories/contracts/pathfinder/interfaces/ISwapAggregator__factory.d.ts +62 -0
  83. package/lib/types/factories/contracts/pathfinder/interfaces/ISwapAggregator__factory.js +782 -0
  84. package/lib/types/factories/contracts/pathfinder/{ISwapper__factory.d.ts → interfaces/ISwapper__factory.d.ts} +1 -1
  85. package/lib/types/factories/contracts/pathfinder/{ISwapper__factory.js → interfaces/ISwapper__factory.js} +0 -0
  86. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.d.ts +62 -0
  87. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawerOptions__factory.js +729 -0
  88. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.d.ts +62 -0
  89. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/IWithdrawer__factory.js +692 -0
  90. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/index.d.ts +2 -0
  91. package/lib/types/factories/contracts/pathfinder/interfaces/IWithdrawer.sol/index.js +10 -0
  92. package/lib/types/factories/contracts/pathfinder/interfaces/index.d.ts +9 -1
  93. package/lib/types/factories/contracts/pathfinder/interfaces/index.js +39 -3
  94. package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.d.ts +1 -1
  95. package/lib/types/factories/contracts/support/MultiCall.sol/Multicall2__factory.js +1 -1
  96. package/lib/types/index.d.ts +24 -4
  97. package/lib/types/index.js +24 -4
  98. package/package.json +2 -2
  99. package/lib/types/factories/contracts/pathfinder/interfaces/ISwapPathFinder__factory.js +0 -346
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IDepositorOptions__factory = exports.IDepositor__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var IDepositor__factory_1 = require("./IDepositor__factory");
8
+ Object.defineProperty(exports, "IDepositor__factory", { enumerable: true, get: function () { return IDepositor__factory_1.IDepositor__factory; } });
9
+ var IDepositorOptions__factory_1 = require("./IDepositorOptions__factory");
10
+ Object.defineProperty(exports, "IDepositorOptions__factory", { enumerable: true, get: function () { return IDepositorOptions__factory_1.IDepositorOptions__factory; } });
@@ -0,0 +1,22 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { IGasPricer, IGasPricerInterface } from "../../../../contracts/pathfinder/interfaces/IGasPricer";
4
+ export declare class IGasPricer__factory {
5
+ static readonly abi: {
6
+ inputs: {
7
+ internalType: string;
8
+ name: string;
9
+ type: string;
10
+ }[];
11
+ name: string;
12
+ outputs: {
13
+ internalType: string;
14
+ name: string;
15
+ type: string;
16
+ }[];
17
+ stateMutability: string;
18
+ type: string;
19
+ }[];
20
+ static createInterface(): IGasPricerInterface;
21
+ static connect(address: string, signerOrProvider: Signer | Provider): IGasPricer;
22
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.IGasPricer__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "address",
13
+ name: "token",
14
+ type: "address",
15
+ },
16
+ ],
17
+ name: "getGasPriceTokenOutRAY",
18
+ outputs: [
19
+ {
20
+ internalType: "uint256",
21
+ name: "gasPrice",
22
+ type: "uint256",
23
+ },
24
+ ],
25
+ stateMutability: "view",
26
+ type: "function",
27
+ },
28
+ ];
29
+ var IGasPricer__factory = /** @class */ (function () {
30
+ function IGasPricer__factory() {
31
+ }
32
+ IGasPricer__factory.createInterface = function () {
33
+ return new ethers_1.utils.Interface(_abi);
34
+ };
35
+ IGasPricer__factory.connect = function (address, signerOrProvider) {
36
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
37
+ };
38
+ IGasPricer__factory.abi = _abi;
39
+ return IGasPricer__factory;
40
+ }());
41
+ exports.IGasPricer__factory = IGasPricer__factory;
@@ -0,0 +1,62 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { ILPWorkerOptions, ILPWorkerOptionsInterface } from "../../../../../contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorkerOptions";
4
+ export declare class ILPWorkerOptions__factory {
5
+ static readonly abi: {
6
+ inputs: ({
7
+ internalType: string;
8
+ name: string;
9
+ type: string;
10
+ components?: undefined;
11
+ } | {
12
+ components: ({
13
+ internalType: string;
14
+ name: string;
15
+ type: string;
16
+ components?: undefined;
17
+ } | {
18
+ components: {
19
+ internalType: string;
20
+ name: string;
21
+ type: string;
22
+ }[];
23
+ internalType: string;
24
+ name: string;
25
+ type: string;
26
+ })[];
27
+ internalType: string;
28
+ name: string;
29
+ type: string;
30
+ })[];
31
+ name: string;
32
+ outputs: ({
33
+ internalType: string;
34
+ name: string;
35
+ type: string;
36
+ components?: undefined;
37
+ } | {
38
+ components: ({
39
+ internalType: string;
40
+ name: string;
41
+ type: string;
42
+ components?: undefined;
43
+ } | {
44
+ components: {
45
+ internalType: string;
46
+ name: string;
47
+ type: string;
48
+ }[];
49
+ internalType: string;
50
+ name: string;
51
+ type: string;
52
+ })[];
53
+ internalType: string;
54
+ name: string;
55
+ type: string;
56
+ })[];
57
+ stateMutability: string;
58
+ type: string;
59
+ }[];
60
+ static createInterface(): ILPWorkerOptionsInterface;
61
+ static connect(address: string, signerOrProvider: Signer | Provider): ILPWorkerOptions;
62
+ }
@@ -0,0 +1,252 @@
1
+ "use strict";
2
+ /* Autogenerated file. Do not edit manually. */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ILPWorkerOptions__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ inputs: [
11
+ {
12
+ internalType: "enum TokenType",
13
+ name: "ttIn",
14
+ type: "uint8",
15
+ },
16
+ {
17
+ internalType: "address",
18
+ name: "tokenOut",
19
+ type: "address",
20
+ },
21
+ {
22
+ components: [
23
+ {
24
+ internalType: "address",
25
+ name: "creditAccount",
26
+ type: "address",
27
+ },
28
+ {
29
+ components: [
30
+ {
31
+ internalType: "address",
32
+ name: "token",
33
+ type: "address",
34
+ },
35
+ {
36
+ internalType: "uint256",
37
+ name: "balance",
38
+ type: "uint256",
39
+ },
40
+ ],
41
+ internalType: "struct Balance[]",
42
+ name: "balances",
43
+ type: "tuple[]",
44
+ },
45
+ {
46
+ internalType: "address",
47
+ name: "target",
48
+ type: "address",
49
+ },
50
+ {
51
+ internalType: "address[]",
52
+ name: "connectors",
53
+ type: "address[]",
54
+ },
55
+ {
56
+ internalType: "address[]",
57
+ name: "adapters",
58
+ type: "address[]",
59
+ },
60
+ {
61
+ internalType: "uint256",
62
+ name: "slippage",
63
+ type: "uint256",
64
+ },
65
+ {
66
+ internalType: "enum TokenType",
67
+ name: "targetType",
68
+ type: "uint8",
69
+ },
70
+ {
71
+ components: [
72
+ {
73
+ internalType: "address",
74
+ name: "token",
75
+ type: "address",
76
+ },
77
+ {
78
+ internalType: "address[]",
79
+ name: "adapters",
80
+ type: "address[]",
81
+ },
82
+ ],
83
+ internalType: "struct TokenAdapters[]",
84
+ name: "foundAdapters",
85
+ type: "tuple[]",
86
+ },
87
+ {
88
+ internalType: "uint256",
89
+ name: "gasPriceTargetRAY",
90
+ type: "uint256",
91
+ },
92
+ {
93
+ internalType: "uint256",
94
+ name: "gasUsage",
95
+ type: "uint256",
96
+ },
97
+ {
98
+ internalType: "uint256",
99
+ name: "initTargetBalance",
100
+ type: "uint256",
101
+ },
102
+ {
103
+ components: [
104
+ {
105
+ internalType: "address",
106
+ name: "target",
107
+ type: "address",
108
+ },
109
+ {
110
+ internalType: "bytes",
111
+ name: "callData",
112
+ type: "bytes",
113
+ },
114
+ ],
115
+ internalType: "struct MultiCall[]",
116
+ name: "calls",
117
+ type: "tuple[]",
118
+ },
119
+ ],
120
+ internalType: "struct StrategyPathTask",
121
+ name: "task",
122
+ type: "tuple",
123
+ },
124
+ ],
125
+ name: "getUnderlyings",
126
+ outputs: [
127
+ {
128
+ internalType: "address[]",
129
+ name: "tokensIn",
130
+ type: "address[]",
131
+ },
132
+ {
133
+ components: [
134
+ {
135
+ internalType: "address",
136
+ name: "creditAccount",
137
+ type: "address",
138
+ },
139
+ {
140
+ components: [
141
+ {
142
+ internalType: "address",
143
+ name: "token",
144
+ type: "address",
145
+ },
146
+ {
147
+ internalType: "uint256",
148
+ name: "balance",
149
+ type: "uint256",
150
+ },
151
+ ],
152
+ internalType: "struct Balance[]",
153
+ name: "balances",
154
+ type: "tuple[]",
155
+ },
156
+ {
157
+ internalType: "address",
158
+ name: "target",
159
+ type: "address",
160
+ },
161
+ {
162
+ internalType: "address[]",
163
+ name: "connectors",
164
+ type: "address[]",
165
+ },
166
+ {
167
+ internalType: "address[]",
168
+ name: "adapters",
169
+ type: "address[]",
170
+ },
171
+ {
172
+ internalType: "uint256",
173
+ name: "slippage",
174
+ type: "uint256",
175
+ },
176
+ {
177
+ internalType: "enum TokenType",
178
+ name: "targetType",
179
+ type: "uint8",
180
+ },
181
+ {
182
+ components: [
183
+ {
184
+ internalType: "address",
185
+ name: "token",
186
+ type: "address",
187
+ },
188
+ {
189
+ internalType: "address[]",
190
+ name: "adapters",
191
+ type: "address[]",
192
+ },
193
+ ],
194
+ internalType: "struct TokenAdapters[]",
195
+ name: "foundAdapters",
196
+ type: "tuple[]",
197
+ },
198
+ {
199
+ internalType: "uint256",
200
+ name: "gasPriceTargetRAY",
201
+ type: "uint256",
202
+ },
203
+ {
204
+ internalType: "uint256",
205
+ name: "gasUsage",
206
+ type: "uint256",
207
+ },
208
+ {
209
+ internalType: "uint256",
210
+ name: "initTargetBalance",
211
+ type: "uint256",
212
+ },
213
+ {
214
+ components: [
215
+ {
216
+ internalType: "address",
217
+ name: "target",
218
+ type: "address",
219
+ },
220
+ {
221
+ internalType: "bytes",
222
+ name: "callData",
223
+ type: "bytes",
224
+ },
225
+ ],
226
+ internalType: "struct MultiCall[]",
227
+ name: "calls",
228
+ type: "tuple[]",
229
+ },
230
+ ],
231
+ internalType: "struct StrategyPathTask",
232
+ name: "",
233
+ type: "tuple",
234
+ },
235
+ ],
236
+ stateMutability: "view",
237
+ type: "function",
238
+ },
239
+ ];
240
+ var ILPWorkerOptions__factory = /** @class */ (function () {
241
+ function ILPWorkerOptions__factory() {
242
+ }
243
+ ILPWorkerOptions__factory.createInterface = function () {
244
+ return new ethers_1.utils.Interface(_abi);
245
+ };
246
+ ILPWorkerOptions__factory.connect = function (address, signerOrProvider) {
247
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
248
+ };
249
+ ILPWorkerOptions__factory.abi = _abi;
250
+ return ILPWorkerOptions__factory;
251
+ }());
252
+ exports.ILPWorkerOptions__factory = ILPWorkerOptions__factory;
@@ -0,0 +1,62 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { ILPWorker, ILPWorkerInterface } from "../../../../../contracts/pathfinder/interfaces/ILPWorker.sol/ILPWorker";
4
+ export declare class ILPWorker__factory {
5
+ static readonly abi: {
6
+ inputs: ({
7
+ internalType: string;
8
+ name: string;
9
+ type: string;
10
+ components?: undefined;
11
+ } | {
12
+ components: ({
13
+ internalType: string;
14
+ name: string;
15
+ type: string;
16
+ components?: undefined;
17
+ } | {
18
+ components: {
19
+ internalType: string;
20
+ name: string;
21
+ type: string;
22
+ }[];
23
+ internalType: string;
24
+ name: string;
25
+ type: string;
26
+ })[];
27
+ internalType: string;
28
+ name: string;
29
+ type: string;
30
+ })[];
31
+ name: string;
32
+ outputs: ({
33
+ internalType: string;
34
+ name: string;
35
+ type: string;
36
+ components?: undefined;
37
+ } | {
38
+ components: ({
39
+ internalType: string;
40
+ name: string;
41
+ type: string;
42
+ components?: undefined;
43
+ } | {
44
+ components: {
45
+ internalType: string;
46
+ name: string;
47
+ type: string;
48
+ }[];
49
+ internalType: string;
50
+ name: string;
51
+ type: string;
52
+ })[];
53
+ internalType: string;
54
+ name: string;
55
+ type: string;
56
+ })[];
57
+ stateMutability: string;
58
+ type: string;
59
+ }[];
60
+ static createInterface(): ILPWorkerInterface;
61
+ static connect(address: string, signerOrProvider: Signer | Provider): ILPWorker;
62
+ }