gnosis-models/models/silver/protocols/olas/silver_olas__services_evicted.yml
drethereum 30b21a40e1
AN-4881/olas-agent-activity (#152)
* initial model temps

* update contracts and columns

* silver staking

* checkpoint and evict temps

* checkpoint and evicted

* gold views and related column updates

* fixed columns in ez views

* docs

* service staking metadata

* docs

* docs

* initial ymls

* column descriptions

* tests and docs

* docs

* overview docs

* updates for service reads

* coalesce

* error

* row num

* heal

* update registry

* remove test

* column name

* rebuild

* remove docs
2024-06-25 16:47:12 -06:00

39 lines
976 B
YAML

version: 2
models:
- name: silver_olas__services_evicted
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- SERVICES_EVICTED_ID
columns:
- name: BLOCK_NUMBER
tests:
- not_null
- name: BLOCK_TIMESTAMP
tests:
- not_null
- name: TX_HASH
tests:
- not_null
- name: OWNER_ADDRESS
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: 0[xX][0-9a-fA-F]+
- name: MULTISIG_ADDRESS
tests:
- not_null
- dbt_expectations.expect_column_values_to_match_regex:
regex: 0[xX][0-9a-fA-F]+
- name: SERVICE_ID
tests:
- not_null
- name: EPOCH
tests:
- not_null
- name: SERVICE_INACTIVITY
tests:
- not_null
- name: PROGRAM_NAME
tests:
- not_null