itsxenuxTop 5 proposals with most engagement
    Updated 2022-07-06
    with query as (select event_inputs:proposalId AS id_proposal,
    Sum(event_inputs:votes) AS vote_total
    from ethereum.core.fact_event_logs
    where event_name ilike '%votecast%'
    and contract_address ilike '%0X6F3E6272A167E8ACCB32072D08E0957F9C79223D%'
    group by id_proposal)
    select top 5 *
    from query
    order by vote_total desc
    Run a query to Download Data