mirror of
https://github.com/FlipsideCrypto/fsc-evm.git
synced 2026-02-06 16:06:48 +00:00
drop pool_id column add, () around or in busrode stargate model
This commit is contained in:
parent
f0bb9a7d84
commit
2a4be97ac4
@ -45,6 +45,7 @@ logs AS (
|
||||
FROM
|
||||
{{ ref('core__fact_event_logs') }}
|
||||
WHERE
|
||||
(
|
||||
(
|
||||
contract_address IN (
|
||||
SELECT
|
||||
@ -55,6 +56,7 @@ logs AS (
|
||||
AND topic_0 = '0x15955c5a4cc61b8fbb05301bce47fd31c0e6f935e1ab97fdac9b134c887bb074' --busRode
|
||||
)
|
||||
OR topic_0 = '0x85496b760a4b7f8d66384b9df21b381f5d1b1e79f229a47aaf4c232edc2fe59a' --OFTSent
|
||||
)
|
||||
|
||||
{% if is_incremental() %}
|
||||
AND modified_timestamp >= (
|
||||
|
||||
@ -2084,7 +2084,6 @@ heal_model AS (
|
||||
sender,
|
||||
receiver,
|
||||
pool_address,
|
||||
pool_id,
|
||||
pool_name,
|
||||
OBJECT_CONSTRUCT_KEEP_NULL(
|
||||
'token0',
|
||||
@ -2235,7 +2234,6 @@ SELECT
|
||||
sender,
|
||||
receiver,
|
||||
pool_address,
|
||||
pool_id,
|
||||
pool_name_heal AS pool_name,
|
||||
tokens,
|
||||
symbols_heal AS symbols,
|
||||
@ -2264,7 +2262,6 @@ SELECT
|
||||
sender,
|
||||
receiver,
|
||||
pool_address,
|
||||
pool_id,
|
||||
pool_name,
|
||||
tokens,
|
||||
symbols,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user