rezarwz Total Users Over Time
    Updated 2023-12-12
    with all_u as (
    SELECT
    TX_HASH,
    BLOCK_TIMESTAMP,
    ORIGIN_FROM_ADDRESS as ua,
    'Flooring Protocol Dapp Users' as type
    from
    ethereum.core.ez_decoded_event_logs
    where
    contract_address in( '0x3eb879cc9a0ef4c6f1d870a40ae187768c278da2','0x49ad262c49c7aa708cc2df262ed53b64a17dd5ee')
    UNION
    all
    SELECT
    tx_hash,
    block_timestamp ,
    ORIGIN_FROM_ADDRESS as ua,
    'µ-Tokens Traders' as Type
    FROM
    ethereum.defi.ez_dex_swaps
    WHERE
    TOKEN_IN in (
    SELECT
    DECODED_LOG:floorToken
    from
    ethereum.core.ez_decoded_event_logs
    where
    contract_address = '0x3eb879cc9a0ef4c6f1d870a40ae187768c278da2'
    and event_name = 'NewCollectionSupported'
    )
    or TOKEN_out in (
    SELECT
    DECODED_LOG:floorToken
    from
    ethereum.core.ez_decoded_event_logs
    where
    contract_address = '0x3eb879cc9a0ef4c6f1d870a40ae187768c278da2'
    Run a query to Download Data