0-MIDmonthly and total
    Updated 2024-08-05
    with tab1 as (
    select
    ORIGIN_FROM_ADDRESS
    from arbitrum.core.ez_decoded_event_logs
    where EVENT_NAME='LiFiTransferStarted'
    and DECODED_LOG:bridgeData:integrator='jumper.exchange'
    and ORIGIN_TO_ADDRESS='0x1231deb6f5749ef6ce6943a275a1d3e7486f4eae'
    )
    select date_trunc('month',BLOCK_TIMESTAMP)as month
    ,count(distinct RECEIVER) as users
    ,count(distinct TX_HASH) as txs
    ,sum(users)over(order by month) as "Total Users"
    ,sum(txs)over(order by month) as "Total Txs"
    from aptos.defi.fact_bridge_activity
    where RECEIVER in (select ORIGIN_FROM_ADDRESS from tab1)
    group by 1

    QueryRunArchived: QueryRun has been archived