diff --git a/dbt_subprojects/dex/macros/models/_project/paraswap/all-entities.sql b/dbt_subprojects/dex/macros/models/_project/paraswap/all-entities.sql index 5c8ef50fa3b..6bb1b202c2f 100644 --- a/dbt_subprojects/dex/macros/models/_project/paraswap/all-entities.sql +++ b/dbt_subprojects/dex/macros/models/_project/paraswap/all-entities.sql @@ -5,14 +5,14 @@ set date_to = "timestamp '{{date_to}}'" {% set date_from = "timestamp '{{date_from}}'" %} - +{# 0xace5ae3de4baffc4a45028659c5ee330764e4f53 is testing agent address on staging #} {% set delta_configs = [ ['ethereum', 'delta-v1-single', 'paraswapdelta_ethereum.ParaswapDeltav1_call_settleSwap', 'contract_address', 'call_block_time', 'call_tx_hash', null], ['ethereum', 'delta-v1-batch', 'paraswapdelta_ethereum.ParaswapDeltav1_call_safeSettleBatchSwap', 'contract_address', 'call_block_time', 'call_tx_hash', null], ['ethereum', 'delta-v2', 'paraswapdelta_ethereum.ParaswapDeltav2_evt_OrderSettled', 'contract_address', 'evt_block_time', 'evt_tx_hash', null], - ['base', 'delta-v2', 'paraswapdelta_base.ParaswapDeltav2_evt_OrderSettled', 'contract_address', 'evt_block_time', 'evt_tx_hash', null], + ['base', 'delta-v2', 'paraswapdelta_base.ParaswapDeltav2_evt_OrderSettled', 'contract_address', 'evt_block_time', 'evt_tx_hash', 'evt_tx_from <> 0xace5ae3de4baffc4a45028659c5ee330764e4f53'], ['ethereum', 'augustus', 'dex_aggregator.trades', 'project_contract_address', 'block_time', 'tx_hash', "project='paraswap' and blockchain='ethereum'"], diff --git a/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-aggregated.sql b/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-aggregated.sql index 7a8ae59866a..7afabd647e6 100644 --- a/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-aggregated.sql +++ b/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-aggregated.sql @@ -29,6 +29,8 @@ with entities as ( where (evt_block_time BETWEEN timestamp '{{date_from}}' AND timestamp '{{date_to}}') + AND evt_tx_from <> 0xace5ae3de4baffc4a45028659c5ee330764e4f53 + union all select 'augustus' as entity, 'ethereum' as blockchain, project_contract_address as contract_address, block_time as block_time, tx_hash as tx_hash from dex_aggregator.trades diff --git a/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-details.sql b/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-details.sql index 46173d8520c..10ee9214d65 100644 --- a/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-details.sql +++ b/dbt_subprojects/dex/target/compiled/dex/models/_projects/paraswap/all-entities-details.sql @@ -31,6 +31,8 @@ with entities as ( where (evt_block_time BETWEEN timestamp '{{date_from}}' AND timestamp '{{date_to}}') + AND evt_tx_from <> 0xace5ae3de4baffc4a45028659c5ee330764e4f53 + union all select 'augustus' as entity, 'ethereum' as blockchain, project_contract_address as contract_address, block_time as block_time, tx_hash as tx_hash from dex_aggregator.trades