From ec0561270155049e8d403ecb7069fb919c24b2f8 Mon Sep 17 00:00:00 2001 From: Huang Geyang Date: Sat, 11 Jan 2025 16:38:08 +0800 Subject: [PATCH] Update dbt_subprojects/dex/models/trades/test/_schema.yml Co-authored-by: jeff-dude <102681548+jeff-dude@users.noreply.github.com> --- .../dex/models/trades/test/_schema.yml | 42 ------------------- 1 file changed, 42 deletions(-) diff --git a/dbt_subprojects/dex/models/trades/test/_schema.yml b/dbt_subprojects/dex/models/trades/test/_schema.yml index e30e406af6c..11b6ec2ac44 100644 --- a/dbt_subprojects/dex/models/trades/test/_schema.yml +++ b/dbt_subprojects/dex/models/trades/test/_schema.yml @@ -12,50 +12,8 @@ models: - tx_hash - evt_index columns: - - name: blockchain - description: "Blockchain on which this trade occurred" - - name: project - description: "Name of the dex on which the trade occurred" - - name: version - description: "Version of the DEX protocol/contract" - - name: block_month - description: "UTC event block month" - - name: block_date - description: "UTC event block date" - - name: block_time - description: "UTC event block time" - - name: block_number - description: "Block number of the block in which the trade occurred" - - name: token_bought_symbol - description: "Symbol of the token bought in the trade" - - name: token_sold_symbol - description: "Symbol of the token sold in the trade" - - name: token_pair - description: "symbol pair for the tokens involved in the trade. e.g. 'ETH/USDC'. Always alphabetical order, not trade order." - - name: token_bought_amount - description: "Amount of the token bought in the display unit" - - name: token_sold_amount - description: "Amount of the token sold in the display unit" - - name: token_bought_amount_raw - description: "Amount of the token bought in the base unit" - - name: token_sold_amount_raw - description: "Amount of the token sold in the base unit" - name: amount_usd description: "USD value of the trade at time of execution. Can be null if we don't have enough data to calculate the value." data_tests: - dbt_utils.accepted_range: max_value: 1000000000 # $1b is an arbitrary number, intended to flag outlier amounts early - - name: token_bought_address - description: "Contract address of the token bought" - - name: token_sold_address - description: "Contract address of the token sold" - - name: taker - description: "Address of account which purchased tokens. Can be contracts or EOA addresses. " - - name: maker - description: "Address of account which sold tokens. Can be contracts or EOA addresses." - - name: project_contract_address - description: "Smart contract address which emitted the event associated with this trade." - - name: tx_hash - description: "The hash of the transaction that this trade was included in" - - name: evt_index - description: "Index of the event in the transaction"