dsa-connect 0.6.3 → 0.6.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.
- package/dist/abi/connectors/index.d.ts +5 -0
- package/dist/abi/connectors/v2/AAVE-V2-V3-IMPORT-A.d.ts +2 -0
- package/dist/abi/connectors/v2/AAVE-V3-A.d.ts +2 -0
- package/dist/abi/connectors/v2/LIDO-STETH-A.d.ts +2 -0
- package/dist/abi/connectors/v2/MSTABLE-A.d.ts +2 -0
- package/dist/abi/connectors/v2/WFTM-A.d.ts +2 -0
- package/dist/abi/connectors/v2/index.d.ts +5 -0
- package/dist/abi/index.d.ts +5 -0
- package/dist/addresses/arbitrum/connectorsV2_M1.d.ts +15 -13
- package/dist/addresses/avalanche/connectorsV2_M1.d.ts +23 -21
- package/dist/addresses/core.d.ts +19 -0
- package/dist/addresses/fantom/connectorsV2_M1.d.ts +7 -0
- package/dist/addresses/fantom/core.d.ts +19 -0
- package/dist/addresses/index.d.ts +114 -72
- package/dist/addresses/mainnet/connectorsV2_M1.d.ts +3 -0
- package/dist/addresses/optimism/connectorsV2_M1.d.ts +12 -10
- package/dist/addresses/polygon/connectorsV2_M1.d.ts +34 -31
- package/dist/dsa.d.ts +1 -1
- package/dist/index.bundle.js +2 -2
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
|
@@ -7,6 +7,11 @@ export declare const connectors: {
|
|
|
7
7
|
versions: {
|
|
8
8
|
1: typeof connectorsV1;
|
|
9
9
|
2: {
|
|
10
|
+
"AAVE-V2-V3-IMPORT-A": import("web3-utils").AbiItem[];
|
|
11
|
+
"AAVE-V3-A": import("web3-utils").AbiItem[];
|
|
12
|
+
'WFTM-A': import("web3-utils").AbiItem[];
|
|
13
|
+
'MSTABLE-A': import("web3-utils").AbiItem[];
|
|
14
|
+
'LIDO-STETH-A': import("web3-utils").AbiItem[];
|
|
10
15
|
'PANGOLIN-STAKE-A': import("web3-utils").AbiItem[];
|
|
11
16
|
'PANGOLIN-A': import("web3-utils").AbiItem[];
|
|
12
17
|
'UNISWAP-V3-STAKER-B': import("web3-utils").AbiItem[];
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
export declare const connectorsV2_M1: {
|
|
2
|
+
"AAVE-V2-V3-IMPORT-A": import("web3-utils").AbiItem[];
|
|
3
|
+
"AAVE-V3-A": import("web3-utils").AbiItem[];
|
|
4
|
+
'WFTM-A': import("web3-utils").AbiItem[];
|
|
5
|
+
'MSTABLE-A': import("web3-utils").AbiItem[];
|
|
6
|
+
'LIDO-STETH-A': import("web3-utils").AbiItem[];
|
|
2
7
|
'PANGOLIN-STAKE-A': import("web3-utils").AbiItem[];
|
|
3
8
|
'PANGOLIN-A': import("web3-utils").AbiItem[];
|
|
4
9
|
'UNISWAP-V3-STAKER-B': import("web3-utils").AbiItem[];
|
package/dist/abi/index.d.ts
CHANGED
|
@@ -5,6 +5,11 @@ export declare const Abi: {
|
|
|
5
5
|
versions: {
|
|
6
6
|
1: typeof import("./connectors/v1");
|
|
7
7
|
2: {
|
|
8
|
+
"AAVE-V2-V3-IMPORT-A": import("web3-utils").AbiItem[];
|
|
9
|
+
"AAVE-V3-A": import("web3-utils").AbiItem[];
|
|
10
|
+
'WFTM-A': import("web3-utils").AbiItem[];
|
|
11
|
+
'MSTABLE-A': import("web3-utils").AbiItem[];
|
|
12
|
+
'LIDO-STETH-A': import("web3-utils").AbiItem[];
|
|
8
13
|
'PANGOLIN-STAKE-A': import("web3-utils").AbiItem[];
|
|
9
14
|
'PANGOLIN-A': import("web3-utils").AbiItem[];
|
|
10
15
|
'UNISWAP-V3-STAKER-B': import("web3-utils").AbiItem[];
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
export declare const connectorsV2_M1: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
2
|
+
"AUTHORITY-A": string;
|
|
3
|
+
"BASIC-A": string;
|
|
4
|
+
"BASIC-B": string;
|
|
5
|
+
"BASIC-C": string;
|
|
6
|
+
"UNISWAP-V3-A": string;
|
|
7
|
+
"WETH-A": string;
|
|
8
|
+
"UNISWAP-SELL-BETA": string;
|
|
9
|
+
"INSTAPOOL-C": string;
|
|
10
|
+
"1INCH-V4-A": string;
|
|
11
|
+
"1INCH-V3-A ": string;
|
|
12
|
+
"1INCH-A": string;
|
|
13
|
+
"SUSHISWAP-A": string;
|
|
14
|
+
"UNISWAP-V3-STAKER-B": string;
|
|
15
|
+
"UNISWAP-V3-ROUTER-A": string;
|
|
16
|
+
"AAVE-V3-A": string;
|
|
15
17
|
};
|
|
@@ -1,23 +1,25 @@
|
|
|
1
1
|
export declare const connectorsV2_M1: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
2
|
+
"AUTHORITY-A": string;
|
|
3
|
+
"BASIC-A": string;
|
|
4
|
+
"WAVAX-A": string;
|
|
5
|
+
"AAVE-V2-A": string;
|
|
6
|
+
"AAVE-CLAIM-A": string;
|
|
7
|
+
"AAVE-V2-IMPORT-C": string;
|
|
8
|
+
"PARASWAP-A": string;
|
|
9
|
+
"BENQI-A": string;
|
|
10
|
+
"QI-A": string;
|
|
11
|
+
"INSTAPOOL-B": string;
|
|
12
|
+
"INTEROP-A": string;
|
|
13
|
+
"INTEROP-STAGING-A": string;
|
|
14
|
+
"INSTAPOOL-C": string;
|
|
15
|
+
"PARASWAP-V5-A": string;
|
|
16
|
+
"ZEROX-A": string;
|
|
17
|
+
"ZEROX-V4-A": string;
|
|
18
|
+
"SUSHISWAP-A": string;
|
|
19
|
+
"1INCH-A": string;
|
|
20
|
+
"1INCH-V4-A": string;
|
|
21
|
+
"PANGOLIN-A": string;
|
|
22
|
+
"PANGOLIN-STAKE-A": string;
|
|
23
|
+
"AAVE-V3-A": string;
|
|
24
|
+
"AAVE-V2-V3-IMPORT-A": string;
|
|
23
25
|
};
|
package/dist/addresses/core.d.ts
CHANGED
|
@@ -96,4 +96,23 @@ export declare const core: {
|
|
|
96
96
|
};
|
|
97
97
|
};
|
|
98
98
|
};
|
|
99
|
+
250: {
|
|
100
|
+
index: string;
|
|
101
|
+
list: string;
|
|
102
|
+
read: string;
|
|
103
|
+
versions: {
|
|
104
|
+
1: {
|
|
105
|
+
account: string;
|
|
106
|
+
connectors: string;
|
|
107
|
+
events: string;
|
|
108
|
+
};
|
|
109
|
+
2: {
|
|
110
|
+
accountProxy: string;
|
|
111
|
+
accountDefault: string;
|
|
112
|
+
implementations: string;
|
|
113
|
+
account: string;
|
|
114
|
+
connectors: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
};
|
|
99
118
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
export declare const core: {
|
|
2
|
+
index: string;
|
|
3
|
+
list: string;
|
|
4
|
+
read: string;
|
|
5
|
+
versions: {
|
|
6
|
+
1: {
|
|
7
|
+
account: string;
|
|
8
|
+
connectors: string;
|
|
9
|
+
events: string;
|
|
10
|
+
};
|
|
11
|
+
2: {
|
|
12
|
+
accountProxy: string;
|
|
13
|
+
accountDefault: string;
|
|
14
|
+
implementations: string;
|
|
15
|
+
account: string;
|
|
16
|
+
connectors: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
@@ -98,6 +98,25 @@ export declare const Addresses: {
|
|
|
98
98
|
};
|
|
99
99
|
};
|
|
100
100
|
};
|
|
101
|
+
250: {
|
|
102
|
+
index: string;
|
|
103
|
+
list: string;
|
|
104
|
+
read: string;
|
|
105
|
+
versions: {
|
|
106
|
+
1: {
|
|
107
|
+
account: string;
|
|
108
|
+
connectors: string;
|
|
109
|
+
events: string;
|
|
110
|
+
};
|
|
111
|
+
2: {
|
|
112
|
+
accountProxy: string;
|
|
113
|
+
accountDefault: string;
|
|
114
|
+
implementations: string;
|
|
115
|
+
account: string;
|
|
116
|
+
connectors: string;
|
|
117
|
+
};
|
|
118
|
+
};
|
|
119
|
+
};
|
|
101
120
|
};
|
|
102
121
|
connectors: {
|
|
103
122
|
chains: {
|
|
@@ -205,6 +224,9 @@ export declare const Addresses: {
|
|
|
205
224
|
'SUSHISWAP-A': string;
|
|
206
225
|
'UBIQUITY-A': string;
|
|
207
226
|
'UNISWAP-V3-STAKER-B': string;
|
|
227
|
+
'MSTABLE-A': string;
|
|
228
|
+
'UNISWAP-V3-ROUTER-A': string;
|
|
229
|
+
'LIDO-STETH-A': string;
|
|
208
230
|
};
|
|
209
231
|
};
|
|
210
232
|
};
|
|
@@ -215,99 +237,119 @@ export declare const Addresses: {
|
|
|
215
237
|
authority: string;
|
|
216
238
|
};
|
|
217
239
|
2: {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
240
|
+
"1INCH-A": string;
|
|
241
|
+
"1INCH-V4-A": string;
|
|
242
|
+
"1INCH-V3-A": string;
|
|
243
|
+
"AAVE-V2-A": string;
|
|
244
|
+
"AUTHORITY-A": string;
|
|
245
|
+
"BASIC-A": string;
|
|
246
|
+
"AAVE-CLAIM-A": string;
|
|
247
|
+
"INSTAPOOL-A": string;
|
|
248
|
+
"PARASWAP-A": string;
|
|
249
|
+
"AAVE-V2-IMPORT-A": string;
|
|
250
|
+
"AAVE-V2-IMPORT-B": string;
|
|
251
|
+
"AAVE-CLAIM-B": string;
|
|
252
|
+
"GELATO-AAVE-A": string;
|
|
253
|
+
"POOLTOGETHER-A": string;
|
|
254
|
+
"INSTAPOOL-B": string;
|
|
255
|
+
"AAVE-V2-IMPORT-C": string;
|
|
256
|
+
"INTEROP-A": string;
|
|
257
|
+
"INTEROP-STAGING-A": string;
|
|
258
|
+
"INSTAPOOL-C": string;
|
|
259
|
+
"WMATIC-A": string;
|
|
260
|
+
"UNISWAP-V3-A": string;
|
|
261
|
+
"UNISWAP-V3-STAKE-A": string;
|
|
262
|
+
"QUICKSWAP-A": string;
|
|
263
|
+
"PARASWAP-V5-A": string;
|
|
264
|
+
"ZEROX-A": string;
|
|
265
|
+
"ZEROX-V4-A": string;
|
|
266
|
+
"BASIC-B": string;
|
|
267
|
+
"BASIC-C": string;
|
|
268
|
+
"SUSHISWAP-A": string;
|
|
269
|
+
"UNISWAP-V3-ROUTER-A": string;
|
|
270
|
+
"UNISWAP-V3-STAKER-B": string;
|
|
271
|
+
"MSTABLE-A": string;
|
|
272
|
+
"AAVE-V3-A": string;
|
|
273
|
+
"AAVE-V2-V3-IMPORT-A": string;
|
|
249
274
|
};
|
|
250
275
|
};
|
|
251
276
|
};
|
|
252
277
|
42161: {
|
|
253
278
|
versions: {
|
|
254
279
|
2: {
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
280
|
+
"AUTHORITY-A": string;
|
|
281
|
+
"BASIC-A": string;
|
|
282
|
+
"BASIC-B": string;
|
|
283
|
+
"BASIC-C": string;
|
|
284
|
+
"UNISWAP-V3-A": string;
|
|
285
|
+
"WETH-A": string;
|
|
286
|
+
"UNISWAP-SELL-BETA": string;
|
|
287
|
+
"INSTAPOOL-C": string;
|
|
288
|
+
"1INCH-V4-A": string;
|
|
289
|
+
"1INCH-V3-A ": string;
|
|
290
|
+
"1INCH-A": string;
|
|
291
|
+
"SUSHISWAP-A": string;
|
|
292
|
+
"UNISWAP-V3-STAKER-B": string;
|
|
293
|
+
"UNISWAP-V3-ROUTER-A": string;
|
|
294
|
+
"AAVE-V3-A": string;
|
|
268
295
|
};
|
|
269
296
|
};
|
|
270
297
|
};
|
|
271
298
|
43114: {
|
|
272
299
|
versions: {
|
|
273
300
|
2: {
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
301
|
+
"AUTHORITY-A": string;
|
|
302
|
+
"BASIC-A": string;
|
|
303
|
+
"WAVAX-A": string;
|
|
304
|
+
"AAVE-V2-A": string;
|
|
305
|
+
"AAVE-CLAIM-A": string;
|
|
306
|
+
"AAVE-V2-IMPORT-C": string;
|
|
307
|
+
"PARASWAP-A": string;
|
|
308
|
+
"BENQI-A": string;
|
|
309
|
+
"QI-A": string;
|
|
310
|
+
"INSTAPOOL-B": string;
|
|
311
|
+
"INTEROP-A": string;
|
|
312
|
+
"INTEROP-STAGING-A": string;
|
|
313
|
+
"INSTAPOOL-C": string;
|
|
314
|
+
"PARASWAP-V5-A": string;
|
|
315
|
+
"ZEROX-A": string;
|
|
316
|
+
"ZEROX-V4-A": string;
|
|
317
|
+
"SUSHISWAP-A": string;
|
|
318
|
+
"1INCH-A": string;
|
|
319
|
+
"1INCH-V4-A": string;
|
|
320
|
+
"PANGOLIN-A": string;
|
|
321
|
+
"PANGOLIN-STAKE-A": string;
|
|
322
|
+
"AAVE-V3-A": string;
|
|
323
|
+
"AAVE-V2-V3-IMPORT-A": string;
|
|
295
324
|
};
|
|
296
325
|
};
|
|
297
326
|
};
|
|
298
327
|
10: {
|
|
299
328
|
versions: {
|
|
300
329
|
2: {
|
|
330
|
+
"BASIC-A": string;
|
|
331
|
+
"BASIC-B": string;
|
|
332
|
+
"BASIC-C": string;
|
|
333
|
+
"AUTHORITY-A": string;
|
|
334
|
+
"WETH-A": string;
|
|
335
|
+
"UNISWAP-V3-A": string;
|
|
336
|
+
"UNISWAP-V3-STAKE-A": string;
|
|
337
|
+
"1INCH-V4-A": string;
|
|
338
|
+
"1INCH-A": string;
|
|
339
|
+
"UNISWAP-V3-STAKER-B": string;
|
|
340
|
+
"UNISWAP-V3-ROUTER-A": string;
|
|
341
|
+
"AAVE-V3-A": string;
|
|
342
|
+
};
|
|
343
|
+
};
|
|
344
|
+
};
|
|
345
|
+
250: {
|
|
346
|
+
versions: {
|
|
347
|
+
2: {
|
|
348
|
+
'AUTHORITY-A': string;
|
|
301
349
|
'BASIC-A': string;
|
|
302
350
|
'BASIC-B': string;
|
|
303
351
|
'BASIC-C': string;
|
|
304
|
-
'
|
|
305
|
-
'WETH-A': string;
|
|
306
|
-
'UNISWAP-V3-A': string;
|
|
307
|
-
'UNISWAP-V3-STAKE-A': string;
|
|
308
|
-
'1INCH-V4-A': string;
|
|
309
|
-
'1INCH-A': string;
|
|
310
|
-
'UNISWAP-V3-STAKER-B': string;
|
|
352
|
+
'WFTM-A': string;
|
|
311
353
|
};
|
|
312
354
|
};
|
|
313
355
|
};
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
export declare const connectorsV2_M1: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
"BASIC-A": string;
|
|
3
|
+
"BASIC-B": string;
|
|
4
|
+
"BASIC-C": string;
|
|
5
|
+
"AUTHORITY-A": string;
|
|
6
|
+
"WETH-A": string;
|
|
7
|
+
"UNISWAP-V3-A": string;
|
|
8
|
+
"UNISWAP-V3-STAKE-A": string;
|
|
9
|
+
"1INCH-V4-A": string;
|
|
10
|
+
"1INCH-A": string;
|
|
11
|
+
"UNISWAP-V3-STAKER-B": string;
|
|
12
|
+
"UNISWAP-V3-ROUTER-A": string;
|
|
13
|
+
"AAVE-V3-A": string;
|
|
12
14
|
};
|
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
export declare const connectorsV2_M1: {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
2
|
+
"1INCH-A": string;
|
|
3
|
+
"1INCH-V4-A": string;
|
|
4
|
+
"1INCH-V3-A": string;
|
|
5
|
+
"AAVE-V2-A": string;
|
|
6
|
+
"AUTHORITY-A": string;
|
|
7
|
+
"BASIC-A": string;
|
|
8
|
+
"AAVE-CLAIM-A": string;
|
|
9
|
+
"INSTAPOOL-A": string;
|
|
10
|
+
"PARASWAP-A": string;
|
|
11
|
+
"AAVE-V2-IMPORT-A": string;
|
|
12
|
+
"AAVE-V2-IMPORT-B": string;
|
|
13
|
+
"AAVE-CLAIM-B": string;
|
|
14
|
+
"GELATO-AAVE-A": string;
|
|
15
|
+
"POOLTOGETHER-A": string;
|
|
16
|
+
"INSTAPOOL-B": string;
|
|
17
|
+
"AAVE-V2-IMPORT-C": string;
|
|
18
|
+
"INTEROP-A": string;
|
|
19
|
+
"INTEROP-STAGING-A": string;
|
|
20
|
+
"INSTAPOOL-C": string;
|
|
21
|
+
"WMATIC-A": string;
|
|
22
|
+
"UNISWAP-V3-A": string;
|
|
23
|
+
"UNISWAP-V3-STAKE-A": string;
|
|
24
|
+
"QUICKSWAP-A": string;
|
|
25
|
+
"PARASWAP-V5-A": string;
|
|
26
|
+
"ZEROX-A": string;
|
|
27
|
+
"ZEROX-V4-A": string;
|
|
28
|
+
"BASIC-B": string;
|
|
29
|
+
"BASIC-C": string;
|
|
30
|
+
"SUSHISWAP-A": string;
|
|
31
|
+
"UNISWAP-V3-ROUTER-A": string;
|
|
32
|
+
"UNISWAP-V3-STAKER-B": string;
|
|
33
|
+
"MSTABLE-A": string;
|
|
34
|
+
"AAVE-V3-A": string;
|
|
35
|
+
"AAVE-V2-V3-IMPORT-A": string;
|
|
33
36
|
};
|
package/dist/dsa.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export declare type DSAConfig = {
|
|
|
20
20
|
web3: Web3;
|
|
21
21
|
mode?: 'browser';
|
|
22
22
|
};
|
|
23
|
-
export declare type ChainId = 1 | 137 | 42161 | 43114 | 10;
|
|
23
|
+
export declare type ChainId = 1 | 137 | 42161 | 43114 | 10 | 250;
|
|
24
24
|
export interface Instance {
|
|
25
25
|
id: number;
|
|
26
26
|
address: string;
|