Skip to content

Commit

Permalink
Revert 0x settler trades spells (duneanalytics#6462)
Browse files Browse the repository at this point in the history
* Revert "list out columns in views (duneanalytics#6461)"

This reverts commit 309555e.

* Revert "[FOR REVIEW] Add zeroex settler txns on ethereum (duneanalytics#6405)"

This reverts commit 48f3924.

* Revert "[FOR REVIEW] Add ZeroEx Settler trades on Base (duneanalytics#6413)"

This reverts commit 5132afa.

* Revert "[FOR REVIEW] Add ZeroEx settler trades on Polygon (duneanalytics#6424)"

This reverts commit cebf82c.

* Revert "Add ZeroEx Settler trades on Optimism (duneanalytics#6427)"

This reverts commit b08bc89.

* Revert "[FOR REVIEW] Add ZeroEx Settler trades on BNB (duneanalytics#6431)"

This reverts commit 12456b8.

* Revert "[FOR REVIEW] Add ZeroEx Settler trades on Avalanche (duneanalytics#6432)"

This reverts commit d6462e9.

* Revert "Add ZeroEx settler trades on Arbitrum  (duneanalytics#6444)"

This reverts commit 647c22d.
  • Loading branch information
jeff-dude authored Jul 30, 2024
1 parent 309555e commit 4c59746
Show file tree
Hide file tree
Showing 38 changed files with 55 additions and 2,716 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ AS
)
SELECT a.blockchain
, '0x API' as project
, cast('1' as varchar) as version
, cast(null as varchar) as version

, a.block_date
, a.block_month
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ models:
config:
tags: ['arbitrum','0x','dex_aggregator','dex','aggregator']
description: >
0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on arbitrum
0x API erc20 swaps raw fills (including multihops) and also native swaps thru 0x exchange contracts (without using 0x API) on Ethereum
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
Expand Down Expand Up @@ -204,55 +204,4 @@ models:
- *matcha_limit_order_flag
- &protocol_fee_paid_eth
name: protocol_fee_paid_eth
description: "The protocol fee paid in ETH"

- name: zeroex_arbitrum_settler_trades
meta:
blockchain: arbitrum
project: zeroex
contributors: rantum
config:
tags: ['arbitrum','0x','dex_aggregator','dex','aggregator']
description: >
0x API erc20 trades through 0x Settler contracts. No fills, only deduped transactions.
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- block_month
- block_date
- tx_hash
- evt_index
- check_seed:
seed_file: ref('zeroex_arbitrum_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
description: "The protocol fee paid in ETH"

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ AS
)
SELECT a.blockchain
, '0x API' as project
, cast('1' as varchar) as version
, cast(null as varchar) as version

, a.block_date
, a.block_month
Expand Down
Loading

0 comments on commit 4c59746

Please sign in to comment.