From 8c11cce598c862ad65af2858c575cfc3adb3f8c3 Mon Sep 17 00:00:00 2001 From: agaperste Date: Fri, 24 Jan 2025 15:47:08 -0500 Subject: [PATCH] adding rest of the wave1 v4 deployment to dex.trades (fingers crossed dbt run works!) --- .../dex/models/trades/arbitrum/_schema.yml | 19 +++++++++++++++++ .../arbitrum/dex_arbitrum_base_trades.sql | 1 + .../uniswap_v4_arbitrum_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/avalanche_c/_schema.yml | 19 +++++++++++++++++ .../dex_avalanche_c_base_trades.sql | 1 + .../uniswap_v4_avalanche_c_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/blast/_schema.yml | 19 +++++++++++++++++ .../trades/blast/dex_blast_base_trades.sql | 1 + .../uniswap_v4_blast_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/bnb/_schema.yml | 19 +++++++++++++++++ .../models/trades/bnb/dex_bnb_base_trades.sql | 1 + .../platforms/uniswap_v4_bnb_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/ethereum/_schema.yml | 19 +++++++++++++++++ .../ethereum/dex_ethereum_base_trades.sql | 1 + .../uniswap_v4_ethereum_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/optimism/_schema.yml | 19 +++++++++++++++++ .../optimism/dex_optimism_base_trades.sql | 1 + .../uniswap_v4_optimism_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/polygon/_schema.yml | 19 +++++++++++++++++ .../polygon/dex_polygon_base_trades.sql | 1 + .../uniswap_v4_polygon_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/worldchain/_schema.yml | 21 ++++++++++++++++++- .../worldchain/dex_worldchain_base_trades.sql | 1 + .../uniswap_v4_worldchain_base_trades.sql | 20 ++++++++++++++++++ .../dex/models/trades/zora/_schema.yml | 21 ++++++++++++++++++- .../trades/zora/dex_zora_base_trades.sql | 5 +++-- .../platforms/uniswap_v4_zora_base_trades.sql | 20 ++++++++++++++++++ .../uniswap_arbitrum_base_trades_seed.csv | 2 ++ .../uniswap_avalanche_c_base_trades_seed.csv | 2 ++ .../trades/uniswap_blast_base_trades_seed.csv | 1 + .../trades/uniswap_bnb_base_trades_seed.csv | 2 ++ .../uniswap_ethereum_base_trades_seed.csv | 2 ++ .../uniswap_optimism_base_trades_seed.csv | 2 ++ .../uniswap_polygon_base_trades_seed.csv | 2 ++ .../uniswap_worldchain_base_trades_seed.csv | 2 ++ .../_sector/dex/trades/arbitrum/_sources.yml | 4 ++++ .../dex/trades/avalanche_c/_sources.yml | 4 ++++ sources/_sector/dex/trades/blast/_sources.yml | 4 ++++ sources/_sector/dex/trades/bnb/_sources.yml | 5 +++++ .../_sector/dex/trades/ethereum/_sources.yml | 4 ++++ .../_sector/dex/trades/optimism/_sources.yml | 4 ++++ .../_sector/dex/trades/polygon/_sources.yml | 4 ++++ .../dex/trades/worldchain/_sources.yml | 4 ++++ sources/_sector/dex/trades/zora/_sources.yml | 4 ++++ 44 files changed, 416 insertions(+), 4 deletions(-) create mode 100644 dbt_subprojects/dex/models/trades/arbitrum/platforms/uniswap_v4_arbitrum_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/avalanche_c/platforms/uniswap_v4_avalanche_c_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/blast/platforms/uniswap_v4_blast_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/bnb/platforms/uniswap_v4_bnb_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/ethereum/platforms/uniswap_v4_ethereum_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/optimism/platforms/uniswap_v4_optimism_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/polygon/platforms/uniswap_v4_polygon_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/worldchain/platforms/uniswap_v4_worldchain_base_trades.sql create mode 100644 dbt_subprojects/dex/models/trades/zora/platforms/uniswap_v4_zora_base_trades.sql diff --git a/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml b/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml index e5a94dc632d..9c8cc65063b 100644 --- a/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml +++ b/dbt_subprojects/dex/models/trades/arbitrum/_schema.yml @@ -8,6 +8,25 @@ models: column_name: amount_usd max_value: 1000000000 + - name: uniswap_v4_arbitrum_base_trades + meta: + blockchain: arbitrum + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'arbitrum', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap arbitrum v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_arbitrum_base_trades_seed') + filter: + version: 4 + - name: uniswap_v3_arbitrum_base_trades meta: blockchain: arbitrum diff --git a/dbt_subprojects/dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql b/dbt_subprojects/dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql index c312c78bd4e..6e09d2f1f74 100644 --- a/dbt_subprojects/dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/arbitrum/dex_arbitrum_base_trades.sql @@ -7,6 +7,7 @@ {% set base_models = [ ref('uniswap_v3_arbitrum_base_trades') + , ref('uniswap_v4_arbitrum_base_trades') , ref('camelot_v2_arbitrum_base_trades') , ref('camelot_v3_arbitrum_base_trades') , ref('airswap_arbitrum_base_trades') diff --git a/dbt_subprojects/dex/models/trades/arbitrum/platforms/uniswap_v4_arbitrum_base_trades.sql b/dbt_subprojects/dex/models/trades/arbitrum/platforms/uniswap_v4_arbitrum_base_trades.sql new file mode 100644 index 00000000000..6ee7dd9fc07 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/arbitrum/platforms/uniswap_v4_arbitrum_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_arbitrum' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'arbitrum' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_arbitrum', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_arbitrum', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml b/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml index a7ec316dc94..06f798852b5 100644 --- a/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml +++ b/dbt_subprojects/dex/models/trades/avalanche_c/_schema.yml @@ -8,6 +8,25 @@ models: column_name: amount_usd max_value: 1000000000 + - name: uniswap_v4_avalanche_c_base_trades + meta: + blockchain: avalanche_c + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'avalanche_c', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap avalanche_c v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_avalanche_c_base_trades_seed') + filter: + version: 4 + - name: uniswap_v3_avalanche_c_base_trades meta: blockchain: avalanche_c diff --git a/dbt_subprojects/dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql b/dbt_subprojects/dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql index f9cac620cec..8362b744e82 100644 --- a/dbt_subprojects/dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/avalanche_c/dex_avalanche_c_base_trades.sql @@ -7,6 +7,7 @@ {% set base_models = [ ref('uniswap_v3_avalanche_c_base_trades') + , ref('uniswap_v4_avalanche_c_base_trades') , ref('airswap_avalanche_c_base_trades') , ref('sushiswap_v1_avalanche_c_base_trades') , ref('sushiswap_v2_avalanche_c_base_trades') diff --git a/dbt_subprojects/dex/models/trades/avalanche_c/platforms/uniswap_v4_avalanche_c_base_trades.sql b/dbt_subprojects/dex/models/trades/avalanche_c/platforms/uniswap_v4_avalanche_c_base_trades.sql new file mode 100644 index 00000000000..9bed45eed9d --- /dev/null +++ b/dbt_subprojects/dex/models/trades/avalanche_c/platforms/uniswap_v4_avalanche_c_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_avalanche_c' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'avalanche_c' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_avalanche_c', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_avalanche_c', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/blast/_schema.yml b/dbt_subprojects/dex/models/trades/blast/_schema.yml index b68f456760d..28a18cebe31 100644 --- a/dbt_subprojects/dex/models/trades/blast/_schema.yml +++ b/dbt_subprojects/dex/models/trades/blast/_schema.yml @@ -8,6 +8,25 @@ models: column_name: amount_usd max_value: 1000000000 + - name: uniswap_v4_blast_base_trades + meta: + blockchain: blast + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'blast', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap blast v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_blast_base_trades_seed') + filter: + version: 4 + - name: uniswap_v3_blast_base_trades meta: blockchain: blast diff --git a/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql b/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql index 8a41bfa1d6e..636ec489dc8 100644 --- a/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/blast/dex_blast_base_trades.sql @@ -7,6 +7,7 @@ {% set base_models = [ ref('uniswap_v3_blast_base_trades') + , ref('uniswap_v4_blast_base_trades') , ref('uniswap_v2_blast_base_trades') , ref('thruster_blast_base_trades') , ref('blasterswap_blast_base_trades') diff --git a/dbt_subprojects/dex/models/trades/blast/platforms/uniswap_v4_blast_base_trades.sql b/dbt_subprojects/dex/models/trades/blast/platforms/uniswap_v4_blast_base_trades.sql new file mode 100644 index 00000000000..862c8a2cecd --- /dev/null +++ b/dbt_subprojects/dex/models/trades/blast/platforms/uniswap_v4_blast_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_blast' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'blast' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_blast', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_blast', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/bnb/_schema.yml b/dbt_subprojects/dex/models/trades/bnb/_schema.yml index 789c78a52bb..586985f4735 100644 --- a/dbt_subprojects/dex/models/trades/bnb/_schema.yml +++ b/dbt_subprojects/dex/models/trades/bnb/_schema.yml @@ -8,6 +8,25 @@ models: column_name: amount_usd max_value: 1000000000 + - name: uniswap_v4_bnb_base_trades + meta: + blockchain: bnb + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'bnb', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap bnb v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_bnb_base_trades_seed') + filter: + version: 4 + - name: uniswap_v3_bnb_base_trades meta: blockchain: bnb diff --git a/dbt_subprojects/dex/models/trades/bnb/dex_bnb_base_trades.sql b/dbt_subprojects/dex/models/trades/bnb/dex_bnb_base_trades.sql index 59576c37b42..7d2b3d78eb5 100644 --- a/dbt_subprojects/dex/models/trades/bnb/dex_bnb_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/bnb/dex_bnb_base_trades.sql @@ -9,6 +9,7 @@ -- (blockchain, project, project_version, model) {% set base_models = [ ref('uniswap_v3_bnb_base_trades') + , ref('uniswap_v4_arbitrum_base_trades') , ref('apeswap_bnb_base_trades') , ref('airswap_bnb_base_trades') , ref('sushiswap_v1_bnb_base_trades') diff --git a/dbt_subprojects/dex/models/trades/bnb/platforms/uniswap_v4_bnb_base_trades.sql b/dbt_subprojects/dex/models/trades/bnb/platforms/uniswap_v4_bnb_base_trades.sql new file mode 100644 index 00000000000..3c964c1dc1c --- /dev/null +++ b/dbt_subprojects/dex/models/trades/bnb/platforms/uniswap_v4_bnb_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_bnb' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'bnb' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_bnb', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_bnb', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/ethereum/_schema.yml b/dbt_subprojects/dex/models/trades/ethereum/_schema.yml index bfa5301ef58..a67f4731ab5 100644 --- a/dbt_subprojects/dex/models/trades/ethereum/_schema.yml +++ b/dbt_subprojects/dex/models/trades/ethereum/_schema.yml @@ -65,6 +65,25 @@ models: filter: version: 3 + - name: uniswap_v4_ethereum_base_trades + meta: + blockchain: ethereum + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'ethereum', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap ethereum v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_ethereum_base_trades_seed') + filter: + version: 4 + - name: defiswap_ethereum_base_trades meta: blockchain: ethereum diff --git a/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql b/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql index 7dc42461e0d..333089de993 100644 --- a/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/ethereum/dex_ethereum_base_trades.sql @@ -10,6 +10,7 @@ , ref('uniswap_v1_ethereum_base_trades') , ref('uniswap_v2_ethereum_base_trades') , ref('uniswap_v3_ethereum_base_trades') + , ref('uniswap_v4_ethereum_base_trades') , ref('apeswap_ethereum_base_trades') , ref('carbon_defi_ethereum_base_trades') , ref('airswap_ethereum_base_trades') diff --git a/dbt_subprojects/dex/models/trades/ethereum/platforms/uniswap_v4_ethereum_base_trades.sql b/dbt_subprojects/dex/models/trades/ethereum/platforms/uniswap_v4_ethereum_base_trades.sql new file mode 100644 index 00000000000..7aa1b1e6137 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/ethereum/platforms/uniswap_v4_ethereum_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_ethereum' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'ethereum' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_ethereum', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_ethereum', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/optimism/_schema.yml b/dbt_subprojects/dex/models/trades/optimism/_schema.yml index fc4a47e0fab..f7ea645d2a5 100644 --- a/dbt_subprojects/dex/models/trades/optimism/_schema.yml +++ b/dbt_subprojects/dex/models/trades/optimism/_schema.yml @@ -8,6 +8,25 @@ models: column_name: amount_usd max_value: 1000000000 + - name: uniswap_v4_optimism_base_trades + meta: + blockchain: optimism + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'optimism', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap optimism v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_optimism_base_trades_seed') + filter: + version: 4 + - name: uniswap_v3_optimism_base_trades meta: blockchain: optimism diff --git a/dbt_subprojects/dex/models/trades/optimism/dex_optimism_base_trades.sql b/dbt_subprojects/dex/models/trades/optimism/dex_optimism_base_trades.sql index b646f3d59b8..8f7399fa326 100644 --- a/dbt_subprojects/dex/models/trades/optimism/dex_optimism_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/optimism/dex_optimism_base_trades.sql @@ -7,6 +7,7 @@ {% set base_models = [ ref('uniswap_v3_optimism_base_trades') + , ref('uniswap_v4_optimism_base_trades') , ref('woofi_optimism_base_trades') , ref('mummy_finance_optimism_base_trades') , ref('sushiswap_v1_optimism_base_trades') diff --git a/dbt_subprojects/dex/models/trades/optimism/platforms/uniswap_v4_optimism_base_trades.sql b/dbt_subprojects/dex/models/trades/optimism/platforms/uniswap_v4_optimism_base_trades.sql new file mode 100644 index 00000000000..e30c6516c78 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/optimism/platforms/uniswap_v4_optimism_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_optimism' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'optimism' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_optimism', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_optimism', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/polygon/_schema.yml b/dbt_subprojects/dex/models/trades/polygon/_schema.yml index 562e4d5aa17..fe55d9aa744 100644 --- a/dbt_subprojects/dex/models/trades/polygon/_schema.yml +++ b/dbt_subprojects/dex/models/trades/polygon/_schema.yml @@ -7,6 +7,25 @@ models: - test_acceptable_usd_amount: column_name: amount_usd max_value: 1000000000 + + - name: uniswap_v4_polygon_base_trades + meta: + blockchain: polygon + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'polygon', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap polygon v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_polygon_base_trades_seed') + filter: + version: 4 - name: uniswap_v3_polygon_base_trades meta: diff --git a/dbt_subprojects/dex/models/trades/polygon/dex_polygon_base_trades.sql b/dbt_subprojects/dex/models/trades/polygon/dex_polygon_base_trades.sql index dfd6b528df3..f44baf93e46 100644 --- a/dbt_subprojects/dex/models/trades/polygon/dex_polygon_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/polygon/dex_polygon_base_trades.sql @@ -7,6 +7,7 @@ {% set base_models = [ ref('uniswap_v3_polygon_base_trades') + , ref('uniswap_v4_polygon_base_trades') , ref('apeswap_polygon_base_trades') , ref('airswap_polygon_base_trades') , ref('sushiswap_v1_polygon_base_trades') diff --git a/dbt_subprojects/dex/models/trades/polygon/platforms/uniswap_v4_polygon_base_trades.sql b/dbt_subprojects/dex/models/trades/polygon/platforms/uniswap_v4_polygon_base_trades.sql new file mode 100644 index 00000000000..95a10fb5278 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/polygon/platforms/uniswap_v4_polygon_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_polygon' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'polygon' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_polygon', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_polygon', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/worldchain/_schema.yml b/dbt_subprojects/dex/models/trades/worldchain/_schema.yml index 569d1ddbd3a..5236a938714 100644 --- a/dbt_subprojects/dex/models/trades/worldchain/_schema.yml +++ b/dbt_subprojects/dex/models/trades/worldchain/_schema.yml @@ -7,7 +7,26 @@ models: - test_acceptable_usd_amount: column_name: amount_usd max_value: 1000000000 - + + - name: uniswap_v4_worldchain_base_trades + meta: + blockchain: worldchain + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'worldchain', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap worldchain v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_worldchain_base_trades_seed') + filter: + version: 4 + - name: uniswap_v3_worldchain_base_trades meta: blockchain: worldchain diff --git a/dbt_subprojects/dex/models/trades/worldchain/dex_worldchain_base_trades.sql b/dbt_subprojects/dex/models/trades/worldchain/dex_worldchain_base_trades.sql index a629bfbe1b2..71823b5fe81 100644 --- a/dbt_subprojects/dex/models/trades/worldchain/dex_worldchain_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/worldchain/dex_worldchain_base_trades.sql @@ -7,6 +7,7 @@ {% set base_models = [ ref('uniswap_v3_worldchain_base_trades') + , ref('uniswap_v4_worldchain_base_trades') ] %} WITH base_union AS ( diff --git a/dbt_subprojects/dex/models/trades/worldchain/platforms/uniswap_v4_worldchain_base_trades.sql b/dbt_subprojects/dex/models/trades/worldchain/platforms/uniswap_v4_worldchain_base_trades.sql new file mode 100644 index 00000000000..3c90e431bb6 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/worldchain/platforms/uniswap_v4_worldchain_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_worldchain' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'worldchain' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_worldchain', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_worldchain', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/models/trades/zora/_schema.yml b/dbt_subprojects/dex/models/trades/zora/_schema.yml index 121483465f3..57298ed5d3c 100644 --- a/dbt_subprojects/dex/models/trades/zora/_schema.yml +++ b/dbt_subprojects/dex/models/trades/zora/_schema.yml @@ -44,4 +44,23 @@ models: - check_dex_base_trades_seed: seed_file: ref('uniswap_zora_base_trades_seed') filter: - version: 3 \ No newline at end of file + version: 3 + + - name: uniswap_v4_zora_base_trades + meta: + blockchain: zora + sector: dex + project: uniswap + contributors: agaperste + config: + tags: [ 'zora', 'dex', 'trades', 'uniswap', 'v4' ] + description: "uniswap zora v4 base trades" + data_tests: + - dbt_utils.unique_combination_of_columns: + combination_of_columns: + - tx_hash + - evt_index + - check_dex_base_trades_seed: + seed_file: ref('uniswap_zora_base_trades_seed') + filter: + version: 4 diff --git a/dbt_subprojects/dex/models/trades/zora/dex_zora_base_trades.sql b/dbt_subprojects/dex/models/trades/zora/dex_zora_base_trades.sql index e8e8bf32e80..27783f4029a 100644 --- a/dbt_subprojects/dex/models/trades/zora/dex_zora_base_trades.sql +++ b/dbt_subprojects/dex/models/trades/zora/dex_zora_base_trades.sql @@ -6,8 +6,9 @@ }} {% set base_models = [ - ref('uniswap_v2_zora_base_trades'), - ref('uniswap_v3_zora_base_trades') + ref('uniswap_v2_zora_base_trades') + , ref('uniswap_v3_zora_base_trades') + , ref('uniswap_v4_zora_base_trades') ] %} WITH base_union AS ( diff --git a/dbt_subprojects/dex/models/trades/zora/platforms/uniswap_v4_zora_base_trades.sql b/dbt_subprojects/dex/models/trades/zora/platforms/uniswap_v4_zora_base_trades.sql new file mode 100644 index 00000000000..928b8fb1599 --- /dev/null +++ b/dbt_subprojects/dex/models/trades/zora/platforms/uniswap_v4_zora_base_trades.sql @@ -0,0 +1,20 @@ +{{ config( + schema = 'uniswap_v4_zora' + , alias = 'base_trades' + , materialized = 'incremental' + , file_format = 'delta' + , incremental_strategy = 'merge' + , unique_key = ['tx_hash', 'evt_index'] + , incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')] + ) +}} + +{{ + uniswap_compatible_v4_trades( + blockchain = 'zora' + , project = 'uniswap' + , version = '4' + , PoolManager_evt_Swap = source('uniswap_v4_zora', 'PoolManager_evt_Swap') + , PoolManager_evt_Initialize = source('uniswap_v4_zora', 'PoolManager_evt_Initialize') + ) +}} \ No newline at end of file diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv index c3d48336b06..983f212ce61 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_arbitrum_base_trades_seed.csv @@ -4,3 +4,5 @@ arbitrum,uniswap,3,2023-11-23,0x6846619aa820bc271f997cb252285a718b45fabf2b6d4111 arbitrum,uniswap,3,2023-11-23,0x4408000777b5fad6faac4a5f6eded1bd1f5e83385902894bfccb0637cb739b69,25,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,153279900,37441898224700257,77230000 arbitrum,uniswap,2,2024-02-21,0x28f1c41f6759d82a4837865ad1871211864da660a56bd2ab843fef97f19003ac,29,0xfd086bc7cd5c481dcc9c85ebe478a1c0b69fcbb9,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,182991287,662418,196814780565479 arbitrum,uniswap,2,2024-02-21,0x5bf41f87b1b6c575316ffbf21cc3b0a2f8cfb9808cccb74d1405004e83d9ec5d,15,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,0xaf88d065e77c8cc2239327c5edb3a432268e5831,182962516,160944872763083,467795 +arbitrum,uniswap,4,2025-01-23,0x42501c321d6a60f1d08ceeef20bd39cb0b3b07c3ff46d194d98d328726959a1b,11,0xaf88d065e77c8cc2239327c5edb3a432268e5831,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,298272273,181735,54046262057280 +arbitrum,uniswap,4,2025-01-23,0x5176d89ac847db1dd33df288e989d6453e992c09623bb20cf030df2de610ee06,3,0xaf88d065e77c8cc2239327c5edb3a432268e5831,0x82af49447d8a07e3bd95bd0d56f35241523fbab1,298324031,604934,186845291671419 \ No newline at end of file diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv index 03f0127dda2..7783fa9992d 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_avalanche_c_base_trades_seed.csv @@ -6,3 +6,5 @@ avalanche_c,uniswap,3,2023-11-11,0x31e1a422f13f742ba7ad4c5b2b33bf2cc6c05777cfff4 avalanche_c,uniswap,3,2023-11-11,0x41b6ec0e3ba96f6c72bab7954353152ba44904bd61232f91e824c9a74495b1e4,2,0x9702230a8ea53601f5cd2dc00fdbc13d4df4a8c7,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,37603971,600415091,41789828826140460000 avalanche_c,uniswap,2,2024-02-21,0x419b5cf94c1a02ccf98fd50f32aa0307d2cb69bd0d9a50d1d78a1ef611e92b4a,5,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7,41960205,900000,24896750486535221 avalanche_c,uniswap,2,2024-02-21,0xc564de5350800868c948cedd5f948dadb7673fbb1efd69db25f2bd92cf64f8f5,31,0xB31f66AA3C1e785363F0875A1B74E27b85FD66c7,0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E,41961222,52452637203160242,1940000 +avalanche_c,uniswap,4,2025-01-24,0xe51fe91e67a06f94b09ffb9e945876b733892515b20ae02c5abd5a150177b8be,22,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,56265117,6535984100803969,227920 +avalanche_c,uniswap,4,2025-01-23,0x78efedab2229e7d6592e38bc8adb0920e2c168d4157fd1a267c7165e421fa1e7,5,0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7,0xb97ef9ef8734c71904d8002f8b6bc66dd9c48a6e,56244872,26863570317462834,1000000 diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_blast_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_blast_base_trades_seed.csv index 9b0153e8d42..e74ea9c03c3 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_blast_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_blast_base_trades_seed.csv @@ -3,3 +3,4 @@ blast,uniswap,3,2024-05-23,0x551d4e0f41354ae704d4741dcf4cc04545e8d57244970f82aa5 blast,uniswap,3,2024-04-16,0x179f36ba037f73bba13287344a8500eb1d2afbc0d431397cd53a01dc3f7b4526,7,0x4300000000000000000000000000000000000004,0x2416092f143378750bb29b79ed961ab195cceea5,2246306,2105445002466536,2057258487654622 blast,uniswap,2,2024-06-07,0x1719c8d79cc064f4863417c7fae613857ef1c3b6a30f0071d9e416b4bb8385ec,23,0x4300000000000000000000000000000000000003,0x4300000000000000000000000000000000000004,4471336,1135362542678049275,298977031258286 blast,uniswap,2,2024-04-16,0x5057cf71829bebf2b9c9c19255355125906ec48123743fbdfbec6b6aa5c363a5,8,0x4300000000000000000000000000000000000003,0x4300000000000000000000000000000000000004,2215230,30824068867802868,10000000000000 +blast,uniswap,4,2025-01-24 00:00:00.000 UTC,0x61ae1af6267d95a60e5348da3462b66d9903e9c2ed758ef4e1d2b9ba8a040a59,6,0x4300000000000000000000000000000000000003,0x4300000000000000000000000000000000000004,14468219,1000000000000000000,312790079688847 diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_bnb_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_bnb_base_trades_seed.csv index d77a3339356..7c2a833edaa 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_bnb_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_bnb_base_trades_seed.csv @@ -4,3 +4,5 @@ bnb,uniswap,3,2023-11-23,0x612a6a8e7d1a9a10bf3f0341ad517834e28f0728fd2e006858e80 bnb,uniswap,3,2023-11-23,0x6c2a240c5c650ebfce566faff223f4c9d704d41b5114d52460ba7ee1648d5459,95,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0x55d398326f99059ff775485246999027b3197955,33744681,4512482518778893394,1053000185747243700000 bnb,uniswap,2,2024-02-21,0xfde492c7be3b69b0c39a09d9f9ad49120f8f7c7044a484e75107b84c4e5b1870,305,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,36327595,4397549261783334,1559294763177974871 bnb,uniswap,2,2024-02-21,0xe05f71fe013e9ddae826ff9537f36f0a2315d26c1610747b94cbc61e072cb2a6,374,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,36324112,145000000000000198,418857893461315 +bnb,uniswap,4,2025-01-23,0x55a22897eea3d4c605e426e070a54bd527199ccfc3a5f7ea30110f99f603716c,381,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,46005720,214123327836206475,308013875592176 +bnb,uniswap,4,2025-01-23,0x2855023081c97bf8643a197db0dfd0b49429b987cef1484451e6d911cddce742,439,0x8ac76a51cc950d9822d68b83fe1ad97b32cd580d,0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c,46017727,181950772716089488,264913593392579 diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv index 239f4be9069..87001ddf0f0 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_ethereum_base_trades_seed.csv @@ -15,3 +15,5 @@ ethereum,uniswap,3,2022-09-28,0x566b4dd208a3af70b3b80e9352e35f263db73ec29ed6e638 ethereum,uniswap,3,2022-09-28,0xdcaf9394fddb84afbf971045661d7e96ed2d01a743ea913abceb20cf4c13452e,2,0xdac17f958d2ee523a2206206994597c13d831ec7,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,15633338,18410192140,13797744360902256640 ethereum,uniswap,3,2022-09-28,0x4bda429e77bdd899139e00628c8fee2e119db6098745cba00e11efeeb1a99bd2,84,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,15633338,10747932591,8060432035508632724 ethereum,uniswap,3,2022-09-28,0x7a98cdef70a5518538457c807d90e69340d709d2a2a87699a869db8be7a66d8f,112,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2,15633337,46942648238,35200000000000000000 +ethereum,uniswap,4,2025-01-24,0x966a949326d0b3aba5d41c7e8fda72b585fb5f5eb4378a2ccddb82836df92711,170,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,0x0000000000000000000000000000000000000000,21696530,1002500,327967481202468 +ethereum,uniswap,4,2025-01-24,0xa6ec9dabbd0f80bdb2d9d5f1da8006939af385ec83874363b5a85b99dde51164,28,0x0000000000000000000000000000000000000000,0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48,21696375,325149901674883,1000000 diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_optimism_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_optimism_base_trades_seed.csv index 389e7c8276b..a78c008975c 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_optimism_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_optimism_base_trades_seed.csv @@ -4,3 +4,5 @@ optimism,uniswap,3,2022-09-30,0x1eb5e4679743665b626af08e0e1cb571982d851e4d9a26ca optimism,uniswap,3,2022-09-30,0x14d51305de3c0224f1474e895d8a75c3f6f31c050a8384fb56352b9ce23dfde5,2,0x7f5c764cbc14f9669b88837ca1490cca17c31607,0x94b008aa00579c1307b0ef2c499ad98a8ce58e58,26589197,60461960,60456251 optimism,uniswap,2,2024-02-14,0x11737537d317577bd857146f90097dc68a3e7cc308519681d4b72ebbe08d73e1,53,0x0b2c639c533813f4aa9d7837caf62653d097ff85,0x4200000000000000000000000000000000000006,116168301,1372359,65536000000000 optimism,uniswap,2,2024-02-21,0x00ff23be2b524404a98a883380325d85e9f1ccba7c1859df6bbb144d229016f8,9,0x0b2c639c533813f4aa9d7837caf62653d097ff85,0x4200000000000000000000000000000000000006,116455262,295343,100000000000000 +optimism,uniswap,4,2025-01-24,0x071cf98d110ab70021059a681cbce7400e77f06867555a93ae45797ceeea125e,81,0x4200000000000000000000000000000000000042,0xda10009cbd5d07dd0cecc66161fc93d7c9000da1,131072623,33583568630881826,58282487470551858 +optimism,uniswap,4,2025-01-24,0x0487fa2101a681ed05fb8625ab5b50ff084db3ae423d6f1ae746367b7cef1d15,16,0x4200000000000000000000000000000000000006,0x0b2c639c533813f4aa9d7837caf62653d097ff85,131073182,136906038286140,458396 diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_polygon_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_polygon_base_trades_seed.csv index 9065de10ac8..e2c0786db51 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_polygon_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_polygon_base_trades_seed.csv @@ -3,3 +3,5 @@ polygon,uniswap,3,2022-11-14,0x065d1410e74a0f973feb1b2b81030c4e48787fc9e540700d6 polygon,uniswap,3,2022-11-14,0x17e206610661e39deac15979717f6658035a531aa66c78ffcdc6e8d02a4dd4a9,60,0x2791bca1f2de4661ed88a30c99a7a9449aa84174,0x1bfd67037b42cf73acf2047067bd4f2c47d9bfd6,35604087,230890774,1400680 polygon,uniswap,3,2022-11-05,0x2f2f34207e9b8b521e87e40aaf452c0ddb57c580b5174a615cc286366efca79d,33,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0xc2132d05d31c914a87c6611c10748aeb04b58e8f,35219251,1005454808280348265291,1212644735 polygon,uniswap,2,2024-02-21,0xf8b44c956ed29380d19e7ff33f071e2dd3ca94acfe0a11b73c087e1c70f0df7d,289,0x421d72237b9293a10a4dd23ee2c5123cdcd926dd,0x3c499c542cef5e3811e1192ce70d8cc03d5c3359,53777896,1347971957936,100000 +polygon,uniswap,4,2025-01-22,0x7c395c404ba03f18b6aaa339dc128604501434e37e4fa24c8ff2c2de54ba5f4e,336,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,0x3c499c542cef5e3811e1192ce70d8cc03d5c3359,67014227,619948945425760646,275190 +polygon,uniswap,4,2025-01-22,0x9d3e2ba6df7d3d14c8d1961b6eea02a4584f52da4e1bbc130bb942fd7807bc7e,170,0x3c499c542cef5e3811e1192ce70d8cc03d5c3359,0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270,67021830,180354,405536168959610112 diff --git a/dbt_subprojects/dex/seeds/trades/uniswap_worldchain_base_trades_seed.csv b/dbt_subprojects/dex/seeds/trades/uniswap_worldchain_base_trades_seed.csv index 5a270b94cb8..aafc29bba1b 100644 --- a/dbt_subprojects/dex/seeds/trades/uniswap_worldchain_base_trades_seed.csv +++ b/dbt_subprojects/dex/seeds/trades/uniswap_worldchain_base_trades_seed.csv @@ -1,3 +1,5 @@ blockchain,project,version,block_date,tx_hash,evt_index,token_bought_address,token_sold_address,block_number,token_bought_amount_raw,token_sold_amount_raw worldchain,uniswap,3,2024-10-13,0xf0fb23913be35bde58ff9cd1bde5b4e7e1b89c9fd1ca3e1b68bb3642a3a6826f,15,0x2cfc85d8e48f8eab294be644d9e25c3030863003,0x79a02482a880bce3f13e09da970dc34db4cd24d1,4725968,5115943631049460102,9199756 worldchain,uniswap,3,2024-10-13,0xb3bcf7ab7b5d55f0bfbac2bf723c8df074fa237a591639748196af02c73c8b31,5,0x79a02482a880bce3f13e09da970dc34db4cd24d1,0x2cfc85d8e48f8eab294be644d9e25c3030863003,4723857,17630073,10000000000000000000 +worldchain,uniswap,4,2025-01-24,0xcb908fe0c1c8793468f80ad6d9212f9d534f047fc5842daa9cfc55781bc05989,1,0x4200000000000000000000000000000000000006,0x79a02482a880bce3f13e09da970dc34db4cd24d1,9203176,293997789205357,1000000 +worldchain,uniswap,4,2025-01-24,0x83f8bb9f12a5efebc3ce0d10bf2c71bfbd55f4f52c6e3f67ade21a42f1d7306b,0,0x79a02482a880bce3f13e09da970dc34db4cd24d1,0x0000000000000000000000000000000000000000,9205366,10,2507681439 diff --git a/sources/_sector/dex/trades/arbitrum/_sources.yml b/sources/_sector/dex/trades/arbitrum/_sources.yml index fa00d46d12c..6b5059b96c2 100644 --- a/sources/_sector/dex/trades/arbitrum/_sources.yml +++ b/sources/_sector/dex/trades/arbitrum/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_arbitrum + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_v3_arbitrum - name: camelot_arbitrum tables: diff --git a/sources/_sector/dex/trades/avalanche_c/_sources.yml b/sources/_sector/dex/trades/avalanche_c/_sources.yml index 8ea5a933b62..e03b8897cae 100644 --- a/sources/_sector/dex/trades/avalanche_c/_sources.yml +++ b/sources/_sector/dex/trades/avalanche_c/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_avalanche_c + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_v3_avalanche_c - name: airswap_avalanche_c tables: diff --git a/sources/_sector/dex/trades/blast/_sources.yml b/sources/_sector/dex/trades/blast/_sources.yml index 75e95394f0a..d9485ca1e54 100644 --- a/sources/_sector/dex/trades/blast/_sources.yml +++ b/sources/_sector/dex/trades/blast/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_blast + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_v3_blast tables: - name: UniswapV3Pool_evt_Swap diff --git a/sources/_sector/dex/trades/bnb/_sources.yml b/sources/_sector/dex/trades/bnb/_sources.yml index bf16919d3a2..7de79b0c6bc 100644 --- a/sources/_sector/dex/trades/bnb/_sources.yml +++ b/sources/_sector/dex/trades/bnb/_sources.yml @@ -1,6 +1,11 @@ version: 2 sources: + - name: uniswap_v4_bnb + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize + - name: uniswap_v3_blast - name: uniswap_v3_bnb - name: airswap_bnb tables: diff --git a/sources/_sector/dex/trades/ethereum/_sources.yml b/sources/_sector/dex/trades/ethereum/_sources.yml index 4a582b28ca8..5c0fc131701 100644 --- a/sources/_sector/dex/trades/ethereum/_sources.yml +++ b/sources/_sector/dex/trades/ethereum/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_ethereum + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: defiswap_ethereum - name: uniswap_ethereum - name: uniswap_v2_ethereum diff --git a/sources/_sector/dex/trades/optimism/_sources.yml b/sources/_sector/dex/trades/optimism/_sources.yml index c54e6a688bd..92c1a7d2d65 100644 --- a/sources/_sector/dex/trades/optimism/_sources.yml +++ b/sources/_sector/dex/trades/optimism/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_optimism + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_v3_optimism tables: - name: pools diff --git a/sources/_sector/dex/trades/polygon/_sources.yml b/sources/_sector/dex/trades/polygon/_sources.yml index 0f1a0e5624e..741b9c6c96d 100644 --- a/sources/_sector/dex/trades/polygon/_sources.yml +++ b/sources/_sector/dex/trades/polygon/_sources.yml @@ -2,6 +2,10 @@ version: 2 sources: + - name: uniswap_v4_polygon + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_v3_polygon - name: airswap_polygon tables: diff --git a/sources/_sector/dex/trades/worldchain/_sources.yml b/sources/_sector/dex/trades/worldchain/_sources.yml index 94cd1c668a6..b342ec87035 100644 --- a/sources/_sector/dex/trades/worldchain/_sources.yml +++ b/sources/_sector/dex/trades/worldchain/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_worldchain + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_worldchain tables: - name: uniswapv3factory_evt_poolcreated diff --git a/sources/_sector/dex/trades/zora/_sources.yml b/sources/_sector/dex/trades/zora/_sources.yml index 577652fad95..ee4f77c9e75 100644 --- a/sources/_sector/dex/trades/zora/_sources.yml +++ b/sources/_sector/dex/trades/zora/_sources.yml @@ -1,6 +1,10 @@ version: 2 sources: + - name: uniswap_v4_zora + tables: + - name: PoolManager_evt_Swap + - name: PoolManager_evt_Initialize - name: uniswap_v2_zora - name: uniswap_v3_zora tables: