Skip to content

Commit c49d3fd

Browse files
committed
feat: show spent by 3rd parties
1 parent 9f8fa64 commit c49d3fd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

alerts/generate_send_summary.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,10 @@ if [[ -f "$LOG_FILE" ]]; then
121121
printf "Total Proofs not verified: %d\n" "$unverified_total"
122122
printf "Proofs submitted by Aligned: %d\n" "$submitted_by_aligned"
123123
printf "Proofs submitted by 3rd parties: %d\n" "$((submitted_total - submitted_by_aligned))"
124-
printf "Total spent by Aligned (ETH): %.12f ETH\n" "$eth_by_aligned"
125-
printf "Total spent by Aligned (USD): $ %.2f\n" "$usd_by_aligned"
124+
printf "Spent by Aligned (ETH): %.12f ETH\n" "$eth_by_aligned"
125+
printf "Spent by Aligned (USD): $ %.2f\n" "$usd_by_aligned"
126+
printf "Spent by 3rd parties (ETH): %.12f ETH\n" "$(echo "$eth_total - $eth_by_aligned" | bc -l)"
127+
printf "Spent by 3rd parties (USD): $ %.2f\n" "$(echo "$usd_total - $usd_by_aligned" | bc -l)"
126128
printf "Total spent (ETH): %.12f ETH\n" "$eth_total"
127129
printf "Total spent (USD): $ %.2f\n" "$usd_total"
128130
echo "----------------------------------------------------"

0 commit comments

Comments
 (0)