avalanche-models/models/silver/defi/dex/arenatrade/silver_dex__arena_pools.yml
San Yong 27d8c1747f
AN-6240/metrics-dex-curation (#349)
* add dexalot arena swaps and arena pools

* convert dexalot to fact logs and new topic

* update silver and gold tables
2025-06-10 08:32:40 +08:00

23 lines
579 B
YAML

version: 2
models:
- name: silver_dex__arena_pools
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- POOL_ADDRESS
columns:
- name: POOL_ADDRESS
tests:
- not_null
- name: TOKEN0
tests:
- not_null
- name: TOKEN1
tests:
- not_null
- name: _INSERTED_TIMESTAMP
tests:
- dbt_expectations.expect_column_values_to_be_in_type_list:
column_type_list:
- TIMESTAMP_LTZ
- TIMESTAMP_NTZ