@gearbox-protocol/sdk 3.0.0-next.64 → 3.0.0-next.66
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/contracts/index.sol +1 -0
- package/lib/types/IBotListV3.sol/IBotListV3.d.ts +286 -0
- package/lib/types/IBotListV3.sol/IBotListV3.js +2 -0
- package/lib/types/IBotListV3.sol/IBotListV3Events.d.ts +103 -0
- package/lib/types/IBotListV3.sol/IBotListV3Events.js +2 -0
- package/lib/types/IBotListV3.sol/index.d.ts +2 -0
- package/lib/types/IBotListV3.sol/index.js +2 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.d.ts +103 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3Events__factory.js +138 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.d.ts +315 -0
- package/lib/types/factories/IBotListV3.sol/IBotListV3__factory.js +416 -0
- package/lib/types/factories/IBotListV3.sol/index.d.ts +2 -0
- package/lib/types/factories/IBotListV3.sol/index.js +10 -0
- package/lib/types/factories/index.d.ts +1 -0
- package/lib/types/factories/index.js +3 -2
- package/lib/types/index.d.ts +6 -0
- package/lib/types/index.js +7 -3
- package/package.json +2 -2
|
@@ -0,0 +1,416 @@
|
|
|
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.IBotListV3__factory = void 0;
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
anonymous: false,
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
indexed: true,
|
|
14
|
+
internalType: "address",
|
|
15
|
+
name: "bot",
|
|
16
|
+
type: "address",
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
indexed: true,
|
|
20
|
+
internalType: "address",
|
|
21
|
+
name: "creditManager",
|
|
22
|
+
type: "address",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
indexed: true,
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "creditAccount",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "EraseBot",
|
|
32
|
+
type: "event",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
anonymous: false,
|
|
36
|
+
inputs: [
|
|
37
|
+
{
|
|
38
|
+
indexed: true,
|
|
39
|
+
internalType: "address",
|
|
40
|
+
name: "bot",
|
|
41
|
+
type: "address",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
indexed: false,
|
|
45
|
+
internalType: "bool",
|
|
46
|
+
name: "forbidden",
|
|
47
|
+
type: "bool",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "SetBotForbiddenStatus",
|
|
51
|
+
type: "event",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
anonymous: false,
|
|
55
|
+
inputs: [
|
|
56
|
+
{
|
|
57
|
+
indexed: true,
|
|
58
|
+
internalType: "address",
|
|
59
|
+
name: "bot",
|
|
60
|
+
type: "address",
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
indexed: true,
|
|
64
|
+
internalType: "address",
|
|
65
|
+
name: "creditManager",
|
|
66
|
+
type: "address",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
indexed: true,
|
|
70
|
+
internalType: "address",
|
|
71
|
+
name: "creditAccount",
|
|
72
|
+
type: "address",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
indexed: false,
|
|
76
|
+
internalType: "uint192",
|
|
77
|
+
name: "permissions",
|
|
78
|
+
type: "uint192",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: "SetBotPermissions",
|
|
82
|
+
type: "event",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
anonymous: false,
|
|
86
|
+
inputs: [
|
|
87
|
+
{
|
|
88
|
+
indexed: true,
|
|
89
|
+
internalType: "address",
|
|
90
|
+
name: "bot",
|
|
91
|
+
type: "address",
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
indexed: true,
|
|
95
|
+
internalType: "address",
|
|
96
|
+
name: "creditManager",
|
|
97
|
+
type: "address",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
indexed: false,
|
|
101
|
+
internalType: "uint192",
|
|
102
|
+
name: "permissions",
|
|
103
|
+
type: "uint192",
|
|
104
|
+
},
|
|
105
|
+
],
|
|
106
|
+
name: "SetBotSpecialPermissions",
|
|
107
|
+
type: "event",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
anonymous: false,
|
|
111
|
+
inputs: [
|
|
112
|
+
{
|
|
113
|
+
indexed: true,
|
|
114
|
+
internalType: "address",
|
|
115
|
+
name: "creditManager",
|
|
116
|
+
type: "address",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
indexed: false,
|
|
120
|
+
internalType: "bool",
|
|
121
|
+
name: "approved",
|
|
122
|
+
type: "bool",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
name: "SetCreditManagerApprovedStatus",
|
|
126
|
+
type: "event",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "address",
|
|
132
|
+
name: "creditManager",
|
|
133
|
+
type: "address",
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
internalType: "address",
|
|
137
|
+
name: "creditAccount",
|
|
138
|
+
type: "address",
|
|
139
|
+
},
|
|
140
|
+
],
|
|
141
|
+
name: "activeBots",
|
|
142
|
+
outputs: [
|
|
143
|
+
{
|
|
144
|
+
internalType: "address[]",
|
|
145
|
+
name: "",
|
|
146
|
+
type: "address[]",
|
|
147
|
+
},
|
|
148
|
+
],
|
|
149
|
+
stateMutability: "view",
|
|
150
|
+
type: "function",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
inputs: [
|
|
154
|
+
{
|
|
155
|
+
internalType: "address",
|
|
156
|
+
name: "creditManager",
|
|
157
|
+
type: "address",
|
|
158
|
+
},
|
|
159
|
+
],
|
|
160
|
+
name: "approvedCreditManager",
|
|
161
|
+
outputs: [
|
|
162
|
+
{
|
|
163
|
+
internalType: "bool",
|
|
164
|
+
name: "",
|
|
165
|
+
type: "bool",
|
|
166
|
+
},
|
|
167
|
+
],
|
|
168
|
+
stateMutability: "view",
|
|
169
|
+
type: "function",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [
|
|
173
|
+
{
|
|
174
|
+
internalType: "address",
|
|
175
|
+
name: "bot",
|
|
176
|
+
type: "address",
|
|
177
|
+
},
|
|
178
|
+
],
|
|
179
|
+
name: "botForbiddenStatus",
|
|
180
|
+
outputs: [
|
|
181
|
+
{
|
|
182
|
+
internalType: "bool",
|
|
183
|
+
name: "",
|
|
184
|
+
type: "bool",
|
|
185
|
+
},
|
|
186
|
+
],
|
|
187
|
+
stateMutability: "view",
|
|
188
|
+
type: "function",
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
inputs: [
|
|
192
|
+
{
|
|
193
|
+
internalType: "address",
|
|
194
|
+
name: "bot",
|
|
195
|
+
type: "address",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
internalType: "address",
|
|
199
|
+
name: "creditManager",
|
|
200
|
+
type: "address",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
internalType: "address",
|
|
204
|
+
name: "creditAccount",
|
|
205
|
+
type: "address",
|
|
206
|
+
},
|
|
207
|
+
],
|
|
208
|
+
name: "botPermissions",
|
|
209
|
+
outputs: [
|
|
210
|
+
{
|
|
211
|
+
internalType: "uint192",
|
|
212
|
+
name: "",
|
|
213
|
+
type: "uint192",
|
|
214
|
+
},
|
|
215
|
+
],
|
|
216
|
+
stateMutability: "view",
|
|
217
|
+
type: "function",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
inputs: [
|
|
221
|
+
{
|
|
222
|
+
internalType: "address",
|
|
223
|
+
name: "bot",
|
|
224
|
+
type: "address",
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
internalType: "address",
|
|
228
|
+
name: "creditManager",
|
|
229
|
+
type: "address",
|
|
230
|
+
},
|
|
231
|
+
],
|
|
232
|
+
name: "botSpecialPermissions",
|
|
233
|
+
outputs: [
|
|
234
|
+
{
|
|
235
|
+
internalType: "uint192",
|
|
236
|
+
name: "",
|
|
237
|
+
type: "uint192",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
stateMutability: "view",
|
|
241
|
+
type: "function",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
inputs: [
|
|
245
|
+
{
|
|
246
|
+
internalType: "address",
|
|
247
|
+
name: "creditManager",
|
|
248
|
+
type: "address",
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
internalType: "address",
|
|
252
|
+
name: "creditAccount",
|
|
253
|
+
type: "address",
|
|
254
|
+
},
|
|
255
|
+
],
|
|
256
|
+
name: "eraseAllBotPermissions",
|
|
257
|
+
outputs: [],
|
|
258
|
+
stateMutability: "nonpayable",
|
|
259
|
+
type: "function",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [
|
|
263
|
+
{
|
|
264
|
+
internalType: "address",
|
|
265
|
+
name: "bot",
|
|
266
|
+
type: "address",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
internalType: "address",
|
|
270
|
+
name: "creditManager",
|
|
271
|
+
type: "address",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
internalType: "address",
|
|
275
|
+
name: "creditAccount",
|
|
276
|
+
type: "address",
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
name: "getBotStatus",
|
|
280
|
+
outputs: [
|
|
281
|
+
{
|
|
282
|
+
internalType: "uint192",
|
|
283
|
+
name: "permissions",
|
|
284
|
+
type: "uint192",
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
internalType: "bool",
|
|
288
|
+
name: "forbidden",
|
|
289
|
+
type: "bool",
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
internalType: "bool",
|
|
293
|
+
name: "hasSpecialPermissions",
|
|
294
|
+
type: "bool",
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
stateMutability: "view",
|
|
298
|
+
type: "function",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
inputs: [
|
|
302
|
+
{
|
|
303
|
+
internalType: "address",
|
|
304
|
+
name: "bot",
|
|
305
|
+
type: "address",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
internalType: "bool",
|
|
309
|
+
name: "forbidden",
|
|
310
|
+
type: "bool",
|
|
311
|
+
},
|
|
312
|
+
],
|
|
313
|
+
name: "setBotForbiddenStatus",
|
|
314
|
+
outputs: [],
|
|
315
|
+
stateMutability: "nonpayable",
|
|
316
|
+
type: "function",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
inputs: [
|
|
320
|
+
{
|
|
321
|
+
internalType: "address",
|
|
322
|
+
name: "bot",
|
|
323
|
+
type: "address",
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
internalType: "address",
|
|
327
|
+
name: "creditManager",
|
|
328
|
+
type: "address",
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
internalType: "address",
|
|
332
|
+
name: "creditAccount",
|
|
333
|
+
type: "address",
|
|
334
|
+
},
|
|
335
|
+
{
|
|
336
|
+
internalType: "uint192",
|
|
337
|
+
name: "permissions",
|
|
338
|
+
type: "uint192",
|
|
339
|
+
},
|
|
340
|
+
],
|
|
341
|
+
name: "setBotPermissions",
|
|
342
|
+
outputs: [
|
|
343
|
+
{
|
|
344
|
+
internalType: "uint256",
|
|
345
|
+
name: "activeBotsRemaining",
|
|
346
|
+
type: "uint256",
|
|
347
|
+
},
|
|
348
|
+
],
|
|
349
|
+
stateMutability: "nonpayable",
|
|
350
|
+
type: "function",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [
|
|
354
|
+
{
|
|
355
|
+
internalType: "address",
|
|
356
|
+
name: "bot",
|
|
357
|
+
type: "address",
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
internalType: "address",
|
|
361
|
+
name: "creditManager",
|
|
362
|
+
type: "address",
|
|
363
|
+
},
|
|
364
|
+
{
|
|
365
|
+
internalType: "uint192",
|
|
366
|
+
name: "permissions",
|
|
367
|
+
type: "uint192",
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
name: "setBotSpecialPermissions",
|
|
371
|
+
outputs: [],
|
|
372
|
+
stateMutability: "nonpayable",
|
|
373
|
+
type: "function",
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
inputs: [
|
|
377
|
+
{
|
|
378
|
+
internalType: "address",
|
|
379
|
+
name: "creditManager",
|
|
380
|
+
type: "address",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
internalType: "bool",
|
|
384
|
+
name: "approved",
|
|
385
|
+
type: "bool",
|
|
386
|
+
},
|
|
387
|
+
],
|
|
388
|
+
name: "setCreditManagerApprovedStatus",
|
|
389
|
+
outputs: [],
|
|
390
|
+
stateMutability: "nonpayable",
|
|
391
|
+
type: "function",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
inputs: [],
|
|
395
|
+
name: "version",
|
|
396
|
+
outputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "uint256",
|
|
399
|
+
name: "",
|
|
400
|
+
type: "uint256",
|
|
401
|
+
},
|
|
402
|
+
],
|
|
403
|
+
stateMutability: "view",
|
|
404
|
+
type: "function",
|
|
405
|
+
},
|
|
406
|
+
];
|
|
407
|
+
class IBotListV3__factory {
|
|
408
|
+
static abi = _abi;
|
|
409
|
+
static createInterface() {
|
|
410
|
+
return new ethers_1.utils.Interface(_abi);
|
|
411
|
+
}
|
|
412
|
+
static connect(address, signerOrProvider) {
|
|
413
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
414
|
+
}
|
|
415
|
+
}
|
|
416
|
+
exports.IBotListV3__factory = IBotListV3__factory;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IBotListV3Events__factory = exports.IBotListV3__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IBotListV3__factory_1 = require("./IBotListV3__factory");
|
|
8
|
+
Object.defineProperty(exports, "IBotListV3__factory", { enumerable: true, get: function () { return IBotListV3__factory_1.IBotListV3__factory; } });
|
|
9
|
+
var IBotListV3Events__factory_1 = require("./IBotListV3Events__factory");
|
|
10
|
+
Object.defineProperty(exports, "IBotListV3Events__factory", { enumerable: true, get: function () { return IBotListV3Events__factory_1.IBotListV3Events__factory; } });
|
|
@@ -4,6 +4,7 @@ export * as iAddressProviderV3Sol from "./IAddressProviderV3.sol";
|
|
|
4
4
|
export * as iAirdropDistributorSol from "./IAirdropDistributor.sol";
|
|
5
5
|
export * as iBalancerV2VaultSol from "./IBalancerV2Vault.sol";
|
|
6
6
|
export * as iBalancerV2VaultAdapterSol from "./IBalancerV2VaultAdapter.sol";
|
|
7
|
+
export * as iBotListV3Sol from "./IBotListV3.sol";
|
|
7
8
|
export * as iCompoundV2CTokenAdapterSol from "./ICompoundV2_CTokenAdapter.sol";
|
|
8
9
|
export * as iContractsRegisterSol from "./IContractsRegister.sol";
|
|
9
10
|
export * as iConvexV1BoosterAdapterSol from "./IConvexV1BoosterAdapter.sol";
|
|
@@ -23,8 +23,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IZapperRegister__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IETHZapperDeposits__factory = exports.IERC721Metadata__factory = exports.IERC721__factory = exports.IERC4626Adapter__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IERC165__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = void 0;
|
|
26
|
+
exports.ICurveV1_2AssetsAdapter__factory = exports.ICurveV1Adapter__factory = exports.ICurvePool__factory = exports.ICreditFacadeV3Multicall__factory = exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IConvexToken__factory = exports.IBaseRewardPool__factory = exports.IAdapter__factory = exports.IAaveV2_WrappedATokenAdapter__factory = exports.IAaveV2_LendingPoolAdapter__factory = exports.Errors__factory = exports.Claimable__factory = exports.AddressProvider__factory = exports.interfaces = exports.iwstEthGatewaySol = exports.iwstEthSol = exports.istEthSol = exports.iUniswapV3AdapterSol = exports.iUniswapV3Sol = exports.iUniswapV2AdapterSol = exports.iPriceOracleV3Sol = exports.iPriceOracleSol = exports.iPriceFeedSol = exports.iPoolV3Sol = exports.iPoolServiceSol = exports.iPoolQuotaKeeperV3Sol = exports.ilpPriceFeedSol = exports.iGearStakingV3Sol = exports.iGaugeV3Sol = exports.iDegenNftv2Sol = exports.iDegenDistributorSol = exports.iCurvePool4Sol = exports.iCurvePool3Sol = exports.iCurvePool2Sol = exports.iCreditManagerV3Sol = exports.iCreditManagerV2Sol = exports.iCreditFacadeV3Sol = exports.iCreditFacadeV2Sol = exports.iCreditConfiguratorV3Sol = exports.iCreditConfiguratorV2Sol = exports.iConvexV1BoosterAdapterSol = exports.iContractsRegisterSol = exports.iCompoundV2CTokenAdapterSol = exports.iBotListV3Sol = exports.iBalancerV2VaultAdapterSol = exports.iBalancerV2VaultSol = exports.iAirdropDistributorSol = exports.iAddressProviderV3Sol = exports.iAddressProviderSol = exports.balancesSol = void 0;
|
|
27
|
+
exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IZapperRegister__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IETHZapperDeposits__factory = exports.IERC721Metadata__factory = exports.IERC721__factory = exports.IERC4626Adapter__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IERC165__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = void 0;
|
|
28
28
|
/* Autogenerated file. Do not edit manually. */
|
|
29
29
|
/* tslint:disable */
|
|
30
30
|
/* eslint-disable */
|
|
@@ -34,6 +34,7 @@ exports.iAddressProviderV3Sol = __importStar(require("./IAddressProviderV3.sol")
|
|
|
34
34
|
exports.iAirdropDistributorSol = __importStar(require("./IAirdropDistributor.sol"));
|
|
35
35
|
exports.iBalancerV2VaultSol = __importStar(require("./IBalancerV2Vault.sol"));
|
|
36
36
|
exports.iBalancerV2VaultAdapterSol = __importStar(require("./IBalancerV2VaultAdapter.sol"));
|
|
37
|
+
exports.iBotListV3Sol = __importStar(require("./IBotListV3.sol"));
|
|
37
38
|
exports.iCompoundV2CTokenAdapterSol = __importStar(require("./ICompoundV2_CTokenAdapter.sol"));
|
|
38
39
|
exports.iContractsRegisterSol = __importStar(require("./IContractsRegister.sol"));
|
|
39
40
|
exports.iConvexV1BoosterAdapterSol = __importStar(require("./IConvexV1BoosterAdapter.sol"));
|
package/lib/types/index.d.ts
CHANGED
|
@@ -10,6 +10,8 @@ import type * as iBalancerV2VaultSol from "./IBalancerV2Vault.sol";
|
|
|
10
10
|
export type { iBalancerV2VaultSol };
|
|
11
11
|
import type * as iBalancerV2VaultAdapterSol from "./IBalancerV2VaultAdapter.sol";
|
|
12
12
|
export type { iBalancerV2VaultAdapterSol };
|
|
13
|
+
import type * as iBotListV3Sol from "./IBotListV3.sol";
|
|
14
|
+
export type { iBotListV3Sol };
|
|
13
15
|
import type * as iCompoundV2CTokenAdapterSol from "./ICompoundV2_CTokenAdapter.sol";
|
|
14
16
|
export type { iCompoundV2CTokenAdapterSol };
|
|
15
17
|
import type * as iContractsRegisterSol from "./IContractsRegister.sol";
|
|
@@ -148,6 +150,10 @@ export { IBalancerV2VaultAdapterEvents__factory } from "./factories/IBalancerV2V
|
|
|
148
150
|
export type { IBalancerV2VaultAdapterExceptions } from "./IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions";
|
|
149
151
|
export { IBalancerV2VaultAdapterExceptions__factory } from "./factories/IBalancerV2VaultAdapter.sol/IBalancerV2VaultAdapterExceptions__factory";
|
|
150
152
|
export { IBaseRewardPool__factory } from "./factories/IBaseRewardPool__factory";
|
|
153
|
+
export type { IBotListV3 } from "./IBotListV3.sol/IBotListV3";
|
|
154
|
+
export { IBotListV3__factory } from "./factories/IBotListV3.sol/IBotListV3__factory";
|
|
155
|
+
export type { IBotListV3Events } from "./IBotListV3.sol/IBotListV3Events";
|
|
156
|
+
export { IBotListV3Events__factory } from "./factories/IBotListV3.sol/IBotListV3Events__factory";
|
|
151
157
|
export type { ICompoundV2_CTokenAdapter } from "./ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter";
|
|
152
158
|
export { ICompoundV2_CTokenAdapter__factory } from "./factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory";
|
|
153
159
|
export type { ICompoundV2_Exceptions } from "./ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions";
|
package/lib/types/index.js
CHANGED
|
@@ -23,9 +23,9 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
23
23
|
return result;
|
|
24
24
|
};
|
|
25
25
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.
|
|
27
|
-
exports.
|
|
28
|
-
exports.SafeERC20__factory = exports.Ownable__factory = exports.IZapper__factory = exports.IYVault__factory = exports.IYearnV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IZapperRegister__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3AdapterEvents__factory = exports.IUniswapV3Adapter__factory = exports.ISwapRouter__factory = exports.IUniswapV2AdapterExceptions__factory = exports.IUniswapV2AdapterEvents__factory = exports.IUniswapV2Adapter__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.IPriceOracleV3Events__factory = void 0;
|
|
26
|
+
exports.ICurvePool3Assets__factory = exports.ICurvePool2Assets__factory = exports.ICreditManagerV3Events__factory = exports.ICreditManagerV3__factory = exports.ICreditManagerV2Exceptions__factory = exports.ICreditManagerV2Events__factory = exports.ICreditManagerV2__factory = exports.ICreditFacadeV3Multicall__factory = exports.ICreditFacadeV3Events__factory = exports.ICreditFacadeV3__factory = exports.ICreditFacadeV2V2__factory = exports.ICreditFacadeV2Extended__factory = exports.ICreditFacadeV2Exceptions__factory = exports.ICreditFacadeV2Events__factory = exports.ICreditFacadeV2__factory = exports.ICreditConfiguratorV3Events__factory = exports.ICreditConfiguratorV3__factory = exports.ICreditConfiguratorV2Exceptions__factory = exports.ICreditConfiguratorV2Events__factory = exports.ICreditConfiguratorV2__factory = exports.IConvexV1BoosterAdapterEvents__factory = exports.IConvexV1BoosterAdapter__factory = exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IConvexToken__factory = exports.IContractsRegisterEvents__factory = exports.IContractsRegister__factory = exports.ICompoundV2_Exceptions__factory = exports.ICompoundV2_CTokenAdapter__factory = exports.IBotListV3Events__factory = exports.IBotListV3__factory = exports.IBaseRewardPool__factory = exports.IBalancerV2VaultAdapterExceptions__factory = exports.IBalancerV2VaultAdapterEvents__factory = exports.IBalancerV2VaultAdapter__factory = exports.IBalancerV2VaultGetters__factory = exports.IBalancerV2Vault__factory = exports.IAirdropDistributorEvents__factory = exports.IAirdropDistributor__factory = exports.IAddressProviderV3Events__factory = exports.IAddressProviderV3__factory = exports.IAddressProviderEvents__factory = exports.IAddressProvider__factory = exports.IAdapter__factory = exports.IAaveV2_WrappedATokenAdapter__factory = exports.IAaveV2_LendingPoolAdapter__factory = exports.Errors__factory = exports.Claimable__factory = exports.BalanceOps__factory = exports.AddressProvider__factory = exports.factories = void 0;
|
|
27
|
+
exports.IPriceOracleV2Ext__factory = exports.IPriceOracleV2Exceptions__factory = exports.IPriceOracleV2Events__factory = exports.IPriceOracleV2__factory = exports.IUpdatablePriceFeed__factory = exports.IPriceFeed__factory = exports.IPoolV3Events__factory = exports.IPoolV3__factory = exports.IPoolServiceEvents__factory = exports.IPoolService__factory = exports.IPoolQuotaKeeperV3Events__factory = exports.IPoolQuotaKeeperV3__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.IRouter__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.ILPPriceFeedExceptions__factory = exports.ILPPriceFeedEvents__factory = exports.ILPPriceFeed__factory = exports.IInterestRateModel__factory = exports.IGearStakingV3Events__factory = exports.IGearStakingV3__factory = exports.IGaugeV3Events__factory = exports.IGaugeV3__factory = exports.IGasPricer__factory = exports.IETHZapperDeposits__factory = exports.IERC721Metadata__factory = exports.IERC721__factory = exports.IERC4626Adapter__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IERC165__factory = exports.IDegenNFTV2Exceptions__factory = exports.IDegenNFTV2Events__factory = exports.IDegenNFTV2__factory = exports.IDegenDistributorEvents__factory = exports.IDegenDistributor__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1Adapter__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.ICurvePool__factory = exports.ICurvePool4Assets__factory = void 0;
|
|
28
|
+
exports.SafeERC20__factory = exports.Ownable__factory = exports.IZapper__factory = exports.IYVault__factory = exports.IYearnV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IZapperRegister__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3AdapterEvents__factory = exports.IUniswapV3Adapter__factory = exports.ISwapRouter__factory = exports.IUniswapV2AdapterExceptions__factory = exports.IUniswapV2AdapterEvents__factory = exports.IUniswapV2Adapter__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.IPriceOracleV3Events__factory = exports.IPriceOracleV3__factory = exports.IPriceOracleBase__factory = void 0;
|
|
29
29
|
exports.factories = __importStar(require("./factories"));
|
|
30
30
|
var AddressProvider__factory_1 = require("./factories/AddressProvider__factory");
|
|
31
31
|
Object.defineProperty(exports, "AddressProvider__factory", { enumerable: true, get: function () { return AddressProvider__factory_1.AddressProvider__factory; } });
|
|
@@ -65,6 +65,10 @@ var IBalancerV2VaultAdapterExceptions__factory_1 = require("./factories/IBalance
|
|
|
65
65
|
Object.defineProperty(exports, "IBalancerV2VaultAdapterExceptions__factory", { enumerable: true, get: function () { return IBalancerV2VaultAdapterExceptions__factory_1.IBalancerV2VaultAdapterExceptions__factory; } });
|
|
66
66
|
var IBaseRewardPool__factory_1 = require("./factories/IBaseRewardPool__factory");
|
|
67
67
|
Object.defineProperty(exports, "IBaseRewardPool__factory", { enumerable: true, get: function () { return IBaseRewardPool__factory_1.IBaseRewardPool__factory; } });
|
|
68
|
+
var IBotListV3__factory_1 = require("./factories/IBotListV3.sol/IBotListV3__factory");
|
|
69
|
+
Object.defineProperty(exports, "IBotListV3__factory", { enumerable: true, get: function () { return IBotListV3__factory_1.IBotListV3__factory; } });
|
|
70
|
+
var IBotListV3Events__factory_1 = require("./factories/IBotListV3.sol/IBotListV3Events__factory");
|
|
71
|
+
Object.defineProperty(exports, "IBotListV3Events__factory", { enumerable: true, get: function () { return IBotListV3Events__factory_1.IBotListV3Events__factory; } });
|
|
68
72
|
var ICompoundV2_CTokenAdapter__factory_1 = require("./factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_CTokenAdapter__factory");
|
|
69
73
|
Object.defineProperty(exports, "ICompoundV2_CTokenAdapter__factory", { enumerable: true, get: function () { return ICompoundV2_CTokenAdapter__factory_1.ICompoundV2_CTokenAdapter__factory; } });
|
|
70
74
|
var ICompoundV2_Exceptions__factory_1 = require("./factories/ICompoundV2_CTokenAdapter.sol/ICompoundV2_Exceptions__factory");
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gearbox-protocol/sdk",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.66",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"test": "npx mocha -r ts-node/register -r dotenv/config src/**/*.spec.ts"
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@gearbox-protocol/sdk-gov": "^1.
|
|
33
|
+
"@gearbox-protocol/sdk-gov": "^1.15.0",
|
|
34
34
|
"axios": "^1.2.6",
|
|
35
35
|
"decimal.js-light": "^2.5.1",
|
|
36
36
|
"deep-eql": "^4.1.0",
|