dsa-connect 0.6.11 → 0.6.14-beta.0

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/README.md CHANGED
@@ -1,11 +1,14 @@
1
1
 
2
2
 
3
- # DSA Connect [![Build Status](https://travis-ci.com/InstaDApp/dsa-connect.svg?branch=master)](https://travis-ci.com/InstaDApp/dsa-connect)
3
+ # DSA Connect [![Build status](https://github.com/Instadapp/dsa-connect/actions/workflows/build.yml/badge.svg?branch=master&event=push)](https://github.com/Instadapp/dsa-connect/actions/workflows/build.yml)
4
4
 
5
5
  <img src="https://raw.githubusercontent.com/InstaDApp/dsa-connect/master/src/data/img.svg">
6
6
 
7
7
  The official DSA SDK for JavaScript, available for browsers and Node.js backends.
8
8
 
9
+
10
+
11
+
9
12
  ## Installation
10
13
 
11
14
  To get started, install the DSA Connect package from npm:
@@ -219,7 +222,7 @@ spells.cast({
219
222
  ```
220
223
 
221
224
  | **Parameter (optional)** | **Type** | **Description** |
222
- |--------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
225
+ |--------------------------|-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
223
226
  | `gasPrice` | *string/number* | The gas price in gwei. Mostly used in Node implementation to configure the transaction confirmation speed. |
224
227
  | `value` | *string/number* | Amount of ETH which you want to send along with the transaction (in wei). |
225
228
  | `nonce` | *string/number* | Nonce of your sender account. Mostly used in Node implementation to send transaction with a particular nonce either to override unconfirmed transaction or some other purpose. |
@@ -7,6 +7,9 @@ export declare const connectors: {
7
7
  versions: {
8
8
  1: typeof connectorsV1;
9
9
  2: {
10
+ 'HOP-A': import("web3-utils").AbiItem[];
11
+ 'AAVE-V3-IMPORT-PERMIT-A': import("web3-utils").AbiItem[];
12
+ 'LITE-A': import("web3-utils").AbiItem[];
10
13
  'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
11
14
  'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
12
15
  'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
@@ -0,0 +1,2 @@
1
+ import { AbiItem } from 'web3-utils';
2
+ export declare const AAVE_V3_IMPORT_PERMIT_A: AbiItem[];
@@ -0,0 +1,2 @@
1
+ import { AbiItem } from 'web3-utils';
2
+ export declare const HOP_A: AbiItem[];
@@ -0,0 +1,2 @@
1
+ import { AbiItem } from 'web3-utils';
2
+ export declare const LITE_A: AbiItem[];
@@ -1,4 +1,7 @@
1
1
  export declare const connectorsV2_M1: {
2
+ 'HOP-A': import("web3-utils").AbiItem[];
3
+ 'AAVE-V3-IMPORT-PERMIT-A': import("web3-utils").AbiItem[];
4
+ 'LITE-A': import("web3-utils").AbiItem[];
2
5
  'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
3
6
  'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
4
7
  'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
@@ -5,6 +5,9 @@ export declare const Abi: {
5
5
  versions: {
6
6
  1: typeof import("./connectors/v1");
7
7
  2: {
8
+ 'HOP-A': import("web3-utils").AbiItem[];
9
+ 'AAVE-V3-IMPORT-PERMIT-A': import("web3-utils").AbiItem[];
10
+ 'LITE-A': import("web3-utils").AbiItem[];
8
11
  'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
9
12
  'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
10
13
  'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
@@ -1,18 +1,19 @@
1
1
  export declare const connectorsV2_M1: {
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;
17
- "AAVE-V3-IMPORT-A": string;
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;
17
+ 'AAVE-V3-IMPORT-A': string;
18
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
18
19
  };
@@ -23,4 +23,5 @@ export declare const connectorsV2_M1: {
23
23
  'AAVE-V3-A': string;
24
24
  'AAVE-IMPORT-V2-V3-A': string;
25
25
  'AAVE-V3-IMPORT-A': string;
26
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
26
27
  };
@@ -228,6 +228,7 @@ export declare const Addresses: {
228
228
  'UNISWAP-V3-ROUTER-A': string;
229
229
  'LIDO-STETH-A': string;
230
230
  'COMPOUND-IMPORT-D': string;
231
+ 'LITE-A': string;
231
232
  };
232
233
  };
233
234
  };
@@ -273,28 +274,31 @@ export declare const Addresses: {
273
274
  'AAVE-V3-A': string;
274
275
  'AAVE-IMPORT-V2-V3-A': string;
275
276
  'AAVE-V3-IMPORT-A': string;
277
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
278
+ 'HOP-A': string;
276
279
  };
277
280
  };
278
281
  };
279
282
  42161: {
280
283
  versions: {
281
284
  2: {
282
- "AUTHORITY-A": string;
283
- "BASIC-A": string;
284
- "BASIC-B": string;
285
- "BASIC-C": string;
286
- "UNISWAP-V3-A": string;
287
- "WETH-A": string;
288
- "UNISWAP-SELL-BETA": string;
289
- "INSTAPOOL-C": string;
290
- "1INCH-V4-A": string;
291
- "1INCH-V3-A ": string;
292
- "1INCH-A": string;
293
- "SUSHISWAP-A": string;
294
- "UNISWAP-V3-STAKER-B": string;
295
- "UNISWAP-V3-ROUTER-A": string;
296
- "AAVE-V3-A": string;
297
- "AAVE-V3-IMPORT-A": string;
285
+ 'AUTHORITY-A': string;
286
+ 'BASIC-A': string;
287
+ 'BASIC-B': string;
288
+ 'BASIC-C': string;
289
+ 'UNISWAP-V3-A': string;
290
+ 'WETH-A': string;
291
+ 'UNISWAP-SELL-BETA': string;
292
+ 'INSTAPOOL-C': string;
293
+ '1INCH-V4-A': string;
294
+ '1INCH-V3-A ': string;
295
+ '1INCH-A': string;
296
+ 'SUSHISWAP-A': string;
297
+ 'UNISWAP-V3-STAKER-B': string;
298
+ 'UNISWAP-V3-ROUTER-A': string;
299
+ 'AAVE-V3-A': string;
300
+ 'AAVE-V3-IMPORT-A': string;
301
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
298
302
  };
299
303
  };
300
304
  };
@@ -325,26 +329,27 @@ export declare const Addresses: {
325
329
  'AAVE-V3-A': string;
326
330
  'AAVE-IMPORT-V2-V3-A': string;
327
331
  'AAVE-V3-IMPORT-A': string;
332
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
328
333
  };
329
334
  };
330
335
  };
331
336
  10: {
332
337
  versions: {
333
338
  2: {
334
- "BASIC-A": string;
335
- "BASIC-B": string;
336
- "BASIC-C": string;
337
- "AUTHORITY-A": string;
338
- "WETH-A": string;
339
- "UNISWAP-V3-A": string;
340
- "UNISWAP-V3-STAKE-A": string;
341
- "1INCH-V4-A": string;
342
- "1INCH-A": string;
343
- "UNISWAP-V3-STAKER-B": string;
344
- "UNISWAP-V3-ROUTER-A": string;
345
- "AAVE-V3-A": string;
346
- "AAVE-V3-IMPORT-A": string;
347
- "INSTAPOOL-C": string;
339
+ 'BASIC-A': string;
340
+ 'BASIC-B': string;
341
+ 'BASIC-C': string;
342
+ 'AUTHORITY-A': string;
343
+ 'WETH-A': string;
344
+ 'UNISWAP-V3-A': string;
345
+ 'UNISWAP-V3-STAKE-A': string;
346
+ '1INCH-V4-A': string;
347
+ '1INCH-A': string;
348
+ 'UNISWAP-V3-STAKER-B': string;
349
+ 'UNISWAP-V3-ROUTER-A': string;
350
+ 'AAVE-V3-A': string;
351
+ 'AAVE-V3-IMPORT-A': string;
352
+ 'INSTAPOOL-C': string;
348
353
  };
349
354
  };
350
355
  };
@@ -60,4 +60,5 @@ export declare const connectorsV2_M1: {
60
60
  'UNISWAP-V3-ROUTER-A': string;
61
61
  'LIDO-STETH-A': string;
62
62
  'COMPOUND-IMPORT-D': string;
63
+ 'LITE-A': string;
63
64
  };
@@ -1,16 +1,16 @@
1
1
  export declare const connectorsV2_M1: {
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;
14
- "AAVE-V3-IMPORT-A": string;
15
- "INSTAPOOL-C": string;
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;
14
+ 'AAVE-V3-IMPORT-A': string;
15
+ 'INSTAPOOL-C': string;
16
16
  };
@@ -34,4 +34,6 @@ export declare const connectorsV2_M1: {
34
34
  'AAVE-V3-A': string;
35
35
  'AAVE-IMPORT-V2-V3-A': string;
36
36
  'AAVE-V3-IMPORT-A': string;
37
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
38
+ 'HOP-A': string;
37
39
  };