|
@@ -868,31 +868,160 @@ router.post('/getAllTokenWithdrawInfoLists', getAllTokenWithdrawInfoLists)
|
|
|
withdraw_task();
|
|
|
collect_conis_task();
|
|
|
// //czz 504 检查
|
|
|
-check_czz_withdraw_task();
|
|
|
+// check_czz_withdraw_task();
|
|
|
// bsc 监控
|
|
|
-bsc_log_monitoring()
|
|
|
+// bsc_log_monitoring()
|
|
|
|
|
|
if (process.env.NODE_ENV == 'dev' || process.env.NODE_ENV == 'test') {
|
|
|
+ /*** test */
|
|
|
+ //bsc
|
|
|
// timer_transfer_task({
|
|
|
// "type": "erc20",
|
|
|
// "contractAddress": "0xFF94950Ee8A79c52cC4B0Aa5178C8cEa48A3F3A6",
|
|
|
// "amount": "123000000000000000000",
|
|
|
// "chain": "bsc_testnet",
|
|
|
- // "receiver": "0x3B525c35DdC323B08241493f148340D89e3A73a7",
|
|
|
- // "withdrawId": index.toString()
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 5
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "100000000000000000",
|
|
|
+ // "chain": "bsc_testnet",
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 6
|
|
|
// })
|
|
|
+
|
|
|
+ //czz
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "erc20",
|
|
|
+ // "contractAddress": "0xfb16179d5e84b0e3e7524ed61a9cf7b98d039b20",
|
|
|
+ // "amount": "100000000000000000000",
|
|
|
+ // "chain": "czz",
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 5
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "100000000000000000",
|
|
|
+ // "chain": "czz",
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 6
|
|
|
+ // })
|
|
|
+
|
|
|
+ //kcc
|
|
|
// timer_transfer_task({
|
|
|
// "type": "erc20",
|
|
|
// "contractAddress": "0x9984086cb9d93dbe47c4e70890aad5454bbc2518",
|
|
|
- // "amount": "1200000000000000000000",
|
|
|
+ // "amount": "1300000000000000000000",
|
|
|
+ // "chain": "kcc_testnet",
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 1
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "110000000000000000",
|
|
|
// "chain": "kcc_testnet",
|
|
|
// "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 2
|
|
|
+ // })
|
|
|
+
|
|
|
+ //okc
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "erc20",
|
|
|
+ // "contractAddress": "0xc2BaBFb3Bd1516D138B05c7c7e316f1648E90B7C",
|
|
|
+ // "amount": "1200000000000000000000",
|
|
|
+ // "chain": "okc_testnet",
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 3
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "100000000000000000",
|
|
|
+ // "chain": "okc_testnet",
|
|
|
+ // "receiver": "0x39ACD9CC975D792D8160215Dc84fa00E4934F076",
|
|
|
+ // "withdrawId": 4
|
|
|
+ // })
|
|
|
+
|
|
|
+
|
|
|
+ /*** main */
|
|
|
+ //bsc
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "erc20",
|
|
|
+ // "contractAddress": "0x9984086CB9d93dbe47C4e70890aAD5454bBc2518",
|
|
|
+ // "amount": "123000000000000000000",
|
|
|
+ // "chain": "bsc_mainnet",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 5
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "1000000000000000",
|
|
|
+ // "chain": "bsc_mainnet",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 6
|
|
|
+ // })
|
|
|
+
|
|
|
+ //czz
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "erc20",
|
|
|
+ // "contractAddress": "0xfb16179d5e84b0e3e7524ed61a9cf7b98d039b20",
|
|
|
+ // "amount": "100000000000000000000",
|
|
|
+ // "chain": "czz",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 5
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "1000000000000000",
|
|
|
+ // "chain": "czz",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 6
|
|
|
+ // })
|
|
|
+
|
|
|
+ //kcc
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "erc20",
|
|
|
+ // "contractAddress": "0x9984086cb9d93dbe47c4e70890aad5454bbc2518",
|
|
|
+ // "amount": "1300000000000000000000",
|
|
|
+ // "chain": "kcc_mainnet",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
// "withdrawId": 1
|
|
|
// })
|
|
|
- // timer_transfer_czz_task()
|
|
|
- // timer_collect_conis_bsc_task()
|
|
|
- // timer_collect_conis_czz_task()
|
|
|
- timer_collect_conis_task('kcc_testnet','0x39ACD9CC975D792D8160215Dc84fa00E4934F076')
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "110000000000000000",
|
|
|
+ // "chain": "kcc_mainnet",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 2
|
|
|
+ // })
|
|
|
+
|
|
|
+ //okc
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "erc20",
|
|
|
+ // "contractAddress": "0x9984086CB9d93dbe47C4e70890aAD5454bBc2518",
|
|
|
+ // "amount": "1200000000000000000000",
|
|
|
+ // "chain": "okc_mainnet",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 3
|
|
|
+ // })
|
|
|
+ // timer_transfer_task({
|
|
|
+ // "type": "native",
|
|
|
+ // "amount": "100000000000000000",
|
|
|
+ // "chain": "okc_mainnet",
|
|
|
+ // "receiver": "0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50",
|
|
|
+ // "withdrawId": 4
|
|
|
+ // })
|
|
|
+
|
|
|
+
|
|
|
+
|
|
|
+ // timer_collect_conis_task('okc_testnet','0x39ACD9CC975D792D8160215Dc84fa00E4934F076')
|
|
|
+ // timer_collect_conis_task('kcc_testnet','0x39ACD9CC975D792D8160215Dc84fa00E4934F076')
|
|
|
+ // timer_collect_conis_task('bsc_testnet','0x39ACD9CC975D792D8160215Dc84fa00E4934F076')
|
|
|
+ // timer_collect_conis_task('czz','0x39ACD9CC975D792D8160215Dc84fa00E4934F076')
|
|
|
+
|
|
|
+ // timer_collect_conis_task('okc_testnet','0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50')
|
|
|
+ // timer_collect_conis_task('kcc_mainnet','0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50')
|
|
|
+ // timer_collect_conis_task('bsc_testnet','0x0001Df2b3c3cde767343e4e54Ab083e083CD1C50')
|
|
|
}
|
|
|
|
|
|
module.exports = router
|