granary-new-token-name-structure (#221)

* add new token filter

* revert inc
This commit is contained in:
Matt Romano 2024-10-29 11:49:24 -07:00 committed by GitHub
parent ee3bbd26cb
commit 76ea43e608
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -47,6 +47,8 @@ AND contract_address NOT IN (
FROM
{{ this }}
)
AND block_timestamp >= CURRENT_DATE - INTERVAL '7 days'
{% endif %}
),
a_token_step_1 AS (
@ -64,7 +66,7 @@ a_token_step_1 AS (
FROM
DECODE
WHERE
atoken_name LIKE '%Granary%'
atoken_name LIKE '%Granary%' OR atoken_name LIKE '%Grain%'
),
debt_tokens AS (
SELECT