Query editor
WITH token_prices AS (SELECTtimestamp,msymbol,mtoken,symbol,token_address,price,decimalsFROM query_6036840),token_info AS (SELECTmtoken,msymbol,symbol,decimalsFROM token_pricesGROUP BY 1,2, 3, 4),raw_exchange_rate_stored AS (SELECTcall_block_time,contract_address,output_0FROM moonwell_base.musdcnative_call_exchangeratestoredwhere call_success = TRUEUNION ALLSELECTcall_block_time,contract_address,output_0FROM moonwell_base.maero_call_exchangeratestoredwhere call_success = TRUEUNION ALLSELECTcall_block_time,contract_address,output_0FROM moonwell_base.musdc_call_exchangeratestoredwhere call_success = TRUEUNION ALLSELECTcall_block_time,contract_address,output_0FROM moonwell_base.mweth_call_exchangeratestoredwhere call_success = TRUEUNION ALLSELECTcall_block_time,contract_address,output_0FROM moonwell_base.mcbETH_call_exchangeratestoredwhere call_success = TRUEUNION ALLSELECT