jackguyNFT-token-dash-5 copy copy copy copy
    Updated 2024-01-29
    -- forked from NFT-token-dash-5 copy copy copy @ https://flipsidecrypto.xyz/edit/queries/37849994-323c-4915-b7e0-fea28bb176aa

    -- forked from NFT-token-dash-5 copy copy @ https://flipsidecrypto.xyz/edit/queries/0655f8c8-ea25-4574-9bea-3d31cfb502de

    -- forked from NFT-token-dash-5 copy @ https://flipsidecrypto.xyz/edit/queries/2703c2c6-decf-4951-b657-4539a9e2ca8c

    -- forked from NFT-token-dash-5 @ https://flipsidecrypto.xyz/edit/queries/c1f23276-d61d-4e2d-879e-b19d46774bb0

    with tab1 as (
    SELECT
    case when TOKEN1_SYMBOL LIKE 'WETH' then TOKEN0_ADDRESS else TOKEN1_ADDRESS end as token
    FROM ethereum.uniswapv3.ez_swaps
    where pool_address IN (
    lower('0x5ee84bed805df225ee23aec4160cc0bfcf1bd892'),
    lower('0xe72377ae353edc1d07f6c0be34969a481d030d19'),
    lower('0x882784c5807d5e2e4950ae2327ca5d9b56a1015a'),
    lower('0x92741be6adcb2722681925afce9af0a7306ce90f'),
    lower('0x4a382e0fb2abc4bc087d2f7953a4689ecbb96374'),
    lower('0xb17015d33c97a2caca73be2a8669076a333fd43d'),
    lower('0x01a8227d4e7c3068ad1000c97a059af5c5fa3476')
    )
    AND ( token0_symbol LIKE 'μELEM'
    OR token1_symbol LIKE 'μELEM' )
    ), tab2 as (
    SELECT
    block_timestamp,
    tx_hash,
    user,
    sum(CASE when flow like 'out' then -1 * amount else amount end) as net_flow
    FROM (
    SELECT
    block_timestamp,
    tx_hash,
    from_address as user,
    'out' as flow,
    Last run: about 1 year agoAuto-refreshes every 6 hours
    HOUR
    AMT_OUT
    AMT_IN
    NET_NEW_HOLDERS
    TOTAL_HOLDERS
    1
    2024-01-29 13:00:00.000000211
    2
    2024-01-29 11:00:00.000000211
    3
    2024-01-29 10:00:00.00021-1211
    4
    2024-01-29 09:00:00.000011212
    5
    2024-01-29 06:00:00.000110211
    6
    2024-01-29 05:00:00.000000211
    7
    2024-01-29 04:00:00.000220211
    8
    2024-01-29 03:00:00.000000211
    9
    2024-01-29 02:00:00.000000211
    10
    2024-01-29 01:00:00.000000211
    11
    2024-01-28 23:00:00.000000211
    12
    2024-01-28 20:00:00.000000211
    13
    2024-01-28 19:00:00.000011211
    14
    2024-01-28 18:00:00.000000210
    15
    2024-01-28 17:00:00.000110210
    16
    2024-01-28 15:00:00.000110210
    17
    2024-01-28 13:00:00.000011210
    18
    2024-01-28 12:00:00.000000209
    19
    2024-01-28 11:00:00.000000209
    20
    2024-01-28 07:00:00.000000209
    ...
    188
    7KB
    15s