KaskoazulMonkeDAO - Voting results
    Updated 2022-04-05
    SELECT signers[0] as voter,
    tx_id,
    block_timestamp::date as fecha,
    ARRAY_SIZE(inner_instructions) as votes,
    case instructions[0]:data
    when 'Yjf5DvKUCfa2bPkYz4AiWs' then 'YES'
    when 'Yjf5DvKUCfa2Rh5YBEg7FM' then 'NO'
    end as vote
    from solana.fact_transactions
    where instructions[0]:accounts[6] = 'BD9XQhU1DXA9V4GLdgTq7xdQY5UBnShfq4caTSEL9Lr'
    and succeeded = 'TRUE'
    and instructions[0]:programId = 'Daovoteq2Y28gJyme6TNUXT9TxXrePiouFuHezkiozci'

    Run a query to Download Data