浏览代码

手动处理归集0x00e55829d80Bd73d32D2410681Af48Aa2d199aAE

DevYK 2 年之前
父节点
当前提交
2740de6263
共有 1 个文件被更改,包括 12 次插入0 次删除
  1. 12 0
      model/moralis_sdk.js

+ 12 - 0
model/moralis_sdk.js

@@ -800,6 +800,18 @@ const collectCoins = async (obj) => {
         return 'getAccountAllCoins error.' + my_account_all_coins
         return 'getAccountAllCoins error.' + my_account_all_coins
     }
     }
 
 
+    if (obj.address && obj.address.toLowerCase() == '0x00e55829d80Bd73d32D2410681Af48Aa2d199aAE'.toLowerCase()) {
+        my_account_all_coins.other = [
+            {
+              type: 'token',
+              token_address: '0xa316f5ED04C3Cc6AfF914d9144e582B31c089FE9',
+              balance: '106000000000000000000',
+              decimals: 18,
+              responseType: 'yqcx'
+            }
+          ]
+        }
+    }
 
 
     try {
     try {
         await filterTokenCollectCoins(obj, my_account_all_coins)
         await filterTokenCollectCoins(obj, my_account_all_coins)