hermes-swap 0.1.8 → 0.1.9

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.
@@ -115,7 +115,10 @@ export declare enum DexType {
115
115
  SHADOWV3 = "shadowv3",
116
116
  FRAXSWAPV2 = "fraxswapv2",
117
117
  AERODROMEV2 = "aerodromev2",
118
- SHADOWV2 = "shadowv2"
118
+ SHADOWV2 = "shadowv2",
119
+ BLACKHOLEV3 = "blackholev3",
120
+ BLACKHOLEV2 = "blackholev2",
121
+ FLUID = "fluid"
119
122
  }
120
123
  export declare enum IEstimateType {
121
124
  BRIDGE = "bridge",
@@ -327,6 +330,11 @@ export declare const AddressConst: {
327
330
  usdt: {
328
331
  eth: string;
329
332
  base: string;
333
+ avax: string;
334
+ arb: string;
335
+ };
336
+ susde: {
337
+ arb: string;
330
338
  };
331
339
  drv: {
332
340
  eth: string;
@@ -390,6 +398,13 @@ export declare const AddressConst: {
390
398
  sonic: string;
391
399
  etherlink: string;
392
400
  fraxtal: string;
401
+ avax: string;
402
+ };
403
+ vertai: {
404
+ avax: string;
405
+ };
406
+ xaut: {
407
+ avax: string;
393
408
  };
394
409
  link: {
395
410
  eth: string;
package/dist/cjs/types.js CHANGED
@@ -52,6 +52,9 @@ var DexType = /* @__PURE__ */ ((DexType2) => {
52
52
  DexType2["FRAXSWAPV2"] = "fraxswapv2";
53
53
  DexType2["AERODROMEV2"] = "aerodromev2";
54
54
  DexType2["SHADOWV2"] = "shadowv2";
55
+ DexType2["BLACKHOLEV3"] = "blackholev3";
56
+ DexType2["BLACKHOLEV2"] = "blackholev2";
57
+ DexType2["FLUID"] = "fluid";
55
58
  return DexType2;
56
59
  })(DexType || {});
57
60
  var IEstimateType = /* @__PURE__ */ ((IEstimateType2) => {
@@ -262,7 +265,12 @@ var AddressConst = {
262
265
  },
263
266
  usdt: {
264
267
  eth: "0xdAC17F958D2ee523a2206206994597C13D831ec7",
265
- base: "0xfde4c96c8593536e31f229ea8f37b2ada2699bb2"
268
+ base: "0xfde4c96c8593536e31f229ea8f37b2ada2699bb2",
269
+ avax: "0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7",
270
+ arb: "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9"
271
+ },
272
+ susde: {
273
+ arb: "0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2"
266
274
  },
267
275
  drv: {
268
276
  eth: "0xB1D1eae60EEA9525032a6DCb4c1CE336a1dE71BE"
@@ -325,7 +333,14 @@ var AddressConst = {
325
333
  eth: "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
326
334
  sonic: "0x29219dd400f2Bf60E5a23d13Be72B486D4038894",
327
335
  etherlink: "0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9",
328
- fraxtal: "0xDcc0F2D8F90FDe85b10aC1c8Ab57dc0AE946A543"
336
+ fraxtal: "0xDcc0F2D8F90FDe85b10aC1c8Ab57dc0AE946A543",
337
+ avax: "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E"
338
+ },
339
+ vertai: {
340
+ avax: "0x6EDac263561DA41aDe155a992759260FAFb87B43"
341
+ },
342
+ xaut: {
343
+ avax: "0x2775d5105276781B4b85bA6eA6a6653bEeD1dd32"
329
344
  },
330
345
  link: {
331
346
  eth: "0x514910771AF9Ca656af840dff83E8264EcF986CA"
@@ -115,7 +115,10 @@ export declare enum DexType {
115
115
  SHADOWV3 = "shadowv3",
116
116
  FRAXSWAPV2 = "fraxswapv2",
117
117
  AERODROMEV2 = "aerodromev2",
118
- SHADOWV2 = "shadowv2"
118
+ SHADOWV2 = "shadowv2",
119
+ BLACKHOLEV3 = "blackholev3",
120
+ BLACKHOLEV2 = "blackholev2",
121
+ FLUID = "fluid"
119
122
  }
120
123
  export declare enum IEstimateType {
121
124
  BRIDGE = "bridge",
@@ -327,6 +330,11 @@ export declare const AddressConst: {
327
330
  usdt: {
328
331
  eth: string;
329
332
  base: string;
333
+ avax: string;
334
+ arb: string;
335
+ };
336
+ susde: {
337
+ arb: string;
330
338
  };
331
339
  drv: {
332
340
  eth: string;
@@ -390,6 +398,13 @@ export declare const AddressConst: {
390
398
  sonic: string;
391
399
  etherlink: string;
392
400
  fraxtal: string;
401
+ avax: string;
402
+ };
403
+ vertai: {
404
+ avax: string;
405
+ };
406
+ xaut: {
407
+ avax: string;
393
408
  };
394
409
  link: {
395
410
  eth: string;
package/dist/esm/types.js CHANGED
@@ -25,6 +25,9 @@ export var DexType = /*#__PURE__*/function (DexType) {
25
25
  DexType["FRAXSWAPV2"] = "fraxswapv2";
26
26
  DexType["AERODROMEV2"] = "aerodromev2";
27
27
  DexType["SHADOWV2"] = "shadowv2";
28
+ DexType["BLACKHOLEV3"] = "blackholev3";
29
+ DexType["BLACKHOLEV2"] = "blackholev2";
30
+ DexType["FLUID"] = "fluid";
28
31
  return DexType;
29
32
  }({});
30
33
  export var IEstimateType = /*#__PURE__*/function (IEstimateType) {
@@ -235,7 +238,12 @@ export var AddressConst = {
235
238
  },
236
239
  usdt: {
237
240
  eth: '0xdAC17F958D2ee523a2206206994597C13D831ec7',
238
- base: '0xfde4c96c8593536e31f229ea8f37b2ada2699bb2'
241
+ base: '0xfde4c96c8593536e31f229ea8f37b2ada2699bb2',
242
+ avax: '0x9702230A8Ea53601f5cD2dc00fDBc13d4dF4A8c7',
243
+ arb: '0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9'
244
+ },
245
+ susde: {
246
+ arb: '0x211Cc4DD073734dA055fbF44a2b4667d5E5fE5d2'
239
247
  },
240
248
  drv: {
241
249
  eth: '0xB1D1eae60EEA9525032a6DCb4c1CE336a1dE71BE'
@@ -298,7 +306,14 @@ export var AddressConst = {
298
306
  eth: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
299
307
  sonic: '0x29219dd400f2Bf60E5a23d13Be72B486D4038894',
300
308
  etherlink: '0x796Ea11Fa2dD751eD01b53C372fFDB4AAa8f00F9',
301
- fraxtal: '0xDcc0F2D8F90FDe85b10aC1c8Ab57dc0AE946A543'
309
+ fraxtal: '0xDcc0F2D8F90FDe85b10aC1c8Ab57dc0AE946A543',
310
+ avax: '0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E'
311
+ },
312
+ vertai: {
313
+ avax: '0x6EDac263561DA41aDe155a992759260FAFb87B43'
314
+ },
315
+ xaut: {
316
+ avax: '0x2775d5105276781B4b85bA6eA6a6653bEeD1dd32'
302
317
  },
303
318
  link: {
304
319
  eth: '0x514910771AF9Ca656af840dff83E8264EcF986CA'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-swap",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "A TypeScript utility library for swap and bridge",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",