Query editor
with eth_price as(select date_trunc('day', minute) as dt, avg(price) as pricefrom prices.usdwhere symbol = 'ETH'and contract_address is nullgroup by 1having date_trunc('day', minute) >= date '2025-03-30'),btc_price as (select date_trunc('day', minute) as dt, avg(price) as pricefrom prices.usdwhere symbol = 'BTC'and contract_address is nullgroup by 1having date_trunc('day', minute) >= date '2025-03-30'),tacETH_supply as (select date_trunc('day', evt_block_time) as dt, sum(amount) as amountfrom(select evt_block_time, cast(value as double)/1e18 as amountfrom erc20_ethereum.evt_transferwhere contract_address = 0x294eecec65A0142e84AEdfD8eB2FBEA8c9a9fbad -- tacETH CAand "from" = 0x0000000000000000000000000000000000000000union allselect evt_block_time, -cast(value as double)/1e18 as amountfrom erc20_ethereum.evt_transferwhere contract_address = 0x294eecec65A0142e84AEdfD8eB2FBEA8c9a9fbadand to = 0x0000000000000000000000000000000000000000) as rawgroup by 1having date_trunc('day', evt_block_time) >= date '2025-03-30'),tacBTC_supply as (select date_trunc('day', evt_block_time) as dt, sum(amount) as amountfrom(select evt_block_time, cast(value as double)/1e8 as amountfrom erc20_ethereum.evt_transferwhere contract_address = 0x6Bf340dB729d82af1F6443A0Ea0d79647b1c3DDfand "from" = 0x0000000000000000000000000000000000000000union allselect evt_block_time, -cast(value as double)/1e8 as amountfrom erc20_ethereum.evt_transferwhere contract_address = 0x6Bf340dB729d82af1F6443A0Ea0d79647b1c3DDfand to = 0x0000000000000000000000000000000000000000) as rawgroup by 1having date_trunc('day', evt_block_time) >= date '2025-03-30'),