dsa-connect 0.6.10 → 0.6.13

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,8 @@ export declare const connectors: {
7
7
  versions: {
8
8
  1: typeof connectorsV1;
9
9
  2: {
10
+ 'AAVE-V3-IMPORT-PERMIT-A': import("web3-utils").AbiItem[];
11
+ 'LITE-A': import("web3-utils").AbiItem[];
10
12
  'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
11
13
  'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
12
14
  '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 LITE_A: AbiItem[];
@@ -1,4 +1,6 @@
1
1
  export declare const connectorsV2_M1: {
2
+ 'AAVE-V3-IMPORT-PERMIT-A': import("web3-utils").AbiItem[];
3
+ 'LITE-A': import("web3-utils").AbiItem[];
2
4
  'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
3
5
  'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
4
6
  'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
@@ -5,6 +5,8 @@ export declare const Abi: {
5
5
  versions: {
6
6
  1: typeof import("./connectors/v1");
7
7
  2: {
8
+ 'AAVE-V3-IMPORT-PERMIT-A': import("web3-utils").AbiItem[];
9
+ 'LITE-A': import("web3-utils").AbiItem[];
8
10
  'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
9
11
  'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
10
12
  '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,30 @@ 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;
276
278
  };
277
279
  };
278
280
  };
279
281
  42161: {
280
282
  versions: {
281
283
  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;
284
+ 'AUTHORITY-A': string;
285
+ 'BASIC-A': string;
286
+ 'BASIC-B': string;
287
+ 'BASIC-C': string;
288
+ 'UNISWAP-V3-A': string;
289
+ 'WETH-A': string;
290
+ 'UNISWAP-SELL-BETA': string;
291
+ 'INSTAPOOL-C': string;
292
+ '1INCH-V4-A': string;
293
+ '1INCH-V3-A ': string;
294
+ '1INCH-A': string;
295
+ 'SUSHISWAP-A': string;
296
+ 'UNISWAP-V3-STAKER-B': string;
297
+ 'UNISWAP-V3-ROUTER-A': string;
298
+ 'AAVE-V3-A': string;
299
+ 'AAVE-V3-IMPORT-A': string;
300
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
298
301
  };
299
302
  };
300
303
  };
@@ -325,25 +328,27 @@ export declare const Addresses: {
325
328
  'AAVE-V3-A': string;
326
329
  'AAVE-IMPORT-V2-V3-A': string;
327
330
  'AAVE-V3-IMPORT-A': string;
331
+ 'AAVE-V3-IMPORT-PERMIT-A': string;
328
332
  };
329
333
  };
330
334
  };
331
335
  10: {
332
336
  versions: {
333
337
  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;
338
+ 'BASIC-A': string;
339
+ 'BASIC-B': string;
340
+ 'BASIC-C': string;
341
+ 'AUTHORITY-A': string;
342
+ 'WETH-A': string;
343
+ 'UNISWAP-V3-A': string;
344
+ 'UNISWAP-V3-STAKE-A': string;
345
+ '1INCH-V4-A': string;
346
+ '1INCH-A': string;
347
+ 'UNISWAP-V3-STAKER-B': string;
348
+ 'UNISWAP-V3-ROUTER-A': string;
349
+ 'AAVE-V3-A': string;
350
+ 'AAVE-V3-IMPORT-A': string;
351
+ 'INSTAPOOL-C': string;
347
352
  };
348
353
  };
349
354
  };
@@ -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,15 +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;
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;
15
16
  };
@@ -34,4 +34,5 @@ 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;
37
38
  };