osmosis-models/models/gold/gov/gov__fact_staking_rewards.yml
2024-01-11 21:39:18 -05:00

48 lines
1.7 KiB
YAML

version: 2
models:
- name: gov__fact_staking_rewards
description: Records of all claimed rewards earned from staking that have occurred on Osmosis, dating back to the genesis block. These actions include claim and withdrawal_rewards.
columns:
- name: BLOCK_ID
description: "{{ doc('block_id') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: BLOCK_TIMESTAMP
description: "{{ doc('block_timestamp') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: TX_ID
description: "{{ doc('tx_id') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: TX_SUCCEEDED
description: "{{ doc('tx_succeeded') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: TX_CALLER_ADDRESS
description: "{{ doc('tx_caller_address') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: ACTION
description: "{{ doc('action') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: DELEGATOR_ADDRESS
description: "{{ doc('delegator_address') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: AMOUNT
description: "{{ doc('amount') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: CURRENCY
description: "{{ doc('currency') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: VALIDATOR_ADDRESS
description: "{{ doc('validator_address') }}"
tests:
- dbt_expectations.expect_column_to_exist
- name: DECIMAL
description: "{{ doc('decimal') }}"