0xHaM-dNew and Returning Users
    Updated 5 days ago
    WITH from_eth_to_ron as ( -- native bridge
    select
    BLOCK_TIMESTAMP,
    TX_HASH,
    ORIGIN_FROM_ADDRESS as sender,
    DECODED_LOG:receipt:mainchain:tokenAddr as token_address,
    DECODED_LOG:receipt:ronin:addr as receiver,
    DECODED_LOG:receipt:ronin:tokenAddr as destination_tokenAddr,
    DECODED_LOG:receipt:info:quantity as quantity,
    'Ethereum'::VARCHAR as BLOCKCHAIN,
    'axie infinity: ronin bridge v2'::VARCHAR as platform,
    'ronin'::VARCHAR as destination_chain,
    'inbound'::VARCHAR as direction,
    coalesce(p.symbol,cont.symbol)::VARCHAR as symbol,
    (log.DECODED_LOG:receipt:info:quantity::int/pow(10,p.decimals)) as amount,
    (log.DECODED_LOG:receipt:info:quantity::int/pow(10,p.decimals))*p.price as amount_usd,
    from ethereum.core.ez_decoded_event_logs log
    left join crosschain.price.ez_prices_hourly p on (date_trunc('hour',log.block_timestamp)=p.hour and log.DECODED_LOG:receipt:mainchain:tokenAddr=p.token_address)
    left join ethereum.core.dim_contracts cont on (log.DECODED_LOG:receipt:mainchain:tokenAddr=cont.address)
    where log.TOPIC_0 = '0xd7b25068d9dc8d00765254cfb7f5070f98d263c8d68931d937c7362fa738048b'
    and log.block_timestamp >= '2025-01-01'
    and log.TX_SUCCEEDED = TRUE
    and p.BLOCKCHAIN='ethereum'
    and log.CONTRACT_ADDRESS = '0x64192819ac13ef72bf6b5ae239ac672b43a9af08'
    )
    ,
    from_ron_to_eth as ( -- native bridge
    with
    bridge_data as (
    select
    BLOCK_TIMESTAMP,
    TX_HASH,
    ORIGIN_FROM_ADDRESS::VARCHAR as sender,
    regexp_substr_all(SUBSTR(DATA, 3, len(DATA)), '.{64}') AS segmented_data,
    ethereum.public.udf_hex_to_int(segmented_data[8]) as source_chain_id,
    ethereum.public.udf_hex_to_int(segmented_data[2]) as destination_chain_id,
    Last run: 5 days ago
    DATE
    ACTIVE_USERS
    N_NEW_USER
    CUM_USERS
    RECURRING_USER
    NEW_USER_PERCENT
    RECURRING_USER_PERCENT
    Avg Active Users
    AVARAGE_7_ACTIVE_USERS
    Avg New User
    AVARAGE_7_NEW_USER
    1
    2025-04-02 00:00:00.00017481134269346.55172453.448276222.23913171.571145.93478383.571
    2
    2025-04-01 00:00:00.0002191131334510651.59817448.401826222.769231184.857146.64835297.714
    3
    2025-03-31 00:00:00.00013858132328042.02898657.971014222.811111190.285147.022222105
    4
    2025-03-30 00:00:00.00013560131747544.44444455.555556223.764045192.857148.022472107.857
    5
    2025-03-29 00:00:00.00013864131147446.37681253.623188224.772727197.428149.022727108.571
    6
    2025-03-28 00:00:00.00018491130509349.45652250.543478225.770115200150108.285
    7
    2025-03-27 00:00:00.000213118129599555.39906144.600939226.255814202.571150.686047108.428
    8
    2025-03-26 00:00:00.000267180128418767.4157332.58427226.411765201.857151.070588104.428
    9
    2025-03-25 00:00:00.000257164126619363.8132336.18677225.928571188.142150.7261988.285
    10
    2025-03-24 00:00:00.0001567812497785050225.554217178.142150.56626577.428
    11
    2025-03-23 00:00:00.000167651241910238.92215661.077844226.402439189.571151.4512283.142
    12
    2025-03-22 00:00:00.00015662123549439.7435960.25641227.135802185152.51851982.571
    13
    2025-03-21 00:00:00.000202921229211045.54455454.455446228.025182.714153.6582.714
    14
    2025-03-20 00:00:00.000208901220011843.26923156.730769228.35443185154.4303884.428
    15
    2025-03-19 00:00:00.000171671211010439.18128760.818713228.615385183155.2564184.428
    16
    2025-03-18 00:00:00.00018788120439947.05882452.941176229.363636186.142156.40259788.857
    17
    2025-03-17 00:00:00.000236118119551185050229.921053187.142157.30263286.571
    18
    2025-03-16 00:00:00.00013561118377445.18518554.814815229.84182.142157.82666781.142
    19
    2025-03-15 00:00:00.0001406311776774555231.121622190.142159.13513585.142
    20
    2025-03-14 00:00:00.0002181041171311447.70642252.293578232.369863191.714160.45205585.285
    92
    9KB
    164s