From dc82852b63c5e54899126ff3dd8a9f6d94538644 Mon Sep 17 00:00:00 2001 From: SebMelendez01 <78228475+SebMelendez01@users.noreply.github.com> Date: Mon, 2 Sep 2024 21:02:21 -0400 Subject: [PATCH] Stablecoins (TON): Updating stablecoin metrics for ton (#457) --- macros/stablecoins/stablecoin_metrics.sql | 24 +++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/macros/stablecoins/stablecoin_metrics.sql b/macros/stablecoins/stablecoin_metrics.sql index 261135d8..59786a59 100644 --- a/macros/stablecoins/stablecoin_metrics.sql +++ b/macros/stablecoins/stablecoin_metrics.sql @@ -170,12 +170,24 @@ select date , from_address - , contract_name - , contract - , application - , icon - , app - , category + -- There is currently an issue with ton data + -- In order to fix this in the short term we need to remove all tags. + {% if chain == 'ton' %} + , null as contract_name + , null as contract + , null as application + , null as icon + , null as app + , null as category + {% else %} + , contract_name + , contract + , application + , icon + , app + , category + {% endif %} + , is_wallet , contract_address