solana-models/models/gold/marinade/marinade__ez_liquid_staking_actions.yml
tarikceric ec4ff66c24
Some checks failed
docs_update / run_dbt_jobs (push) Has been cancelled
docs_update / notify-failure (push) Has been cancelled
dbt_run_streamline_solscan_token_list / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_solscan_token_list / notify-failure (push) Has been cancelled
dbt_test_scheduled_weekly / run_dbt_jobs (push) Has been cancelled
dbt_test_scheduled_weekly / notify-failure (push) Has been cancelled
dbt_test_scheduled / run_dbt_jobs (push) Has been cancelled
dbt_run_idls_history / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_validator_vote_program_accounts_snapshot / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_validator_vote_accounts_snapshot / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_validator_metadata_snapshot / run_dbt_jobs (push) Has been cancelled
dbt_run_streamline_validators_list_snapshot / run_dbt_jobs (push) Has been cancelled
dbt_run_scheduled_daily / run_dbt_jobs (push) Has been cancelled
dbt_run_macro_get_compressed_nft / run_dbt_jobs (push) Has been cancelled
dbt_run_helius_metadata / run_dbt_jobs (push) Has been cancelled
dbt_test_intraday / run_dbt_jobs (push) Has been cancelled
dbt_run_dev_refresh / run_dbt_jobs (push) Has been cancelled
dbt_run_macro_get_block_production / run_dbt_jobs (push) Has been cancelled
dbt_test_scheduled_hourly / run_dbt_jobs (push) Has been cancelled
dbt_run_batch_backfill / run_dbt_jobs (push) Has been cancelled
dbt_test_scheduled / notify-failure (push) Has been cancelled
dbt_run_idls_history / notify-failure (push) Has been cancelled
dbt_run_streamline_validator_vote_program_accounts_snapshot / notify-failure (push) Has been cancelled
dbt_run_streamline_validator_vote_accounts_snapshot / notify-failure (push) Has been cancelled
dbt_run_streamline_validator_metadata_snapshot / notify-failure (push) Has been cancelled
dbt_run_streamline_validators_list_snapshot / notify-failure (push) Has been cancelled
dbt_run_scheduled_daily / notify-failure (push) Has been cancelled
dbt_run_macro_get_compressed_nft / notify-failure (push) Has been cancelled
dbt_run_helius_metadata / notify-failure (push) Has been cancelled
dbt_test_intraday / notify-failure (push) Has been cancelled
dbt_run_macro_get_block_production / notify-failure (push) Has been cancelled
dbt_test_scheduled_hourly / notify-failure (push) Has been cancelled
dbt_run_full_observability / run_dbt_jobs (push) Has been cancelled
dbt_run_full_observability / notify-failure (push) Has been cancelled
add signer (#891)
2025-11-18 20:54:09 +01:00

111 lines
4.1 KiB
YAML

version: 2
models:
- name: marinade__ez_liquid_staking_actions
description: "{{ doc('marinade_ez_liquid_staking_actions') }}"
tests:
- dbt_utils.unique_combination_of_columns:
combination_of_columns:
- TX_ID
- INDEX
- INNER_INDEX
where: block_timestamp::date > current_date - 30
recent_date_filter: &recent_date_filter
config:
where: block_timestamp >= current_date - 7
recent_modified_date_filter: &recent_modified_date_filter
config:
where: modified_timestamp >= current_date - 7
columns:
- name: BLOCK_TIMESTAMP
description: "{{ doc('block_timestamp') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_modified_date_filter
- name: BLOCK_ID
description: "{{ doc('block_id') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: TX_ID
description: "{{ doc('tx_id') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: INDEX
description: "{{ doc('event_index') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: INNER_INDEX
description: "{{ doc('inner_index') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: SIGNER
description: "{{ doc('signer') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: ACTION_TYPE
description: "{{ doc('action') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: PROVIDER_ADDRESS
description: "{{ doc('liquidity_provider') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: DEPOSIT_AMOUNT
description: "{{ doc('deposit_amount') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null:
where: action_type = 'deposit' AND block_timestamp >= current_date - 7
- name: DEPOSIT_AMOUNT_USD
description: "{{ doc('deposit_amount_usd') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null:
where: action_type = 'deposit' AND block_timestamp >= current_date - 7
- name: MSOL_MINTED
description: "{{ doc('msol_minted') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: MSOL_BURNED
description: "{{ doc('msol_burned') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null:
where: action_type = 'orderUnstake' AND block_timestamp >= current_date - 7
- name: CLAIM_AMOUNT
description: "{{ doc('claim_amount') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null:
where: action_type = 'claim' AND block_timestamp >= current_date - 7
- name: CLAIM_AMOUNT_USD
description: "{{ doc('claim_amount_usd') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null:
where: action_type = 'claim' AND block_timestamp >= current_date - 7
- name: PROGRAM_ID
description: "{{ doc('program_id') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: MARINADE_EZ_LIQUID_STAKING_ACTIONS_ID
description: "{{ doc('pk') }}"
tests:
- dbt_expectations.expect_column_to_exist
- unique: *recent_date_filter
- name: INSERTED_TIMESTAMP
description: "{{ doc('inserted_timestamp') }}"
tests:
- dbt_expectations.expect_column_to_exist
- not_null: *recent_date_filter
- name: MODIFIED_TIMESTAMP
description: "{{ doc('modified_timestamp') }}"
tests:
- dbt_expectations.expect_column_to_exist