Query editor
with stake_data as (SELECT count(staker) as "active_stakers" from query_2423957),eth_beacon as (select sum(amount_staked) as "eth_beacon_staked" from staking_ethereum.deposits eth2Where depositor_address = 0xb3D9cf8E163bbc840195a97E81F8A34E295B8f39),exchange_rate as (SELECT DATE(evt_block_time) as date, newSwETHToETHRate/1e18 as exch_rate from swell_v3_ethereum.swETH_evt_RepriceWHERE evt_block_time >= NOW() - interval '180' dayORDER by evt_block_time),total_swETH as (with minted as (SELECT evt_block_time as "time", CAST(value as INT256) as amount from swell_v3_ethereum.swETH_evt_TransferWHERE "from" = 0x0000000000000000000000000000000000000000),burned as (SELECT evt_block_time as "time", COALESCE(-(CAST(swETHBurned as INT256)), CAST(0 as INT256)) as amount from swell_v3_ethereum.swETH_evt_ETHWithdrawn),total as (SELECT time, amount from mintedunion ALLSELECT time, amount from burned)SELECT sum(amount)/1e18 as "circ_swETH" from total),eth_locked as (select circ_swETH * exch_rate as "Total Eth locked" from total_swETH, exchange_rate),value_locked as (select "Total Eth locked" * (SELECT price from prices.usd_latest where blockchain = 'ethereum' AND symbol = 'WETH') as "USD value locked"from eth_locked)SELECT date, "exch_rate" from exchange_rate