Query editor
withprices_eth as (select *from prices.usdwhere blockchain = 'optimism'and symbol = 'ETH'and contract_address = x'eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee'order by minute asc),prices_matic as (select *from prices.usdwhere blockchain = 'polygon'and symbol = 'POL'--and contract_address = x'0000000000000000000000000000000000001010'),prices_avalanche as (select *from prices.usdwhere blockchain = 'bnb'and symbol = 'AVAX'--and contract_address = x'0000000000000000000000000000000000001010'),prices_celo as (select *from prices.usdwhere blockchain = 'celo'and symbol = 'CELO'order by minute desc--and contract_address = x'0000000000000000000000000000000000001010'),prices_gnosis as (select *from prices.usdwhere 1 = 1and symbol = 'xDAI'order by minute desc--and contract_address = x'0000000000000000000000000000000000001010'),prices_mantle as (select *from prices.usdwhere blockchain = 'mantle'and symbol = 'MNT'order by minute desc--and contract_address = x'0000000000000000000000000000000000001010'),raw as (SELECTbytearray_to_uint256(varbinary_substring(l.data, 1, 32)) as proposal_id, l.tx_hash, l.block_time, l.contract_address, l.tx_from