mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 14:26:52 +00:00
update upon hotfix-58+
This commit is contained in:
parent
f471c67559
commit
a6547d77bc
@ -47,7 +47,7 @@ models:
|
||||
- FLOAT
|
||||
|
||||
- name: public_key
|
||||
description: The public key of an AccessKey which was used to sign the original transaction. In case of a deposit refund, the public key is empty (all bytes are 0).
|
||||
description: "{{ doc('public_key')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
@ -67,7 +67,7 @@ models:
|
||||
- VARIANT
|
||||
|
||||
- name: allowance
|
||||
description: Amount of NEAR approved for use in unadjusted format (10^24). NULL if permission is FullAccess.
|
||||
description: "{{ doc('allowance')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
@ -76,7 +76,7 @@ models:
|
||||
- NULL
|
||||
|
||||
- name: method_name
|
||||
description: Name of the method(s) approved for use. NULL if permission is FullAccess.
|
||||
description: "{{ doc('method_name')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
@ -86,7 +86,7 @@ models:
|
||||
- NULL
|
||||
|
||||
- name: receiver_id
|
||||
description: the account ID of the destination of this transaction. NULL if permission is FullAccess.
|
||||
description: "{{ doc('receiver_id')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
|
||||
@ -65,7 +65,7 @@ models:
|
||||
- VARCHAR
|
||||
|
||||
- name: deposit
|
||||
description: Sum of all NEAR tokens (figure is not decimal adjusted, 10^24) transferred from the Signing account to the Receiver account.
|
||||
description: "{{ doc('deposit')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
@ -73,7 +73,7 @@ models:
|
||||
- FLOAT
|
||||
|
||||
- name: attached_gas
|
||||
description: Units of gas (figure is not decimal adjusted, 10^12) attached to the transaction (this is often higher than 'Gas Used').
|
||||
description: "{{ doc('attached_gas')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
|
||||
@ -71,7 +71,7 @@ models:
|
||||
- OBJECT
|
||||
|
||||
- name: block_challenges_root
|
||||
description: The block_challenges_root taken from block headers. TODO check this column expectation, number?
|
||||
description: "{{ doc('block_challenges_root')}}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
@ -144,7 +144,7 @@ models:
|
||||
- VARCHAR
|
||||
|
||||
- name: epoch_sync_data_hash
|
||||
description: The epoch_sync_data_hash taken from block headers, if available.
|
||||
description: "{{ doc('epoch_sync_data_hash')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
@ -163,7 +163,7 @@ models:
|
||||
- OBJECT
|
||||
|
||||
- name: gas_price
|
||||
description: The gas_price taken from block headers, number is not decimal adjusted.
|
||||
description: "{{ doc('gas_price')}}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
@ -243,7 +243,7 @@ models:
|
||||
- FLOAT
|
||||
|
||||
- name: prev_state_root
|
||||
description: The prev_state_root taken from block headers. TODO can this be null?
|
||||
description: "{{ doc('prev_state_root')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
|
||||
@ -58,7 +58,7 @@ models:
|
||||
- VARCHAR
|
||||
|
||||
- name: deposit
|
||||
description: Sum of all NEAR tokens transferred from the Signing account to the Receiver account. This includes tokens sent in a Transfer action(s). In raw number format, to adjust divide by POW(10,24)
|
||||
description: "{{ doc('deposit')}}"
|
||||
tests:
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
column_type_list:
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% docs block_challenges_root %}
|
||||
|
||||
The block_challenges_root taken from block headers.
|
||||
The block_challenges_root taken from block headers. TODO check this column expectation, number?
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% docs deposit %}
|
||||
|
||||
Sum of all NEAR tokens (figure is not decimal adjusted, 10^24) transferred from the Signing account to the Receiver account.
|
||||
Sum of all NEAR tokens transferred from the Signing account to the Receiver account. This includes tokens sent in a Transfer action(s). In raw number format, to adjust divide by POW(10,24)
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% docs epoch_sync_data_hash %}
|
||||
|
||||
The epoch_sync_data_hash taken from block headers.
|
||||
The epoch_sync_data_hash taken from block headers, if available.
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% docs gas_price %}
|
||||
|
||||
The gas_price taken from block headers.
|
||||
The gas_price taken from block headers, number is not decimal adjusted.
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
{% docs prev_state_root %}
|
||||
|
||||
The prev_state_root taken from block headers.
|
||||
The prev_state_root taken from block headers. TODO can this be null?
|
||||
|
||||
{% enddocs %}
|
||||
|
||||
@ -15,7 +15,7 @@ models:
|
||||
- TIMESTAMP_NTZ
|
||||
|
||||
- name: daily_gas_used
|
||||
description: The total daily gas used in transactions. NOT Decimal adjusted; gas units (10^-12 Tgas)
|
||||
description: "{{ doc('daily_gas_used')}}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
@ -24,7 +24,7 @@ models:
|
||||
- FLOAT
|
||||
|
||||
- name: avg_gas_price
|
||||
description: The average gas price in transactions. NOT Decimal adjusted; units in yoctoNEAR (10^-24 NEAR)
|
||||
description: "{{ doc('avg_gas_price')}}"
|
||||
tests:
|
||||
- not_null
|
||||
- dbt_expectations.expect_column_values_to_be_in_type_list:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user