Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add chains to nft.mints #7066

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dbt_subprojects/nft/models/_sector/mints/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ models:

- name: nft_mints
meta:
blockchain: ethereum, solana, bnb, optimism, arbitrum, polygon, zksync
blockchain: ethereum, solana, bnb, optimism, arbitrum, polygon, zksynce, arbitrum, avalanche_c, blast, celo, fantom, gnosis, linea, mantle, polygon, scroll, sei
sector: nft
contributors: soispoke, hildobby, ilemi, 0xRob, cat, umer_h_adil, lgingerich
docs_slug: /curated/trading/NFT/nft-mints
Expand Down
253 changes: 253 additions & 0 deletions dbt_subprojects/nft/models/_sector/mints/native/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,256 @@ models:
- *token_id
- *number_of_items
- *amount_usd

- name: nft_arbitrum_native_mints
meta:
blockchain: arbitrum
sector: nft
contributors: hildobby
config:
tags: [ 'nft','arbitrum' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_avalanche_c_native_mints
meta:
blockchain: avalanche_c
sector: nft
contributors: hildobby
config:
tags: [ 'nft','avalanche_c' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_blast_native_mints
meta:
blockchain: blast
sector: nft
contributors: hildobby
config:
tags: [ 'nft','blast' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_celo_native_mints
meta:
blockchain: celo
sector: nft
contributors: hildobby
config:
tags: [ 'nft','celo' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_fantom_native_mints
meta:
blockchain: fantom
sector: nft
contributors: hildobby
config:
tags: [ 'nft','fantom' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_gnosis_native_mints
meta:
blockchain: gnosis
sector: nft
contributors: hildobby
config:
tags: [ 'nft','gnosis' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_linea_native_mints
meta:
blockchain: linea
sector: nft
contributors: hildobby
config:
tags: [ 'nft','linea' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_mantle_native_mints
meta:
blockchain: mantle
sector: nft
contributors: hildobby
config:
tags: [ 'nft','mantle' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_polygon_native_mints
meta:
blockchain: polygon
sector: nft
contributors: hildobby
config:
tags: [ 'nft','polygon' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_scroll_native_mints
meta:
blockchain: scroll
sector: nft
contributors: hildobby
config:
tags: [ 'nft','scroll' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd

- name: nft_sei_native_mints
meta:
blockchain: sei
sector: nft
contributors: hildobby
config:
tags: [ 'nft','sei' ]
description: >
NFT native (i.e., non-platform) mints
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- tx_hash
- evt_index
- token_id
- number_of_items
columns:
- *tx_hash
- *evt_index
- *token_id
- *number_of_items
- *amount_usd
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ config(

schema = 'nft_arbitrum',
alias = 'native_mints',
partition_by = ['block_month'],
file_format = 'delta',
materialized = 'incremental',
incremental_strategy = 'merge',
unique_key = ['tx_hash','evt_index','token_id','number_of_items']
)
}}

{{nft_mints(
blockchain='arbitrum'
, base_contracts = source('arbitrum','contracts')
, base_traces = source('arbitrum','traces')
, erc20_transfer = source('erc20_arbitrum','evt_transfer')
, base_transactions = source('arbitrum','transactions')
, eth_currency_contract = '0x4200000000000000000000000000000000000006'
)}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ config(

schema = 'nft_avalanche_c',
alias = 'native_mints',
partition_by = ['block_month'],
file_format = 'delta',
materialized = 'incremental',
incremental_strategy = 'merge',
unique_key = ['tx_hash','evt_index','token_id','number_of_items']
)
}}

{{nft_mints(
blockchain='avalanche_c'
, base_contracts = source('avalanche_c','contracts')
, base_traces = source('avalanche_c','traces')
, erc20_transfer = source('erc20_avalanche_c','evt_transfer')
, base_transactions = source('avalanche_c','transactions')
, eth_currency_contract = '0x4200000000000000000000000000000000000006'
)}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ config(

schema = 'nft_blast',
alias = 'native_mints',
partition_by = ['block_month'],
file_format = 'delta',
materialized = 'incremental',
incremental_strategy = 'merge',
unique_key = ['tx_hash','evt_index','token_id','number_of_items']
)
}}

{{nft_mints(
blockchain='blast'
, base_contracts = source('blast','contracts')
, base_traces = source('blast','traces')
, erc20_transfer = source('erc20_blast','evt_transfer')
, base_transactions = source('blast','transactions')
, eth_currency_contract = '0x4200000000000000000000000000000000000006'
)}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ config(

schema = 'nft_celo',
alias = 'native_mints',
partition_by = ['block_month'],
file_format = 'delta',
materialized = 'incremental',
incremental_strategy = 'merge',
unique_key = ['tx_hash','evt_index','token_id','number_of_items']
)
}}

{{nft_mints(
blockchain='celo'
, base_contracts = source('celo','contracts')
, base_traces = source('celo','traces')
, erc20_transfer = source('erc20_celo','evt_transfer')
, base_transactions = source('celo','transactions')
, eth_currency_contract = '0x4200000000000000000000000000000000000006'
)}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ config(

schema = 'nft_fantom',
alias = 'native_mints',
partition_by = ['block_month'],
file_format = 'delta',
materialized = 'incremental',
incremental_strategy = 'merge',
unique_key = ['tx_hash','evt_index','token_id','number_of_items']
)
}}

{{nft_mints(
blockchain='fantom'
, base_contracts = source('fantom','contracts')
, base_traces = source('fantom','traces')
, erc20_transfer = source('erc20_fantom','evt_transfer')
, base_transactions = source('fantom','transactions')
, eth_currency_contract = '0x4200000000000000000000000000000000000006'
)}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{{ config(

schema = 'nft_gnosis',
alias = 'native_mints',
partition_by = ['block_month'],
file_format = 'delta',
materialized = 'incremental',
incremental_strategy = 'merge',
unique_key = ['tx_hash','evt_index','token_id','number_of_items']
)
}}

{{nft_mints(
blockchain='gnosis'
, base_contracts = source('gnosis','contracts')
, base_traces = source('gnosis','traces')
, erc20_transfer = source('erc20_gnosis','evt_transfer')
, base_transactions = source('gnosis','transactions')
, eth_currency_contract = '0x4200000000000000000000000000000000000006'
)}}
Loading
Loading