Skip to content

Commit

Permalink
Expose dex.trades
Browse files Browse the repository at this point in the history
  • Loading branch information
aalan3 committed Jul 11, 2024
1 parent cb3b91f commit f18ac1e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions dex/models/trades/dex_trades.sql
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@
, incremental_strategy = 'merge'
, unique_key = ['blockchain', 'project', 'version', 'tx_hash', 'evt_index']
, incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')]
)
post_hook='{{ expose_spells(\'["arbitrum", "avalanche_c", "base", "blast", "bnb", "celo", "ethereum", "fantom", "gnosis", "linea", "optimism", "polygon", "scroll", "zkevm", "zksync", "zora"]\',
"sector",
"dex",
\'["hosuke", "0xrob", "jeff-dude", "tomfutago"]\') }}')
}}

-- keep existing dbt lineages for the following projects, as the team built themselves and use the spells throughout the entire lineage
Expand Down Expand Up @@ -81,7 +84,7 @@ WITH curve AS (
'curve'
, 'as_is_dexs'
, 'dexs'
]
]
%}

{% for cte in cte_to_union %}
Expand Down

0 comments on commit f18ac1e

Please sign in to comment.