aave token fix

This commit is contained in:
mattromano 2024-02-15 20:15:53 -08:00
parent 737b4d8cc9
commit 763afc1e05

View File

@ -88,6 +88,12 @@ AND _inserted_timestamp >= (
WHERE
atoken_version = 'Aave V3'
)
AND contract_address NOT IN (
SELECT
atoken_address
FROM
{{ this }}
)
{% endif %}
),
a_token_step_1 AS (
@ -194,6 +200,12 @@ aave_token_pull AS (
WHERE
atoken_version = 'Aave V2'
)
AND CONCAT('0x', SUBSTR(topics [2] :: STRING, 27, 40)) NOT IN (
SELECT
atoken_address
FROM
{{ this }}
)
{% endif %}
),
aave_token_pull_2 AS (