diff --git a/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_logs.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_logs.sql new file mode 100644 index 00000000000..b140b8a64ab --- /dev/null +++ b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_logs.sql @@ -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 + ) +}} diff --git a/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_traces.sql b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_traces.sql new file mode 100644 index 00000000000..8d0de599844 --- /dev/null +++ b/dex/models/_projects/oneinch/bnb/oneinch_bnb_project_raw_traces.sql @@ -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 + ) +}}