Skip to content
Merged
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 nft/models/_sector/wash_trades/_schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: 2
models:
- name: nft_wash_trades
meta:
blockchain: arbitrum, avalanche_c, bnb, ethereum, gnosis, optimism, polygon, zksync, base, scroll, zora
blockchain: arbitrum, avalanche_c, bnb, ethereum, gnosis, optimism, polygon, zksync, base, scroll, zora, blast
sector: nft
contributors: hildobby
config:
Expand Down
17 changes: 17 additions & 0 deletions nft/models/_sector/wash_trades/chains/nft_blast_wash_trades.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{{ config(

schema = 'nft_blast',
alias='wash_trades',
partition_by=['block_month'],
materialized='incremental',
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = ['DBT_INTERNAL_DEST.block_time >= date_trunc(\'day\', now() - interval \'7\' day)'],
unique_key = ['unique_trade_id']
)
}}

{{nft_wash_trades(
blockchain='blast',
first_funded_by = source('addresses_events_blast', 'first_funded_by')
)}}
3 changes: 2 additions & 1 deletion nft/models/_sector/wash_trades/nft_wash_trades.sql
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
alias = 'wash_trades',
schema = 'nft',

post_hook='{{ expose_spells(\'["arbitrum", "avalanche_c", "bnb", "ethereum", "gnosis", "optimism", "polygon", "celo", "zksync", "base", "scroll", "zora"]\',
post_hook='{{ expose_spells(\'["arbitrum", "avalanche_c", "bnb", "ethereum", "gnosis", "optimism", "polygon", "celo", "zksync", "base", "scroll", "zora", "blast"]\',
"sector",
"nft",
\'["hildobby"]\') }}')
Expand All @@ -21,6 +21,7 @@
, ref('nft_base_wash_trades')
, ref('nft_scroll_wash_trades')
, ref('nft_zora_wash_trades')
, ref('nft_blast_wash_trades')
] %}

SELECT *
Expand Down
3 changes: 3 additions & 0 deletions sources/_subprojects/spellbook/_sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ sources:
- name: addresses_events_zora
tables:
- name: first_funded_by
- name: addresses_events_blast
tables:
- name: first_funded_by
- name: bridge_optimism
tables:
- name: standard_bridge_flows
Expand Down