@clonegod/ttd-core 2.0.37 → 2.0.38

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.
@@ -20,8 +20,8 @@ const gecko_terminal_1 = require("./gecko_terminal");
20
20
  const price_cache_1 = require("./price_cache");
21
21
  function get_tron_token_price_info(addresses) {
22
22
  return __awaiter(this, void 0, void 0, function* () {
23
+ (0, index_1.log_info)(`get_tron_token_price_info`, addresses);
23
24
  const result = new Map();
24
- addresses = addresses.map(e => e.toUpperCase());
25
25
  const PRICE_CHANNELS = [
26
26
  {
27
27
  name: 'CachedPrice',
@@ -192,10 +192,8 @@ function fetchPriceFromTronscanALL(addresses) {
192
192
  if (require.main === module) {
193
193
  (() => __awaiter(void 0, void 0, void 0, function* () {
194
194
  let addresses = [
195
- "TNUC9Qb1rRpS5CbWLmNMxXBjyFoydXjWFR",
196
- "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
197
- "TCFLL5dx5ZJdKnWuesXxi1VPwjLVmWZZy9",
195
+ "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
196
+ "TMacq4TDUw5q8NFBwmbY4RLXvzvG5JTkvi",
198
197
  ];
199
- console.log(yield (0, gecko_terminal_1.fetchPriceFromGeckoTerminal)(index_1.CHAIN_ID.TRON, addresses));
200
198
  }))();
201
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clonegod/ttd-core",
3
- "version": "2.0.37",
3
+ "version": "2.0.38",
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",