@gearbox-protocol/sdk 1.7.12 → 1.8.1
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/lib/apy/convexAPY.d.ts +1 -0
- package/lib/apy/convexAPY.js +2 -1
- package/lib/contracts/adapters.d.ts +2 -1
- package/lib/contracts/adapters.js +1 -0
- package/lib/core/constants.d.ts +3 -0
- package/lib/core/constants.js +4 -1
- package/lib/core/rewardClaimer.d.ts +19 -0
- package/lib/core/rewardClaimer.js +53 -0
- package/lib/core/rewardConvex.d.ts +26 -0
- package/lib/core/rewardConvex.js +161 -0
- package/lib/core/rewardConvex.spec.d.ts +1 -0
- package/lib/core/rewardConvex.spec.js +140 -0
- package/lib/oracles/oracles.d.ts +5 -1
- package/lib/oracles/oracles.js +1 -0
- package/lib/oracles/priceFeeds.js +6 -0
- package/lib/tokens/decimals.js +1 -0
- package/lib/tokens/normal.d.ts +1 -1
- package/lib/tokens/normal.js +25 -0
- package/lib/tokens/token.js +2 -0
- package/lib/types/contracts/integrations/lido/IwstETH.sol/IwstETH.d.ts +234 -0
- package/lib/types/contracts/{test/suites/mainnet/ITokenTestSuite.js → integrations/lido/IwstETH.sol/IwstETH.js} +0 -0
- package/lib/types/contracts/integrations/lido/IwstETH.sol/IwstETHGetters.d.ts +202 -0
- package/lib/types/contracts/{test/suites/mainnet/SupportedContracts.sol/ISupportedContracts.js → integrations/lido/IwstETH.sol/IwstETHGetters.js} +0 -0
- package/lib/types/contracts/integrations/lido/IwstETH.sol/index.d.ts +2 -0
- package/lib/types/contracts/{test/suites/mainnet/SupportedContracts.sol → integrations/lido/IwstETH.sol}/index.js +0 -0
- package/lib/types/contracts/integrations/lido/index.d.ts +2 -0
- package/lib/types/contracts/interfaces/IACL.sol/IACL.d.ts +9 -1
- package/lib/types/contracts/interfaces/adapters/lido/IwstETHV1Adapter.d.ts +218 -0
- package/lib/types/contracts/{test/suites/mainnet/Tokens.sol/IToken.js → interfaces/adapters/lido/IwstETHV1Adapter.js} +0 -0
- package/lib/types/contracts/interfaces/adapters/lido/index.d.ts +1 -0
- package/lib/types/contracts/test/suites/index.d.ts +2 -2
- package/lib/types/contracts/test/suites/{mainnet → live}/ITokenTestSuite.d.ts +0 -0
- package/lib/types/contracts/test/suites/{mainnet/Tokens.sol/index.js → live/ITokenTestSuite.js} +0 -0
- package/lib/types/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/ISupportedContracts.d.ts +9 -1
- package/lib/types/contracts/test/suites/{mainnet/index.js → live/SupportedContracts.sol/ISupportedContracts.js} +0 -0
- package/lib/types/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/index.d.ts +0 -0
- package/lib/types/contracts/test/suites/live/SupportedContracts.sol/index.js +2 -0
- package/lib/types/contracts/test/suites/{mainnet → live}/Tokens.sol/IToken.d.ts +0 -0
- package/lib/types/contracts/test/suites/live/Tokens.sol/IToken.js +2 -0
- package/lib/types/contracts/test/suites/{mainnet → live}/Tokens.sol/index.d.ts +0 -0
- package/lib/types/contracts/test/suites/live/Tokens.sol/index.js +2 -0
- package/lib/types/contracts/test/suites/{mainnet → live}/index.d.ts +0 -0
- package/lib/types/contracts/test/suites/live/index.js +2 -0
- package/lib/types/factories/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory.d.ts +35 -0
- package/lib/types/factories/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory.js +321 -0
- package/lib/types/factories/contracts/integrations/lido/IwstETH.sol/IwstETH__factory.d.ts +35 -0
- package/lib/types/factories/contracts/integrations/lido/IwstETH.sol/IwstETH__factory.js +359 -0
- package/lib/types/factories/contracts/integrations/lido/IwstETH.sol/index.d.ts +2 -0
- package/lib/types/factories/contracts/integrations/lido/IwstETH.sol/index.js +10 -0
- package/lib/types/factories/contracts/integrations/lido/index.d.ts +1 -0
- package/lib/types/factories/contracts/integrations/lido/index.js +2 -1
- package/lib/types/factories/contracts/interfaces/IACL.sol/IACL__factory.js +13 -0
- package/lib/types/factories/contracts/interfaces/adapters/lido/IwstETHV1Adapter__factory.d.ts +32 -0
- package/lib/types/factories/contracts/interfaces/adapters/lido/IwstETHV1Adapter__factory.js +321 -0
- package/lib/types/factories/contracts/interfaces/adapters/lido/index.d.ts +1 -0
- package/lib/types/factories/contracts/interfaces/adapters/lido/index.js +3 -1
- package/lib/types/factories/contracts/test/suites/index.d.ts +1 -1
- package/lib/types/factories/contracts/test/suites/index.js +2 -2
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/ITokenTestSuite__factory.d.ts +1 -1
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/ITokenTestSuite__factory.js +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/ISupportedContracts__factory.d.ts +1 -1
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/ISupportedContracts__factory.js +19 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/index.d.ts +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/index.js +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/Tokens.sol/IToken__factory.d.ts +1 -1
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/Tokens.sol/IToken__factory.js +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/Tokens.sol/index.d.ts +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/Tokens.sol/index.js +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/index.d.ts +0 -0
- package/lib/types/factories/contracts/test/suites/{mainnet → live}/index.js +0 -0
- package/lib/types/index.d.ts +12 -6
- package/lib/types/index.js +12 -6
- package/package.json +1 -1
|
@@ -0,0 +1,321 @@
|
|
|
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.IwstETHV1Adapter__factory = void 0;
|
|
7
|
+
var ethers_1 = require("ethers");
|
|
8
|
+
var _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
name: "TokenIsNotInAllowedList",
|
|
18
|
+
type: "error",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [],
|
|
22
|
+
name: "_gearboxAdapterType",
|
|
23
|
+
outputs: [
|
|
24
|
+
{
|
|
25
|
+
internalType: "enum AdapterType",
|
|
26
|
+
name: "",
|
|
27
|
+
type: "uint8",
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
stateMutability: "pure",
|
|
31
|
+
type: "function",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
inputs: [],
|
|
35
|
+
name: "_gearboxAdapterVersion",
|
|
36
|
+
outputs: [
|
|
37
|
+
{
|
|
38
|
+
internalType: "uint16",
|
|
39
|
+
name: "",
|
|
40
|
+
type: "uint16",
|
|
41
|
+
},
|
|
42
|
+
],
|
|
43
|
+
stateMutability: "pure",
|
|
44
|
+
type: "function",
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
inputs: [
|
|
48
|
+
{
|
|
49
|
+
internalType: "address",
|
|
50
|
+
name: "_owner",
|
|
51
|
+
type: "address",
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
internalType: "address",
|
|
55
|
+
name: "_spender",
|
|
56
|
+
type: "address",
|
|
57
|
+
},
|
|
58
|
+
],
|
|
59
|
+
name: "allowance",
|
|
60
|
+
outputs: [
|
|
61
|
+
{
|
|
62
|
+
internalType: "uint256",
|
|
63
|
+
name: "",
|
|
64
|
+
type: "uint256",
|
|
65
|
+
},
|
|
66
|
+
],
|
|
67
|
+
stateMutability: "view",
|
|
68
|
+
type: "function",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
inputs: [
|
|
72
|
+
{
|
|
73
|
+
internalType: "address",
|
|
74
|
+
name: "_account",
|
|
75
|
+
type: "address",
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
name: "balanceOf",
|
|
79
|
+
outputs: [
|
|
80
|
+
{
|
|
81
|
+
internalType: "uint256",
|
|
82
|
+
name: "",
|
|
83
|
+
type: "uint256",
|
|
84
|
+
},
|
|
85
|
+
],
|
|
86
|
+
stateMutability: "view",
|
|
87
|
+
type: "function",
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
inputs: [],
|
|
91
|
+
name: "creditFacade",
|
|
92
|
+
outputs: [
|
|
93
|
+
{
|
|
94
|
+
internalType: "address",
|
|
95
|
+
name: "",
|
|
96
|
+
type: "address",
|
|
97
|
+
},
|
|
98
|
+
],
|
|
99
|
+
stateMutability: "view",
|
|
100
|
+
type: "function",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
inputs: [],
|
|
104
|
+
name: "creditManager",
|
|
105
|
+
outputs: [
|
|
106
|
+
{
|
|
107
|
+
internalType: "contract ICreditManagerV2",
|
|
108
|
+
name: "",
|
|
109
|
+
type: "address",
|
|
110
|
+
},
|
|
111
|
+
],
|
|
112
|
+
stateMutability: "view",
|
|
113
|
+
type: "function",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
inputs: [],
|
|
117
|
+
name: "decimals",
|
|
118
|
+
outputs: [
|
|
119
|
+
{
|
|
120
|
+
internalType: "uint8",
|
|
121
|
+
name: "",
|
|
122
|
+
type: "uint8",
|
|
123
|
+
},
|
|
124
|
+
],
|
|
125
|
+
stateMutability: "view",
|
|
126
|
+
type: "function",
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
inputs: [
|
|
130
|
+
{
|
|
131
|
+
internalType: "uint256",
|
|
132
|
+
name: "_wstETHAmount",
|
|
133
|
+
type: "uint256",
|
|
134
|
+
},
|
|
135
|
+
],
|
|
136
|
+
name: "getStETHByWstETH",
|
|
137
|
+
outputs: [
|
|
138
|
+
{
|
|
139
|
+
internalType: "uint256",
|
|
140
|
+
name: "",
|
|
141
|
+
type: "uint256",
|
|
142
|
+
},
|
|
143
|
+
],
|
|
144
|
+
stateMutability: "view",
|
|
145
|
+
type: "function",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
inputs: [
|
|
149
|
+
{
|
|
150
|
+
internalType: "uint256",
|
|
151
|
+
name: "_stETHAmount",
|
|
152
|
+
type: "uint256",
|
|
153
|
+
},
|
|
154
|
+
],
|
|
155
|
+
name: "getWstETHByStETH",
|
|
156
|
+
outputs: [
|
|
157
|
+
{
|
|
158
|
+
internalType: "uint256",
|
|
159
|
+
name: "",
|
|
160
|
+
type: "uint256",
|
|
161
|
+
},
|
|
162
|
+
],
|
|
163
|
+
stateMutability: "view",
|
|
164
|
+
type: "function",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [],
|
|
168
|
+
name: "name",
|
|
169
|
+
outputs: [
|
|
170
|
+
{
|
|
171
|
+
internalType: "string",
|
|
172
|
+
name: "",
|
|
173
|
+
type: "string",
|
|
174
|
+
},
|
|
175
|
+
],
|
|
176
|
+
stateMutability: "view",
|
|
177
|
+
type: "function",
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
inputs: [],
|
|
181
|
+
name: "stEthPerToken",
|
|
182
|
+
outputs: [
|
|
183
|
+
{
|
|
184
|
+
internalType: "uint256",
|
|
185
|
+
name: "",
|
|
186
|
+
type: "uint256",
|
|
187
|
+
},
|
|
188
|
+
],
|
|
189
|
+
stateMutability: "view",
|
|
190
|
+
type: "function",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: "symbol",
|
|
195
|
+
outputs: [
|
|
196
|
+
{
|
|
197
|
+
internalType: "string",
|
|
198
|
+
name: "",
|
|
199
|
+
type: "string",
|
|
200
|
+
},
|
|
201
|
+
],
|
|
202
|
+
stateMutability: "view",
|
|
203
|
+
type: "function",
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
inputs: [],
|
|
207
|
+
name: "targetContract",
|
|
208
|
+
outputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "address",
|
|
211
|
+
name: "",
|
|
212
|
+
type: "address",
|
|
213
|
+
},
|
|
214
|
+
],
|
|
215
|
+
stateMutability: "view",
|
|
216
|
+
type: "function",
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
inputs: [],
|
|
220
|
+
name: "tokensPerStEth",
|
|
221
|
+
outputs: [
|
|
222
|
+
{
|
|
223
|
+
internalType: "uint256",
|
|
224
|
+
name: "",
|
|
225
|
+
type: "uint256",
|
|
226
|
+
},
|
|
227
|
+
],
|
|
228
|
+
stateMutability: "view",
|
|
229
|
+
type: "function",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
inputs: [],
|
|
233
|
+
name: "totalSupply",
|
|
234
|
+
outputs: [
|
|
235
|
+
{
|
|
236
|
+
internalType: "uint256",
|
|
237
|
+
name: "",
|
|
238
|
+
type: "uint256",
|
|
239
|
+
},
|
|
240
|
+
],
|
|
241
|
+
stateMutability: "view",
|
|
242
|
+
type: "function",
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
inputs: [
|
|
246
|
+
{
|
|
247
|
+
internalType: "uint256",
|
|
248
|
+
name: "_wstETHAmount",
|
|
249
|
+
type: "uint256",
|
|
250
|
+
},
|
|
251
|
+
],
|
|
252
|
+
name: "unwrap",
|
|
253
|
+
outputs: [
|
|
254
|
+
{
|
|
255
|
+
internalType: "uint256",
|
|
256
|
+
name: "",
|
|
257
|
+
type: "uint256",
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
stateMutability: "nonpayable",
|
|
261
|
+
type: "function",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
inputs: [],
|
|
265
|
+
name: "unwrapAll",
|
|
266
|
+
outputs: [
|
|
267
|
+
{
|
|
268
|
+
internalType: "uint256",
|
|
269
|
+
name: "",
|
|
270
|
+
type: "uint256",
|
|
271
|
+
},
|
|
272
|
+
],
|
|
273
|
+
stateMutability: "nonpayable",
|
|
274
|
+
type: "function",
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
inputs: [
|
|
278
|
+
{
|
|
279
|
+
internalType: "uint256",
|
|
280
|
+
name: "_stETHAmount",
|
|
281
|
+
type: "uint256",
|
|
282
|
+
},
|
|
283
|
+
],
|
|
284
|
+
name: "wrap",
|
|
285
|
+
outputs: [
|
|
286
|
+
{
|
|
287
|
+
internalType: "uint256",
|
|
288
|
+
name: "",
|
|
289
|
+
type: "uint256",
|
|
290
|
+
},
|
|
291
|
+
],
|
|
292
|
+
stateMutability: "nonpayable",
|
|
293
|
+
type: "function",
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
inputs: [],
|
|
297
|
+
name: "wrapAll",
|
|
298
|
+
outputs: [
|
|
299
|
+
{
|
|
300
|
+
internalType: "uint256",
|
|
301
|
+
name: "",
|
|
302
|
+
type: "uint256",
|
|
303
|
+
},
|
|
304
|
+
],
|
|
305
|
+
stateMutability: "nonpayable",
|
|
306
|
+
type: "function",
|
|
307
|
+
},
|
|
308
|
+
];
|
|
309
|
+
var IwstETHV1Adapter__factory = /** @class */ (function () {
|
|
310
|
+
function IwstETHV1Adapter__factory() {
|
|
311
|
+
}
|
|
312
|
+
IwstETHV1Adapter__factory.createInterface = function () {
|
|
313
|
+
return new ethers_1.utils.Interface(_abi);
|
|
314
|
+
};
|
|
315
|
+
IwstETHV1Adapter__factory.connect = function (address, signerOrProvider) {
|
|
316
|
+
return new ethers_1.Contract(address, _abi, signerOrProvider);
|
|
317
|
+
};
|
|
318
|
+
IwstETHV1Adapter__factory.abi = _abi;
|
|
319
|
+
return IwstETHV1Adapter__factory;
|
|
320
|
+
}());
|
|
321
|
+
exports.IwstETHV1Adapter__factory = IwstETHV1Adapter__factory;
|
|
@@ -23,8 +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.iLidoV1AdapterSol = void 0;
|
|
26
|
+
exports.IwstETHV1Adapter__factory = exports.iLidoV1AdapterSol = void 0;
|
|
27
27
|
/* Autogenerated file. Do not edit manually. */
|
|
28
28
|
/* tslint:disable */
|
|
29
29
|
/* eslint-disable */
|
|
30
30
|
exports.iLidoV1AdapterSol = __importStar(require("./ILidoV1Adapter.sol"));
|
|
31
|
+
var IwstETHV1Adapter__factory_1 = require("./IwstETHV1Adapter__factory");
|
|
32
|
+
Object.defineProperty(exports, "IwstETHV1Adapter__factory", { enumerable: true, get: function () { return IwstETHV1Adapter__factory_1.IwstETHV1Adapter__factory; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * as
|
|
1
|
+
export * as live from "./live";
|
|
@@ -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.
|
|
26
|
+
exports.live = void 0;
|
|
27
27
|
/* Autogenerated file. Do not edit manually. */
|
|
28
28
|
/* tslint:disable */
|
|
29
29
|
/* eslint-disable */
|
|
30
|
-
exports.
|
|
30
|
+
exports.live = __importStar(require("./live"));
|
package/lib/types/factories/contracts/test/suites/{mainnet → live}/ITokenTestSuite__factory.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { ITokenTestSuite, ITokenTestSuiteInterface } from "../../../../../contracts/test/suites/
|
|
3
|
+
import type { ITokenTestSuite, ITokenTestSuiteInterface } from "../../../../../contracts/test/suites/live/ITokenTestSuite";
|
|
4
4
|
export declare class ITokenTestSuite__factory {
|
|
5
5
|
static readonly abi: {
|
|
6
6
|
inputs: {
|
package/lib/types/factories/contracts/test/suites/{mainnet → live}/ITokenTestSuite__factory.js
RENAMED
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { ISupportedContracts, ISupportedContractsInterface } from "../../../../../../contracts/test/suites/
|
|
3
|
+
import type { ISupportedContracts, ISupportedContractsInterface } from "../../../../../../contracts/test/suites/live/SupportedContracts.sol/ISupportedContracts";
|
|
4
4
|
export declare class ISupportedContracts__factory {
|
|
5
5
|
static readonly abi: {
|
|
6
6
|
inputs: {
|
|
@@ -38,6 +38,25 @@ var _abi = [
|
|
|
38
38
|
stateMutability: "view",
|
|
39
39
|
type: "function",
|
|
40
40
|
},
|
|
41
|
+
{
|
|
42
|
+
inputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "address",
|
|
45
|
+
name: "",
|
|
46
|
+
type: "address",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "contractIndex",
|
|
50
|
+
outputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "enum Contracts",
|
|
53
|
+
name: "",
|
|
54
|
+
type: "uint8",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
stateMutability: "view",
|
|
58
|
+
type: "function",
|
|
59
|
+
},
|
|
41
60
|
{
|
|
42
61
|
inputs: [
|
|
43
62
|
{
|
package/lib/types/factories/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/index.d.ts
RENAMED
|
File without changes
|
package/lib/types/factories/contracts/test/suites/{mainnet → live}/SupportedContracts.sol/index.js
RENAMED
|
File without changes
|
package/lib/types/factories/contracts/test/suites/{mainnet → live}/Tokens.sol/IToken__factory.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Signer } from "ethers";
|
|
2
2
|
import type { Provider } from "@ethersproject/providers";
|
|
3
|
-
import type { IToken, ITokenInterface } from "../../../../../../contracts/test/suites/
|
|
3
|
+
import type { IToken, ITokenInterface } from "../../../../../../contracts/test/suites/live/Tokens.sol/IToken";
|
|
4
4
|
export declare class IToken__factory {
|
|
5
5
|
static readonly abi: {
|
|
6
6
|
inputs: {
|
package/lib/types/factories/contracts/test/suites/{mainnet → live}/Tokens.sol/IToken__factory.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/lib/types/index.d.ts
CHANGED
|
@@ -83,6 +83,10 @@ export type { IstETH } from "./contracts/integrations/lido/IstETH.sol/IstETH";
|
|
|
83
83
|
export { IstETH__factory } from "./factories/contracts/integrations/lido/IstETH.sol/IstETH__factory";
|
|
84
84
|
export type { IstETHGetters } from "./contracts/integrations/lido/IstETH.sol/IstETHGetters";
|
|
85
85
|
export { IstETHGetters__factory } from "./factories/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory";
|
|
86
|
+
export type { IwstETH } from "./contracts/integrations/lido/IwstETH.sol/IwstETH";
|
|
87
|
+
export { IwstETH__factory } from "./factories/contracts/integrations/lido/IwstETH.sol/IwstETH__factory";
|
|
88
|
+
export type { IwstETHGetters } from "./contracts/integrations/lido/IwstETH.sol/IwstETHGetters";
|
|
89
|
+
export { IwstETHGetters__factory } from "./factories/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory";
|
|
86
90
|
export type { IQuoter } from "./contracts/integrations/uniswap/IQuoter";
|
|
87
91
|
export { IQuoter__factory } from "./factories/contracts/integrations/uniswap/IQuoter__factory";
|
|
88
92
|
export type { IUniswapV2Router01 } from "./contracts/integrations/uniswap/IUniswapV2Router01";
|
|
@@ -125,6 +129,8 @@ export type { ILidoV1AdapterEvents } from "./contracts/interfaces/adapters/lido/
|
|
|
125
129
|
export { ILidoV1AdapterEvents__factory } from "./factories/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1AdapterEvents__factory";
|
|
126
130
|
export type { ILidoV1AdapterExceptions } from "./contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions";
|
|
127
131
|
export { ILidoV1AdapterExceptions__factory } from "./factories/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory";
|
|
132
|
+
export type { IwstETHV1Adapter } from "./contracts/interfaces/adapters/lido/IwstETHV1Adapter";
|
|
133
|
+
export { IwstETHV1Adapter__factory } from "./factories/contracts/interfaces/adapters/lido/IwstETHV1Adapter__factory";
|
|
128
134
|
export type { IUniswapV2Adapter } from "./contracts/interfaces/adapters/uniswap/IUniswapV2Adapter";
|
|
129
135
|
export { IUniswapV2Adapter__factory } from "./factories/contracts/interfaces/adapters/uniswap/IUniswapV2Adapter__factory";
|
|
130
136
|
export type { IUniswapV3Adapter } from "./contracts/interfaces/adapters/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter";
|
|
@@ -261,12 +267,12 @@ export type { ILidoMockEvents } from "./contracts/test/mocks/integrations/LidoMo
|
|
|
261
267
|
export { ILidoMockEvents__factory } from "./factories/contracts/test/mocks/integrations/LidoMock.sol/ILidoMockEvents__factory";
|
|
262
268
|
export type { ILockedCvx } from "./contracts/test/sigp/interfaces/ILockedCvx";
|
|
263
269
|
export { ILockedCvx__factory } from "./factories/contracts/test/sigp/interfaces/ILockedCvx__factory";
|
|
264
|
-
export type { ITokenTestSuite } from "./contracts/test/suites/
|
|
265
|
-
export { ITokenTestSuite__factory } from "./factories/contracts/test/suites/
|
|
266
|
-
export type { ISupportedContracts } from "./contracts/test/suites/
|
|
267
|
-
export { ISupportedContracts__factory } from "./factories/contracts/test/suites/
|
|
268
|
-
export type { IToken } from "./contracts/test/suites/
|
|
269
|
-
export { IToken__factory } from "./factories/contracts/test/suites/
|
|
270
|
+
export type { ITokenTestSuite } from "./contracts/test/suites/live/ITokenTestSuite";
|
|
271
|
+
export { ITokenTestSuite__factory } from "./factories/contracts/test/suites/live/ITokenTestSuite__factory";
|
|
272
|
+
export type { ISupportedContracts } from "./contracts/test/suites/live/SupportedContracts.sol/ISupportedContracts";
|
|
273
|
+
export { ISupportedContracts__factory } from "./factories/contracts/test/suites/live/SupportedContracts.sol/ISupportedContracts__factory";
|
|
274
|
+
export type { IToken } from "./contracts/test/suites/live/Tokens.sol/IToken";
|
|
275
|
+
export { IToken__factory } from "./factories/contracts/test/suites/live/Tokens.sol/IToken__factory";
|
|
270
276
|
export type { AggregatorV3Interface } from "./@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface";
|
|
271
277
|
export { AggregatorV3Interface__factory } from "./factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory";
|
|
272
278
|
export type { Multicall2 } from "./contracts/support/MultiCall.sol/Multicall2";
|
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.Multicall2__factory = exports.AggregatorV3Interface__factory = exports.IToken__factory = exports.ISupportedContracts__factory = exports.ITokenTestSuite__factory = exports.ILockedCvx__factory = exports.ILidoMockEvents__factory = exports.IWithdrawerOptions__factory = exports.IWithdrawer__factory = exports.ISwapper__factory = exports.ISwapAggregator__factory = exports.IPathResolver__factory = exports.IPathFinderComponent__factory = exports.IPathFinder__factory = exports.ILPWorkerOptions__factory = exports.ILPWorker__factory = exports.IGasPricer__factory = exports.IDepositorOptions__factory = exports.IDepositor__factory = exports.IClosePathResolver__factory = exports.IPriceOracle__factory = exports.ICreditManager__factory = exports.ICreditFilter__factory = exports.IWETHGateway__factory = exports.IVersion__factory = exports.IPriceOracleV2Ext__factory = exports.IPriceOracleV2Exceptions__factory = exports.IPriceOracleV2Events__factory = exports.IPriceOracleV2__factory = exports.IPriceFeedType__factory = exports.IPriceFeedAddress__factory = exports.IPoolServiceEvents__factory = exports.IPoolService__factory = exports.IPhantomERC20__factory = void 0;
|
|
26
|
+
exports.IConvexV1BaseRewardPoolAdapterErrors__factory = exports.IConvexV1BaseRewardPoolAdapter__factory = exports.IYVault__factory = exports.IUniswapV3SwapCallback__factory = exports.ISwapRouter__factory = exports.IUniswapV2Router02__factory = exports.IUniswapV2Router01__factory = exports.IQuoter__factory = exports.IwstETHGetters__factory = exports.IwstETH__factory = exports.IstETHGetters__factory = exports.IstETH__factory = exports.ILidoOracle__factory = exports.ICurveRegistry__factory = exports.ICurvePoolStETH__factory = exports.ICurvePool__factory = exports.ICurvePool4Assets__factory = exports.ICurvePool3Assets__factory = exports.ICurvePool2Assets__factory = exports.ICRVToken__factory = exports.IBasicRewards__factory = exports.IWalletChecker__factory = exports.IVoting__factory = exports.IVestedEscrow__factory = exports.ITokenMinter__factory = exports.ITokenFactory__factory = exports.IStashFactory__factory = exports.IStash__factory = exports.IStaker__factory = exports.IRewards__factory = exports.IRewardFactory__factory = exports.IRegistry__factory = exports.IPools__factory = exports.IMinter__factory = exports.IFeeDistro__factory = exports.IDeposit__factory = exports.ICurveVoteEscrow__factory = exports.ICurveGauge__factory = exports.ICrvDeposit__factory = exports.IConvexToken__factory = exports.IClaimZap__factory = exports.IBooster__factory = exports.IBaseRewardPool__factory = exports.IERC165__factory = exports.IERC721Receiver__factory = exports.IERC721__factory = exports.IERC721Metadata__factory = exports.IERC20__factory = exports.IERC20Metadata__factory = exports.factories = void 0;
|
|
27
|
+
exports.ILPPriceFeed__factory = exports.IInterestRateModel__factory = exports.IGearToken__factory = exports.IDieselTokenExceptions__factory = exports.IDieselToken__factory = exports.IDegenNFTExceptions__factory = exports.IDegenNFT__factory = exports.IDataCompressorExceptions__factory = exports.IDataCompressor__factory = exports.ICreditManagerV2Exceptions__factory = exports.ICreditManagerV2Events__factory = exports.ICreditManagerV2__factory = exports.ICreditFacadeExtended__factory = exports.ICreditFacadeExceptions__factory = exports.ICreditFacadeEvents__factory = exports.ICreditFacade__factory = exports.ICreditConfiguratorExceptions__factory = exports.ICreditConfiguratorEvents__factory = exports.ICreditConfigurator__factory = exports.ICreditAccount__factory = exports.ICrediAccountExceptions__factory = exports.IContractsRegisterEvents__factory = exports.IContractsRegister__factory = exports.IAddressProviderEvents__factory = exports.IAddressProvider__factory = exports.IACLExceptions__factory = exports.IACLEvents__factory = exports.IACL__factory = exports.IAccountFactoryGetters__factory = exports.IAccountFactoryEvents__factory = exports.IAccountFactory__factory = exports.IWETH__factory = exports.IYearnV2Adapter__factory = exports.IUniswapV3AdapterExceptions__factory = exports.IUniswapV3Adapter__factory = exports.IUniswapV2Adapter__factory = exports.IwstETHV1Adapter__factory = exports.ILidoV1AdapterExceptions__factory = exports.ILidoV1AdapterEvents__factory = exports.ILidoV1Adapter__factory = exports.IUniversalAdapterExceptions__factory = exports.IUniversalAdapter__factory = exports.IAdapterExceptions__factory = exports.IAdapter__factory = exports.ICurveV1AdapterExceptions__factory = exports.ICurveV1Adapter__factory = exports.ICurveV1_4AssetsAdapter__factory = exports.ICurveV1_3AssetsAdapter__factory = exports.ICurveV1_2AssetsAdapter__factory = exports.IConvexV1BoosterAdapter__factory = void 0;
|
|
28
|
+
exports.Multicall2__factory = exports.AggregatorV3Interface__factory = exports.IToken__factory = exports.ISupportedContracts__factory = exports.ITokenTestSuite__factory = exports.ILockedCvx__factory = exports.ILidoMockEvents__factory = exports.IWithdrawerOptions__factory = exports.IWithdrawer__factory = exports.ISwapper__factory = exports.ISwapAggregator__factory = exports.IPathResolver__factory = exports.IPathFinderComponent__factory = exports.IPathFinder__factory = exports.ILPWorkerOptions__factory = exports.ILPWorker__factory = exports.IGasPricer__factory = exports.IDepositorOptions__factory = exports.IDepositor__factory = exports.IClosePathResolver__factory = exports.IPriceOracle__factory = exports.ICreditManager__factory = exports.ICreditFilter__factory = exports.IWETHGateway__factory = exports.IVersion__factory = exports.IPriceOracleV2Ext__factory = exports.IPriceOracleV2Exceptions__factory = exports.IPriceOracleV2Events__factory = exports.IPriceOracleV2__factory = exports.IPriceFeedType__factory = exports.IPriceFeedAddress__factory = exports.IPoolServiceEvents__factory = exports.IPoolService__factory = exports.IPhantomERC20__factory = exports.IMerkleDistributor__factory = exports.ILPPriceFeedExceptions__factory = exports.ILPPriceFeedEvents__factory = void 0;
|
|
29
29
|
exports.factories = __importStar(require("./factories"));
|
|
30
30
|
var IERC20Metadata__factory_1 = require("./factories/@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata__factory");
|
|
31
31
|
Object.defineProperty(exports, "IERC20Metadata__factory", { enumerable: true, get: function () { return IERC20Metadata__factory_1.IERC20Metadata__factory; } });
|
|
@@ -105,6 +105,10 @@ var IstETH__factory_1 = require("./factories/contracts/integrations/lido/IstETH.
|
|
|
105
105
|
Object.defineProperty(exports, "IstETH__factory", { enumerable: true, get: function () { return IstETH__factory_1.IstETH__factory; } });
|
|
106
106
|
var IstETHGetters__factory_1 = require("./factories/contracts/integrations/lido/IstETH.sol/IstETHGetters__factory");
|
|
107
107
|
Object.defineProperty(exports, "IstETHGetters__factory", { enumerable: true, get: function () { return IstETHGetters__factory_1.IstETHGetters__factory; } });
|
|
108
|
+
var IwstETH__factory_1 = require("./factories/contracts/integrations/lido/IwstETH.sol/IwstETH__factory");
|
|
109
|
+
Object.defineProperty(exports, "IwstETH__factory", { enumerable: true, get: function () { return IwstETH__factory_1.IwstETH__factory; } });
|
|
110
|
+
var IwstETHGetters__factory_1 = require("./factories/contracts/integrations/lido/IwstETH.sol/IwstETHGetters__factory");
|
|
111
|
+
Object.defineProperty(exports, "IwstETHGetters__factory", { enumerable: true, get: function () { return IwstETHGetters__factory_1.IwstETHGetters__factory; } });
|
|
108
112
|
var IQuoter__factory_1 = require("./factories/contracts/integrations/uniswap/IQuoter__factory");
|
|
109
113
|
Object.defineProperty(exports, "IQuoter__factory", { enumerable: true, get: function () { return IQuoter__factory_1.IQuoter__factory; } });
|
|
110
114
|
var IUniswapV2Router01__factory_1 = require("./factories/contracts/integrations/uniswap/IUniswapV2Router01__factory");
|
|
@@ -147,6 +151,8 @@ var ILidoV1AdapterEvents__factory_1 = require("./factories/contracts/interfaces/
|
|
|
147
151
|
Object.defineProperty(exports, "ILidoV1AdapterEvents__factory", { enumerable: true, get: function () { return ILidoV1AdapterEvents__factory_1.ILidoV1AdapterEvents__factory; } });
|
|
148
152
|
var ILidoV1AdapterExceptions__factory_1 = require("./factories/contracts/interfaces/adapters/lido/ILidoV1Adapter.sol/ILidoV1AdapterExceptions__factory");
|
|
149
153
|
Object.defineProperty(exports, "ILidoV1AdapterExceptions__factory", { enumerable: true, get: function () { return ILidoV1AdapterExceptions__factory_1.ILidoV1AdapterExceptions__factory; } });
|
|
154
|
+
var IwstETHV1Adapter__factory_1 = require("./factories/contracts/interfaces/adapters/lido/IwstETHV1Adapter__factory");
|
|
155
|
+
Object.defineProperty(exports, "IwstETHV1Adapter__factory", { enumerable: true, get: function () { return IwstETHV1Adapter__factory_1.IwstETHV1Adapter__factory; } });
|
|
150
156
|
var IUniswapV2Adapter__factory_1 = require("./factories/contracts/interfaces/adapters/uniswap/IUniswapV2Adapter__factory");
|
|
151
157
|
Object.defineProperty(exports, "IUniswapV2Adapter__factory", { enumerable: true, get: function () { return IUniswapV2Adapter__factory_1.IUniswapV2Adapter__factory; } });
|
|
152
158
|
var IUniswapV3Adapter__factory_1 = require("./factories/contracts/interfaces/adapters/uniswap/IUniswapV3Adapter.sol/IUniswapV3Adapter__factory");
|
|
@@ -283,11 +289,11 @@ var ILidoMockEvents__factory_1 = require("./factories/contracts/test/mocks/integ
|
|
|
283
289
|
Object.defineProperty(exports, "ILidoMockEvents__factory", { enumerable: true, get: function () { return ILidoMockEvents__factory_1.ILidoMockEvents__factory; } });
|
|
284
290
|
var ILockedCvx__factory_1 = require("./factories/contracts/test/sigp/interfaces/ILockedCvx__factory");
|
|
285
291
|
Object.defineProperty(exports, "ILockedCvx__factory", { enumerable: true, get: function () { return ILockedCvx__factory_1.ILockedCvx__factory; } });
|
|
286
|
-
var ITokenTestSuite__factory_1 = require("./factories/contracts/test/suites/
|
|
292
|
+
var ITokenTestSuite__factory_1 = require("./factories/contracts/test/suites/live/ITokenTestSuite__factory");
|
|
287
293
|
Object.defineProperty(exports, "ITokenTestSuite__factory", { enumerable: true, get: function () { return ITokenTestSuite__factory_1.ITokenTestSuite__factory; } });
|
|
288
|
-
var ISupportedContracts__factory_1 = require("./factories/contracts/test/suites/
|
|
294
|
+
var ISupportedContracts__factory_1 = require("./factories/contracts/test/suites/live/SupportedContracts.sol/ISupportedContracts__factory");
|
|
289
295
|
Object.defineProperty(exports, "ISupportedContracts__factory", { enumerable: true, get: function () { return ISupportedContracts__factory_1.ISupportedContracts__factory; } });
|
|
290
|
-
var IToken__factory_1 = require("./factories/contracts/test/suites/
|
|
296
|
+
var IToken__factory_1 = require("./factories/contracts/test/suites/live/Tokens.sol/IToken__factory");
|
|
291
297
|
Object.defineProperty(exports, "IToken__factory", { enumerable: true, get: function () { return IToken__factory_1.IToken__factory; } });
|
|
292
298
|
var AggregatorV3Interface__factory_1 = require("./factories/@chainlink/contracts/src/v0.8/interfaces/AggregatorV3Interface__factory");
|
|
293
299
|
Object.defineProperty(exports, "AggregatorV3Interface__factory", { enumerable: true, get: function () { return AggregatorV3Interface__factory_1.AggregatorV3Interface__factory; } });
|