skyfffire 3 жил өмнө
parent
commit
8746b1827f
1 өөрчлөгдсөн 13 нэмэгдсэн , 13 устгасан
  1. 13 13
      scripts/lp/lpMaintenance.ts

+ 13 - 13
scripts/lp/lpMaintenance.ts

@@ -216,19 +216,19 @@ export class LpMaintenance {
       // v3是从1开始
       lp = await this.getV3Pool(routerObj, position + 1, v3Tool, v3PositionManager)
     }
-    if (lp) {
-      // 保存Lp信息
-      await this.saveLp(lp, '0')
-      // 保存Lp的Token到Token表
-      await this.saveToken(lp, 'token')
-      // 过滤Lp
-      if (await this.filterLp(lp)) {
-        // 保存筛选之后的的Token到TopToken表
-        await this.saveToken(lp, 'topToken')
-        // 保存过滤后的Lp到TopLp
-        await this.saveLp(lp, 'topLp')
-      }
-    }
+    // if (lp) {
+    //   // 保存Lp信息
+    //   await this.saveLp(lp, '0')
+    //   // 保存Lp的Token到Token表
+    //   await this.saveToken(lp, 'token')
+    //   // 过滤Lp
+    //   if (await this.filterLp(lp)) {
+    //     // 保存筛选之后的的Token到TopToken表
+    //     await this.saveToken(lp, 'topToken')
+    //     // 保存过滤后的Lp到TopLp
+    //     await this.saveLp(lp, 'topLp')
+    //   }
+    // }
 
     const memoryUsage = process.memoryUsage()
     if (this.maxMemoryOfByte < memoryUsage.rss) {