Skip to content

Commit

Permalink
chore: add console logs for more info about tokens transferred and th…
Browse files Browse the repository at this point in the history
…reshold
  • Loading branch information
blockchainguyy committed Nov 8, 2023
1 parent 7708f0b commit 662279f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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}$`);
}
}

Expand Down

0 comments on commit 662279f

Please sign in to comment.