From cd3d581fef871486856e95ed1c2847d139ca80e2 Mon Sep 17 00:00:00 2001 From: alexshchur <60445720+alexshchur@users.noreply.github.com> Date: Fri, 20 Dec 2024 10:37:07 +0000 Subject: [PATCH] Revert "Revert "chore: new, more verbose format for exposing spells"" This reverts commit bbca1158ab43fc332a81a0a92b55b5f371f0faef. --- .../arbitrum/paraswap_v6_arbitrum_trades_decoded.sql | 8 ++++---- .../paraswap_v6_avalanche_c_trades_decoded.sql | 8 ++++---- .../paraswap/base/paraswap_v6_base_trades_decoded.sql | 8 ++++---- .../paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql | 8 ++++---- .../ethereum/paraswap_v6_ethereum_trades_decoded.sql | 8 ++++---- .../paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql | 8 ++++---- .../optimism/paraswap_v6_optimism_trades_decoded.sql | 8 ++++---- .../polygon/paraswap_v6_polygon_trades_decoded.sql | 8 ++++---- 8 files changed, 32 insertions(+), 32 deletions(-) diff --git a/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql index ce50d1056f1..1024152f7ff 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/arbitrum/paraswap_v6_arbitrum_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["arbitrum"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["arbitrum"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql index 36098d09277..01ff942135a 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/avalanche_c/paraswap_v6_avalanche_c_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["avalanche_c"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["avalanche_c"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql index 625bcbecb5a..3029cf2c40b 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/base/paraswap_v6_base_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["base"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["base"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql index 1637e4c8521..257c866aa86 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/bnb/paraswap_v6_bnb_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["bnb"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["bnb"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql index 32873c8a09b..a36e1034c9d 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/ethereum/paraswap_v6_ethereum_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["ethereum"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["ethereum"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql index bcf7c709082..796f9333021 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/fantom/paraswap_v6_fantom_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["fantom"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["fantom"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql index f93647900fa..e5b7223726d 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/optimism/paraswap_v6_optimism_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["optimism"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["optimism"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }} diff --git a/dbt_subprojects/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql b/dbt_subprojects/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql index 168fba0e72b..6672db00e66 100644 --- a/dbt_subprojects/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql +++ b/dbt_subprojects/dex/models/_projects/paraswap/polygon/paraswap_v6_polygon_trades_decoded.sql @@ -7,10 +7,10 @@ incremental_strategy = 'merge', incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')], unique_key = ['call_tx_hash', 'method', 'call_trace_address'], - post_hook='{{ expose_spells(\'["polygon"]\', - "project", - "paraswap_v6", - \'["eptighte", "mwamedacen"]\') }}' + post_hook='{{ expose_spells(blockchains = \'["polygon"]\', + spell_type = "project", + spell_name = "paraswap_v6", + contributors = \'["eptighte", "mwamedacen"]\') }}' ) }}