mirror of
https://github.com/FlipsideCrypto/arbitrum-models.git
synced 2026-02-06 11:36:48 +00:00
75 lines
2.1 KiB
YAML
75 lines
2.1 KiB
YAML
version: 2
|
|
models:
|
|
- name: silver_bridge__eywa_requestsent
|
|
tests:
|
|
- dbt_utils.unique_combination_of_columns:
|
|
combination_of_columns:
|
|
- _LOG_ID
|
|
columns:
|
|
- name: BLOCK_NUMBER
|
|
tests:
|
|
- not_null
|
|
- name: BLOCK_TIMESTAMP
|
|
tests:
|
|
- not_null
|
|
- name: ORIGIN_FUNCTION_SIGNATURE
|
|
tests:
|
|
- not_null
|
|
- name: ORIGIN_FROM_ADDRESS
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: ORIGIN_TO_ADDRESS
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: TX_HASH
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: EVENT_INDEX
|
|
tests:
|
|
- not_null
|
|
- name: EVENT_NAME
|
|
tests:
|
|
- not_null
|
|
- name: BRIDGE_ADDRESS
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: SENDER
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: RECEIVER
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: DESTINATION_CHAIN_RECEIVER
|
|
tests:
|
|
- not_null
|
|
- name: AMOUNT
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
|
column_type_list:
|
|
- DECIMAL
|
|
- FLOAT
|
|
- NUMBER
|
|
- name: TOKEN_ADDRESS
|
|
tests:
|
|
- not_null
|
|
- dbt_expectations.expect_column_values_to_match_regex:
|
|
regex: 0[xX][0-9a-fA-F]+
|
|
- name: _INSERTED_TIMESTAMP
|
|
tests:
|
|
- dbt_expectations.expect_row_values_to_have_recent_data:
|
|
datepart: day
|
|
interval: 3
|