0-MIDChains bridge
    Updated 2025-03-16
    with act1 as (
    with tab1 as (
    select
    TX_HASH
    from ethereum.core.ez_decoded_event_logs
    where EVENT_NAME='LiFiTransferStarted'
    and DECODED_LOG:bridgeData:integrator='jumper.exchange'
    and ORIGIN_TO_ADDRESS='0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae'
    and DECODED_LOG:bridgeData:destinationChainId=1329
    )
    select ORIGIN_FROM_ADDRESS as bridger
    ,TX_HASH
    ,SYMBOL as token
    ,AMOUNT
    ,AMOUNT_USD
    from ethereum.core.ez_token_transfers
    where ORIGIN_TO_ADDRESS='0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae'
    and ORIGIN_FROM_ADDRESS=FROM_ADDRESS
    and TX_HASH in (select TX_HASH from tab1)
    and AMOUNT_USD is not null
    order by 5 desc
    limit 1
    ),
    act2 as (
    with tab1 as (
    select
    TX_HASH
    from base.core.ez_decoded_event_logs
    where EVENT_NAME='LiFiTransferStarted'
    and DECODED_LOG:bridgeData:integrator='jumper.exchange'
    and ORIGIN_TO_ADDRESS='0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae'
    and DECODED_LOG:bridgeData:destinationChainId=1329
    )
    select ORIGIN_FROM_ADDRESS as bridger
    ,TX_HASH
    ,SYMBOL as token
    QueryRunArchived: QueryRun has been archived