mirror of
https://github.com/FlipsideCrypto/polygon-models.git
synced 2026-02-06 13:22:04 +00:00
aave token fix
This commit is contained in:
parent
737b4d8cc9
commit
763afc1e05
@ -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 (
|
||||
|
||||
Loading…
Reference in New Issue
Block a user