near-models/models/silver/horizon/silver_horizon__decoded_actions.yml
2024-12-11 18:47:39 -07:00

81 lines
2.0 KiB
YAML

version: 2
models:
- name: silver_horizon__decoded_actions
description: |-
Decoded FunctionCall events for receipts where the contract nearhorizon.near was called.
columns:
- name: action_id_horizon
description: "{{ doc('action_id')}}"
tests:
- unique
- name: tx_hash
description: "{{ doc('tx_hash')}}"
tests:
- not_null:
where: _inserted_timestamp <= current_timestamp - interval '1 hour'
- name: receipt_object_id
description: "{{ doc('receipt_object_id')}}"
- name: block_id
description: "{{ doc('block_id')}}"
- name: block_timestamp
description: "{{ doc('block_timestamp')}}"
tests:
- not_null:
where: _inserted_timestamp <= current_timestamp - interval '1 hour'
- name: method_name
description: "{{ doc('method_name')}}"
tests:
- not_null
- name: args
description: "{{ doc('args')}}"
tests:
- not_null
- name: deposit
description: "{{ doc('deposit')}}"
- name: attached_gas
description: "{{ doc('attached_gas')}}"
- name: receiver_id
description: "{{ doc('receiver_id')}}"
tests:
- not_null
- name: signer_id
description: "{{ doc('signer_id')}}"
tests:
- not_null
- name: receipt_succeeded
description: "{{ doc('receipt_succeeded')}}"
- name: _partition_by_block_number
description: "{{ doc('_partition_by_block_number')}}"
- name: _INSERTED_TIMESTAMP
description: "{{ doc('_inserted_timestamp')}}"
- name: HORIZON_DECODED_ACTIONS_ID
description: "{{doc('id')}}"
- name: INSERTED_TIMESTAMP
description: "{{doc('inserted_timestamp')}}"
- name: MODIFIED_TIMESTAMP
description: "{{doc('modified_timestamp')}}"
- name: _INVOCATION_ID
description: "{{doc('invocation_id')}}"