Query editor
withprice as (SELECTprice AS wsteth_price_currentFROMprices.usdWHEREcontract_address = 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0ORDER BYminute descLIMIT1),tvl as (selectsum(amount) as tvlfrom(selectsum(value / 1e18) as amountfromerc20_ethereum.evt_Transferwherecontract_address = 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0and to = 0x5F59b322eB3e16A0C78846195af1F588b77403FCunion allselect- sum(value / 1e18) as amountfromerc20_ethereum.evt_Transferwherecontract_address = 0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0and "from" = 0x5F59b322eB3e16A0C78846195af1F588b77403FC))selecttvl,tvl * wsteth_price_current as tvl_usdfrom tvl CROSS JOIN price