mirror of
https://github.com/FlipsideCrypto/flow-models.git
synced 2026-02-06 13:06:59 +00:00
parent
791aeba098
commit
c1d8aabc39
@ -15,4 +15,7 @@ SELECT
|
||||
FROM
|
||||
{{ ref('silver__token_transfers') }}
|
||||
WHERE
|
||||
token_contract != 'A.c38aea683c0c4d38.ZelosAccountingToken'
|
||||
token_contract NOT IN (
|
||||
'A.c38aea683c0c4d38.ZelosAccountingToken',
|
||||
'A.f1b97c06745f37ad.SwapPair'
|
||||
)
|
||||
|
||||
@ -7,6 +7,9 @@ models:
|
||||
- sequence_gaps:
|
||||
column_name: block_height
|
||||
where: BLOCK_TIMESTAMP < CURRENT_DATE
|
||||
config:
|
||||
severity: warn
|
||||
error_if: "> 500"
|
||||
|
||||
columns:
|
||||
- name: BLOCK_HEIGHT
|
||||
|
||||
@ -20,6 +20,9 @@ models:
|
||||
column_block: block_height
|
||||
column_tx_count: tx_count
|
||||
where: BLOCK_TIMESTAMP < CURRENT_DATE
|
||||
config:
|
||||
severity: warn
|
||||
error_if: "> 5000"
|
||||
|
||||
- name: BLOCK_TIMESTAMP
|
||||
description: "{{ doc('block_timestamp') }}"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user