@clonegod/ttd-core 2.0.64 → 2.0.66

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/index.d.ts CHANGED
@@ -64,7 +64,9 @@ export declare enum DEX_ID {
64
64
  BLACKHOLE_V3 = "BLACKHOLE-V3",
65
65
  POTATO_AMM = "POTATO-AMM",
66
66
  DYOR_AMM = "DYOR-AMM",
67
- DYOR_CLMM = "DYOR-CLMM"
67
+ DYOR_CLMM = "DYOR-CLMM",
68
+ OKIE_AMM = "OKIE-AMM",
69
+ OKIE_CLMM = "OKIE-CLMM"
68
70
  }
69
71
  export declare enum GROUP_ID {
70
72
  TRON_DEV1 = "TRON-DEV1",
package/dist/index.js CHANGED
@@ -149,6 +149,8 @@ var DEX_ID;
149
149
  DEX_ID["POTATO_AMM"] = "POTATO-AMM";
150
150
  DEX_ID["DYOR_AMM"] = "DYOR-AMM";
151
151
  DEX_ID["DYOR_CLMM"] = "DYOR-CLMM";
152
+ DEX_ID["OKIE_AMM"] = "OKIE-AMM";
153
+ DEX_ID["OKIE_CLMM"] = "OKIE-CLMM";
152
154
  })(DEX_ID || (exports.DEX_ID = DEX_ID = {}));
153
155
  var GROUP_ID;
154
156
  (function (GROUP_ID) {
@@ -210,6 +212,7 @@ const format_symbol_name = (symbol) => {
210
212
  .replace('WBTC', 'BTC')
211
213
  .replace('WETH', 'ETH')
212
214
  .replace('WBNB', 'BNB')
215
+ .replace('WOKB', 'OKB')
213
216
  .toUpperCase();
214
217
  };
215
218
  exports.format_symbol_name = format_symbol_name;
@@ -12,6 +12,7 @@ const formate_token_symbol = (symbol) => {
12
12
  .replace('WBNB', 'BNB')
13
13
  .replace('WTRX', 'TRX')
14
14
  .replace('WAVAX', 'AVAX')
15
+ .replace('WOKB', 'OKB')
15
16
  .trim();
16
17
  };
17
18
  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.64",
3
+ "version": "2.0.66",
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",