Skip to content

Commit

Permalink
feat: expose paraswap v6 decoded trades
Browse files Browse the repository at this point in the history
  • Loading branch information
alexshchur committed Dec 19, 2024
1 parent 11a07f4 commit 4c907d3
Show file tree
Hide file tree
Showing 8 changed files with 40 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["arbitrum"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["avalanche_c"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["base"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["bnb"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["ethereum"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["fantom"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["optimism"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@
file_format = 'delta',
incremental_strategy = 'merge',
incremental_predicates = [incremental_predicate('DBT_INTERNAL_DEST.blockTime')],
unique_key = ['call_tx_hash', 'method', 'call_trace_address']
unique_key = ['call_tx_hash', 'method', 'call_trace_address'],
post_hook='{{ expose_spells(\'["polygon"]\',
"project",
"paraswap_v6",
\'["eptighte", "mwamedacen"]\') }}'
)
}}

Expand Down

0 comments on commit 4c907d3

Please sign in to comment.