Query editor
-- contract creation: https://optimistic.etherscan.io/tx/0x3231c5e693c038ab75cfd7886f4233aca069174f86dac2bdc271010d393fce89, https://optimistic.etherscan.io/tx/0x52c37a5f5ec12393bda0df0deec8661685a8d0f263a88e06d91f6e82062f6d5c-- from is the creator, and topic0 is 0x9a9bca21e4e51607db64fbdbcd7b2284a909c6a8969821f0d161efbdcae70160-- proposal is topic0: 0x7585f467599d0f008985f231af99293be388626ac16ca59505c2f8f88969cd63-- proposal txs have value in ETH-- cast vote topic0 is: 0x2c9deb38f462962eadbd85a9d3a4120503ee091f1582eaaa10aa8c6797651d29-- from is the voter, some have value in ETH-- comment is topic0: 0x5a1a930fed43f34b3a07db782ebcac28a661c273e662bb98458cfba5a8ccd220with raw as (SELECTbytearray_to_uint256(bytearray_substring(l.data,1,32)) as proposal_id, l.tx_hash, l.block_time, l.contract_address, l.tx_fromFROM (select * from zora.logsunionselect * from optimism.logsunionselect * from base.logsunionselect * from arbitrum.logsunionselect * from polygon.logs) lWHERE 1=1and topic0 in (x'2c9deb38f462962eadbd85a9d3a4120503ee091f1582eaaa10aa8c6797651d29', x'b4cfecf70861b7b150d8337780d34fb4cbc2114b5fb1fe51a5c5fca1849f7274')order by l.block_time desc)selectdate_trunc('week',block_time) as dt, count(*) as votes, count(distinct tx_from) as votersfrom rawgroup by 1order by 1 desc-- contract creation: https://optimistic.etherscan.io/tx/0x3231c5e693c038ab75cfd7886f4233aca069174f86dac2bdc271010d393fce89, https://optimistic.etherscan.io/tx/0x52c37a5f5ec12393bda0df0deec8661685a8d0f263a88e06d91f6e82062f6d5c-- from is the creator, and topic0 is 0x9a9bca21e4e51607db64fbdbcd7b2284a909c6a8969821f0d161efbdcae70160-- proposal is topic0: 0x7585f467599d0f008985f231af99293be388626ac16ca59505c2f8f88969cd63-- proposal txs have value in ETH-- cast vote topic0 is: 0x2c9deb38f462962eadbd85a9d3a4120503ee091f1582eaaa10aa8c6797651d29-- from is the voter, some have value in ETH-- comment is topic0: 0x5a1a930fed43f34b3a07db782ebcac28a661c273e662bb98458cfba5a8ccd220