Query editor
withprice_elephant as (SELECTday as price_bt,priceFROM query_2002754),deposit as(SELECTdate_trunc('day', evt_block_time) as deposit_bt,ROUND(sum(cast(amount as double)/1e18),1) as deposit_valueFROM((SELECTevt_block_time,amountFROM elephant_bnb.FuturesEngine_evt_Depositwhere evt_block_number >= 24982704)UNION ALL(SELECTevt_block_time,amountFROMfuturesbnb_bnb.FuturesEngine_evt_Depositwhere evt_block_number >= 24982704)UNION ALL(SELECTevt_block_time,amountFROMelephant_bnb.FuturesEngineV8_evt_Depositwhere evt_block_number >= 24982704))group by 1),claim as(SELECTdate_trunc('day', evt_block_time) as claim_bt,ROUND(-sum(cast(amount as double)/1e18),1) as claim_valueFROM((SELECTevt_block_time,amountFROMelephant_bnb.FuturesEngine_evt_Claimwhere evt_block_number >= 24982704