Skip to content

Commit

Permalink
Add metrics breakdown table for EVM chains (#259)
Browse files Browse the repository at this point in the history
  • Loading branch information
anthonyyim authored Jun 28, 2024
1 parent 131df4f commit 041e390
Show file tree
Hide file tree
Showing 9 changed files with 71 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
)
}}

{{distinct_contract_addresses("base")}}
{{distinct_contract_addresses("base")}}
8 changes: 8 additions & 0 deletions models/dimensions/contracts/dim_blast_contract_addresses.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{
config(
materialized="incremental",
snowflake_warehouse="BLAST"
)
}}

{{distinct_contract_addresses("blast")}}
8 changes: 8 additions & 0 deletions models/dimensions/contracts/dim_bsc_contract_addresses.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{
config(
materialized="incremental",
snowflake_warehouse="BSC"
)
}}

{{distinct_contract_addresses("bsc")}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{
config(
materialized="incremental",
unique_key=["date", "contract_address", "from_address"],
snowflake_warehouse="BALANCES_LG",
)
}}

{{ agg_daily_stablecoin_metrics_breakdown("arbitrum") }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{
config(
materialized="incremental",
unique_key=["date", "contract_address", "from_address"],
snowflake_warehouse="BALANCES_LG_2",
)
}}

{{ agg_daily_stablecoin_metrics_breakdown("avalanche") }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{
config(
materialized="incremental",
unique_key=["date", "contract_address", "from_address"],
snowflake_warehouse="BALANCES_LG_2",
)
}}

{{ agg_daily_stablecoin_metrics_breakdown("blast") }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{
config(
materialized="incremental",
unique_key=["date", "contract_address", "from_address"],
snowflake_warehouse="BALANCES_LG",
)
}}

{{ agg_daily_stablecoin_metrics_breakdown("bsc") }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{
config(
materialized="incremental",
unique_key=["date", "contract_address", "from_address"],
snowflake_warehouse="BALANCES_LG_2",
)
}}

{{ agg_daily_stablecoin_metrics_breakdown("optimism") }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{{
config(
materialized="incremental",
unique_key=["date", "contract_address", "from_address"],
snowflake_warehouse="BALANCES_LG_2",
)
}}

{{ agg_daily_stablecoin_metrics_breakdown("polygon") }}

0 comments on commit 041e390

Please sign in to comment.