@gearbox-protocol/sdk 3.0.0-next.60 → 3.0.0-next.62
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/core/creditManager.d.ts +0 -1
- package/lib/core/creditManager.js +10 -6
- package/lib/pathfinder/core.d.ts +1 -1
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +6 -4
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +6 -4
- package/lib/types/ICreditFacadeV3Multicall.d.ts +41 -25
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeed.d.ts +285 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.d.ts +54 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedEvents.js +2 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.d.ts +27 -0
- package/lib/types/ILPPriceFeed.sol/ILPPriceFeedExceptions.js +2 -0
- package/lib/types/ILPPriceFeed.sol/index.d.ts +3 -0
- package/lib/types/ILPPriceFeed.sol/index.js +2 -0
- package/lib/types/IZapper.d.ts +13 -18
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +5 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +6 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +5 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +6 -0
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.d.ts +25 -19
- package/lib/types/factories/ICreditFacadeV3Multicall__factory.js +32 -25
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.d.ts +33 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory.js +51 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +24 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +39 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +257 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +339 -0
- package/lib/types/factories/ILPPriceFeed.sol/index.d.ts +3 -0
- package/lib/types/factories/ILPPriceFeed.sol/index.js +12 -0
- package/lib/types/factories/IZapper__factory.d.ts +0 -8
- package/lib/types/factories/IZapper__factory.js +0 -10
- package/lib/types/factories/index.d.ts +2 -1
- package/lib/types/factories/index.js +4 -4
- package/lib/types/factories/{IRouter__factory.d.ts → interfaces/IRouter__factory.d.ts} +1 -1
- package/lib/types/factories/interfaces/index.d.ts +1 -0
- package/lib/types/factories/interfaces/index.js +8 -0
- package/lib/types/index.d.ts +21 -11
- package/lib/types/index.js +25 -19
- package/lib/types/{IRouter.d.ts → interfaces/IRouter.d.ts} +1 -1
- package/lib/types/interfaces/IRouter.js +2 -0
- package/lib/types/interfaces/index.d.ts +1 -0
- package/lib/types/interfaces/index.js +2 -0
- package/package.json +3 -3
- /package/lib/types/{IRouter.js → ILPPriceFeed.sol/ILPPriceFeed.js} +0 -0
- /package/lib/types/factories/{IRouter__factory.js → interfaces/IRouter__factory.js} +0 -0
|
@@ -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.IZapper__factory = exports.IYearnV2Adapter__factory = exports.IYVault__factory = exports.IWETHGateway__factory = exports.IWETH__factory = exports.IVotingContractV3__factory = exports.IVersion__factory = exports.
|
|
26
|
+
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.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.iBalancerV2VaultAdapterSol = exports.iBalancerV2VaultSol = 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.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;
|
|
28
28
|
/* Autogenerated file. Do not edit manually. */
|
|
29
29
|
/* tslint:disable */
|
|
30
30
|
/* eslint-disable */
|
|
@@ -50,6 +50,7 @@ exports.iDegenDistributorSol = __importStar(require("./IDegenDistributor.sol"));
|
|
|
50
50
|
exports.iDegenNftv2Sol = __importStar(require("./IDegenNFTV2.sol"));
|
|
51
51
|
exports.iGaugeV3Sol = __importStar(require("./IGaugeV3.sol"));
|
|
52
52
|
exports.iGearStakingV3Sol = __importStar(require("./IGearStakingV3.sol"));
|
|
53
|
+
exports.ilpPriceFeedSol = __importStar(require("./ILPPriceFeed.sol"));
|
|
53
54
|
exports.iPoolQuotaKeeperV3Sol = __importStar(require("./IPoolQuotaKeeperV3.sol"));
|
|
54
55
|
exports.iPoolServiceSol = __importStar(require("./IPoolService.sol"));
|
|
55
56
|
exports.iPoolV3Sol = __importStar(require("./IPoolV3.sol"));
|
|
@@ -62,6 +63,7 @@ exports.iUniswapV3AdapterSol = __importStar(require("./IUniswapV3Adapter.sol"));
|
|
|
62
63
|
exports.istEthSol = __importStar(require("./IstETH.sol"));
|
|
63
64
|
exports.iwstEthSol = __importStar(require("./IwstETH.sol"));
|
|
64
65
|
exports.iwstEthGatewaySol = __importStar(require("./IwstETHGateway.sol"));
|
|
66
|
+
exports.interfaces = __importStar(require("./interfaces"));
|
|
65
67
|
var AddressProvider__factory_1 = require("./AddressProvider__factory");
|
|
66
68
|
Object.defineProperty(exports, "AddressProvider__factory", { enumerable: true, get: function () { return AddressProvider__factory_1.AddressProvider__factory; } });
|
|
67
69
|
var Claimable__factory_1 = require("./Claimable__factory");
|
|
@@ -132,8 +134,6 @@ var IPermit2__factory_1 = require("./IPermit2__factory");
|
|
|
132
134
|
Object.defineProperty(exports, "IPermit2__factory", { enumerable: true, get: function () { return IPermit2__factory_1.IPermit2__factory; } });
|
|
133
135
|
var IPriceOracleBase__factory_1 = require("./IPriceOracleBase__factory");
|
|
134
136
|
Object.defineProperty(exports, "IPriceOracleBase__factory", { enumerable: true, get: function () { return IPriceOracleBase__factory_1.IPriceOracleBase__factory; } });
|
|
135
|
-
var IRouter__factory_1 = require("./IRouter__factory");
|
|
136
|
-
Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
|
|
137
137
|
var IVersion__factory_1 = require("./IVersion__factory");
|
|
138
138
|
Object.defineProperty(exports, "IVersion__factory", { enumerable: true, get: function () { return IVersion__factory_1.IVersion__factory; } });
|
|
139
139
|
var IVotingContractV3__factory_1 = require("./IVotingContractV3__factory");
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { IRouter, IRouterInterface } from "
|
|
3
|
+
import type { IRouter, IRouterInterface } from "../../interfaces/IRouter";
|
|
4
4
|
export declare class IRouter__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
6
|
readonly anonymous: false;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { IRouter__factory } from "./IRouter__factory";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.IRouter__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
var IRouter__factory_1 = require("./IRouter__factory");
|
|
8
|
+
Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
|
package/lib/types/index.d.ts
CHANGED
|
@@ -42,6 +42,8 @@ import type * as iGaugeV3Sol from "./IGaugeV3.sol";
|
|
|
42
42
|
export type { iGaugeV3Sol };
|
|
43
43
|
import type * as iGearStakingV3Sol from "./IGearStakingV3.sol";
|
|
44
44
|
export type { iGearStakingV3Sol };
|
|
45
|
+
import type * as ilpPriceFeedSol from "./ILPPriceFeed.sol";
|
|
46
|
+
export type { ilpPriceFeedSol };
|
|
45
47
|
import type * as iPoolQuotaKeeperV3Sol from "./IPoolQuotaKeeperV3.sol";
|
|
46
48
|
export type { iPoolQuotaKeeperV3Sol };
|
|
47
49
|
import type * as iPoolServiceSol from "./IPoolService.sol";
|
|
@@ -66,6 +68,8 @@ import type * as iwstEthSol from "./IwstETH.sol";
|
|
|
66
68
|
export type { iwstEthSol };
|
|
67
69
|
import type * as iwstEthGatewaySol from "./IwstETHGateway.sol";
|
|
68
70
|
export type { iwstEthGatewaySol };
|
|
71
|
+
import type * as interfaces from "./interfaces";
|
|
72
|
+
export type { interfaces };
|
|
69
73
|
export type { AddressProvider } from "./AddressProvider";
|
|
70
74
|
export type { Claimable } from "./Claimable";
|
|
71
75
|
export type { Errors } from "./Errors";
|
|
@@ -101,7 +105,6 @@ export type { ILinearInterestRateModelV3 } from "./ILinearInterestRateModelV3";
|
|
|
101
105
|
export type { IOffchainOracle } from "./IOffchainOracle";
|
|
102
106
|
export type { IPermit2 } from "./IPermit2";
|
|
103
107
|
export type { IPriceOracleBase } from "./IPriceOracleBase";
|
|
104
|
-
export type { IRouter } from "./IRouter";
|
|
105
108
|
export type { IVersion } from "./IVersion";
|
|
106
109
|
export type { IVotingContractV3 } from "./IVotingContractV3";
|
|
107
110
|
export type { IWETH } from "./IWETH";
|
|
@@ -193,17 +196,17 @@ export type { ICreditManagerV3 } from "./ICreditManagerV3.sol/ICreditManagerV3";
|
|
|
193
196
|
export { ICreditManagerV3__factory } from "./factories/ICreditManagerV3.sol/ICreditManagerV3__factory";
|
|
194
197
|
export type { ICreditManagerV3Events } from "./ICreditManagerV3.sol/ICreditManagerV3Events";
|
|
195
198
|
export { ICreditManagerV3Events__factory } from "./factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory";
|
|
196
|
-
export { ICurvePool__factory } from "./factories/ICurvePool__factory";
|
|
197
199
|
export type { ICurvePool2Assets } from "./ICurvePool_2.sol/ICurvePool2Assets";
|
|
198
200
|
export { ICurvePool2Assets__factory } from "./factories/ICurvePool_2.sol/ICurvePool2Assets__factory";
|
|
199
201
|
export type { ICurvePool3Assets } from "./ICurvePool_3.sol/ICurvePool3Assets";
|
|
200
202
|
export { ICurvePool3Assets__factory } from "./factories/ICurvePool_3.sol/ICurvePool3Assets__factory";
|
|
201
203
|
export type { ICurvePool4Assets } from "./ICurvePool_4.sol/ICurvePool4Assets";
|
|
202
204
|
export { ICurvePool4Assets__factory } from "./factories/ICurvePool_4.sol/ICurvePool4Assets__factory";
|
|
203
|
-
export {
|
|
205
|
+
export { ICurvePool__factory } from "./factories/ICurvePool__factory";
|
|
204
206
|
export { ICurveV1_2AssetsAdapter__factory } from "./factories/ICurveV1_2AssetsAdapter__factory";
|
|
205
207
|
export { ICurveV1_3AssetsAdapter__factory } from "./factories/ICurveV1_3AssetsAdapter__factory";
|
|
206
208
|
export { ICurveV1_4AssetsAdapter__factory } from "./factories/ICurveV1_4AssetsAdapter__factory";
|
|
209
|
+
export { ICurveV1Adapter__factory } from "./factories/ICurveV1Adapter__factory";
|
|
207
210
|
export { IDaiLikePermit__factory } from "./factories/IDaiLikePermit__factory";
|
|
208
211
|
export { IDataCompressorV2_10__factory } from "./factories/IDataCompressorV2_10__factory";
|
|
209
212
|
export { IDataCompressorV3_00__factory } from "./factories/IDataCompressorV3_00__factory";
|
|
@@ -237,8 +240,16 @@ export { IGearStakingV3__factory } from "./factories/IGearStakingV3.sol/IGearSta
|
|
|
237
240
|
export type { IGearStakingV3Events } from "./IGearStakingV3.sol/IGearStakingV3Events";
|
|
238
241
|
export { IGearStakingV3Events__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3Events__factory";
|
|
239
242
|
export { IInterestRateModel__factory } from "./factories/IInterestRateModel__factory";
|
|
243
|
+
export type { ILPPriceFeed } from "./ILPPriceFeed.sol/ILPPriceFeed";
|
|
244
|
+
export { ILPPriceFeed__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeed__factory";
|
|
245
|
+
export type { ILPPriceFeedEvents } from "./ILPPriceFeed.sol/ILPPriceFeedEvents";
|
|
246
|
+
export { ILPPriceFeedEvents__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory";
|
|
247
|
+
export type { ILPPriceFeedExceptions } from "./ILPPriceFeed.sol/ILPPriceFeedExceptions";
|
|
248
|
+
export { ILPPriceFeedExceptions__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory";
|
|
240
249
|
export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
|
|
241
250
|
export { ILinearInterestRateModelV3__factory } from "./factories/ILinearInterestRateModelV3__factory";
|
|
251
|
+
export type { IRouter } from "./interfaces/IRouter";
|
|
252
|
+
export { IRouter__factory } from "./factories/interfaces/IRouter__factory";
|
|
242
253
|
export { IOffchainOracle__factory } from "./factories/IOffchainOracle__factory";
|
|
243
254
|
export { IPermit2__factory } from "./factories/IPermit2__factory";
|
|
244
255
|
export type { IPoolQuotaKeeperV3 } from "./IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3";
|
|
@@ -270,7 +281,10 @@ export type { IPriceOracleV3 } from "./IPriceOracleV3.sol/IPriceOracleV3";
|
|
|
270
281
|
export { IPriceOracleV3__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3__factory";
|
|
271
282
|
export type { IPriceOracleV3Events } from "./IPriceOracleV3.sol/IPriceOracleV3Events";
|
|
272
283
|
export { IPriceOracleV3Events__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory";
|
|
273
|
-
export {
|
|
284
|
+
export type { IstETH } from "./IstETH.sol/IstETH";
|
|
285
|
+
export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
|
|
286
|
+
export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
|
|
287
|
+
export { IstETHGetters__factory } from "./factories/IstETH.sol/IstETHGetters__factory";
|
|
274
288
|
export type { IUniswapV2Adapter } from "./IUniswapV2Adapter.sol/IUniswapV2Adapter";
|
|
275
289
|
export { IUniswapV2Adapter__factory } from "./factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory";
|
|
276
290
|
export type { IUniswapV2AdapterEvents } from "./IUniswapV2Adapter.sol/IUniswapV2AdapterEvents";
|
|
@@ -289,13 +303,6 @@ export { IVersion__factory } from "./factories/IVersion__factory";
|
|
|
289
303
|
export { IVotingContractV3__factory } from "./factories/IVotingContractV3__factory";
|
|
290
304
|
export { IWETH__factory } from "./factories/IWETH__factory";
|
|
291
305
|
export { IWETHGateway__factory } from "./factories/IWETHGateway__factory";
|
|
292
|
-
export { IYVault__factory } from "./factories/IYVault__factory";
|
|
293
|
-
export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
|
|
294
|
-
export { IZapper__factory } from "./factories/IZapper__factory";
|
|
295
|
-
export type { IstETH } from "./IstETH.sol/IstETH";
|
|
296
|
-
export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
|
|
297
|
-
export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
|
|
298
|
-
export { IstETHGetters__factory } from "./factories/IstETH.sol/IstETHGetters__factory";
|
|
299
306
|
export type { IwstETH } from "./IwstETH.sol/IwstETH";
|
|
300
307
|
export { IwstETH__factory } from "./factories/IwstETH.sol/IwstETH__factory";
|
|
301
308
|
export type { IwstETHGetters } from "./IwstETH.sol/IwstETHGetters";
|
|
@@ -303,5 +310,8 @@ export { IwstETHGetters__factory } from "./factories/IwstETH.sol/IwstETHGetters_
|
|
|
303
310
|
export type { IwstETHGateWay } from "./IwstETHGateway.sol/IwstETHGateWay";
|
|
304
311
|
export { IwstETHGateWay__factory } from "./factories/IwstETHGateway.sol/IwstETHGateWay__factory";
|
|
305
312
|
export { IwstETHV1Adapter__factory } from "./factories/IwstETHV1Adapter__factory";
|
|
313
|
+
export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
|
|
314
|
+
export { IYVault__factory } from "./factories/IYVault__factory";
|
|
315
|
+
export { IZapper__factory } from "./factories/IZapper__factory";
|
|
306
316
|
export { Ownable__factory } from "./factories/Ownable__factory";
|
|
307
317
|
export { SafeERC20__factory } from "./factories/SafeERC20__factory";
|
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.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.
|
|
26
|
+
exports.ICurvePool__factory = exports.ICurvePool4Assets__factory = 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.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.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.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 = 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.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;
|
|
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; } });
|
|
@@ -117,22 +117,22 @@ var ICreditManagerV3__factory_1 = require("./factories/ICreditManagerV3.sol/ICre
|
|
|
117
117
|
Object.defineProperty(exports, "ICreditManagerV3__factory", { enumerable: true, get: function () { return ICreditManagerV3__factory_1.ICreditManagerV3__factory; } });
|
|
118
118
|
var ICreditManagerV3Events__factory_1 = require("./factories/ICreditManagerV3.sol/ICreditManagerV3Events__factory");
|
|
119
119
|
Object.defineProperty(exports, "ICreditManagerV3Events__factory", { enumerable: true, get: function () { return ICreditManagerV3Events__factory_1.ICreditManagerV3Events__factory; } });
|
|
120
|
-
var ICurvePool__factory_1 = require("./factories/ICurvePool__factory");
|
|
121
|
-
Object.defineProperty(exports, "ICurvePool__factory", { enumerable: true, get: function () { return ICurvePool__factory_1.ICurvePool__factory; } });
|
|
122
120
|
var ICurvePool2Assets__factory_1 = require("./factories/ICurvePool_2.sol/ICurvePool2Assets__factory");
|
|
123
121
|
Object.defineProperty(exports, "ICurvePool2Assets__factory", { enumerable: true, get: function () { return ICurvePool2Assets__factory_1.ICurvePool2Assets__factory; } });
|
|
124
122
|
var ICurvePool3Assets__factory_1 = require("./factories/ICurvePool_3.sol/ICurvePool3Assets__factory");
|
|
125
123
|
Object.defineProperty(exports, "ICurvePool3Assets__factory", { enumerable: true, get: function () { return ICurvePool3Assets__factory_1.ICurvePool3Assets__factory; } });
|
|
126
124
|
var ICurvePool4Assets__factory_1 = require("./factories/ICurvePool_4.sol/ICurvePool4Assets__factory");
|
|
127
125
|
Object.defineProperty(exports, "ICurvePool4Assets__factory", { enumerable: true, get: function () { return ICurvePool4Assets__factory_1.ICurvePool4Assets__factory; } });
|
|
128
|
-
var
|
|
129
|
-
Object.defineProperty(exports, "
|
|
126
|
+
var ICurvePool__factory_1 = require("./factories/ICurvePool__factory");
|
|
127
|
+
Object.defineProperty(exports, "ICurvePool__factory", { enumerable: true, get: function () { return ICurvePool__factory_1.ICurvePool__factory; } });
|
|
130
128
|
var ICurveV1_2AssetsAdapter__factory_1 = require("./factories/ICurveV1_2AssetsAdapter__factory");
|
|
131
129
|
Object.defineProperty(exports, "ICurveV1_2AssetsAdapter__factory", { enumerable: true, get: function () { return ICurveV1_2AssetsAdapter__factory_1.ICurveV1_2AssetsAdapter__factory; } });
|
|
132
130
|
var ICurveV1_3AssetsAdapter__factory_1 = require("./factories/ICurveV1_3AssetsAdapter__factory");
|
|
133
131
|
Object.defineProperty(exports, "ICurveV1_3AssetsAdapter__factory", { enumerable: true, get: function () { return ICurveV1_3AssetsAdapter__factory_1.ICurveV1_3AssetsAdapter__factory; } });
|
|
134
132
|
var ICurveV1_4AssetsAdapter__factory_1 = require("./factories/ICurveV1_4AssetsAdapter__factory");
|
|
135
133
|
Object.defineProperty(exports, "ICurveV1_4AssetsAdapter__factory", { enumerable: true, get: function () { return ICurveV1_4AssetsAdapter__factory_1.ICurveV1_4AssetsAdapter__factory; } });
|
|
134
|
+
var ICurveV1Adapter__factory_1 = require("./factories/ICurveV1Adapter__factory");
|
|
135
|
+
Object.defineProperty(exports, "ICurveV1Adapter__factory", { enumerable: true, get: function () { return ICurveV1Adapter__factory_1.ICurveV1Adapter__factory; } });
|
|
136
136
|
var IDaiLikePermit__factory_1 = require("./factories/IDaiLikePermit__factory");
|
|
137
137
|
Object.defineProperty(exports, "IDaiLikePermit__factory", { enumerable: true, get: function () { return IDaiLikePermit__factory_1.IDaiLikePermit__factory; } });
|
|
138
138
|
var IDataCompressorV2_10__factory_1 = require("./factories/IDataCompressorV2_10__factory");
|
|
@@ -181,10 +181,18 @@ var IGearStakingV3Events__factory_1 = require("./factories/IGearStakingV3.sol/IG
|
|
|
181
181
|
Object.defineProperty(exports, "IGearStakingV3Events__factory", { enumerable: true, get: function () { return IGearStakingV3Events__factory_1.IGearStakingV3Events__factory; } });
|
|
182
182
|
var IInterestRateModel__factory_1 = require("./factories/IInterestRateModel__factory");
|
|
183
183
|
Object.defineProperty(exports, "IInterestRateModel__factory", { enumerable: true, get: function () { return IInterestRateModel__factory_1.IInterestRateModel__factory; } });
|
|
184
|
+
var ILPPriceFeed__factory_1 = require("./factories/ILPPriceFeed.sol/ILPPriceFeed__factory");
|
|
185
|
+
Object.defineProperty(exports, "ILPPriceFeed__factory", { enumerable: true, get: function () { return ILPPriceFeed__factory_1.ILPPriceFeed__factory; } });
|
|
186
|
+
var ILPPriceFeedEvents__factory_1 = require("./factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory");
|
|
187
|
+
Object.defineProperty(exports, "ILPPriceFeedEvents__factory", { enumerable: true, get: function () { return ILPPriceFeedEvents__factory_1.ILPPriceFeedEvents__factory; } });
|
|
188
|
+
var ILPPriceFeedExceptions__factory_1 = require("./factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory");
|
|
189
|
+
Object.defineProperty(exports, "ILPPriceFeedExceptions__factory", { enumerable: true, get: function () { return ILPPriceFeedExceptions__factory_1.ILPPriceFeedExceptions__factory; } });
|
|
184
190
|
var ILidoV1Adapter__factory_1 = require("./factories/ILidoV1Adapter__factory");
|
|
185
191
|
Object.defineProperty(exports, "ILidoV1Adapter__factory", { enumerable: true, get: function () { return ILidoV1Adapter__factory_1.ILidoV1Adapter__factory; } });
|
|
186
192
|
var ILinearInterestRateModelV3__factory_1 = require("./factories/ILinearInterestRateModelV3__factory");
|
|
187
193
|
Object.defineProperty(exports, "ILinearInterestRateModelV3__factory", { enumerable: true, get: function () { return ILinearInterestRateModelV3__factory_1.ILinearInterestRateModelV3__factory; } });
|
|
194
|
+
var IRouter__factory_1 = require("./factories/interfaces/IRouter__factory");
|
|
195
|
+
Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
|
|
188
196
|
var IOffchainOracle__factory_1 = require("./factories/IOffchainOracle__factory");
|
|
189
197
|
Object.defineProperty(exports, "IOffchainOracle__factory", { enumerable: true, get: function () { return IOffchainOracle__factory_1.IOffchainOracle__factory; } });
|
|
190
198
|
var IPermit2__factory_1 = require("./factories/IPermit2__factory");
|
|
@@ -219,8 +227,10 @@ var IPriceOracleV3__factory_1 = require("./factories/IPriceOracleV3.sol/IPriceOr
|
|
|
219
227
|
Object.defineProperty(exports, "IPriceOracleV3__factory", { enumerable: true, get: function () { return IPriceOracleV3__factory_1.IPriceOracleV3__factory; } });
|
|
220
228
|
var IPriceOracleV3Events__factory_1 = require("./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory");
|
|
221
229
|
Object.defineProperty(exports, "IPriceOracleV3Events__factory", { enumerable: true, get: function () { return IPriceOracleV3Events__factory_1.IPriceOracleV3Events__factory; } });
|
|
222
|
-
var
|
|
223
|
-
Object.defineProperty(exports, "
|
|
230
|
+
var IstETH__factory_1 = require("./factories/IstETH.sol/IstETH__factory");
|
|
231
|
+
Object.defineProperty(exports, "IstETH__factory", { enumerable: true, get: function () { return IstETH__factory_1.IstETH__factory; } });
|
|
232
|
+
var IstETHGetters__factory_1 = require("./factories/IstETH.sol/IstETHGetters__factory");
|
|
233
|
+
Object.defineProperty(exports, "IstETHGetters__factory", { enumerable: true, get: function () { return IstETHGetters__factory_1.IstETHGetters__factory; } });
|
|
224
234
|
var IUniswapV2Adapter__factory_1 = require("./factories/IUniswapV2Adapter.sol/IUniswapV2Adapter__factory");
|
|
225
235
|
Object.defineProperty(exports, "IUniswapV2Adapter__factory", { enumerable: true, get: function () { return IUniswapV2Adapter__factory_1.IUniswapV2Adapter__factory; } });
|
|
226
236
|
var IUniswapV2AdapterEvents__factory_1 = require("./factories/IUniswapV2Adapter.sol/IUniswapV2AdapterEvents__factory");
|
|
@@ -243,16 +253,6 @@ var IWETH__factory_1 = require("./factories/IWETH__factory");
|
|
|
243
253
|
Object.defineProperty(exports, "IWETH__factory", { enumerable: true, get: function () { return IWETH__factory_1.IWETH__factory; } });
|
|
244
254
|
var IWETHGateway__factory_1 = require("./factories/IWETHGateway__factory");
|
|
245
255
|
Object.defineProperty(exports, "IWETHGateway__factory", { enumerable: true, get: function () { return IWETHGateway__factory_1.IWETHGateway__factory; } });
|
|
246
|
-
var IYVault__factory_1 = require("./factories/IYVault__factory");
|
|
247
|
-
Object.defineProperty(exports, "IYVault__factory", { enumerable: true, get: function () { return IYVault__factory_1.IYVault__factory; } });
|
|
248
|
-
var IYearnV2Adapter__factory_1 = require("./factories/IYearnV2Adapter__factory");
|
|
249
|
-
Object.defineProperty(exports, "IYearnV2Adapter__factory", { enumerable: true, get: function () { return IYearnV2Adapter__factory_1.IYearnV2Adapter__factory; } });
|
|
250
|
-
var IZapper__factory_1 = require("./factories/IZapper__factory");
|
|
251
|
-
Object.defineProperty(exports, "IZapper__factory", { enumerable: true, get: function () { return IZapper__factory_1.IZapper__factory; } });
|
|
252
|
-
var IstETH__factory_1 = require("./factories/IstETH.sol/IstETH__factory");
|
|
253
|
-
Object.defineProperty(exports, "IstETH__factory", { enumerable: true, get: function () { return IstETH__factory_1.IstETH__factory; } });
|
|
254
|
-
var IstETHGetters__factory_1 = require("./factories/IstETH.sol/IstETHGetters__factory");
|
|
255
|
-
Object.defineProperty(exports, "IstETHGetters__factory", { enumerable: true, get: function () { return IstETHGetters__factory_1.IstETHGetters__factory; } });
|
|
256
256
|
var IwstETH__factory_1 = require("./factories/IwstETH.sol/IwstETH__factory");
|
|
257
257
|
Object.defineProperty(exports, "IwstETH__factory", { enumerable: true, get: function () { return IwstETH__factory_1.IwstETH__factory; } });
|
|
258
258
|
var IwstETHGetters__factory_1 = require("./factories/IwstETH.sol/IwstETHGetters__factory");
|
|
@@ -261,6 +261,12 @@ var IwstETHGateWay__factory_1 = require("./factories/IwstETHGateway.sol/IwstETHG
|
|
|
261
261
|
Object.defineProperty(exports, "IwstETHGateWay__factory", { enumerable: true, get: function () { return IwstETHGateWay__factory_1.IwstETHGateWay__factory; } });
|
|
262
262
|
var IwstETHV1Adapter__factory_1 = require("./factories/IwstETHV1Adapter__factory");
|
|
263
263
|
Object.defineProperty(exports, "IwstETHV1Adapter__factory", { enumerable: true, get: function () { return IwstETHV1Adapter__factory_1.IwstETHV1Adapter__factory; } });
|
|
264
|
+
var IYearnV2Adapter__factory_1 = require("./factories/IYearnV2Adapter__factory");
|
|
265
|
+
Object.defineProperty(exports, "IYearnV2Adapter__factory", { enumerable: true, get: function () { return IYearnV2Adapter__factory_1.IYearnV2Adapter__factory; } });
|
|
266
|
+
var IYVault__factory_1 = require("./factories/IYVault__factory");
|
|
267
|
+
Object.defineProperty(exports, "IYVault__factory", { enumerable: true, get: function () { return IYVault__factory_1.IYVault__factory; } });
|
|
268
|
+
var IZapper__factory_1 = require("./factories/IZapper__factory");
|
|
269
|
+
Object.defineProperty(exports, "IZapper__factory", { enumerable: true, get: function () { return IZapper__factory_1.IZapper__factory; } });
|
|
264
270
|
var Ownable__factory_1 = require("./factories/Ownable__factory");
|
|
265
271
|
Object.defineProperty(exports, "Ownable__factory", { enumerable: true, get: function () { return Ownable__factory_1.Ownable__factory; } });
|
|
266
272
|
var SafeERC20__factory_1 = require("./factories/SafeERC20__factory");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { BaseContract, BigNumber, BigNumberish, BytesLike, CallOverrides, ContractTransaction, Overrides, PopulatedTransaction, Signer, utils } from "ethers";
|
|
2
2
|
import type { FunctionFragment, Result, EventFragment } from "@ethersproject/abi";
|
|
3
3
|
import type { Listener, Provider } from "@ethersproject/providers";
|
|
4
|
-
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "
|
|
4
|
+
import type { TypedEventFilter, TypedEvent, TypedListener, OnEvent, PromiseOrValue } from "../common";
|
|
5
5
|
export type SwapTaskStruct = {
|
|
6
6
|
swapOperation: PromiseOrValue<BigNumberish>;
|
|
7
7
|
creditAccount: PromiseOrValue<string>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type { IRouter } from "./IRouter";
|
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.62",
|
|
4
4
|
"description": "Gearbox SDK",
|
|
5
5
|
"main": "./lib/index.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"@commitlint/cli": "^17.6.3",
|
|
42
42
|
"@commitlint/config-conventional": "^17.0.3",
|
|
43
43
|
"@gearbox-protocol/core-v2": "1.19.0-base.17",
|
|
44
|
-
"@gearbox-protocol/core-v3": "^1.
|
|
44
|
+
"@gearbox-protocol/core-v3": "^1.45.0",
|
|
45
45
|
"@gearbox-protocol/eslint-config": "^1.4.1",
|
|
46
|
-
"@gearbox-protocol/integrations-v3": "^1.
|
|
46
|
+
"@gearbox-protocol/integrations-v3": "^1.25.0",
|
|
47
47
|
"@gearbox-protocol/oracles-v3": "^1.8.1",
|
|
48
48
|
"@gearbox-protocol/periphery-v3": "^1.3.9",
|
|
49
49
|
"@gearbox-protocol/prettier-config": "^1.4.1",
|
|
File without changes
|
|
File without changes
|