This commit is contained in:
Mike Stepanovic 2025-07-29 12:48:00 -06:00
parent 10831a4f4c
commit 1d97246812

View File

@ -43,6 +43,9 @@ filtered as (
JOIN
allowed_tx at
ON fbc.tx_digest = at.tx_digest
WHERE
fbc.tx_sender != fbc.owner
AND NOT (balance_change_index = 0 AND amount < 0) -- remove mints, self-splits, proofs, flash loans
{% if is_incremental() %}
WHERE fbc.modified_timestamp >= (SELECT COALESCE(MAX(modified_timestamp),'1970-01-01') FROM {{ this }})
{% endif %}