Query editor
/*with optimism as(select month, sum(value) as valuefrom(select date_format(b.evt_block_time, '%Y-%m') as month, sum(value) as valuefrom erc20_optimism.evt_Transfer bwhere b.to in (0xfedfaf1a10335448b7fa0268f56d2b44dbd357de,0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0,0x2a82ae142b2e62cb7d10b55e323acb1cab663a26) and b.contract_address = 0x4200000000000000000000000000000000000042group by 1unionselect date_format(b.evt_block_time, '%Y-%m') as month, sum(-value) as valuefrom erc20_optimism.evt_Transfer bwhere b."from" in (0xfedfaf1a10335448b7fa0268f56d2b44dbd357de,0x2501c477d0a35545a387aa4a3eee4292a9a8b3f0,0x2a82ae142b2e62cb7d10b55e323acb1cab663a26) and b.contract_address = 0x4200000000000000000000000000000000000042group by 1)group by 1union(select '2022-06' as month, 1717986920*1e18 as value)order by 1 desc)select month, sum(usd_value) over(order by month) as usd_valuefrom(select a.month, sum(a.value*b.unit_price) as usd_valuefrom optimism aleft join(select date_format(minute, '%Y-%m') as month,avg(price)/power(10,any_value(decimals)) as unit_pricefrom prices.usdwhere contract_address = 0x4200000000000000000000000000000000000042 and minute > from_iso8601_date('2021-01-01')group by 1) bon a.month = b.monthgroup by 1)*/select name, eth_value, usd_value, votes, voters, proposalsfrom query_3266068where name != 'Optimism'