@gearbox-protocol/sdk 3.0.0-next.52 → 3.0.0-next.54

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 (50) hide show
  1. package/contracts/index.sol +3 -0
  2. package/lib/types/IPriceFeed.sol/IPriceFeed.d.ts +109 -0
  3. package/lib/types/IPriceFeed.sol/IPriceFeed.js +2 -0
  4. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.d.ts +133 -0
  5. package/lib/types/IPriceFeed.sol/IUpdatablePriceFeed.js +2 -0
  6. package/lib/types/IPriceFeed.sol/index.d.ts +2 -0
  7. package/lib/types/IPriceFeed.sol/index.js +2 -0
  8. package/lib/types/IPriceOracle.sol/IPriceOracleV2.d.ts +166 -0
  9. package/lib/types/IPriceOracle.sol/IPriceOracleV2.js +2 -0
  10. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.d.ts +43 -0
  11. package/lib/types/IPriceOracle.sol/IPriceOracleV2Events.js +2 -0
  12. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.d.ts +27 -0
  13. package/lib/types/IPriceOracle.sol/IPriceOracleV2Exceptions.js +2 -0
  14. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.d.ts +182 -0
  15. package/lib/types/IPriceOracle.sol/IPriceOracleV2Ext.js +2 -0
  16. package/lib/types/IPriceOracle.sol/index.d.ts +4 -0
  17. package/lib/types/IPriceOracle.sol/index.js +2 -0
  18. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.d.ts +247 -0
  19. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3.js +2 -0
  20. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.d.ts +77 -0
  21. package/lib/types/IPriceOracleV3.sol/IPriceOracleV3Events.js +2 -0
  22. package/lib/types/IPriceOracleV3.sol/index.d.ts +2 -0
  23. package/lib/types/IPriceOracleV3.sol/index.js +2 -0
  24. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.d.ts +84 -0
  25. package/lib/types/factories/IPriceFeed.sol/IPriceFeed__factory.js +117 -0
  26. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.d.ts +104 -0
  27. package/lib/types/factories/IPriceFeed.sol/IUpdatablePriceFeed__factory.js +143 -0
  28. package/lib/types/factories/IPriceFeed.sol/index.d.ts +2 -0
  29. package/lib/types/factories/IPriceFeed.sol/index.js +10 -0
  30. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.d.ts +23 -0
  31. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Events__factory.js +38 -0
  32. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.d.ts +20 -0
  33. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory.js +34 -0
  34. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.d.ts +197 -0
  35. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2Ext__factory.js +267 -0
  36. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.d.ts +183 -0
  37. package/lib/types/factories/IPriceOracle.sol/IPriceOracleV2__factory.js +249 -0
  38. package/lib/types/factories/IPriceOracle.sol/index.d.ts +4 -0
  39. package/lib/types/factories/IPriceOracle.sol/index.js +14 -0
  40. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.d.ts +73 -0
  41. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory.js +100 -0
  42. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.d.ts +281 -0
  43. package/lib/types/factories/IPriceOracleV3.sol/IPriceOracleV3__factory.js +374 -0
  44. package/lib/types/factories/IPriceOracleV3.sol/index.d.ts +2 -0
  45. package/lib/types/factories/IPriceOracleV3.sol/index.js +10 -0
  46. package/lib/types/factories/index.d.ts +3 -0
  47. package/lib/types/factories/index.js +5 -2
  48. package/lib/types/index.d.ts +22 -0
  49. package/lib/types/index.js +18 -1
  50. package/package.json +1 -1
@@ -0,0 +1,374 @@
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.IPriceOracleV3__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: "token",
16
+ type: "address",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "address",
21
+ name: "priceFeed",
22
+ type: "address",
23
+ },
24
+ {
25
+ indexed: false,
26
+ internalType: "uint32",
27
+ name: "stalenessPeriod",
28
+ type: "uint32",
29
+ },
30
+ {
31
+ indexed: false,
32
+ internalType: "bool",
33
+ name: "skipCheck",
34
+ type: "bool",
35
+ },
36
+ ],
37
+ name: "SetPriceFeed",
38
+ type: "event",
39
+ },
40
+ {
41
+ anonymous: false,
42
+ inputs: [
43
+ {
44
+ indexed: true,
45
+ internalType: "address",
46
+ name: "token",
47
+ type: "address",
48
+ },
49
+ {
50
+ indexed: true,
51
+ internalType: "address",
52
+ name: "priceFeed",
53
+ type: "address",
54
+ },
55
+ {
56
+ indexed: false,
57
+ internalType: "uint32",
58
+ name: "stalenessPeriod",
59
+ type: "uint32",
60
+ },
61
+ {
62
+ indexed: false,
63
+ internalType: "bool",
64
+ name: "skipCheck",
65
+ type: "bool",
66
+ },
67
+ ],
68
+ name: "SetReservePriceFeed",
69
+ type: "event",
70
+ },
71
+ {
72
+ anonymous: false,
73
+ inputs: [
74
+ {
75
+ indexed: true,
76
+ internalType: "address",
77
+ name: "token",
78
+ type: "address",
79
+ },
80
+ {
81
+ indexed: false,
82
+ internalType: "bool",
83
+ name: "active",
84
+ type: "bool",
85
+ },
86
+ ],
87
+ name: "SetReservePriceFeedStatus",
88
+ type: "event",
89
+ },
90
+ {
91
+ inputs: [
92
+ {
93
+ internalType: "uint256",
94
+ name: "amount",
95
+ type: "uint256",
96
+ },
97
+ {
98
+ internalType: "address",
99
+ name: "tokenFrom",
100
+ type: "address",
101
+ },
102
+ {
103
+ internalType: "address",
104
+ name: "tokenTo",
105
+ type: "address",
106
+ },
107
+ ],
108
+ name: "convert",
109
+ outputs: [
110
+ {
111
+ internalType: "uint256",
112
+ name: "",
113
+ type: "uint256",
114
+ },
115
+ ],
116
+ stateMutability: "view",
117
+ type: "function",
118
+ },
119
+ {
120
+ inputs: [
121
+ {
122
+ internalType: "uint256",
123
+ name: "amount",
124
+ type: "uint256",
125
+ },
126
+ {
127
+ internalType: "address",
128
+ name: "token",
129
+ type: "address",
130
+ },
131
+ ],
132
+ name: "convertFromUSD",
133
+ outputs: [
134
+ {
135
+ internalType: "uint256",
136
+ name: "",
137
+ type: "uint256",
138
+ },
139
+ ],
140
+ stateMutability: "view",
141
+ type: "function",
142
+ },
143
+ {
144
+ inputs: [
145
+ {
146
+ internalType: "uint256",
147
+ name: "amount",
148
+ type: "uint256",
149
+ },
150
+ {
151
+ internalType: "address",
152
+ name: "token",
153
+ type: "address",
154
+ },
155
+ ],
156
+ name: "convertToUSD",
157
+ outputs: [
158
+ {
159
+ internalType: "uint256",
160
+ name: "",
161
+ type: "uint256",
162
+ },
163
+ ],
164
+ stateMutability: "view",
165
+ type: "function",
166
+ },
167
+ {
168
+ inputs: [
169
+ {
170
+ internalType: "address",
171
+ name: "token",
172
+ type: "address",
173
+ },
174
+ ],
175
+ name: "getPrice",
176
+ outputs: [
177
+ {
178
+ internalType: "uint256",
179
+ name: "",
180
+ type: "uint256",
181
+ },
182
+ ],
183
+ stateMutability: "view",
184
+ type: "function",
185
+ },
186
+ {
187
+ inputs: [
188
+ {
189
+ internalType: "address",
190
+ name: "token",
191
+ type: "address",
192
+ },
193
+ {
194
+ internalType: "bool",
195
+ name: "reserve",
196
+ type: "bool",
197
+ },
198
+ ],
199
+ name: "getPriceRaw",
200
+ outputs: [
201
+ {
202
+ internalType: "uint256",
203
+ name: "",
204
+ type: "uint256",
205
+ },
206
+ ],
207
+ stateMutability: "view",
208
+ type: "function",
209
+ },
210
+ {
211
+ inputs: [
212
+ {
213
+ internalType: "address",
214
+ name: "token",
215
+ type: "address",
216
+ },
217
+ ],
218
+ name: "priceFeedParams",
219
+ outputs: [
220
+ {
221
+ internalType: "address",
222
+ name: "priceFeed",
223
+ type: "address",
224
+ },
225
+ {
226
+ internalType: "uint32",
227
+ name: "stalenessPeriod",
228
+ type: "uint32",
229
+ },
230
+ {
231
+ internalType: "bool",
232
+ name: "skipCheck",
233
+ type: "bool",
234
+ },
235
+ {
236
+ internalType: "uint8",
237
+ name: "decimals",
238
+ type: "uint8",
239
+ },
240
+ ],
241
+ stateMutability: "view",
242
+ type: "function",
243
+ },
244
+ {
245
+ inputs: [
246
+ {
247
+ internalType: "address",
248
+ name: "token",
249
+ type: "address",
250
+ },
251
+ ],
252
+ name: "priceFeeds",
253
+ outputs: [
254
+ {
255
+ internalType: "address",
256
+ name: "priceFeed",
257
+ type: "address",
258
+ },
259
+ ],
260
+ stateMutability: "view",
261
+ type: "function",
262
+ },
263
+ {
264
+ inputs: [
265
+ {
266
+ internalType: "address",
267
+ name: "token",
268
+ type: "address",
269
+ },
270
+ {
271
+ internalType: "bool",
272
+ name: "reserve",
273
+ type: "bool",
274
+ },
275
+ ],
276
+ name: "priceFeedsRaw",
277
+ outputs: [
278
+ {
279
+ internalType: "address",
280
+ name: "",
281
+ type: "address",
282
+ },
283
+ ],
284
+ stateMutability: "view",
285
+ type: "function",
286
+ },
287
+ {
288
+ inputs: [
289
+ {
290
+ internalType: "address",
291
+ name: "token",
292
+ type: "address",
293
+ },
294
+ {
295
+ internalType: "address",
296
+ name: "priceFeed",
297
+ type: "address",
298
+ },
299
+ {
300
+ internalType: "uint32",
301
+ name: "stalenessPeriod",
302
+ type: "uint32",
303
+ },
304
+ ],
305
+ name: "setPriceFeed",
306
+ outputs: [],
307
+ stateMutability: "nonpayable",
308
+ type: "function",
309
+ },
310
+ {
311
+ inputs: [
312
+ {
313
+ internalType: "address",
314
+ name: "token",
315
+ type: "address",
316
+ },
317
+ {
318
+ internalType: "address",
319
+ name: "priceFeed",
320
+ type: "address",
321
+ },
322
+ {
323
+ internalType: "uint32",
324
+ name: "stalenessPeriod",
325
+ type: "uint32",
326
+ },
327
+ ],
328
+ name: "setReservePriceFeed",
329
+ outputs: [],
330
+ stateMutability: "nonpayable",
331
+ type: "function",
332
+ },
333
+ {
334
+ inputs: [
335
+ {
336
+ internalType: "address",
337
+ name: "token",
338
+ type: "address",
339
+ },
340
+ {
341
+ internalType: "bool",
342
+ name: "active",
343
+ type: "bool",
344
+ },
345
+ ],
346
+ name: "setReservePriceFeedStatus",
347
+ outputs: [],
348
+ stateMutability: "nonpayable",
349
+ type: "function",
350
+ },
351
+ {
352
+ inputs: [],
353
+ name: "version",
354
+ outputs: [
355
+ {
356
+ internalType: "uint256",
357
+ name: "",
358
+ type: "uint256",
359
+ },
360
+ ],
361
+ stateMutability: "view",
362
+ type: "function",
363
+ },
364
+ ];
365
+ class IPriceOracleV3__factory {
366
+ static abi = _abi;
367
+ static createInterface() {
368
+ return new ethers_1.utils.Interface(_abi);
369
+ }
370
+ static connect(address, signerOrProvider) {
371
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
372
+ }
373
+ }
374
+ exports.IPriceOracleV3__factory = IPriceOracleV3__factory;
@@ -0,0 +1,2 @@
1
+ export { IPriceOracleV3__factory } from "./IPriceOracleV3__factory";
2
+ export { IPriceOracleV3Events__factory } from "./IPriceOracleV3Events__factory";
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.IPriceOracleV3Events__factory = exports.IPriceOracleV3__factory = void 0;
4
+ /* Autogenerated file. Do not edit manually. */
5
+ /* tslint:disable */
6
+ /* eslint-disable */
7
+ var IPriceOracleV3__factory_1 = require("./IPriceOracleV3__factory");
8
+ Object.defineProperty(exports, "IPriceOracleV3__factory", { enumerable: true, get: function () { return IPriceOracleV3__factory_1.IPriceOracleV3__factory; } });
9
+ var IPriceOracleV3Events__factory_1 = require("./IPriceOracleV3Events__factory");
10
+ Object.defineProperty(exports, "IPriceOracleV3Events__factory", { enumerable: true, get: function () { return IPriceOracleV3Events__factory_1.IPriceOracleV3Events__factory; } });
@@ -19,6 +19,9 @@ export * as iGearStakingV3Sol from "./IGearStakingV3.sol";
19
19
  export * as iPoolQuotaKeeperV3Sol from "./IPoolQuotaKeeperV3.sol";
20
20
  export * as iPoolServiceSol from "./IPoolService.sol";
21
21
  export * as iPoolV3Sol from "./IPoolV3.sol";
22
+ export * as iPriceFeedSol from "./IPriceFeed.sol";
23
+ export * as iPriceOracleSol from "./IPriceOracle.sol";
24
+ export * as iPriceOracleV3Sol from "./IPriceOracleV3.sol";
22
25
  export * as iUniswapV2AdapterSol from "./IUniswapV2Adapter.sol";
23
26
  export * as iUniswapV3Sol from "./IUniswapV3.sol";
24
27
  export * as iUniswapV3AdapterSol from "./IUniswapV3Adapter.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.IETHZapperDeposits__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = 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.Errors__factory = exports.Claimable__factory = exports.AddressProvider__factory = exports.iwstEthGatewaySol = exports.iwstEthSol = exports.istEthSol = exports.iWithdrawalManagerV3Sol = exports.iUniswapV3AdapterSol = exports.iUniswapV3Sol = exports.iUniswapV2AdapterSol = exports.iPoolV3Sol = exports.iPoolServiceSol = exports.iPoolQuotaKeeperV3Sol = exports.iGearStakingV3Sol = exports.iGaugeV3Sol = 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.iAirdropDistributorSol = exports.iAddressProviderV3Sol = exports.iAddressProviderSol = exports.balancesSol = void 0;
27
- exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IRouter__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = void 0;
26
+ exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = 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.Errors__factory = exports.Claimable__factory = exports.AddressProvider__factory = exports.iwstEthGatewaySol = exports.iwstEthSol = exports.istEthSol = exports.iWithdrawalManagerV3Sol = exports.iUniswapV3AdapterSol = exports.iUniswapV3Sol = exports.iUniswapV2AdapterSol = exports.iPriceOracleV3Sol = exports.iPriceOracleSol = exports.iPriceFeedSol = exports.iPoolV3Sol = exports.iPoolServiceSol = exports.iPoolQuotaKeeperV3Sol = exports.iGearStakingV3Sol = exports.iGaugeV3Sol = 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.iAirdropDistributorSol = exports.iAddressProviderV3Sol = exports.iAddressProviderSol = exports.balancesSol = void 0;
27
+ exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.IRouter__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IETHZapperDeposits__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = void 0;
28
28
  /* Autogenerated file. Do not edit manually. */
29
29
  /* tslint:disable */
30
30
  /* eslint-disable */
@@ -49,6 +49,9 @@ exports.iGearStakingV3Sol = __importStar(require("./IGearStakingV3.sol"));
49
49
  exports.iPoolQuotaKeeperV3Sol = __importStar(require("./IPoolQuotaKeeperV3.sol"));
50
50
  exports.iPoolServiceSol = __importStar(require("./IPoolService.sol"));
51
51
  exports.iPoolV3Sol = __importStar(require("./IPoolV3.sol"));
52
+ exports.iPriceFeedSol = __importStar(require("./IPriceFeed.sol"));
53
+ exports.iPriceOracleSol = __importStar(require("./IPriceOracle.sol"));
54
+ exports.iPriceOracleV3Sol = __importStar(require("./IPriceOracleV3.sol"));
52
55
  exports.iUniswapV2AdapterSol = __importStar(require("./IUniswapV2Adapter.sol"));
53
56
  exports.iUniswapV3Sol = __importStar(require("./IUniswapV3.sol"));
54
57
  exports.iUniswapV3AdapterSol = __importStar(require("./IUniswapV3Adapter.sol"));
@@ -40,6 +40,12 @@ import type * as iPoolServiceSol from "./IPoolService.sol";
40
40
  export type { iPoolServiceSol };
41
41
  import type * as iPoolV3Sol from "./IPoolV3.sol";
42
42
  export type { iPoolV3Sol };
43
+ import type * as iPriceFeedSol from "./IPriceFeed.sol";
44
+ export type { iPriceFeedSol };
45
+ import type * as iPriceOracleSol from "./IPriceOracle.sol";
46
+ export type { iPriceOracleSol };
47
+ import type * as iPriceOracleV3Sol from "./IPriceOracleV3.sol";
48
+ export type { iPriceOracleV3Sol };
43
49
  import type * as iUniswapV2AdapterSol from "./IUniswapV2Adapter.sol";
44
50
  export type { iUniswapV2AdapterSol };
45
51
  import type * as iUniswapV3Sol from "./IUniswapV3.sol";
@@ -207,7 +213,23 @@ export type { IPoolV3 } from "./IPoolV3.sol/IPoolV3";
207
213
  export { IPoolV3__factory } from "./factories/IPoolV3.sol/IPoolV3__factory";
208
214
  export type { IPoolV3Events } from "./IPoolV3.sol/IPoolV3Events";
209
215
  export { IPoolV3Events__factory } from "./factories/IPoolV3.sol/IPoolV3Events__factory";
216
+ export type { IPriceFeed } from "./IPriceFeed.sol/IPriceFeed";
217
+ export { IPriceFeed__factory } from "./factories/IPriceFeed.sol/IPriceFeed__factory";
218
+ export type { IUpdatablePriceFeed } from "./IPriceFeed.sol/IUpdatablePriceFeed";
219
+ export { IUpdatablePriceFeed__factory } from "./factories/IPriceFeed.sol/IUpdatablePriceFeed__factory";
220
+ export type { IPriceOracleV2 } from "./IPriceOracle.sol/IPriceOracleV2";
221
+ export { IPriceOracleV2__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2__factory";
222
+ export type { IPriceOracleV2Events } from "./IPriceOracle.sol/IPriceOracleV2Events";
223
+ export { IPriceOracleV2Events__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2Events__factory";
224
+ export type { IPriceOracleV2Exceptions } from "./IPriceOracle.sol/IPriceOracleV2Exceptions";
225
+ export { IPriceOracleV2Exceptions__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory";
226
+ export type { IPriceOracleV2Ext } from "./IPriceOracle.sol/IPriceOracleV2Ext";
227
+ export { IPriceOracleV2Ext__factory } from "./factories/IPriceOracle.sol/IPriceOracleV2Ext__factory";
210
228
  export { IPriceOracleBase__factory } from "./factories/IPriceOracleBase__factory";
229
+ export type { IPriceOracleV3 } from "./IPriceOracleV3.sol/IPriceOracleV3";
230
+ export { IPriceOracleV3__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3__factory";
231
+ export type { IPriceOracleV3Events } from "./IPriceOracleV3.sol/IPriceOracleV3Events";
232
+ export { IPriceOracleV3Events__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory";
211
233
  export { IRouter__factory } from "./factories/IRouter__factory";
212
234
  export type { IUniswapV2Adapter } from "./IUniswapV2Adapter.sol/IUniswapV2Adapter";
213
235
  export { IUniswapV2Adapter__factory } from "./factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory";
@@ -24,7 +24,8 @@ var __importStar = (this && this.__importStar) || function (mod) {
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
26
  exports.IDegenDistributorEvents__factory = exports.IDegenDistributor__factory = exports.IDataCompressorV3_00__factory = exports.IDataCompressorV2_10__factory = exports.IDaiLikePermit__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.ICurveV1Adapter__factory = exports.ICurvePool4Assets__factory = exports.ICurvePool3Assets__factory = exports.ICurvePool2Assets__factory = exports.ICurvePool__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.IBaseRewardPool__factory = exports.IAirdropDistributorEvents__factory = exports.IAirdropDistributor__factory = exports.IAddressProviderV3Events__factory = exports.IAddressProviderV3__factory = exports.IAddressProviderEvents__factory = exports.IAddressProvider__factory = exports.IAdapter__factory = exports.Errors__factory = exports.Claimable__factory = exports.BalanceOps__factory = exports.AddressProvider__factory = exports.factories = void 0;
27
- exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWithdrawalManagerV3Events__factory = exports.IWithdrawalManagerV3__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.IRouter__factory = exports.IPriceOracleBase__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.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGearStakingV3Events__factory = exports.IGearStakingV3__factory = exports.IGaugeV3Events__factory = exports.IGaugeV3__factory = exports.IGasPricer__factory = exports.IETHZapperDeposits__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = void 0;
27
+ exports.IwstETH__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWithdrawalManagerV3Events__factory = exports.IWithdrawalManagerV3__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.IRouter__factory = exports.IPriceOracleV3Events__factory = exports.IPriceOracleV3__factory = exports.IPriceOracleBase__factory = 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.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGearStakingV3Events__factory = exports.IGearStakingV3__factory = exports.IGaugeV3Events__factory = exports.IGaugeV3__factory = exports.IGasPricer__factory = exports.IETHZapperDeposits__factory = exports.IERC4626__factory = exports.IERC20ZapperDeposits__factory = exports.IERC20Permit__factory = exports.IERC20Metadata__factory = exports.IERC20__factory = void 0;
28
+ exports.SafeERC20__factory = exports.Ownable__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = void 0;
28
29
  exports.factories = __importStar(require("./factories"));
29
30
  var AddressProvider__factory_1 = require("./factories/AddressProvider__factory");
30
31
  Object.defineProperty(exports, "AddressProvider__factory", { enumerable: true, get: function () { return AddressProvider__factory_1.AddressProvider__factory; } });
@@ -166,8 +167,24 @@ var IPoolV3__factory_1 = require("./factories/IPoolV3.sol/IPoolV3__factory");
166
167
  Object.defineProperty(exports, "IPoolV3__factory", { enumerable: true, get: function () { return IPoolV3__factory_1.IPoolV3__factory; } });
167
168
  var IPoolV3Events__factory_1 = require("./factories/IPoolV3.sol/IPoolV3Events__factory");
168
169
  Object.defineProperty(exports, "IPoolV3Events__factory", { enumerable: true, get: function () { return IPoolV3Events__factory_1.IPoolV3Events__factory; } });
170
+ var IPriceFeed__factory_1 = require("./factories/IPriceFeed.sol/IPriceFeed__factory");
171
+ Object.defineProperty(exports, "IPriceFeed__factory", { enumerable: true, get: function () { return IPriceFeed__factory_1.IPriceFeed__factory; } });
172
+ var IUpdatablePriceFeed__factory_1 = require("./factories/IPriceFeed.sol/IUpdatablePriceFeed__factory");
173
+ Object.defineProperty(exports, "IUpdatablePriceFeed__factory", { enumerable: true, get: function () { return IUpdatablePriceFeed__factory_1.IUpdatablePriceFeed__factory; } });
174
+ var IPriceOracleV2__factory_1 = require("./factories/IPriceOracle.sol/IPriceOracleV2__factory");
175
+ Object.defineProperty(exports, "IPriceOracleV2__factory", { enumerable: true, get: function () { return IPriceOracleV2__factory_1.IPriceOracleV2__factory; } });
176
+ var IPriceOracleV2Events__factory_1 = require("./factories/IPriceOracle.sol/IPriceOracleV2Events__factory");
177
+ Object.defineProperty(exports, "IPriceOracleV2Events__factory", { enumerable: true, get: function () { return IPriceOracleV2Events__factory_1.IPriceOracleV2Events__factory; } });
178
+ var IPriceOracleV2Exceptions__factory_1 = require("./factories/IPriceOracle.sol/IPriceOracleV2Exceptions__factory");
179
+ Object.defineProperty(exports, "IPriceOracleV2Exceptions__factory", { enumerable: true, get: function () { return IPriceOracleV2Exceptions__factory_1.IPriceOracleV2Exceptions__factory; } });
180
+ var IPriceOracleV2Ext__factory_1 = require("./factories/IPriceOracle.sol/IPriceOracleV2Ext__factory");
181
+ Object.defineProperty(exports, "IPriceOracleV2Ext__factory", { enumerable: true, get: function () { return IPriceOracleV2Ext__factory_1.IPriceOracleV2Ext__factory; } });
169
182
  var IPriceOracleBase__factory_1 = require("./factories/IPriceOracleBase__factory");
170
183
  Object.defineProperty(exports, "IPriceOracleBase__factory", { enumerable: true, get: function () { return IPriceOracleBase__factory_1.IPriceOracleBase__factory; } });
184
+ var IPriceOracleV3__factory_1 = require("./factories/IPriceOracleV3.sol/IPriceOracleV3__factory");
185
+ Object.defineProperty(exports, "IPriceOracleV3__factory", { enumerable: true, get: function () { return IPriceOracleV3__factory_1.IPriceOracleV3__factory; } });
186
+ var IPriceOracleV3Events__factory_1 = require("./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory");
187
+ Object.defineProperty(exports, "IPriceOracleV3Events__factory", { enumerable: true, get: function () { return IPriceOracleV3Events__factory_1.IPriceOracleV3Events__factory; } });
171
188
  var IRouter__factory_1 = require("./factories/IRouter__factory");
172
189
  Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
173
190
  var IUniswapV2Adapter__factory_1 = require("./factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "3.0.0-next.52",
3
+ "version": "3.0.0-next.54",
4
4
  "description": "Gearbox SDK",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",