Skip to content

Commit

Permalink
include bnb
Browse files Browse the repository at this point in the history
  • Loading branch information
grkhr committed Jun 21, 2024
1 parent 79663e2 commit 4b04982
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
24 changes: 24 additions & 0 deletions dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_logs.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% set blockchain = 'bnb' %}



{{
config(
schema = 'oneinch_' + blockchain,
alias = 'project_raw_logs',
partition_by = ['block_date'],
materialized = 'incremental',
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')],
unique_key = ['tx_hash', 'index']
)
}}



{{
oneinch_project_raw_logs_macro(
blockchain = blockchain
)
}}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{% set blockchain = 'bnb' %}



{{
config(
schema = 'oneinch_' + blockchain,
alias = 'project_raw_traces',
partition_by = ['block_date'],
materialized = 'incremental',
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.block_time')],
unique_key = ['tx_hash', 'trace_address']
)
}}



{{
oneinch_project_raw_traces_macro(
blockchain = blockchain
)
}}

0 comments on commit 4b04982

Please sign in to comment.