diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/_schema.yml index 523f4446f05..5b9a6ab9cb9 100644 --- a/dbt_subprojects/tokens/models/transfers_and_balances/_schema.yml +++ b/dbt_subprojects/tokens/models/transfers_and_balances/_schema.yml @@ -5,7 +5,7 @@ models: meta: docs_slug: /curated/asset-tracking/evm/token-transfers sector: tokens - contributors: aalan3, jeff-dude, 0xBoxer, hildobby + contributors: aalan3, jeff-dude, 0xBoxer config: tags: ['tokens','transfers'] description: > diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/bob/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/bob/_schema.yml deleted file mode 100644 index 6c9adfa508d..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/bob/_schema.yml +++ /dev/null @@ -1,106 +0,0 @@ -version: 2 - -bobls: - - name: tokens_bob_base_transfers - meta: - blockchain: bob - sector: tokens - contributors: aalan3, jeff-dude - config: - tags: ['tokens','transfers', 'bob'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: amount_raw - description: "The raw amount of the transfer" - - - name: tokens_bob_transfers - meta: - blockchain: bob - sector: tokens - contributors: aalan3, jeff-dude - config: - tags: ['tokens','transfers', 'bob'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: symbol - description: "The token symbol transferred" - - name: amount_raw - description: "The raw amount of the transfer" - - name: amount - description: "The formatted amount of the transfer" - - name: price_usd - description: "The USD price used to calculate the amount_usd" - - name: amount_usd - description: "The USD amount of the transfer" diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/bob/tokens_bob_base_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/bob/tokens_bob_base_transfers.sql deleted file mode 100644 index f2fa2ad5338..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/bob/tokens_bob_base_transfers.sql +++ /dev/null @@ -1,20 +0,0 @@ -{{config( - schema = 'tokens_bob', - alias = 'base_transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - unique_key = ['block_date','unique_key'], -) -}} - -{{transfers_base( - blockchain='bob', - traces = source('bob','traces'), - transactions = source('bob','transactions'), - erc20_transfers = source('erc20_bob','evt_transfer'), - native_contract_address = null -) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/bob/tokens_bob_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/bob/tokens_bob_transfers.sql deleted file mode 100644 index 5b8be2a27b0..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/bob/tokens_bob_transfers.sql +++ /dev/null @@ -1,26 +0,0 @@ -{{config( - schema = 'tokens_bob', - alias = 'transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date','unique_key'], - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_date')], - post_hook='{{ expose_spells(\'["bob"]\', - "sector", - "tokens", - \'["aalan3", "jeff-dude"]\') }}' -) -}} - -{{ - transfers_enrich( - base_transfers = ref('tokens_bob_base_transfers') - , tokens_erc20_model = source('tokens', 'erc20') - , prices_model = source('prices', 'usd') - , evms_info_model = source('evms','info') - , transfers_start_date = '2024-05-27' - , blockchain = 'bob' - ) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/degen/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/degen/_schema.yml deleted file mode 100644 index 1d09b15a54e..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/degen/_schema.yml +++ /dev/null @@ -1,106 +0,0 @@ -version: 2 - -degenls: - - name: tokens_degen_base_transfers - meta: - blockchain: degen - sector: tokens - contributors: aalan3, jeff-dude - config: - tags: ['tokens','transfers', 'degen'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: amount_raw - description: "The raw amount of the transfer" - - - name: tokens_degen_transfers - meta: - blockchain: degen - sector: tokens - contributors: aalan3, jeff-dude - config: - tags: ['tokens','transfers', 'degen'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: symbol - description: "The token symbol transferred" - - name: amount_raw - description: "The raw amount of the transfer" - - name: amount - description: "The formatted amount of the transfer" - - name: price_usd - description: "The USD price used to calculate the amount_usd" - - name: amount_usd - description: "The USD amount of the transfer" diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/degen/tokens_degen_base_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/degen/tokens_degen_base_transfers.sql deleted file mode 100644 index 55b530ce9da..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/degen/tokens_degen_base_transfers.sql +++ /dev/null @@ -1,20 +0,0 @@ -{{config( - schema = 'tokens_degen', - alias = 'base_transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - unique_key = ['block_date','unique_key'], -) -}} - -{{transfers_base( - blockchain='degen', - traces = source('degen','traces'), - transactions = source('degen','transactions'), - erc20_transfers = source('erc20_degen','evt_transfer'), - native_contract_address = null -) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/degen/tokens_degen_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/degen/tokens_degen_transfers.sql deleted file mode 100644 index da12e71907b..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/degen/tokens_degen_transfers.sql +++ /dev/null @@ -1,26 +0,0 @@ -{{config( - schema = 'tokens_degen', - alias = 'transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date','unique_key'], - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_date')], - post_hook='{{ expose_spells(\'["degen"]\', - "sector", - "tokens", - \'["aalan3", "jeff-dude"]\') }}' -) -}} - -{{ - transfers_enrich( - base_transfers = ref('tokens_degen_base_transfers') - , tokens_erc20_model = source('tokens', 'erc20') - , prices_model = source('prices', 'usd') - , evms_info_model = source('evms','info') - , transfers_start_date = '2024-05-27' - , blockchain = 'degen' - ) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml deleted file mode 100644 index 92d1dad9c0d..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/_schema.yml +++ /dev/null @@ -1,106 +0,0 @@ -version: 2 - -goerlils: - - name: tokens_goerli_base_transfers - meta: - blockchain: goerli - sector: tokens - contributors: aalan3, jeff-dude, hildobby - config: - tags: ['tokens','transfers', 'goerli'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: amount_raw - description: "The raw amount of the transfer" - - - name: tokens_goerli_transfers - meta: - blockchain: goerli - sector: tokens - contributors: aalan3, jeff-dude, hildobby - config: - tags: ['tokens','transfers', 'goerli'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: symbol - description: "The token symbol transferred" - - name: amount_raw - description: "The raw amount of the transfer" - - name: amount - description: "The formatted amount of the transfer" - - name: price_usd - description: "The USD price used to calculate the amount_usd" - - name: amount_usd - description: "The USD amount of the transfer" \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/tokens_goerli_base_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/goerli/tokens_goerli_base_transfers.sql deleted file mode 100644 index 9cca6fe26dc..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/tokens_goerli_base_transfers.sql +++ /dev/null @@ -1,20 +0,0 @@ -{{config( - schema = 'tokens_goerli', - alias = 'base_transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - unique_key = ['block_date','unique_key'], -) -}} - -{{transfers_base( - blockchain='goerli', - traces = source('goerli','traces'), - transactions = source('goerli','transactions'), - erc20_transfers = source('erc20_goerli','evt_transfer'), - native_contract_address = null -) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/tokens_goerli_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/goerli/tokens_goerli_transfers.sql deleted file mode 100644 index 6412e61cbbb..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/goerli/tokens_goerli_transfers.sql +++ /dev/null @@ -1,26 +0,0 @@ -{{config( - schema = 'tokens_goerli', - alias = 'transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date','unique_key'], - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_date')], - post_hook='{{ expose_spells(\'["goerli"]\', - "sector", - "tokens", - \'["aalan3", "jeff-dude", "hildobby"]\') }}' -) -}} - -{{ - transfers_enrich( - base_transfers = ref('tokens_goerli_base_transfers') - , tokens_erc20_goerlil = source('tokens', 'erc20') - , prices_goerlil = source('prices', 'usd') - , evms_info_goerlil = source('evms','info') - , transfers_start_date = '2020-04-22' - , blockchain = 'goerli' - ) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/mode/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/mode/_schema.yml deleted file mode 100644 index 51d7993e7a8..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/mode/_schema.yml +++ /dev/null @@ -1,106 +0,0 @@ -version: 2 - -models: - - name: tokens_mode_base_transfers - meta: - blockchain: mode - sector: tokens - contributors: aalan3, jeff-dude, hildobby - config: - tags: ['tokens','transfers', 'mode'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: amount_raw - description: "The raw amount of the transfer" - - - name: tokens_mode_transfers - meta: - blockchain: mode - sector: tokens - contributors: aalan3, jeff-dude, hildobby - config: - tags: ['tokens','transfers', 'mode'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: symbol - description: "The token symbol transferred" - - name: amount_raw - description: "The raw amount of the transfer" - - name: amount - description: "The formatted amount of the transfer" - - name: price_usd - description: "The USD price used to calculate the amount_usd" - - name: amount_usd - description: "The USD amount of the transfer" \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/mode/tokens_mode_base_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/mode/tokens_mode_base_transfers.sql deleted file mode 100644 index af99808a985..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/mode/tokens_mode_base_transfers.sql +++ /dev/null @@ -1,20 +0,0 @@ -{{config( - schema = 'tokens_mode', - alias = 'base_transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - unique_key = ['block_date','unique_key'], -) -}} - -{{transfers_base( - blockchain='mode', - traces = source('mode','traces'), - transactions = source('mode','transactions'), - erc20_transfers = source('erc20_mode','evt_transfer'), - native_contract_address = null -) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/mode/tokens_mode_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/mode/tokens_mode_transfers.sql deleted file mode 100644 index 3d677105c12..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/mode/tokens_mode_transfers.sql +++ /dev/null @@ -1,26 +0,0 @@ -{{config( - schema = 'tokens_mode', - alias = 'transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date','unique_key'], - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_date')], - post_hook='{{ expose_spells(\'["mode"]\', - "sector", - "tokens", - \'["aalan3", "jeff-dude", "hildobby"]\') }}' -) -}} - -{{ - transfers_enrich( - base_transfers = ref('tokens_mode_base_transfers') - , tokens_erc20_model = source('tokens', 'erc20') - , prices_model = source('prices', 'usd') - , evms_info_model = source('evms','info') - , transfers_start_date = '2020-04-22' - , blockchain = 'mode' - ) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml b/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml deleted file mode 100644 index f187747c1e7..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/_schema.yml +++ /dev/null @@ -1,106 +0,0 @@ -version: 2 - -sepolials: - - name: tokens_sepolia_base_transfers - meta: - blockchain: sepolia - sector: tokens - contributors: aalan3, jeff-dude, hildobby - config: - tags: ['tokens','transfers', 'sepolia'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: amount_raw - description: "The raw amount of the transfer" - - - name: tokens_sepolia_transfers - meta: - blockchain: sepolia - sector: tokens - contributors: aalan3, jeff-dude, hildobby - config: - tags: ['tokens','transfers', 'sepolia'] - description: > - Token transfers - tests: - - dbt_utils.unique_combination_of_columns: - combination_of_columns: - - block_date - - unique_key - columns: - - name: unique_key - description: "Surrogate key to identify unique row" - - name: blockchain - description: "The blockchain of the transfers" - - name: block_date - description: "The date of the block" - - name: block_time - description: "The time of the block" - - name: block_number - description: "The block number" - - name: tx_hash - description: "The transaction hash" - - name: evt_index - description: "The log event index of the transfer if any" - - name: trace_address - description: "The trace address of the transfer if any" - - name: token_standard - description: "The token standard of the transfer" - - name: tx_from - description: "The transaction sender" - - name: tx_to - description: "The transaction receiver" - - name: tx_index - description: "The transaction index" - - name: from - description: "The sender of the transfer" - - name: to - description: "The receiver of the transfer" - - name: contract_address - description: "The contract address of the transfer" - - name: symbol - description: "The token symbol transferred" - - name: amount_raw - description: "The raw amount of the transfer" - - name: amount - description: "The formatted amount of the transfer" - - name: price_usd - description: "The USD price used to calculate the amount_usd" - - name: amount_usd - description: "The USD amount of the transfer" \ No newline at end of file diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/tokens_sepolia_base_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/tokens_sepolia_base_transfers.sql deleted file mode 100644 index 21c51a72be8..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/tokens_sepolia_base_transfers.sql +++ /dev/null @@ -1,20 +0,0 @@ -{{config( - schema = 'tokens_sepolia', - alias = 'base_transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')], - unique_key = ['block_date','unique_key'], -) -}} - -{{transfers_base( - blockchain='sepolia', - traces = source('sepolia','traces'), - transactions = source('sepolia','transactions'), - erc20_transfers = source('erc20_sepolia','evt_transfer'), - native_contract_address = null -) -}} diff --git a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/tokens_sepolia_transfers.sql b/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/tokens_sepolia_transfers.sql deleted file mode 100644 index 5f3296fb573..00000000000 --- a/dbt_subprojects/tokens/models/transfers_and_balances/sepolia/tokens_sepolia_transfers.sql +++ /dev/null @@ -1,26 +0,0 @@ -{{config( - schema = 'tokens_sepolia', - alias = 'transfers', - partition_by = ['block_month'], - materialized = 'incremental', - file_format = 'delta', - incremental_strategy = 'merge', - unique_key = ['block_date','unique_key'], - incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_date')], - post_hook='{{ expose_spells(\'["sepolia"]\', - "sector", - "tokens", - \'["aalan3", "jeff-dude", "hildobby"]\') }}' -) -}} - -{{ - transfers_enrich( - base_transfers = ref('tokens_sepolia_base_transfers') - , tokens_erc20_sepolial = source('tokens', 'erc20') - , prices_sepolial = source('prices', 'usd') - , evms_info_sepolial = source('evms','info') - , transfers_start_date = '2020-04-22' - , blockchain = 'sepolia' - ) -}} diff --git a/sources/_subprojects_outputs/tokens/transfers.yml b/sources/_subprojects_outputs/tokens/transfers.yml index b5a9d948296..e229ae82b19 100644 --- a/sources/_subprojects_outputs/tokens/transfers.yml +++ b/sources/_subprojects_outputs/tokens/transfers.yml @@ -68,17 +68,5 @@ sources: - name: transfers - name: tokens_mantle - tables: - - name: transfers - - - name: tokens_sei - tables: - - name: transfers - - - name: tokens_mode - tables: - - name: transfers - - - name: tokens_goerli tables: - name: transfers \ No newline at end of file