dsa-connect 0.6.0-beta.0 → 0.6.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.
@@ -1,13 +1,13 @@
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;
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
13
  };
@@ -246,17 +246,17 @@ export declare const Addresses: {
246
246
  42161: {
247
247
  versions: {
248
248
  2: {
249
- "AUTHORITY-A": string;
250
- "BASIC-A": string;
251
- "BASIC-B": string;
252
- "BASIC-C": string;
253
- "UNISWAP-V3-A": string;
254
- "WETH-A": string;
255
- "UNISWAP-SELL-BETA": string;
256
- "INSTAPOOL-C": string;
257
- "1INCH-V4-A": string;
258
- "1INCH-V3-A ": string;
259
- "1INCH-A": string;
249
+ 'AUTHORITY-A': string;
250
+ 'BASIC-A': string;
251
+ 'BASIC-B': string;
252
+ 'BASIC-C': string;
253
+ 'UNISWAP-V3-A': string;
254
+ 'WETH-A': string;
255
+ 'UNISWAP-SELL-BETA': string;
256
+ 'INSTAPOOL-C': string;
257
+ '1INCH-V4-A': string;
258
+ '1INCH-V3-A ': string;
259
+ '1INCH-A': string;
260
260
  };
261
261
  };
262
262
  };
@@ -284,7 +284,17 @@ export declare const Addresses: {
284
284
  };
285
285
  10: {
286
286
  versions: {
287
- 2: {};
287
+ 2: {
288
+ 'BASIC-A': string;
289
+ 'BASIC-B': string;
290
+ 'BASIC-C': string;
291
+ 'AUTHORITY-A': string;
292
+ 'WETH-A': string;
293
+ 'UNISWAP-V3-A': string;
294
+ 'UNISWAP-V3-STAKE-A': string;
295
+ '1INCH-V4-A': string;
296
+ '1INCH-A': string;
297
+ };
288
298
  };
289
299
  };
290
300
  };
@@ -1 +1,11 @@
1
- export declare const connectorsV2_M1: {};
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
+ };
package/dist/dsa.d.ts CHANGED
@@ -80,7 +80,7 @@ export declare class DSA {
80
80
  encodeSpells: (params: Spells | {
81
81
  spells: Spells;
82
82
  }, version?: 1 | 2 | undefined) => {
83
- targets: void[];
83
+ targets: (string | void)[];
84
84
  spells: string[];
85
85
  };
86
86
  sendTransaction: (transactionConfig: TransactionConfig, transactionCallbacks?: TransactionCallbacks | undefined) => Promise<string>;
@@ -167,10 +167,10 @@ export declare class DSA {
167
167
  encodeSpells: (params?: Omit<(params: Spells | {
168
168
  spells: Spells;
169
169
  }, version?: 1 | 2) => {
170
- targets: void[];
170
+ targets: (string | void)[];
171
171
  spells: string[];
172
172
  }, "spells"> | undefined) => Promise<{
173
- targets: void[];
173
+ targets: (string | void)[];
174
174
  spells: string[];
175
175
  } | undefined>;
176
176
  data: import("./spells").Spell[];