From 662279f1ea55d05638b113f2fbcea0888e74be84 Mon Sep 17 00:00:00 2001 From: blockchainguyy Date: Wed, 8 Nov 2023 19:25:05 +0530 Subject: [PATCH] chore: add console logs for more info about tokens transferred and threshold --- .../token-transfers/token-transfers/handleTokenTransfer.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tenderly-suite/token-transfers/token-transfers/handleTokenTransfer.js b/tenderly-suite/token-transfers/token-transfers/handleTokenTransfer.js index 9d4471cf..b5655e62 100755 --- a/tenderly-suite/token-transfers/token-transfers/handleTokenTransfer.js +++ b/tenderly-suite/token-transfers/token-transfers/handleTokenTransfer.js @@ -118,6 +118,8 @@ const handleTokenTransferFn = async (context, event) => { amountsAboveThreshold.push(totalAmount); prices.push(tokenPrice); symbols.push(symbol); + console.log(`Token threhold of ${tokenThreshold[severity - 1]} crossed for severity level ${severity}`); + console.log(`Total ${symbol} tokens transferred are ${tokenTransferAmount} with current USD value of ${totalAmount}$`); } }