0-MIDdst chain pol
    Updated 2024-03-29

    select case
    when DECODED_LOG:bridgeData:destinationChainId=42161 then 'Arbitrum'
    when DECODED_LOG:bridgeData:destinationChainId=324 then 'zkSync'
    when DECODED_LOG:bridgeData:destinationChainId=8453 then 'Base'
    when DECODED_LOG:bridgeData:destinationChainId=10 then 'Optimism'
    when DECODED_LOG:bridgeData:destinationChainId=56 then 'BNB'
    when DECODED_LOG:bridgeData:destinationChainId=59144 then 'Linea'
    when DECODED_LOG:bridgeData:destinationChainId=1 then 'Ethereum'
    when DECODED_LOG:bridgeData:destinationChainId=43114 then 'Avalanche'
    when DECODED_LOG:bridgeData:destinationChainId=250 then 'Fantom'
    when DECODED_LOG:bridgeData:destinationChainId=1101 then 'Polygon zkEVM'
    else 'Others' end as dst_chain
    ,count(distinct ORIGIN_FROM_ADDRESS) as bridgers
    ,count(distinct TX_HASH) as bridges
    from polygon.core.ez_decoded_event_logs
    where EVENT_NAME='LiFiTransferStarted'
    and DECODED_LOG:bridgeData:integrator='jumper.exchange'
    and ORIGIN_TO_ADDRESS='0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae'
    and BLOCK_TIMESTAMP::date>=current_date-30
    group by 1






    QueryRunArchived: QueryRun has been archived