dsa-connect 0.6.9 → 0.6.12
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 +5 -2
- package/dist/abi/connectors/index.d.ts +2 -0
- package/dist/abi/connectors/v2/COMPOUND-IMPORT-D.d.ts +2 -0
- package/dist/abi/connectors/v2/INTEROP-B.d.ts +2 -0
- package/dist/abi/connectors/v2/LITE-A.d.ts +2 -0
- package/dist/abi/connectors/v2/index.d.ts +2 -0
- package/dist/abi/index.d.ts +2 -0
- package/dist/addresses/index.d.ts +3 -0
- package/dist/addresses/mainnet/connectorsV2_M1.d.ts +2 -0
- package/dist/addresses/optimism/connectorsV2_M1.d.ts +1 -0
- 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
package/README.md
CHANGED
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
# DSA Connect [](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
|
+
'LITE-A': import("web3-utils").AbiItem[];
|
|
11
|
+
'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
|
|
10
12
|
'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
|
|
11
13
|
'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
|
|
12
14
|
'AAVE-V3-A': import("web3-utils").AbiItem[];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const connectorsV2_M1: {
|
|
2
|
+
'LITE-A': import("web3-utils").AbiItem[];
|
|
3
|
+
'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
|
|
2
4
|
'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
|
|
3
5
|
'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
|
|
4
6
|
'AAVE-V3-A': import("web3-utils").AbiItem[];
|
package/dist/abi/index.d.ts
CHANGED
|
@@ -5,6 +5,8 @@ export declare const Abi: {
|
|
|
5
5
|
versions: {
|
|
6
6
|
1: typeof import("./connectors/v1");
|
|
7
7
|
2: {
|
|
8
|
+
'LITE-A': import("web3-utils").AbiItem[];
|
|
9
|
+
'COMPOUND-IMPORT-D': import("web3-utils").AbiItem[];
|
|
8
10
|
'AAVE-V3-IMPORT-A': import("web3-utils").AbiItem[];
|
|
9
11
|
'AAVE-IMPORT-V2-V3-A': import("web3-utils").AbiItem[];
|
|
10
12
|
'AAVE-V3-A': import("web3-utils").AbiItem[];
|
|
@@ -227,6 +227,8 @@ export declare const Addresses: {
|
|
|
227
227
|
'MSTABLE-A': string;
|
|
228
228
|
'UNISWAP-V3-ROUTER-A': string;
|
|
229
229
|
'LIDO-STETH-A': string;
|
|
230
|
+
'COMPOUND-IMPORT-D': string;
|
|
231
|
+
'LITE-A': string;
|
|
230
232
|
};
|
|
231
233
|
};
|
|
232
234
|
};
|
|
@@ -343,6 +345,7 @@ export declare const Addresses: {
|
|
|
343
345
|
"UNISWAP-V3-ROUTER-A": string;
|
|
344
346
|
"AAVE-V3-A": string;
|
|
345
347
|
"AAVE-V3-IMPORT-A": string;
|
|
348
|
+
"INSTAPOOL-C": string;
|
|
346
349
|
};
|
|
347
350
|
};
|
|
348
351
|
};
|