mirror of
https://github.com/FlipsideCrypto/near-models.git
synced 2026-02-06 09:41:44 +00:00
77 lines
1.9 KiB
YAML
77 lines
1.9 KiB
YAML
version: 2
|
|
|
|
models:
|
|
- name: silver__atlas_nft_transactions
|
|
description: |-
|
|
This incremental dbt model unifies NFT minting and transfer data into a single view, providing a comprehensive look at NFT activities. It captures daily activities by transaction hash, method name, receiver ID, signer ID, owner, and token ID.
|
|
tests:
|
|
- dbt_utils.recency:
|
|
datepart: day
|
|
field: _inserted_timestamp
|
|
interval: 1
|
|
|
|
columns:
|
|
- name: atlas_nft_transactions_id
|
|
description: "{{doc('id')}}"
|
|
tests:
|
|
- unique
|
|
- not_null
|
|
|
|
- name: day
|
|
description: "{{doc('date')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: tx_hash
|
|
description: "{{doc('tx_hash')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: method_name
|
|
description: "{{doc('method_name')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: receiver_id
|
|
description: "{{doc('receiver_id')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: signer_id
|
|
description: "{{doc('signer_id')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: owner
|
|
description: "{{doc('owner')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: token_id
|
|
description: "{{doc('token_id')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: inserted_timestamp
|
|
description: "{{doc('inserted_timestamp')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: modified_timestamp
|
|
description: "{{doc('modified_timestamp')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: _invocation_id
|
|
description: "{{doc('invocation_id')}}"
|
|
|
|
- name: _partition_by_block_number
|
|
description: "{{doc('_partition_by_block_number')}}"
|
|
|
|
- name: _inserted_timestamp
|
|
description: "{{doc('_inserted_timestamp')}}"
|
|
tests:
|
|
- not_null
|
|
|
|
- name: _modified_timestamp
|
|
description: "{{doc('_modified_timestamp')}}" |