Query editor
withaerodrome as (-- aerodromeselect-- *-- , varbinary_substring(topic1, 13, 20) as sendercast(to_unixtime(block_time) as int) / 604800 * 604800 as epoch_timestamp, rank() over (order by block_number asc) - 1 as epoch_index, 'aerodrome' as protocol, 'aerodrome' as _protocol, varbinary_to_uint256(varbinary_substring(data, 1, 32)) / 1e18 as weekly--, varbinary_to_uint256(varbinary_substring(data, 33, 32)) as circulating_supply--, varbinary_to_uint256(varbinary_substring(data, 65, 32)) as tailfrombase.logswheretrueand block_number >= 3200617and contract_address = 0xeB018363F0a9Af8f91F06FEe6613a751b2A33FE5and topic0 = 0xcd2127828092f586df56003faf212897e901bb47f89a227e1acd3a0738f1fe5f), pharaoh as (-- pharaohselect-- *-- , varbinary_substring(topic1, 13, 20) as sendercast(to_unixtime(block_time) as int) / 604800 * 604800 as epoch_timestamp, rank() over (order by block_number asc) - 1 as epoch_index, 'pharaoh' as protocol, 'pharaoh' as _protocol, varbinary_to_uint256(varbinary_substring(data, 1, 32)) / 1e18 as weekly--, varbinary_to_uint256(varbinary_substring(data, 33, 32)) as growthfromavalanche_c.logswheretrueand block_number >= 38764597and contract_address = 0xAAA823aa799BDa3193D46476539bcb1da5B71330and topic0 = 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f), blackhole as (select-- *-- , varbinary_substring(topic1, 13, 20) as sendercast(to_unixtime(block_time) as int) / 604800 * 604800 as epoch_timestamp, rank() over (order by block_number asc) - 1 as epoch_index, 'blackhole' as protocol, 'blackhole' as _protocol, cast(varbinary_to_uint256(varbinary_substring(data, 1, 32)) as double) / 1e18 as weekly--, varbinary_to_uint256(varbinary_substring(data, 33, 32)) as circulating_supply--, varbinary_to_uint256(varbinary_substring(data, 65, 32)) as circulating_emissionfrom