@clonegod/ttd-core 2.0.52 → 2.0.55

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.
@@ -17,6 +17,12 @@ export declare const EvmChainConfig: {
17
17
  chain_full_name: string;
18
18
  weth_addr: string;
19
19
  };
20
+ AVAX: {
21
+ chain_id: number;
22
+ chain_short_name: string;
23
+ chain_full_name: string;
24
+ weth_addr: string;
25
+ };
20
26
  };
21
27
  export type EvmChainInfoType = {
22
28
  chain_id: number;
@@ -20,4 +20,10 @@ exports.EvmChainConfig = {
20
20
  chain_full_name: 'ARBITRUM',
21
21
  weth_addr: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1".toLowerCase(),
22
22
  },
23
+ "AVAX": {
24
+ chain_id: 43114,
25
+ chain_short_name: 'AVAX',
26
+ chain_full_name: 'AVALANCHE',
27
+ weth_addr: "0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7".toLowerCase(),
28
+ },
23
29
  };
package/dist/index.d.ts CHANGED
@@ -52,7 +52,9 @@ export declare enum DEX_ID {
52
52
  AERODROME_CLMM = "AERODROME-CLMM",
53
53
  UNISWAP_AMM = "UNISWAP-AMM",
54
54
  UNISWAP_CLMM = "UNISWAP-CLMM",
55
- UNISWAP_V4 = "UNISWAP-V4"
55
+ UNISWAP_V4 = "UNISWAP-V4",
56
+ LFJ_V1 = "LFJ-V1",
57
+ LFJ_V2 = "LFJ-V2"
56
58
  }
57
59
  export declare enum GROUP_ID {
58
60
  TRON_DEV1 = "TRON-DEV1",
package/dist/index.js CHANGED
@@ -137,6 +137,8 @@ var DEX_ID;
137
137
  DEX_ID["UNISWAP_AMM"] = "UNISWAP-AMM";
138
138
  DEX_ID["UNISWAP_CLMM"] = "UNISWAP-CLMM";
139
139
  DEX_ID["UNISWAP_V4"] = "UNISWAP-V4";
140
+ DEX_ID["LFJ_V1"] = "LFJ-V1";
141
+ DEX_ID["LFJ_V2"] = "LFJ-V2";
140
142
  })(DEX_ID || (exports.DEX_ID = DEX_ID = {}));
141
143
  var GROUP_ID;
142
144
  (function (GROUP_ID) {
@@ -11,6 +11,7 @@ const formate_token_symbol = (symbol) => {
11
11
  .replace('WETH', 'ETH').replace('WHETH', 'ETH')
12
12
  .replace('WBNB', 'BNB')
13
13
  .replace('WTRX', 'TRX')
14
+ .replace('WAVAX', 'AVAX')
14
15
  .trim();
15
16
  };
16
17
  exports.formate_token_symbol = formate_token_symbol;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.52",
3
+ "version": "2.0.55",
4
4
  "description": "Common types and utilities for trading systems - use `npm run push` to publish",
5
5
  "main": "dist/index.js",
6
6
  "types": "types/index.d.ts",