mirror of
https://github.com/FlipsideCrypto/avalanche-models.git
synced 2026-02-06 11:36:48 +00:00
* initial models * updated contracts * docs * removed hop * allbridge * dst chain seed * docs * docs * token symbol * tests * test * wormhole seed * filter
54 lines
1.4 KiB
YAML
54 lines
1.4 KiB
YAML
version: 2
|
|
models:
|
|
- name: silver_dex__curve_swaps
|
|
tests:
|
|
- dbt_utils.unique_combination_of_columns:
|
|
combination_of_columns:
|
|
- _log_id
|
|
columns:
|
|
- name: TOKENS_SOLD
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- decimal
|
|
- float
|
|
- number
|
|
- name: TOKENS_BOUGHT
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- decimal
|
|
- float
|
|
- number
|
|
- name: BLOCK_TIMESTAMP
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_row_values_to_have_recent_data:
|
|
datepart: day
|
|
interval: 1
|
|
- name: EVENT_INDEX
|
|
tests:
|
|
- not_null
|
|
- name: POOL_ADDRESS
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: POOL_NAME
|
|
tests:
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- varchar
|
|
- name: SENDER
|
|
tests:
|
|
- not_null
|
|
- name: TX_TO
|
|
tests:
|
|
- not_null
|
|
- name: TOKEN_IN
|
|
- name: TOKEN_OUT
|
|
- name: TX_HASH
|
|
tests:
|
|
- not_null |