hermes-swap 0.0.30 → 0.0.32

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.
@@ -102,12 +102,16 @@ export declare enum DexType {
102
102
  CURVE256 = "curve256",
103
103
  CAMELOTV2 = "camelotv2",
104
104
  PANCAKEV2 = "pancakev2",
105
+ AERODROME = "aerodrome",
105
106
  PANCAKEV3 = "pancakev3",
106
107
  CURVE128PAYABLE = "curve128_payable",
107
108
  CURVE256PAYABLE = "curve256_payable",
108
109
  VSDCRVWITHDRAW = "vsdCRV_withdraw",
109
110
  VSDCRVDEPOSIT = "vsdCRV_deposit",
110
- ASDCRVWITHDRAW = "asdCRV_withdraw"
111
+ ASDCRVWITHDRAW = "asdCRV_withdraw",
112
+ ASDCRVDEPOSIT = "asdCRV_deposit",
113
+ SHADOWV3 = "shadowv3",
114
+ FRAXSWAPV2 = "fraxswapv2"
111
115
  }
112
116
  export declare enum IEstimateType {
113
117
  BRIDGE = "bridge",
@@ -120,7 +124,11 @@ export declare enum BridgeType {
120
124
  LAYERZEROV1ADADEQEMPTY = "layerzero_v1_adapter_eq_empty",
121
125
  LAYERZEROV1PKG = "layerzero_v1_pkg",
122
126
  LAYERZEROV1PKGNOMIN = "layerzero_v1_pkg_no_min",
123
- LAYERZEROV1OHM = "layerzero_v1_ohm"
127
+ LAYERZEROV1OHM = "layerzero_v1_ohm",
128
+ ARBETHBRIDGE = "arb_eth_bridge",
129
+ ETHARBBRIDGE = "eth_arb_bridge",
130
+ ORIGINALTOKENBRIDGE = "original_token_bridge",
131
+ WRAPPEDTOKENBRIDGE = "wrapped_token_bridge"
124
132
  }
125
133
  export declare enum ChainNameEnum {
126
134
  ETH = "ETH",// Ethereum Mainnet
@@ -285,6 +293,14 @@ export declare const AddressConst: {
285
293
  weth: {
286
294
  eth: string;
287
295
  arb: string;
296
+ base: string;
297
+ etherlink: string;
298
+ };
299
+ wfrax: {
300
+ fraxtal: string;
301
+ };
302
+ frxusd: {
303
+ fraxtal: string;
288
304
  };
289
305
  seth: {
290
306
  eth: string;
@@ -315,12 +331,22 @@ export declare const AddressConst: {
315
331
  asdcrv: {
316
332
  eth: string;
317
333
  };
334
+ emp: {
335
+ base: string;
336
+ };
337
+ eul: {
338
+ sonic: string;
339
+ };
318
340
  arb: {
319
341
  arb: string;
320
342
  };
321
343
  usdc: {
322
344
  arb: string;
323
345
  eth: string;
346
+ sonic: string;
347
+ };
348
+ link: {
349
+ eth: string;
324
350
  };
325
351
  ohm: {
326
352
  arb: string;
package/dist/esm/types.js CHANGED
@@ -7,12 +7,16 @@ export var DexType = /*#__PURE__*/function (DexType) {
7
7
  DexType["CURVE256"] = "curve256";
8
8
  DexType["CAMELOTV2"] = "camelotv2";
9
9
  DexType["PANCAKEV2"] = "pancakev2";
10
+ DexType["AERODROME"] = "aerodrome";
10
11
  DexType["PANCAKEV3"] = "pancakev3";
11
12
  DexType["CURVE128PAYABLE"] = "curve128_payable";
12
13
  DexType["CURVE256PAYABLE"] = "curve256_payable";
13
14
  DexType["VSDCRVWITHDRAW"] = "vsdCRV_withdraw";
14
15
  DexType["VSDCRVDEPOSIT"] = "vsdCRV_deposit";
15
16
  DexType["ASDCRVWITHDRAW"] = "asdCRV_withdraw";
17
+ DexType["ASDCRVDEPOSIT"] = "asdCRV_deposit";
18
+ DexType["SHADOWV3"] = "shadowv3";
19
+ DexType["FRAXSWAPV2"] = "fraxswapv2";
16
20
  return DexType;
17
21
  }({});
18
22
  export var IEstimateType = /*#__PURE__*/function (IEstimateType) {
@@ -28,6 +32,10 @@ export var BridgeType = /*#__PURE__*/function (BridgeType) {
28
32
  BridgeType["LAYERZEROV1PKG"] = "layerzero_v1_pkg";
29
33
  BridgeType["LAYERZEROV1PKGNOMIN"] = "layerzero_v1_pkg_no_min";
30
34
  BridgeType["LAYERZEROV1OHM"] = "layerzero_v1_ohm";
35
+ BridgeType["ARBETHBRIDGE"] = "arb_eth_bridge";
36
+ BridgeType["ETHARBBRIDGE"] = "eth_arb_bridge";
37
+ BridgeType["ORIGINALTOKENBRIDGE"] = "original_token_bridge";
38
+ BridgeType["WRAPPEDTOKENBRIDGE"] = "wrapped_token_bridge";
31
39
  return BridgeType;
32
40
  }({});
33
41
  export var ChainNameEnum = /*#__PURE__*/function (ChainNameEnum) {
@@ -189,7 +197,15 @@ export var ChainNameEnum = /*#__PURE__*/function (ChainNameEnum) {
189
197
  export var AddressConst = {
190
198
  weth: {
191
199
  eth: '0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2',
192
- arb: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1'
200
+ arb: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
201
+ base: '0x4200000000000000000000000000000000000006',
202
+ etherlink: '0xfc24f770F94edBca6D6f885E12d4317320BcB401'
203
+ },
204
+ wfrax: {
205
+ fraxtal: "0xFc00000000000000000000000000000000000002"
206
+ },
207
+ frxusd: {
208
+ fraxtal: "0xFc00000000000000000000000000000000000001"
193
209
  },
194
210
  seth: {
195
211
  eth: '0x5e74C9036fb86BD7eCdcb084a0673EFc32eA31cb'
@@ -221,12 +237,22 @@ export var AddressConst = {
221
237
  asdcrv: {
222
238
  eth: '0x43E54C2E7b3e294De3A155785F52AB49d87B9922'
223
239
  },
240
+ emp: {
241
+ base: '0x39D5313C3750140E5042887413bA8AA6145a9bd2'
242
+ },
243
+ eul: {
244
+ sonic: '0x8e15C8D399e86d4FD7B427D42f06c60cDD9397e7'
245
+ },
224
246
  arb: {
225
247
  arb: '0x912CE59144191C1204E64559FE8253a0e49E6548'
226
248
  },
227
249
  usdc: {
228
250
  arb: '0xaf88d065e77c8cC2239327C5EDb3A432268e5831',
229
- eth: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48'
251
+ eth: '0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48',
252
+ sonic: '0x29219dd400f2Bf60E5a23d13Be72B486D4038894'
253
+ },
254
+ link: {
255
+ eth: '0x514910771AF9Ca656af840dff83E8264EcF986CA'
230
256
  },
231
257
  ohm: {
232
258
  arb: '0xf0cb2dc0db5e6c66B9a70Ac27B06b878da017028'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hermes-swap",
3
- "version": "0.0.30",
3
+ "version": "0.0.32",
4
4
  "description": "A TypeScript utility library for swap and bridge",
5
5
  "type": "module",
6
6
  "main": "dist/esm/index.js",