Skip to content

Commit

Permalink
remove/replace old model
Browse files Browse the repository at this point in the history
  • Loading branch information
RantumBits committed Nov 15, 2024
1 parent 33a6154 commit 0c87950
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 365 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,57 +267,6 @@ models:
name: protocol_fee_paid_eth
description: "The protocol fee paid in ETH"

- name: zeroex_polygon_settler_trades
meta:
blockchain: polygon
project: zeroex
contributors: rantum, bakabhai993
config:
tags: ['polygon','0x','dex_aggregator','dex','aggregator']
description: >
0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions.
data_tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- block_month
- block_date
- tx_hash
- evt_index
- check_seed:
seed_file: ref('zeroex_polygon_settler_trades_sample')
match_columns:
- tx_hash
check_columns:
- taker
- maker_token
- taker_token
columns:
- *blockchain
- *block_date
- *block_month
- *block_time
- *taker_symbol
- *maker_symbol
- *token_pair
- *taker_token_amount
- *maker_token_amount
- *taker_token_amount_raw
- *maker_token_amount_raw
- *volume_usd
- *taker_token
- *maker_token
- *taker
- *maker
- *affiliate_address
- *tx_hash
- *tx_from
- *tx_to
- *evt_index
- *type
- *swap_flag
- *contract_address
- *fills_within

- name: zeroex_polygon_v2_trades
meta:
blockchain: polygon
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% set settler_models = [
ref('zeroex_ethereum_settler_trades')
,ref('zeroex_base_settler_trades')
,ref('zeroex_polygon_settler_trades')
,ref('zeroex_polygon_v2_trades')
,ref('zeroex_optimism_settler_trades')
,ref('zeroex_bnb_settler_trades')
,ref('zeroex_avalanche_c_settler_trades')
Expand Down Expand Up @@ -102,7 +102,7 @@ FROM (
,tx_to
,trace_address
,evt_index
,tag as affiliate_address
,affiliate_address
,zid
,type
FROM {{ model }}
Expand Down

0 comments on commit 0c87950

Please sign in to comment.