@gearbox-protocol/sdk 3.0.0-next.72 → 3.0.0-next.74
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 +3 -1
- package/lib/core/events.js +7 -7
- package/lib/core/transactions.js +11 -11
- package/lib/pathfinder/core.d.ts +1 -1
- package/lib/pathfinder/pathfinder.d.ts +6 -6
- package/lib/pathfinder/pathfinder.js +5 -5
- package/lib/types/FarmAccounting.d.ts +27 -0
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3.d.ts +4 -14
- package/lib/types/ICreditFacadeV3.sol/ICreditFacadeV3Events.d.ts +3 -5
- package/lib/types/ICreditManagerV3.sol/ICreditManagerV3.d.ts +1 -9
- package/lib/types/IFarmingPool.d.ts +318 -0
- package/lib/types/{interfaces/IRouter.d.ts → IRouterV3.d.ts} +4 -4
- package/lib/types/IRouterV3.js +2 -0
- package/lib/types/factories/FarmAccounting__factory.d.ts +33 -0
- package/lib/types/factories/FarmAccounting__factory.js +57 -0
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.d.ts +0 -5
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3Events__factory.js +0 -6
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.d.ts +0 -15
- package/lib/types/factories/ICreditFacadeV3.sol/ICreditFacadeV3__factory.js +0 -19
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.d.ts +0 -10
- package/lib/types/factories/ICreditManagerV3.sol/ICreditManagerV3__factory.js +0 -13
- package/lib/types/factories/IFarmingPool__factory.d.ts +299 -0
- package/lib/types/factories/IFarmingPool__factory.js +396 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.d.ts +4 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory.js +5 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.d.ts +4 -0
- package/lib/types/factories/ILPPriceFeed.sol/ILPPriceFeed__factory.js +5 -0
- package/lib/types/factories/{interfaces/IRouter__factory.d.ts → IRouterV3__factory.d.ts} +4 -4
- package/lib/types/factories/{interfaces/IRouter__factory.js → IRouterV3__factory.js} +3 -3
- package/lib/types/factories/index.d.ts +3 -1
- package/lib/types/factories/index.js +8 -3
- package/lib/types/index.d.ts +9 -7
- package/lib/types/index.js +15 -11
- package/package.json +7 -6
- package/lib/types/factories/interfaces/index.d.ts +0 -1
- package/lib/types/factories/interfaces/index.js +0 -8
- package/lib/types/interfaces/index.d.ts +0 -1
- /package/lib/types/{interfaces/IRouter.js → FarmAccounting.js} +0 -0
- /package/lib/types/{interfaces/index.js → IFarmingPool.js} +0 -0
|
@@ -6,6 +6,10 @@ export declare class ILPPriceFeed__factory {
|
|
|
6
6
|
readonly inputs: readonly [];
|
|
7
7
|
readonly name: "ExchangeRateOutOfBoundsException";
|
|
8
8
|
readonly type: "error";
|
|
9
|
+
}, {
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly name: "LowerBoundCantBeZeroException";
|
|
12
|
+
readonly type: "error";
|
|
9
13
|
}, {
|
|
10
14
|
readonly inputs: readonly [];
|
|
11
15
|
readonly name: "ReserveFeedMustNotBeSelfException";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type {
|
|
4
|
-
export declare class
|
|
3
|
+
import type { IRouterV3, IRouterV3Interface } from "../IRouterV3";
|
|
4
|
+
export declare class IRouterV3__factory {
|
|
5
5
|
static readonly abi: readonly [{
|
|
6
6
|
readonly anonymous: false;
|
|
7
7
|
readonly inputs: readonly [{
|
|
@@ -446,6 +446,6 @@ export declare class IRouter__factory {
|
|
|
446
446
|
readonly stateMutability: "view";
|
|
447
447
|
readonly type: "function";
|
|
448
448
|
}];
|
|
449
|
-
static createInterface():
|
|
450
|
-
static connect(address: string, signerOrProvider: Signer | Provider):
|
|
449
|
+
static createInterface(): IRouterV3Interface;
|
|
450
|
+
static connect(address: string, signerOrProvider: Signer | Provider): IRouterV3;
|
|
451
451
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.
|
|
6
|
+
exports.IRouterV3__factory = void 0;
|
|
7
7
|
const ethers_1 = require("ethers");
|
|
8
8
|
const _abi = [
|
|
9
9
|
{
|
|
@@ -585,7 +585,7 @@ const _abi = [
|
|
|
585
585
|
type: "function",
|
|
586
586
|
},
|
|
587
587
|
];
|
|
588
|
-
class
|
|
588
|
+
class IRouterV3__factory {
|
|
589
589
|
static abi = _abi;
|
|
590
590
|
static createInterface() {
|
|
591
591
|
return new ethers_1.utils.Interface(_abi);
|
|
@@ -594,4 +594,4 @@ class IRouter__factory {
|
|
|
594
594
|
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
|
-
exports.
|
|
597
|
+
exports.IRouterV3__factory = IRouterV3__factory;
|
|
@@ -35,10 +35,10 @@ export * as iUniswapV3AdapterSol from "./IUniswapV3Adapter.sol";
|
|
|
35
35
|
export * as istEthSol from "./IstETH.sol";
|
|
36
36
|
export * as iwstEthSol from "./IwstETH.sol";
|
|
37
37
|
export * as iwstEthGatewaySol from "./IwstETHGateway.sol";
|
|
38
|
-
export * as interfaces from "./interfaces";
|
|
39
38
|
export { AddressProvider__factory } from "./AddressProvider__factory";
|
|
40
39
|
export { Claimable__factory } from "./Claimable__factory";
|
|
41
40
|
export { Errors__factory } from "./Errors__factory";
|
|
41
|
+
export { FarmAccounting__factory } from "./FarmAccounting__factory";
|
|
42
42
|
export { IAaveV2_LendingPoolAdapter__factory } from "./IAaveV2_LendingPoolAdapter__factory";
|
|
43
43
|
export { IAaveV2_WrappedATokenAdapter__factory } from "./IAaveV2_WrappedATokenAdapter__factory";
|
|
44
44
|
export { IAdapter__factory } from "./IAdapter__factory";
|
|
@@ -64,6 +64,7 @@ export { IERC4626Adapter__factory } from "./IERC4626Adapter__factory";
|
|
|
64
64
|
export { IERC721__factory } from "./IERC721__factory";
|
|
65
65
|
export { IERC721Metadata__factory } from "./IERC721Metadata__factory";
|
|
66
66
|
export { IETHZapperDeposits__factory } from "./IETHZapperDeposits__factory";
|
|
67
|
+
export { IFarmingPool__factory } from "./IFarmingPool__factory";
|
|
67
68
|
export { IGasPricer__factory } from "./IGasPricer__factory";
|
|
68
69
|
export { IInterestRateModel__factory } from "./IInterestRateModel__factory";
|
|
69
70
|
export { ILidoV1Adapter__factory } from "./ILidoV1Adapter__factory";
|
|
@@ -71,6 +72,7 @@ export { ILinearInterestRateModelV3__factory } from "./ILinearInterestRateModelV
|
|
|
71
72
|
export { IOffchainOracle__factory } from "./IOffchainOracle__factory";
|
|
72
73
|
export { IPermit2__factory } from "./IPermit2__factory";
|
|
73
74
|
export { IPriceOracleBase__factory } from "./IPriceOracleBase__factory";
|
|
75
|
+
export { IRouterV3__factory } from "./IRouterV3__factory";
|
|
74
76
|
export { IVersion__factory } from "./IVersion__factory";
|
|
75
77
|
export { IVotingContractV3__factory } from "./IVotingContractV3__factory";
|
|
76
78
|
export { IWETH__factory } from "./IWETH__factory";
|
|
@@ -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.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.
|
|
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 = exports.ICurveV1_2AssetsAdapter__factory = void 0;
|
|
26
|
+
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.FarmAccounting__factory = exports.Errors__factory = exports.Claimable__factory = exports.AddressProvider__factory = 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.iControllerTimelockV3Sol = 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.IRouterV3__factory = exports.IPriceOracleBase__factory = exports.IPermit2__factory = exports.IOffchainOracle__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGasPricer__factory = exports.IFarmingPool__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 = exports.ICurveV1_2AssetsAdapter__factory = void 0;
|
|
28
28
|
/* Autogenerated file. Do not edit manually. */
|
|
29
29
|
/* tslint:disable */
|
|
30
30
|
/* eslint-disable */
|
|
@@ -65,13 +65,14 @@ exports.iUniswapV3AdapterSol = __importStar(require("./IUniswapV3Adapter.sol"));
|
|
|
65
65
|
exports.istEthSol = __importStar(require("./IstETH.sol"));
|
|
66
66
|
exports.iwstEthSol = __importStar(require("./IwstETH.sol"));
|
|
67
67
|
exports.iwstEthGatewaySol = __importStar(require("./IwstETHGateway.sol"));
|
|
68
|
-
exports.interfaces = __importStar(require("./interfaces"));
|
|
69
68
|
var AddressProvider__factory_1 = require("./AddressProvider__factory");
|
|
70
69
|
Object.defineProperty(exports, "AddressProvider__factory", { enumerable: true, get: function () { return AddressProvider__factory_1.AddressProvider__factory; } });
|
|
71
70
|
var Claimable__factory_1 = require("./Claimable__factory");
|
|
72
71
|
Object.defineProperty(exports, "Claimable__factory", { enumerable: true, get: function () { return Claimable__factory_1.Claimable__factory; } });
|
|
73
72
|
var Errors__factory_1 = require("./Errors__factory");
|
|
74
73
|
Object.defineProperty(exports, "Errors__factory", { enumerable: true, get: function () { return Errors__factory_1.Errors__factory; } });
|
|
74
|
+
var FarmAccounting__factory_1 = require("./FarmAccounting__factory");
|
|
75
|
+
Object.defineProperty(exports, "FarmAccounting__factory", { enumerable: true, get: function () { return FarmAccounting__factory_1.FarmAccounting__factory; } });
|
|
75
76
|
var IAaveV2_LendingPoolAdapter__factory_1 = require("./IAaveV2_LendingPoolAdapter__factory");
|
|
76
77
|
Object.defineProperty(exports, "IAaveV2_LendingPoolAdapter__factory", { enumerable: true, get: function () { return IAaveV2_LendingPoolAdapter__factory_1.IAaveV2_LendingPoolAdapter__factory; } });
|
|
77
78
|
var IAaveV2_WrappedATokenAdapter__factory_1 = require("./IAaveV2_WrappedATokenAdapter__factory");
|
|
@@ -122,6 +123,8 @@ var IERC721Metadata__factory_1 = require("./IERC721Metadata__factory");
|
|
|
122
123
|
Object.defineProperty(exports, "IERC721Metadata__factory", { enumerable: true, get: function () { return IERC721Metadata__factory_1.IERC721Metadata__factory; } });
|
|
123
124
|
var IETHZapperDeposits__factory_1 = require("./IETHZapperDeposits__factory");
|
|
124
125
|
Object.defineProperty(exports, "IETHZapperDeposits__factory", { enumerable: true, get: function () { return IETHZapperDeposits__factory_1.IETHZapperDeposits__factory; } });
|
|
126
|
+
var IFarmingPool__factory_1 = require("./IFarmingPool__factory");
|
|
127
|
+
Object.defineProperty(exports, "IFarmingPool__factory", { enumerable: true, get: function () { return IFarmingPool__factory_1.IFarmingPool__factory; } });
|
|
125
128
|
var IGasPricer__factory_1 = require("./IGasPricer__factory");
|
|
126
129
|
Object.defineProperty(exports, "IGasPricer__factory", { enumerable: true, get: function () { return IGasPricer__factory_1.IGasPricer__factory; } });
|
|
127
130
|
var IInterestRateModel__factory_1 = require("./IInterestRateModel__factory");
|
|
@@ -136,6 +139,8 @@ var IPermit2__factory_1 = require("./IPermit2__factory");
|
|
|
136
139
|
Object.defineProperty(exports, "IPermit2__factory", { enumerable: true, get: function () { return IPermit2__factory_1.IPermit2__factory; } });
|
|
137
140
|
var IPriceOracleBase__factory_1 = require("./IPriceOracleBase__factory");
|
|
138
141
|
Object.defineProperty(exports, "IPriceOracleBase__factory", { enumerable: true, get: function () { return IPriceOracleBase__factory_1.IPriceOracleBase__factory; } });
|
|
142
|
+
var IRouterV3__factory_1 = require("./IRouterV3__factory");
|
|
143
|
+
Object.defineProperty(exports, "IRouterV3__factory", { enumerable: true, get: function () { return IRouterV3__factory_1.IRouterV3__factory; } });
|
|
139
144
|
var IVersion__factory_1 = require("./IVersion__factory");
|
|
140
145
|
Object.defineProperty(exports, "IVersion__factory", { enumerable: true, get: function () { return IVersion__factory_1.IVersion__factory; } });
|
|
141
146
|
var IVotingContractV3__factory_1 = require("./IVotingContractV3__factory");
|
package/lib/types/index.d.ts
CHANGED
|
@@ -72,11 +72,10 @@ import type * as iwstEthSol from "./IwstETH.sol";
|
|
|
72
72
|
export type { iwstEthSol };
|
|
73
73
|
import type * as iwstEthGatewaySol from "./IwstETHGateway.sol";
|
|
74
74
|
export type { iwstEthGatewaySol };
|
|
75
|
-
import type * as interfaces from "./interfaces";
|
|
76
|
-
export type { interfaces };
|
|
77
75
|
export type { AddressProvider } from "./AddressProvider";
|
|
78
76
|
export type { Claimable } from "./Claimable";
|
|
79
77
|
export type { Errors } from "./Errors";
|
|
78
|
+
export type { FarmAccounting } from "./FarmAccounting";
|
|
80
79
|
export type { IAaveV2_LendingPoolAdapter } from "./IAaveV2_LendingPoolAdapter";
|
|
81
80
|
export type { IAaveV2_WrappedATokenAdapter } from "./IAaveV2_WrappedATokenAdapter";
|
|
82
81
|
export type { IAdapter } from "./IAdapter";
|
|
@@ -102,6 +101,7 @@ export type { IERC4626Adapter } from "./IERC4626Adapter";
|
|
|
102
101
|
export type { IERC721 } from "./IERC721";
|
|
103
102
|
export type { IERC721Metadata } from "./IERC721Metadata";
|
|
104
103
|
export type { IETHZapperDeposits } from "./IETHZapperDeposits";
|
|
104
|
+
export type { IFarmingPool } from "./IFarmingPool";
|
|
105
105
|
export type { IGasPricer } from "./IGasPricer";
|
|
106
106
|
export type { IInterestRateModel } from "./IInterestRateModel";
|
|
107
107
|
export type { ILidoV1Adapter } from "./ILidoV1Adapter";
|
|
@@ -109,6 +109,7 @@ export type { ILinearInterestRateModelV3 } from "./ILinearInterestRateModelV3";
|
|
|
109
109
|
export type { IOffchainOracle } from "./IOffchainOracle";
|
|
110
110
|
export type { IPermit2 } from "./IPermit2";
|
|
111
111
|
export type { IPriceOracleBase } from "./IPriceOracleBase";
|
|
112
|
+
export type { IRouterV3 } from "./IRouterV3";
|
|
112
113
|
export type { IVersion } from "./IVersion";
|
|
113
114
|
export type { IVotingContractV3 } from "./IVotingContractV3";
|
|
114
115
|
export type { IWETH } from "./IWETH";
|
|
@@ -126,6 +127,7 @@ export type { BalanceOps } from "./Balances.sol/BalanceOps";
|
|
|
126
127
|
export { BalanceOps__factory } from "./factories/Balances.sol/BalanceOps__factory";
|
|
127
128
|
export { Claimable__factory } from "./factories/Claimable__factory";
|
|
128
129
|
export { Errors__factory } from "./factories/Errors__factory";
|
|
130
|
+
export { FarmAccounting__factory } from "./factories/FarmAccounting__factory";
|
|
129
131
|
export { IAaveV2_LendingPoolAdapter__factory } from "./factories/IAaveV2_LendingPoolAdapter__factory";
|
|
130
132
|
export { IAaveV2_WrappedATokenAdapter__factory } from "./factories/IAaveV2_WrappedATokenAdapter__factory";
|
|
131
133
|
export { IAdapter__factory } from "./factories/IAdapter__factory";
|
|
@@ -243,6 +245,7 @@ export { IERC4626Adapter__factory } from "./factories/IERC4626Adapter__factory";
|
|
|
243
245
|
export { IERC721__factory } from "./factories/IERC721__factory";
|
|
244
246
|
export { IERC721Metadata__factory } from "./factories/IERC721Metadata__factory";
|
|
245
247
|
export { IETHZapperDeposits__factory } from "./factories/IETHZapperDeposits__factory";
|
|
248
|
+
export { IFarmingPool__factory } from "./factories/IFarmingPool__factory";
|
|
246
249
|
export { IGasPricer__factory } from "./factories/IGasPricer__factory";
|
|
247
250
|
export type { IGaugeV3 } from "./IGaugeV3.sol/IGaugeV3";
|
|
248
251
|
export { IGaugeV3__factory } from "./factories/IGaugeV3.sol/IGaugeV3__factory";
|
|
@@ -253,16 +256,14 @@ export { IGearStakingV3__factory } from "./factories/IGearStakingV3.sol/IGearSta
|
|
|
253
256
|
export type { IGearStakingV3Events } from "./IGearStakingV3.sol/IGearStakingV3Events";
|
|
254
257
|
export { IGearStakingV3Events__factory } from "./factories/IGearStakingV3.sol/IGearStakingV3Events__factory";
|
|
255
258
|
export { IInterestRateModel__factory } from "./factories/IInterestRateModel__factory";
|
|
259
|
+
export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
|
|
260
|
+
export { ILinearInterestRateModelV3__factory } from "./factories/ILinearInterestRateModelV3__factory";
|
|
256
261
|
export type { ILPPriceFeed } from "./ILPPriceFeed.sol/ILPPriceFeed";
|
|
257
262
|
export { ILPPriceFeed__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeed__factory";
|
|
258
263
|
export type { ILPPriceFeedEvents } from "./ILPPriceFeed.sol/ILPPriceFeedEvents";
|
|
259
264
|
export { ILPPriceFeedEvents__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory";
|
|
260
265
|
export type { ILPPriceFeedExceptions } from "./ILPPriceFeed.sol/ILPPriceFeedExceptions";
|
|
261
266
|
export { ILPPriceFeedExceptions__factory } from "./factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory";
|
|
262
|
-
export { ILidoV1Adapter__factory } from "./factories/ILidoV1Adapter__factory";
|
|
263
|
-
export { ILinearInterestRateModelV3__factory } from "./factories/ILinearInterestRateModelV3__factory";
|
|
264
|
-
export type { IRouter } from "./interfaces/IRouter";
|
|
265
|
-
export { IRouter__factory } from "./factories/interfaces/IRouter__factory";
|
|
266
267
|
export { IOffchainOracle__factory } from "./factories/IOffchainOracle__factory";
|
|
267
268
|
export { IPermit2__factory } from "./factories/IPermit2__factory";
|
|
268
269
|
export type { IPoolQuotaKeeperV3 } from "./IPoolQuotaKeeperV3.sol/IPoolQuotaKeeperV3";
|
|
@@ -294,6 +295,7 @@ export type { IPriceOracleV3 } from "./IPriceOracleV3.sol/IPriceOracleV3";
|
|
|
294
295
|
export { IPriceOracleV3__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3__factory";
|
|
295
296
|
export type { IPriceOracleV3Events } from "./IPriceOracleV3.sol/IPriceOracleV3Events";
|
|
296
297
|
export { IPriceOracleV3Events__factory } from "./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory";
|
|
298
|
+
export { IRouterV3__factory } from "./factories/IRouterV3__factory";
|
|
297
299
|
export type { IstETH } from "./IstETH.sol/IstETH";
|
|
298
300
|
export { IstETH__factory } from "./factories/IstETH.sol/IstETH__factory";
|
|
299
301
|
export type { IstETHGetters } from "./IstETH.sol/IstETHGetters";
|
|
@@ -316,7 +318,6 @@ export { IVersion__factory } from "./factories/IVersion__factory";
|
|
|
316
318
|
export { IVotingContractV3__factory } from "./factories/IVotingContractV3__factory";
|
|
317
319
|
export { IWETH__factory } from "./factories/IWETH__factory";
|
|
318
320
|
export { IWETHGateway__factory } from "./factories/IWETHGateway__factory";
|
|
319
|
-
export { IZapperRegister__factory } from "./factories/IZapperRegister__factory";
|
|
320
321
|
export type { IwstETH } from "./IwstETH.sol/IwstETH";
|
|
321
322
|
export { IwstETH__factory } from "./factories/IwstETH.sol/IwstETH__factory";
|
|
322
323
|
export type { IwstETHGetters } from "./IwstETH.sol/IwstETHGetters";
|
|
@@ -327,5 +328,6 @@ export { IwstETHV1Adapter__factory } from "./factories/IwstETHV1Adapter__factory
|
|
|
327
328
|
export { IYearnV2Adapter__factory } from "./factories/IYearnV2Adapter__factory";
|
|
328
329
|
export { IYVault__factory } from "./factories/IYVault__factory";
|
|
329
330
|
export { IZapper__factory } from "./factories/IZapper__factory";
|
|
331
|
+
export { IZapperRegister__factory } from "./factories/IZapperRegister__factory";
|
|
330
332
|
export { Ownable__factory } from "./factories/Ownable__factory";
|
|
331
333
|
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.IZapper__factory = exports.IYVault__factory = exports.IYearnV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.IwstETHGateWay__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.
|
|
26
|
+
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.IControllerTimelockV3Events__factory = exports.IControllerTimelockV3__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.FarmAccounting__factory = exports.Errors__factory = exports.Claimable__factory = exports.BalanceOps__factory = exports.AddressProvider__factory = exports.factories = void 0;
|
|
27
|
+
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.ILPPriceFeedExceptions__factory = exports.ILPPriceFeedEvents__factory = exports.ILPPriceFeed__factory = exports.ILinearInterestRateModelV3__factory = exports.ILidoV1Adapter__factory = exports.IInterestRateModel__factory = exports.IGearStakingV3Events__factory = exports.IGearStakingV3__factory = exports.IGaugeV3Events__factory = exports.IGaugeV3__factory = exports.IGasPricer__factory = exports.IFarmingPool__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 = exports.ICurvePool3Assets__factory = exports.ICurvePool2Assets__factory = exports.ICreditManagerV3Events__factory = void 0;
|
|
28
|
+
exports.SafeERC20__factory = exports.Ownable__factory = exports.IZapperRegister__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.IRouterV3__factory = exports.IPriceOracleV3Events__factory = exports.IPriceOracleV3__factory = exports.IPriceOracleBase__factory = exports.IPriceOracleV2Ext__factory = exports.IPriceOracleV2Exceptions__factory = exports.IPriceOracleV2Events__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; } });
|
|
@@ -35,6 +35,8 @@ var Claimable__factory_1 = require("./factories/Claimable__factory");
|
|
|
35
35
|
Object.defineProperty(exports, "Claimable__factory", { enumerable: true, get: function () { return Claimable__factory_1.Claimable__factory; } });
|
|
36
36
|
var Errors__factory_1 = require("./factories/Errors__factory");
|
|
37
37
|
Object.defineProperty(exports, "Errors__factory", { enumerable: true, get: function () { return Errors__factory_1.Errors__factory; } });
|
|
38
|
+
var FarmAccounting__factory_1 = require("./factories/FarmAccounting__factory");
|
|
39
|
+
Object.defineProperty(exports, "FarmAccounting__factory", { enumerable: true, get: function () { return FarmAccounting__factory_1.FarmAccounting__factory; } });
|
|
38
40
|
var IAaveV2_LendingPoolAdapter__factory_1 = require("./factories/IAaveV2_LendingPoolAdapter__factory");
|
|
39
41
|
Object.defineProperty(exports, "IAaveV2_LendingPoolAdapter__factory", { enumerable: true, get: function () { return IAaveV2_LendingPoolAdapter__factory_1.IAaveV2_LendingPoolAdapter__factory; } });
|
|
40
42
|
var IAaveV2_WrappedATokenAdapter__factory_1 = require("./factories/IAaveV2_WrappedATokenAdapter__factory");
|
|
@@ -177,6 +179,8 @@ var IERC721Metadata__factory_1 = require("./factories/IERC721Metadata__factory")
|
|
|
177
179
|
Object.defineProperty(exports, "IERC721Metadata__factory", { enumerable: true, get: function () { return IERC721Metadata__factory_1.IERC721Metadata__factory; } });
|
|
178
180
|
var IETHZapperDeposits__factory_1 = require("./factories/IETHZapperDeposits__factory");
|
|
179
181
|
Object.defineProperty(exports, "IETHZapperDeposits__factory", { enumerable: true, get: function () { return IETHZapperDeposits__factory_1.IETHZapperDeposits__factory; } });
|
|
182
|
+
var IFarmingPool__factory_1 = require("./factories/IFarmingPool__factory");
|
|
183
|
+
Object.defineProperty(exports, "IFarmingPool__factory", { enumerable: true, get: function () { return IFarmingPool__factory_1.IFarmingPool__factory; } });
|
|
180
184
|
var IGasPricer__factory_1 = require("./factories/IGasPricer__factory");
|
|
181
185
|
Object.defineProperty(exports, "IGasPricer__factory", { enumerable: true, get: function () { return IGasPricer__factory_1.IGasPricer__factory; } });
|
|
182
186
|
var IGaugeV3__factory_1 = require("./factories/IGaugeV3.sol/IGaugeV3__factory");
|
|
@@ -189,18 +193,16 @@ var IGearStakingV3Events__factory_1 = require("./factories/IGearStakingV3.sol/IG
|
|
|
189
193
|
Object.defineProperty(exports, "IGearStakingV3Events__factory", { enumerable: true, get: function () { return IGearStakingV3Events__factory_1.IGearStakingV3Events__factory; } });
|
|
190
194
|
var IInterestRateModel__factory_1 = require("./factories/IInterestRateModel__factory");
|
|
191
195
|
Object.defineProperty(exports, "IInterestRateModel__factory", { enumerable: true, get: function () { return IInterestRateModel__factory_1.IInterestRateModel__factory; } });
|
|
196
|
+
var ILidoV1Adapter__factory_1 = require("./factories/ILidoV1Adapter__factory");
|
|
197
|
+
Object.defineProperty(exports, "ILidoV1Adapter__factory", { enumerable: true, get: function () { return ILidoV1Adapter__factory_1.ILidoV1Adapter__factory; } });
|
|
198
|
+
var ILinearInterestRateModelV3__factory_1 = require("./factories/ILinearInterestRateModelV3__factory");
|
|
199
|
+
Object.defineProperty(exports, "ILinearInterestRateModelV3__factory", { enumerable: true, get: function () { return ILinearInterestRateModelV3__factory_1.ILinearInterestRateModelV3__factory; } });
|
|
192
200
|
var ILPPriceFeed__factory_1 = require("./factories/ILPPriceFeed.sol/ILPPriceFeed__factory");
|
|
193
201
|
Object.defineProperty(exports, "ILPPriceFeed__factory", { enumerable: true, get: function () { return ILPPriceFeed__factory_1.ILPPriceFeed__factory; } });
|
|
194
202
|
var ILPPriceFeedEvents__factory_1 = require("./factories/ILPPriceFeed.sol/ILPPriceFeedEvents__factory");
|
|
195
203
|
Object.defineProperty(exports, "ILPPriceFeedEvents__factory", { enumerable: true, get: function () { return ILPPriceFeedEvents__factory_1.ILPPriceFeedEvents__factory; } });
|
|
196
204
|
var ILPPriceFeedExceptions__factory_1 = require("./factories/ILPPriceFeed.sol/ILPPriceFeedExceptions__factory");
|
|
197
205
|
Object.defineProperty(exports, "ILPPriceFeedExceptions__factory", { enumerable: true, get: function () { return ILPPriceFeedExceptions__factory_1.ILPPriceFeedExceptions__factory; } });
|
|
198
|
-
var ILidoV1Adapter__factory_1 = require("./factories/ILidoV1Adapter__factory");
|
|
199
|
-
Object.defineProperty(exports, "ILidoV1Adapter__factory", { enumerable: true, get: function () { return ILidoV1Adapter__factory_1.ILidoV1Adapter__factory; } });
|
|
200
|
-
var ILinearInterestRateModelV3__factory_1 = require("./factories/ILinearInterestRateModelV3__factory");
|
|
201
|
-
Object.defineProperty(exports, "ILinearInterestRateModelV3__factory", { enumerable: true, get: function () { return ILinearInterestRateModelV3__factory_1.ILinearInterestRateModelV3__factory; } });
|
|
202
|
-
var IRouter__factory_1 = require("./factories/interfaces/IRouter__factory");
|
|
203
|
-
Object.defineProperty(exports, "IRouter__factory", { enumerable: true, get: function () { return IRouter__factory_1.IRouter__factory; } });
|
|
204
206
|
var IOffchainOracle__factory_1 = require("./factories/IOffchainOracle__factory");
|
|
205
207
|
Object.defineProperty(exports, "IOffchainOracle__factory", { enumerable: true, get: function () { return IOffchainOracle__factory_1.IOffchainOracle__factory; } });
|
|
206
208
|
var IPermit2__factory_1 = require("./factories/IPermit2__factory");
|
|
@@ -235,6 +237,8 @@ var IPriceOracleV3__factory_1 = require("./factories/IPriceOracleV3.sol/IPriceOr
|
|
|
235
237
|
Object.defineProperty(exports, "IPriceOracleV3__factory", { enumerable: true, get: function () { return IPriceOracleV3__factory_1.IPriceOracleV3__factory; } });
|
|
236
238
|
var IPriceOracleV3Events__factory_1 = require("./factories/IPriceOracleV3.sol/IPriceOracleV3Events__factory");
|
|
237
239
|
Object.defineProperty(exports, "IPriceOracleV3Events__factory", { enumerable: true, get: function () { return IPriceOracleV3Events__factory_1.IPriceOracleV3Events__factory; } });
|
|
240
|
+
var IRouterV3__factory_1 = require("./factories/IRouterV3__factory");
|
|
241
|
+
Object.defineProperty(exports, "IRouterV3__factory", { enumerable: true, get: function () { return IRouterV3__factory_1.IRouterV3__factory; } });
|
|
238
242
|
var IstETH__factory_1 = require("./factories/IstETH.sol/IstETH__factory");
|
|
239
243
|
Object.defineProperty(exports, "IstETH__factory", { enumerable: true, get: function () { return IstETH__factory_1.IstETH__factory; } });
|
|
240
244
|
var IstETHGetters__factory_1 = require("./factories/IstETH.sol/IstETHGetters__factory");
|
|
@@ -261,8 +265,6 @@ var IWETH__factory_1 = require("./factories/IWETH__factory");
|
|
|
261
265
|
Object.defineProperty(exports, "IWETH__factory", { enumerable: true, get: function () { return IWETH__factory_1.IWETH__factory; } });
|
|
262
266
|
var IWETHGateway__factory_1 = require("./factories/IWETHGateway__factory");
|
|
263
267
|
Object.defineProperty(exports, "IWETHGateway__factory", { enumerable: true, get: function () { return IWETHGateway__factory_1.IWETHGateway__factory; } });
|
|
264
|
-
var IZapperRegister__factory_1 = require("./factories/IZapperRegister__factory");
|
|
265
|
-
Object.defineProperty(exports, "IZapperRegister__factory", { enumerable: true, get: function () { return IZapperRegister__factory_1.IZapperRegister__factory; } });
|
|
266
268
|
var IwstETH__factory_1 = require("./factories/IwstETH.sol/IwstETH__factory");
|
|
267
269
|
Object.defineProperty(exports, "IwstETH__factory", { enumerable: true, get: function () { return IwstETH__factory_1.IwstETH__factory; } });
|
|
268
270
|
var IwstETHGetters__factory_1 = require("./factories/IwstETH.sol/IwstETHGetters__factory");
|
|
@@ -277,6 +279,8 @@ var IYVault__factory_1 = require("./factories/IYVault__factory");
|
|
|
277
279
|
Object.defineProperty(exports, "IYVault__factory", { enumerable: true, get: function () { return IYVault__factory_1.IYVault__factory; } });
|
|
278
280
|
var IZapper__factory_1 = require("./factories/IZapper__factory");
|
|
279
281
|
Object.defineProperty(exports, "IZapper__factory", { enumerable: true, get: function () { return IZapper__factory_1.IZapper__factory; } });
|
|
282
|
+
var IZapperRegister__factory_1 = require("./factories/IZapperRegister__factory");
|
|
283
|
+
Object.defineProperty(exports, "IZapperRegister__factory", { enumerable: true, get: function () { return IZapperRegister__factory_1.IZapperRegister__factory; } });
|
|
280
284
|
var Ownable__factory_1 = require("./factories/Ownable__factory");
|
|
281
285
|
Object.defineProperty(exports, "Ownable__factory", { enumerable: true, get: function () { return Ownable__factory_1.Ownable__factory; } });
|
|
282
286
|
var SafeERC20__factory_1 = require("./factories/SafeERC20__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.74",
|
|
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.15.
|
|
33
|
+
"@gearbox-protocol/sdk-gov": "^1.15.5",
|
|
34
34
|
"axios": "^1.2.6",
|
|
35
35
|
"decimal.js-light": "^2.5.1",
|
|
36
36
|
"deep-eql": "^4.1.0",
|
|
@@ -38,16 +38,17 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@1inch/solidity-utils": "^2.2.27",
|
|
41
|
+
"@1inch/farming": "^3.1.0",
|
|
41
42
|
"@commitlint/cli": "^17.6.3",
|
|
42
43
|
"@commitlint/config-conventional": "^17.0.3",
|
|
43
44
|
"@gearbox-protocol/core-v2": "1.19.0-base.17",
|
|
44
|
-
"@gearbox-protocol/core-v3": "^1.45.
|
|
45
|
+
"@gearbox-protocol/core-v3": "^1.45.2",
|
|
45
46
|
"@gearbox-protocol/eslint-config": "^1.4.1",
|
|
46
|
-
"@gearbox-protocol/integrations-v3": "^1.25.
|
|
47
|
-
"@gearbox-protocol/oracles-v3": "^1.
|
|
47
|
+
"@gearbox-protocol/integrations-v3": "^1.25.1",
|
|
48
|
+
"@gearbox-protocol/oracles-v3": "^1.9.0",
|
|
48
49
|
"@gearbox-protocol/periphery-v3": "^1.3.9",
|
|
49
50
|
"@gearbox-protocol/prettier-config": "^1.4.1",
|
|
50
|
-
"@gearbox-protocol/router-v3": "^1.
|
|
51
|
+
"@gearbox-protocol/router-v3": "^1.8.0",
|
|
51
52
|
"@openzeppelin/contracts": "^4.9.3",
|
|
52
53
|
"@typechain/ethers-v5": "^10.1.0",
|
|
53
54
|
"@types/chai": "^4.3.3",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { IRouter__factory } from "./IRouter__factory";
|
|
@@ -1,8 +0,0 @@
|
|
|
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; } });
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type { IRouter } from "./IRouter";
|
|
File without changes
|
|
File without changes
|