kenobi9270 DAI most used for-first
    Updated 2022-05-14
    with dai as (select nvl(sum(event_inputs:value/1e18),0) as vol, date(block_timestamp) as daily
    from ethereum_core.fact_event_logs
    where
    contract_address='0x6b175474e89094c44da98b954eedeac495271d0f'
    and event_name = 'Transfer'
    and tx_status= 'SUCCESS'
    group by 2
    order by 2)
    , usdc as (select nvl(sum(event_inputs:value/1e6),0) as vol, date(block_timestamp) as daily
    from ethereum_core.fact_event_logs
    where
    contract_address='0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'
    and event_name = 'Transfer'
    and tx_status= 'SUCCESS'
    group by 2
    order by 2)
    , usdt as (select nvl(sum(event_inputs:value/1e6),0) as vol, date(block_timestamp) as daily
    from ethereum_core.fact_event_logs
    where
    contract_address='0xdac17f958d2ee523a2206206994597c13d831ec7'
    and event_name = 'Transfer'
    and tx_status= 'SUCCESS'
    group by 2
    order by 2)
    , ust as (select nvl(sum(event_inputs:value/1e6),0) as vol, date(block_timestamp) as daily
    from ethereum_core.fact_event_logs
    where
    contract_address='0xa693b19d2931d498c5b318df961919bb4aee87a5'
    and event_name = 'Transfer'
    and tx_status= 'SUCCESS'
    group by 2
    order by 2)
    , gusd as (select nvl(sum(event_inputs:value/1e2),0) as vol, date(block_timestamp) as daily
    from ethereum_core.fact_event_logs
    where
    contract_address='0x056fd409e1d7a124bd7017459dfea2f387b6d5cd'
    Run a query to Download Data