Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions dbt_subprojects/dex/macros/dex_evm_chains.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{# Canonical list of EVM chains covered by dex.trades / dex_evm.trades.
Add or remove a chain here in one place; both sector-level models will
pick up the change automatically. #}
{% macro dex_evm_chains() %}
{{ return([
'abstract'
, 'apechain'
, 'arbitrum'
, 'avalanche_c'
, 'base'
, 'berachain'
, 'blast'
, 'bnb'
, 'boba'
, 'celo'
, 'corn'
, 'cronos'
, 'ethereum'
, 'fantom'
, 'flare'
, 'flow'
, 'gnosis'
, 'hemi'
, 'hyperevm'
, 'ink'
, 'kaia'
, 'katana'
, 'linea'
, 'mantle'
, 'megaeth'
, 'mezo'
, 'monad'
, 'morph'
, 'nova'
, 'opbnb'
, 'optimism'
, 'peaq'
, 'plasma'
, 'plume'
, 'polygon'
, 'robinhood'
, 'ronin'
, 'scroll'
, 'sei'
, 'shape'
, 'somnia'
, 'sonic'
, 'sophon'
, 'story'
, 'superseed'
, 'tac'
, 'taiko'
, 'tempo'
, 'tezos_evm'
, 'unichain'
, 'worldchain'
, 'xlayer'
, 'zkevm'
, 'zksync'
, 'zora'
]) }}
{% endmacro %}
58 changes: 1 addition & 57 deletions dbt_subprojects/dex/models/trades/dex_evm_trades.sql
Original file line number Diff line number Diff line change
@@ -1,60 +1,4 @@
{% set chains = [
'abstract'
, 'apechain'
, 'arbitrum'
, 'avalanche_c'
, 'base'
, 'berachain'
, 'blast'
, 'bnb'
, 'boba'
, 'celo'
, 'corn'
, 'cronos'
, 'ethereum'
, 'fantom'
, 'flare'
, 'flow'
, 'gnosis'
, 'hemi'
, 'hyperevm'
, 'ink'
, 'kaia'
, 'katana'
, 'linea'
, 'mantle'
, 'megaeth'
, 'mezo'
, 'monad'
, 'morph'
, 'nova'
, 'opbnb'
, 'optimism'
, 'peaq'
, 'plasma'
, 'plume'
, 'polygon'
, 'robinhood'
, 'ronin'
, 'scroll'
, 'sei'
, 'shape'
, 'somnia'
, 'sonic'
, 'sophon'
, 'story'
, 'superseed'
, 'tac'
, 'taiko'
, 'tempo'
, 'tezos_evm'
, 'unichain'
, 'worldchain'
, 'xlayer'
, 'zkevm'
, 'zksync'
, 'zora'
] %}
{% set chains = dex_evm_chains() %}

{{ config(
schema = 'dex_evm'
Expand Down
58 changes: 1 addition & 57 deletions dbt_subprojects/dex/models/trades/dex_trades.sql
Original file line number Diff line number Diff line change
@@ -1,60 +1,4 @@
{% set chains = [
'abstract'
, 'apechain'
, 'arbitrum'
, 'avalanche_c'
, 'base'
, 'berachain'
, 'blast'
, 'bnb'
, 'boba'
, 'celo'
, 'corn'
, 'cronos'
, 'ethereum'
, 'fantom'
, 'flare'
, 'flow'
, 'gnosis'
, 'hemi'
, 'hyperevm'
, 'ink'
, 'kaia'
, 'katana'
, 'linea'
, 'mantle'
, 'megaeth'
, 'mezo'
, 'monad'
, 'morph'
, 'nova'
, 'opbnb'
, 'optimism'
, 'peaq'
, 'plasma'
, 'plume'
, 'polygon'
, 'robinhood'
, 'ronin'
, 'scroll'
, 'sei'
, 'shape'
, 'somnia'
, 'sonic'
, 'sophon'
, 'story'
, 'superseed'
, 'tac'
, 'taiko'
, 'tempo'
, 'tezos_evm'
, 'unichain'
, 'worldchain'
, 'xlayer'
, 'zkevm'
, 'zksync'
, 'zora'
] %}
{% set chains = dex_evm_chains() %}

{{ config(
schema = 'dex'
Expand Down
68 changes: 68 additions & 0 deletions dbt_subprojects/hourly_spellbook/macros/gas_evm_chains.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{# Canonical list of EVM chains covered by gas.fees / gas_evm.fees.
Add or remove a chain here in one place; both sector-level models will
pick up the change automatically. Non-EVM chains covered by gas.fees
(e.g. tron) are unioned in separately by that model. #}
{% macro gas_evm_chains() %}
{{ return([
'abstract'
, 'apechain'
, 'arbitrum'
, 'avalanche_c'
, 'b3'
, 'base'
, 'berachain'
, 'blast'
, 'bnb'
, 'bob'
, 'boba'
, 'celo'
, 'corn'
, 'cronos'
, 'degen'
, 'ethereum'
, 'fantom'
, 'flare'
, 'gnosis'
, 'hemi'
, 'henesys'
, 'hyperevm'
, 'ink'
, 'kaia'
, 'katana'
, 'lens'
, 'linea'
, 'mantle'
, 'megaeth'
, 'mezo'
, 'monad'
, 'morph'
, 'nova'
, 'opbnb'
, 'optimism'
, 'peaq'
, 'plasma'
, 'plume'
, 'polygon'
, 'robinhood'
, 'ronin'
, 'rise'
, 'scroll'
, 'sei'
, 'shape'
, 'somnia'
, 'sonic'
, 'sophon'
, 'story'
, 'superseed'
, 'tac'
, 'taiko'
, 'tempo'
, 'tezos_evm'
, 'unichain'
, 'worldchain'
, 'xlayer'
, 'zkevm'
, 'zksync'
, 'zora'
]) }}
{% endmacro %}
Original file line number Diff line number Diff line change
@@ -1,65 +1,4 @@
{% set chains = [
'abstract'
, 'apechain'
, 'arbitrum'
, 'avalanche_c'
, 'b3'
, 'base'
, 'berachain'
, 'blast'
, 'bnb'
, 'bob'
, 'boba'
, 'celo'
, 'corn'
, 'cronos'
, 'degen'
, 'ethereum'
, 'fantom'
, 'flare'
, 'gnosis'
, 'hemi'
, 'henesys'
, 'hyperevm'
, 'ink'
, 'kaia'
, 'katana'
, 'lens'
, 'linea'
, 'mantle'
, 'megaeth'
, 'mezo'
, 'monad'
, 'morph'
, 'nova'
, 'opbnb'
, 'optimism'
, 'peaq'
, 'plasma'
, 'plume'
, 'polygon'
, 'robinhood'
, 'ronin'
, 'rise'
, 'scroll'
, 'sei'
, 'shape'
, 'somnia'
, 'sonic'
, 'sophon'
, 'story'
, 'superseed'
, 'tac'
, 'taiko'
, 'tempo'
, 'tezos_evm'
, 'unichain'
, 'worldchain'
, 'xlayer'
, 'zkevm'
, 'zksync'
, 'zora'
] %}
{% set chains = gas_evm_chains() %}

{{ config(
schema = 'gas_evm'
Expand Down
Loading
Loading