@gearbox-protocol/sdk 1.20.6 → 1.20.7

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 (95) hide show
  1. package/lib/core/pool.d.ts +9 -1
  2. package/lib/core/pool.js +46 -0
  3. package/lib/core/rewardConvex.spec.js +0 -1
  4. package/lib/pathfinder/pathfinder.d.ts +2 -3
  5. package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.d.ts +106 -0
  6. package/lib/types/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.d.ts +218 -0
  7. package/lib/types/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +2 -0
  8. package/lib/types/@gearbox-protocol/core-v2/contracts/index.d.ts +2 -0
  9. package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator.d.ts +28 -1
  10. package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents.d.ts +11 -0
  11. package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter.d.ts +1 -9
  12. package/lib/types/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter.d.ts +1 -9
  13. package/lib/types/@gearbox-protocol/core-v2/contracts/pool/PoolService.d.ts +570 -0
  14. package/lib/types/@gearbox-protocol/core-v2/contracts/pool/index.d.ts +1 -0
  15. package/lib/types/@gearbox-protocol/core-v2/contracts/pool/index.js +2 -0
  16. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter.d.ts +1 -9
  17. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter.d.ts +1 -9
  18. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter.d.ts +1 -9
  19. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter.d.ts +1 -9
  20. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter.d.ts +1 -9
  21. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter.d.ts +1 -9
  22. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter.d.ts +1 -9
  23. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter.d.ts +1 -9
  24. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker.d.ts +106 -0
  25. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker.js +2 -0
  26. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/{IUniswapV2Adapter.d.ts → IUniswapV2Adapter.sol/IUniswapV2Adapter.d.ts} +2 -10
  27. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2Adapter.js +2 -0
  28. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.d.ts +27 -0
  29. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions.js +2 -0
  30. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.d.ts +2 -0
  31. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.js +2 -0
  32. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter.d.ts +1 -9
  33. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.d.ts +3 -1
  34. package/lib/types/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter.d.ts +1 -9
  35. package/lib/types/contracts/IGnosisSafeSignatureValidator.d.ts +42 -0
  36. package/lib/types/contracts/IGnosisSafeSignatureValidator.js +2 -0
  37. package/lib/types/contracts/index.d.ts +3 -2
  38. package/lib/types/contracts/{MultiCall.sol → support/MultiCall.sol}/Multicall2.d.ts +1 -1
  39. package/lib/types/contracts/support/MultiCall.sol/Multicall2.js +2 -0
  40. package/lib/types/contracts/support/MultiCall.sol/index.js +2 -0
  41. package/lib/types/contracts/support/index.d.ts +2 -0
  42. package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.d.ts +35 -0
  43. package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorInterface__factory.js +149 -0
  44. package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.d.ts +35 -0
  45. package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface__factory.js +260 -0
  46. package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/index.d.ts +2 -0
  47. package/lib/types/factories/@chainlink/contracts/src/v0.8/interfaces/index.js +5 -1
  48. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/index.d.ts +1 -0
  49. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/index.js +2 -1
  50. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfiguratorEvents__factory.js +13 -0
  51. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/ICreditConfigurator.sol/ICreditConfigurator__factory.js +26 -0
  52. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IAdapter.sol/IAdapter__factory.js +0 -13
  53. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/interfaces/adapters/IUniversalAdapter.sol/IUniversalAdapter__factory.js +0 -13
  54. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.d.ts +65 -0
  55. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/PoolService__factory.js +884 -0
  56. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/index.d.ts +1 -0
  57. package/lib/types/factories/@gearbox-protocol/core-v2/contracts/pool/index.js +8 -0
  58. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BaseRewardPoolAdapter.sol/IConvexV1BaseRewardPoolAdapter__factory.js +0 -13
  59. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/convex/IConvexV1BoosterAdapter__factory.js +0 -13
  60. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1Adapter.sol/ICurveV1Adapter__factory.js +0 -13
  61. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_2AssetsAdapter__factory.js +0 -13
  62. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_3AssetsAdapter__factory.js +0 -13
  63. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/curve/ICurveV1_4AssetsAdapter__factory.js +0 -13
  64. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/ILidoV1Adapter.sol/ILidoV1Adapter__factory.js +0 -13
  65. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/lido/IwstETHV1Adapter__factory.js +0 -13
  66. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.d.ts +22 -0
  67. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapPathChecker__factory.js +99 -0
  68. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.d.ts +12 -0
  69. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/IUniswapV2AdapterExceptions__factory.js +27 -0
  70. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/{IUniswapV2Adapter__factory.d.ts → IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.d.ts} +1 -1
  71. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/{IUniswapV2Adapter__factory.js → IUniswapV2Adapter.sol/IUniswapV2Adapter__factory.js} +5 -13
  72. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.d.ts +2 -0
  73. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.sol/index.js +10 -0
  74. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3AdapterExceptions__factory.js +1 -1
  75. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory.js +1 -14
  76. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.d.ts +2 -1
  77. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/index.js +4 -3
  78. package/lib/types/factories/@gearbox-protocol/integrations-v2/contracts/interfaces/yearn/IYearnV2Adapter__factory.js +0 -13
  79. package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.d.ts +22 -0
  80. package/lib/types/factories/contracts/IGnosisSafeSignatureValidator__factory.js +46 -0
  81. package/lib/types/factories/contracts/index.d.ts +2 -1
  82. package/lib/types/factories/contracts/index.js +4 -2
  83. package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/Multicall2__factory.d.ts +2 -2
  84. package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/Multicall2__factory.js +1 -1
  85. package/lib/types/factories/contracts/support/index.d.ts +1 -0
  86. package/lib/types/factories/contracts/support/index.js +25 -1
  87. package/lib/types/index.d.ts +16 -4
  88. package/lib/types/index.js +15 -3
  89. package/package.json +1 -1
  90. /package/lib/types/{@gearbox-protocol/integrations-v2/contracts/interfaces/uniswap/IUniswapV2Adapter.js → @chainlink/contracts/src/v0.8/interfaces/AggregatorInterface.js} +0 -0
  91. /package/lib/types/{contracts/MultiCall.sol/Multicall2.js → @chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface.js} +0 -0
  92. /package/lib/types/{contracts/MultiCall.sol/index.js → @gearbox-protocol/core-v2/contracts/pool/PoolService.js} +0 -0
  93. /package/lib/types/contracts/{MultiCall.sol → support/MultiCall.sol}/index.d.ts +0 -0
  94. /package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/index.d.ts +0 -0
  95. /package/lib/types/factories/contracts/{MultiCall.sol → support/MultiCall.sol}/index.js +0 -0
@@ -0,0 +1,149 @@
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.AggregatorInterface__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "int256",
15
+ name: "current",
16
+ type: "int256",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "uint256",
21
+ name: "roundId",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ indexed: false,
26
+ internalType: "uint256",
27
+ name: "updatedAt",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "AnswerUpdated",
32
+ type: "event",
33
+ },
34
+ {
35
+ anonymous: false,
36
+ inputs: [
37
+ {
38
+ indexed: true,
39
+ internalType: "uint256",
40
+ name: "roundId",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: true,
45
+ internalType: "address",
46
+ name: "startedBy",
47
+ type: "address",
48
+ },
49
+ {
50
+ indexed: false,
51
+ internalType: "uint256",
52
+ name: "startedAt",
53
+ type: "uint256",
54
+ },
55
+ ],
56
+ name: "NewRound",
57
+ type: "event",
58
+ },
59
+ {
60
+ inputs: [
61
+ {
62
+ internalType: "uint256",
63
+ name: "roundId",
64
+ type: "uint256",
65
+ },
66
+ ],
67
+ name: "getAnswer",
68
+ outputs: [
69
+ {
70
+ internalType: "int256",
71
+ name: "",
72
+ type: "int256",
73
+ },
74
+ ],
75
+ stateMutability: "view",
76
+ type: "function",
77
+ },
78
+ {
79
+ inputs: [
80
+ {
81
+ internalType: "uint256",
82
+ name: "roundId",
83
+ type: "uint256",
84
+ },
85
+ ],
86
+ name: "getTimestamp",
87
+ outputs: [
88
+ {
89
+ internalType: "uint256",
90
+ name: "",
91
+ type: "uint256",
92
+ },
93
+ ],
94
+ stateMutability: "view",
95
+ type: "function",
96
+ },
97
+ {
98
+ inputs: [],
99
+ name: "latestAnswer",
100
+ outputs: [
101
+ {
102
+ internalType: "int256",
103
+ name: "",
104
+ type: "int256",
105
+ },
106
+ ],
107
+ stateMutability: "view",
108
+ type: "function",
109
+ },
110
+ {
111
+ inputs: [],
112
+ name: "latestRound",
113
+ outputs: [
114
+ {
115
+ internalType: "uint256",
116
+ name: "",
117
+ type: "uint256",
118
+ },
119
+ ],
120
+ stateMutability: "view",
121
+ type: "function",
122
+ },
123
+ {
124
+ inputs: [],
125
+ name: "latestTimestamp",
126
+ outputs: [
127
+ {
128
+ internalType: "uint256",
129
+ name: "",
130
+ type: "uint256",
131
+ },
132
+ ],
133
+ stateMutability: "view",
134
+ type: "function",
135
+ },
136
+ ];
137
+ var AggregatorInterface__factory = /** @class */ (function () {
138
+ function AggregatorInterface__factory() {
139
+ }
140
+ AggregatorInterface__factory.createInterface = function () {
141
+ return new ethers_1.utils.Interface(_abi);
142
+ };
143
+ AggregatorInterface__factory.connect = function (address, signerOrProvider) {
144
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
145
+ };
146
+ AggregatorInterface__factory.abi = _abi;
147
+ return AggregatorInterface__factory;
148
+ }());
149
+ exports.AggregatorInterface__factory = AggregatorInterface__factory;
@@ -0,0 +1,35 @@
1
+ import { Signer } from "ethers";
2
+ import type { Provider } from "@ethersproject/providers";
3
+ import type { AggregatorV2V3Interface, AggregatorV2V3InterfaceInterface } from "../../../../../../@chainlink/contracts/src/v0.8/interfaces/AggregatorV2V3Interface";
4
+ export declare class AggregatorV2V3Interface__factory {
5
+ static readonly abi: ({
6
+ anonymous: boolean;
7
+ inputs: {
8
+ indexed: boolean;
9
+ internalType: string;
10
+ name: string;
11
+ type: string;
12
+ }[];
13
+ name: string;
14
+ type: string;
15
+ outputs?: undefined;
16
+ stateMutability?: undefined;
17
+ } | {
18
+ inputs: {
19
+ internalType: string;
20
+ name: string;
21
+ type: string;
22
+ }[];
23
+ name: string;
24
+ outputs: {
25
+ internalType: string;
26
+ name: string;
27
+ type: string;
28
+ }[];
29
+ stateMutability: string;
30
+ type: string;
31
+ anonymous?: undefined;
32
+ })[];
33
+ static createInterface(): AggregatorV2V3InterfaceInterface;
34
+ static connect(address: string, signerOrProvider: Signer | Provider): AggregatorV2V3Interface;
35
+ }
@@ -0,0 +1,260 @@
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.AggregatorV2V3Interface__factory = void 0;
7
+ var ethers_1 = require("ethers");
8
+ var _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "int256",
15
+ name: "current",
16
+ type: "int256",
17
+ },
18
+ {
19
+ indexed: true,
20
+ internalType: "uint256",
21
+ name: "roundId",
22
+ type: "uint256",
23
+ },
24
+ {
25
+ indexed: false,
26
+ internalType: "uint256",
27
+ name: "updatedAt",
28
+ type: "uint256",
29
+ },
30
+ ],
31
+ name: "AnswerUpdated",
32
+ type: "event",
33
+ },
34
+ {
35
+ anonymous: false,
36
+ inputs: [
37
+ {
38
+ indexed: true,
39
+ internalType: "uint256",
40
+ name: "roundId",
41
+ type: "uint256",
42
+ },
43
+ {
44
+ indexed: true,
45
+ internalType: "address",
46
+ name: "startedBy",
47
+ type: "address",
48
+ },
49
+ {
50
+ indexed: false,
51
+ internalType: "uint256",
52
+ name: "startedAt",
53
+ type: "uint256",
54
+ },
55
+ ],
56
+ name: "NewRound",
57
+ type: "event",
58
+ },
59
+ {
60
+ inputs: [],
61
+ name: "decimals",
62
+ outputs: [
63
+ {
64
+ internalType: "uint8",
65
+ name: "",
66
+ type: "uint8",
67
+ },
68
+ ],
69
+ stateMutability: "view",
70
+ type: "function",
71
+ },
72
+ {
73
+ inputs: [],
74
+ name: "description",
75
+ outputs: [
76
+ {
77
+ internalType: "string",
78
+ name: "",
79
+ type: "string",
80
+ },
81
+ ],
82
+ stateMutability: "view",
83
+ type: "function",
84
+ },
85
+ {
86
+ inputs: [
87
+ {
88
+ internalType: "uint256",
89
+ name: "roundId",
90
+ type: "uint256",
91
+ },
92
+ ],
93
+ name: "getAnswer",
94
+ outputs: [
95
+ {
96
+ internalType: "int256",
97
+ name: "",
98
+ type: "int256",
99
+ },
100
+ ],
101
+ stateMutability: "view",
102
+ type: "function",
103
+ },
104
+ {
105
+ inputs: [
106
+ {
107
+ internalType: "uint80",
108
+ name: "_roundId",
109
+ type: "uint80",
110
+ },
111
+ ],
112
+ name: "getRoundData",
113
+ outputs: [
114
+ {
115
+ internalType: "uint80",
116
+ name: "roundId",
117
+ type: "uint80",
118
+ },
119
+ {
120
+ internalType: "int256",
121
+ name: "answer",
122
+ type: "int256",
123
+ },
124
+ {
125
+ internalType: "uint256",
126
+ name: "startedAt",
127
+ type: "uint256",
128
+ },
129
+ {
130
+ internalType: "uint256",
131
+ name: "updatedAt",
132
+ type: "uint256",
133
+ },
134
+ {
135
+ internalType: "uint80",
136
+ name: "answeredInRound",
137
+ type: "uint80",
138
+ },
139
+ ],
140
+ stateMutability: "view",
141
+ type: "function",
142
+ },
143
+ {
144
+ inputs: [
145
+ {
146
+ internalType: "uint256",
147
+ name: "roundId",
148
+ type: "uint256",
149
+ },
150
+ ],
151
+ name: "getTimestamp",
152
+ outputs: [
153
+ {
154
+ internalType: "uint256",
155
+ name: "",
156
+ type: "uint256",
157
+ },
158
+ ],
159
+ stateMutability: "view",
160
+ type: "function",
161
+ },
162
+ {
163
+ inputs: [],
164
+ name: "latestAnswer",
165
+ outputs: [
166
+ {
167
+ internalType: "int256",
168
+ name: "",
169
+ type: "int256",
170
+ },
171
+ ],
172
+ stateMutability: "view",
173
+ type: "function",
174
+ },
175
+ {
176
+ inputs: [],
177
+ name: "latestRound",
178
+ outputs: [
179
+ {
180
+ internalType: "uint256",
181
+ name: "",
182
+ type: "uint256",
183
+ },
184
+ ],
185
+ stateMutability: "view",
186
+ type: "function",
187
+ },
188
+ {
189
+ inputs: [],
190
+ name: "latestRoundData",
191
+ outputs: [
192
+ {
193
+ internalType: "uint80",
194
+ name: "roundId",
195
+ type: "uint80",
196
+ },
197
+ {
198
+ internalType: "int256",
199
+ name: "answer",
200
+ type: "int256",
201
+ },
202
+ {
203
+ internalType: "uint256",
204
+ name: "startedAt",
205
+ type: "uint256",
206
+ },
207
+ {
208
+ internalType: "uint256",
209
+ name: "updatedAt",
210
+ type: "uint256",
211
+ },
212
+ {
213
+ internalType: "uint80",
214
+ name: "answeredInRound",
215
+ type: "uint80",
216
+ },
217
+ ],
218
+ stateMutability: "view",
219
+ type: "function",
220
+ },
221
+ {
222
+ inputs: [],
223
+ name: "latestTimestamp",
224
+ outputs: [
225
+ {
226
+ internalType: "uint256",
227
+ name: "",
228
+ type: "uint256",
229
+ },
230
+ ],
231
+ stateMutability: "view",
232
+ type: "function",
233
+ },
234
+ {
235
+ inputs: [],
236
+ name: "version",
237
+ outputs: [
238
+ {
239
+ internalType: "uint256",
240
+ name: "",
241
+ type: "uint256",
242
+ },
243
+ ],
244
+ stateMutability: "view",
245
+ type: "function",
246
+ },
247
+ ];
248
+ var AggregatorV2V3Interface__factory = /** @class */ (function () {
249
+ function AggregatorV2V3Interface__factory() {
250
+ }
251
+ AggregatorV2V3Interface__factory.createInterface = function () {
252
+ return new ethers_1.utils.Interface(_abi);
253
+ };
254
+ AggregatorV2V3Interface__factory.connect = function (address, signerOrProvider) {
255
+ return new ethers_1.Contract(address, _abi, signerOrProvider);
256
+ };
257
+ AggregatorV2V3Interface__factory.abi = _abi;
258
+ return AggregatorV2V3Interface__factory;
259
+ }());
260
+ exports.AggregatorV2V3Interface__factory = AggregatorV2V3Interface__factory;
@@ -1 +1,3 @@
1
+ export { AggregatorInterface__factory } from "./AggregatorInterface__factory";
2
+ export { AggregatorV2V3Interface__factory } from "./AggregatorV2V3Interface__factory";
1
3
  export { AggregatorV3Interface__factory } from "./AggregatorV3Interface__factory";
@@ -1,8 +1,12 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AggregatorV3Interface__factory = void 0;
3
+ exports.AggregatorV3Interface__factory = exports.AggregatorV2V3Interface__factory = exports.AggregatorInterface__factory = void 0;
4
4
  /* Autogenerated file. Do not edit manually. */
5
5
  /* tslint:disable */
6
6
  /* eslint-disable */
7
+ var AggregatorInterface__factory_1 = require("./AggregatorInterface__factory");
8
+ Object.defineProperty(exports, "AggregatorInterface__factory", { enumerable: true, get: function () { return AggregatorInterface__factory_1.AggregatorInterface__factory; } });
9
+ var AggregatorV2V3Interface__factory_1 = require("./AggregatorV2V3Interface__factory");
10
+ Object.defineProperty(exports, "AggregatorV2V3Interface__factory", { enumerable: true, get: function () { return AggregatorV2V3Interface__factory_1.AggregatorV2V3Interface__factory; } });
7
11
  var AggregatorV3Interface__factory_1 = require("./AggregatorV3Interface__factory");
8
12
  Object.defineProperty(exports, "AggregatorV3Interface__factory", { enumerable: true, get: function () { return AggregatorV3Interface__factory_1.AggregatorV3Interface__factory; } });
@@ -1,2 +1,3 @@
1
1
  export * as interfaces from "./interfaces";
2
+ export * as pool from "./pool";
2
3
  export * as test from "./test";
@@ -23,9 +23,10 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.test = exports.interfaces = void 0;
26
+ exports.test = exports.pool = exports.interfaces = void 0;
27
27
  /* Autogenerated file. Do not edit manually. */
28
28
  /* tslint:disable */
29
29
  /* eslint-disable */
30
30
  exports.interfaces = __importStar(require("./interfaces"));
31
+ exports.pool = __importStar(require("./pool"));
31
32
  exports.test = __importStar(require("./test"));
@@ -6,6 +6,19 @@ Object.defineProperty(exports, "__esModule", { value: true });
6
6
  exports.ICreditConfiguratorEvents__factory = void 0;
7
7
  var ethers_1 = require("ethers");
8
8
  var _abi = [
9
+ {
10
+ anonymous: false,
11
+ inputs: [
12
+ {
13
+ indexed: true,
14
+ internalType: "address",
15
+ name: "adapter",
16
+ type: "address",
17
+ },
18
+ ],
19
+ name: "AdapterForbidden",
20
+ type: "event",
21
+ },
9
22
  {
10
23
  anonymous: false,
11
24
  inputs: [
@@ -51,6 +51,19 @@ var _abi = [
51
51
  name: "SetLTForUnderlyingException",
52
52
  type: "error",
53
53
  },
54
+ {
55
+ anonymous: false,
56
+ inputs: [
57
+ {
58
+ indexed: true,
59
+ internalType: "address",
60
+ name: "adapter",
61
+ type: "address",
62
+ },
63
+ ],
64
+ name: "AdapterForbidden",
65
+ type: "event",
66
+ },
54
67
  {
55
68
  anonymous: false,
56
69
  inputs: [
@@ -454,6 +467,19 @@ var _abi = [
454
467
  stateMutability: "view",
455
468
  type: "function",
456
469
  },
470
+ {
471
+ inputs: [
472
+ {
473
+ internalType: "address",
474
+ name: "adapter",
475
+ type: "address",
476
+ },
477
+ ],
478
+ name: "forbidAdapter",
479
+ outputs: [],
480
+ stateMutability: "nonpayable",
481
+ type: "function",
482
+ },
457
483
  {
458
484
  inputs: [
459
485
  {
@@ -43,19 +43,6 @@ var _abi = [
43
43
  stateMutability: "pure",
44
44
  type: "function",
45
45
  },
46
- {
47
- inputs: [],
48
- name: "creditFacade",
49
- outputs: [
50
- {
51
- internalType: "address",
52
- name: "",
53
- type: "address",
54
- },
55
- ],
56
- stateMutability: "view",
57
- type: "function",
58
- },
59
46
  {
60
47
  inputs: [],
61
48
  name: "creditManager",
@@ -59,19 +59,6 @@ var _abi = [
59
59
  stateMutability: "pure",
60
60
  type: "function",
61
61
  },
62
- {
63
- inputs: [],
64
- name: "creditFacade",
65
- outputs: [
66
- {
67
- internalType: "address",
68
- name: "",
69
- type: "address",
70
- },
71
- ],
72
- stateMutability: "view",
73
- type: "function",
74
- },
75
62
  {
76
63
  inputs: [],
77
64
  name: "creditManager",