dsa-connect 0.6.16-beta.1 → 0.6.17
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 +1 -0
- package/dist/abi/connectors/v2/SWAP-AGGREGATOR-A.d.ts +2 -0
- package/dist/abi/connectors/v2/index.d.ts +1 -0
- package/dist/abi/index.d.ts +1 -0
- package/dist/addresses/arbitrum/connectorsV2_M1.d.ts +1 -0
- package/dist/addresses/avalanche/connectorsV2_M1.d.ts +1 -0
- package/dist/addresses/fantom/connectorsV2_M1.d.ts +3 -0
- package/dist/addresses/index.d.ts +8 -0
- package/dist/addresses/optimism/connectorsV2_M1.d.ts +2 -0
- package/dist/addresses/polygon/connectorsV2_M1.d.ts +1 -0
- package/dist/dsa.d.ts +4 -14
- package/dist/index.bundle.js +2 -2
- package/dist/index.es.js +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -2
- package/dist/abi/connectors/v2/INTEROP-B.d.ts +0 -2
|
@@ -7,6 +7,7 @@ export declare const connectors: {
|
|
|
7
7
|
versions: {
|
|
8
8
|
1: typeof connectorsV1;
|
|
9
9
|
2: {
|
|
10
|
+
'SWAP-AGGREGATOR-A': import("web3-utils").AbiItem[];
|
|
10
11
|
'UNISWAP-V3-SWAP-A': import("web3-utils").AbiItem[];
|
|
11
12
|
'HOP-MAINNET-A': import("web3-utils").AbiItem[];
|
|
12
13
|
'NOTIONAL-V2-A': import("web3-utils").AbiItem[];
|
package/dist/abi/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const Abi: {
|
|
|
5
5
|
versions: {
|
|
6
6
|
1: typeof import("./connectors/v1");
|
|
7
7
|
2: {
|
|
8
|
+
'SWAP-AGGREGATOR-A': import("web3-utils").AbiItem[];
|
|
8
9
|
'UNISWAP-V3-SWAP-A': import("web3-utils").AbiItem[];
|
|
9
10
|
'HOP-MAINNET-A': import("web3-utils").AbiItem[];
|
|
10
11
|
'NOTIONAL-V2-A': import("web3-utils").AbiItem[];
|
|
@@ -280,6 +280,7 @@ export declare const Addresses: {
|
|
|
280
280
|
'AAVE-V3-IMPORT-PERMIT-A': string;
|
|
281
281
|
'HOP-A': string;
|
|
282
282
|
'UNISWAP-V3-SWAP-A': string;
|
|
283
|
+
'SWAP-AGGREGATOR-A': string;
|
|
283
284
|
};
|
|
284
285
|
};
|
|
285
286
|
};
|
|
@@ -305,6 +306,7 @@ export declare const Addresses: {
|
|
|
305
306
|
'AAVE-V3-IMPORT-PERMIT-A': string;
|
|
306
307
|
'HOP-A': string;
|
|
307
308
|
'UNISWAP-V3-SWAP-A': string;
|
|
309
|
+
'SWAP-AGGREGATOR-A': string;
|
|
308
310
|
};
|
|
309
311
|
};
|
|
310
312
|
};
|
|
@@ -337,6 +339,7 @@ export declare const Addresses: {
|
|
|
337
339
|
'AAVE-V3-IMPORT-A': string;
|
|
338
340
|
'AAVE-V3-IMPORT-PERMIT-A': string;
|
|
339
341
|
'AAVE-V3-CLAIM-A': string;
|
|
342
|
+
'SWAP-AGGREGATOR-A': string;
|
|
340
343
|
};
|
|
341
344
|
};
|
|
342
345
|
};
|
|
@@ -359,6 +362,8 @@ export declare const Addresses: {
|
|
|
359
362
|
'INSTAPOOL-C': string;
|
|
360
363
|
'HOP-A': string;
|
|
361
364
|
'UNISWAP-V3-SWAP-A': string;
|
|
365
|
+
'SWAP-AGGREGATOR-A': string;
|
|
366
|
+
'AAVE-V3-IMPORT-PERMIT-A': string;
|
|
362
367
|
};
|
|
363
368
|
};
|
|
364
369
|
};
|
|
@@ -374,6 +379,9 @@ export declare const Addresses: {
|
|
|
374
379
|
'AAVE-V3-A': string;
|
|
375
380
|
'PARASWAP-A': string;
|
|
376
381
|
'PARASWAP-V5-A': string;
|
|
382
|
+
'SWAP-AGGREGATOR-A': string;
|
|
383
|
+
'1INCH-A': string;
|
|
384
|
+
'1INCH-V4-A': string;
|
|
377
385
|
};
|
|
378
386
|
};
|
|
379
387
|
};
|
package/dist/dsa.d.ts
CHANGED
|
@@ -156,20 +156,10 @@ export declare class DSA {
|
|
|
156
156
|
* ```
|
|
157
157
|
*/
|
|
158
158
|
Spell(): {
|
|
159
|
-
cast: (params?: Omit<CastParams,
|
|
160
|
-
estimateCastGas: (params?: Omit<
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
encodeCastABI: (params?: Omit<(params: Spells | ({
|
|
164
|
-
spells: Spells;
|
|
165
|
-
origin?: string | undefined;
|
|
166
|
-
} & Pick<TransactionConfig, "to">)) => string, "spells"> | undefined) => Promise<string | undefined>;
|
|
167
|
-
encodeSpells: (params?: Omit<(params: Spells | {
|
|
168
|
-
spells: Spells;
|
|
169
|
-
}, version?: 1 | 2) => {
|
|
170
|
-
targets: (string | void)[];
|
|
171
|
-
spells: string[];
|
|
172
|
-
}, "spells"> | undefined) => Promise<{
|
|
159
|
+
cast: (params?: Omit<CastParams, 'spells'>) => Promise<string | undefined>;
|
|
160
|
+
estimateCastGas: (params?: Omit<CastHelpers['estimateGas'], 'spells'>) => Promise<number | undefined>;
|
|
161
|
+
encodeCastABI: (params?: Omit<CastHelpers['encodeABI'], 'spells'>) => Promise<string | undefined>;
|
|
162
|
+
encodeSpells: (params?: Omit<Internal['encodeSpells'], 'spells'>) => Promise<{
|
|
173
163
|
targets: (string | void)[];
|
|
174
164
|
spells: string[];
|
|
175
165
|
} | undefined>;
|