cypher2. [Easy] Restore Earth - total donated
    Updated 2022-07-07
    select
    -- *
    -- block_timestamp,
    -- tx_id,
    sum(msg_value:coins[0]:amount/1000000) as amount_donated
    -- msg_value:sender::string as donator
    from terra.msgs
    where msg_value:contract = 'terra19cevhng6nunl7gmc90sph0syuqyvtqn7mlhwz0' and msg_value:execute_msg:deposit:fund_id in ('6', '7')
    -- group by donator
    -- order by amount_donated desc

    Run a query to Download Data