@clonegod/ttd-core 2.1.21 → 2.1.23
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/cache/arb_cache.js +0 -2
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/dist/cache/arb_cache.js
CHANGED
|
@@ -608,7 +608,6 @@ class ArbCache {
|
|
|
608
608
|
if ((0, index_1.isEmpty)(group_id)) {
|
|
609
609
|
throw new Error(`get_trade_service_by_group_id_no_cache, invalid group_id=${group_id}, return`);
|
|
610
610
|
}
|
|
611
|
-
(0, index_1.log_info)(`get_trade_service_by_group_id_no_cache, group_id=${group_id}, start`);
|
|
612
611
|
let res = yield this.loading_cache.hget(this.chain_id, index_1.CACHE_KEY_TYPE.CONFIG_TRADE_SERVICE, group_id);
|
|
613
612
|
let { key, field, value } = res;
|
|
614
613
|
let trade_group;
|
|
@@ -619,7 +618,6 @@ class ArbCache {
|
|
|
619
618
|
else {
|
|
620
619
|
throw new Error(`get_trade_service_by_group_id_no_cache, failed! group_id=${group_id}, not exist!`);
|
|
621
620
|
}
|
|
622
|
-
(0, index_1.log_info)(`get_trade_service_by_group_id_no_cache, end`);
|
|
623
621
|
return trade_group;
|
|
624
622
|
});
|
|
625
623
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -58,6 +58,7 @@ export declare enum DEX_ID {
|
|
|
58
58
|
PANCAKE_BIN = "PANCAKE-BIN",
|
|
59
59
|
AERODROME_AMM = "AERODROME-AMM",
|
|
60
60
|
AERODROME_CLMM = "AERODROME-CLMM",
|
|
61
|
+
AERODROME_CLMM_V2 = "AERODROME-CLMMV2",
|
|
61
62
|
UNISWAP_AMM = "UNISWAP-AMM",
|
|
62
63
|
UNISWAP_CLMM = "UNISWAP-CLMM",
|
|
63
64
|
UNISWAP_V4 = "UNISWAP-V4",
|
package/dist/index.js
CHANGED
|
@@ -142,6 +142,7 @@ var DEX_ID;
|
|
|
142
142
|
DEX_ID["PANCAKE_BIN"] = "PANCAKE-BIN";
|
|
143
143
|
DEX_ID["AERODROME_AMM"] = "AERODROME-AMM";
|
|
144
144
|
DEX_ID["AERODROME_CLMM"] = "AERODROME-CLMM";
|
|
145
|
+
DEX_ID["AERODROME_CLMM_V2"] = "AERODROME-CLMMV2";
|
|
145
146
|
DEX_ID["UNISWAP_AMM"] = "UNISWAP-AMM";
|
|
146
147
|
DEX_ID["UNISWAP_CLMM"] = "UNISWAP-CLMM";
|
|
147
148
|
DEX_ID["UNISWAP_V4"] = "UNISWAP-V4";
|