Merge pull request #475 from FlipsideCrypto/fix-lp-action-heal-logic

fix-lp-action-heal-logic
This commit is contained in:
Matt Romano 2026-01-26 08:41:36 -08:00 committed by GitHub
commit 169975fb6b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1425,7 +1425,7 @@ heal_model AS (
sender,
receiver,
t0.pool_address,
t0.pool_id,
'0x' AS pool_id,
lp.pool_name AS pool_name_heal,
t0.tokens,
OBJECT_CONSTRUCT_KEEP_NULL(
@ -1579,7 +1579,7 @@ heal_model AS (
LEFT JOIN {{ ref('silver_dex__complete_dex_liquidity_pools') }}
lp
ON lp.pool_address = t0.pool_address
AND lp.pool_id = t0.pool_id
AND lp.pool_id = '0x'
LEFT JOIN contracts c0
ON c0.contract_address = t0.tokens :token0
LEFT JOIN contracts c1