Skip to content

Commit

Permalink
renamed liquidity to supply
Browse files Browse the repository at this point in the history
  • Loading branch information
Mik-TF committed Mar 14, 2024
1 parent cf4717e commit 7c65dba
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/calculate_marketcap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ url="https://api.coingecko.com/api/v3/simple/price?ids=${coinId}&vs_currencies=u
curl -sL ${url} \
-H 'Accept: application/json' | jq '."threefold-token".usd' | xargs printf "%.3f" > tft_value.md

liquidity=$(cat tft_liquidity.md)
supply=$(cat tft_supply.md)

value=$(cat tft_value.md)

TFT_MARKETCAP=$(echo "$liquidity * $value" | bc -l)
TFT_MARKETCAP=$(echo "$supply * $value" | bc -l)

printf "%'.0f" $TFT_MARKETCAP > tft_marketcap.md
File renamed without changes.

0 comments on commit 7c65dba

Please sign in to comment.