rahoSTG - All Voter Addresses
    Updated 2022-11-21
    with all_voters as(
    select
    distinct(voter) as voters
    from ethereum.core.ez_snapshot
    where space_id = 'stgdao.eth'
    ),

    ages as (
    select
    date_trunc('day', block_timestamp) as createdt,
    datediff('day', cast(getdate() as date), block_timestamp) as days_old,
    from_address,
    contract_address,
    to_address
    from ethereum.core.ez_token_transfers
    where contract_address = '0x0e42acbd23faee03249daff896b78d7e79fbd58e'
    or contract_address = '0x9485dbda44b279311e3eee374ced60b5364a97d9'
    )

    select
    datediff('day', cur_date, creatdt) as days_old,
    to_address
    from ages

    Run a query to Download Data