with proposers as (select
block_id,
deposit_amount,
deposit_currency,
description,
proposal_id,
proposal_type,
proposer
from terra.gov_submit_proposal
where proposal_type = 'distribution/CommunityPoolSpendProposal'
and deposit_amount = 512
and deposit_currency = 'uluna'
order by block_id)
select
*
from terra.daily_balances
where address = 'terra17qpf86uk800le0wmwmvf3khyy40ywrrdd5wa3c'
order by date desc;