@clonegod/ttd-core 3.1.112 → 3.1.114
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 +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/trade/abstract_tx_check.js +3 -0
- package/package.json +1 -1
package/dist/cache/arb_cache.js
CHANGED
|
@@ -908,7 +908,7 @@ class ArbCache {
|
|
|
908
908
|
console.log(`=================================================================================`);
|
|
909
909
|
console.log(`| TRADE GROUP RUNTIME |`);
|
|
910
910
|
console.log(`=================================================================================`);
|
|
911
|
-
console.dir(_trade_runtime, { depth:
|
|
911
|
+
console.dir(_trade_runtime, { depth: process.env.LOG_DEPTH ? Number(process.env.LOG_DEPTH) : null });
|
|
912
912
|
(0, index_1.log_trace)(`create_trade_runtime, end`);
|
|
913
913
|
return trade_runtime;
|
|
914
914
|
});
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,8 @@ export declare enum DEX_ID {
|
|
|
73
73
|
UNISWAP_AMM = "UNISWAP-AMM",
|
|
74
74
|
UNISWAP_CLMM = "UNISWAP-CLMM",
|
|
75
75
|
UNISWAP_V4 = "UNISWAP-V4",
|
|
76
|
+
UP_V2 = "UP-V2",
|
|
77
|
+
UP_V3 = "UP-V3",
|
|
76
78
|
MOMENTUM_CLMM = "MOMENTUM-CLMM",
|
|
77
79
|
CETUS_CLMM = "CETUS-CLMM",
|
|
78
80
|
BLUEFIN_CLMM = "BLUEFIN-CLMM",
|
package/dist/index.js
CHANGED
|
@@ -158,6 +158,8 @@ var DEX_ID;
|
|
|
158
158
|
DEX_ID["UNISWAP_AMM"] = "UNISWAP-AMM";
|
|
159
159
|
DEX_ID["UNISWAP_CLMM"] = "UNISWAP-CLMM";
|
|
160
160
|
DEX_ID["UNISWAP_V4"] = "UNISWAP-V4";
|
|
161
|
+
DEX_ID["UP_V2"] = "UP-V2";
|
|
162
|
+
DEX_ID["UP_V3"] = "UP-V3";
|
|
161
163
|
DEX_ID["MOMENTUM_CLMM"] = "MOMENTUM-CLMM";
|
|
162
164
|
DEX_ID["CETUS_CLMM"] = "CETUS-CLMM";
|
|
163
165
|
DEX_ID["BLUEFIN_CLMM"] = "BLUEFIN-CLMM";
|
|
@@ -149,6 +149,9 @@ class AbstractTransactionResultCheck {
|
|
|
149
149
|
execution: trade_extra_info,
|
|
150
150
|
c_id
|
|
151
151
|
};
|
|
152
|
+
const analyzeExtra = swap_result.analyze_extra;
|
|
153
|
+
if (analyzeExtra && typeof analyzeExtra === 'object')
|
|
154
|
+
Object.assign(trade_result, analyzeExtra);
|
|
152
155
|
(0, analyze_1.report_data_to_analyze)('TradeResultType', trade_result);
|
|
153
156
|
return trade_result;
|
|
154
157
|
}
|