Query editor
with raw_table as (select"from" as from_address, contract_address, CAST(amount_raw as decimal(38, 0)) / 1e18 as transfer_amountfrom tokens.transferswhere blockchain = 'arbitrum'and contract_address in (0x7032cee758fba530c1c71ab52de1727e555b8ed4, 0x5De2065F3C709b24f31c736Ef28c1CbB27cEedfc)and "to" = 0x78767578465a2dbf0b0fb76ab2b1a0a0cef23751)selectfrom_address, coalesce(sum(transfer_amount) filter(where contract_address = 0x7032cee758fba530c1c71ab52de1727e555b8ed4), 0) as yt_susdai, coalesce(sum(transfer_amount) filter(where contract_address = 0x5de2065f3c709b24f31c736ef28c1cbb27ceedfc), 0) as yt_usdai, coalesce(sum(transfer_amount) filter(where contract_address = 0x7032cee758fba530c1c71ab52de1727e555b8ed4), 0) / 0.36 + coalesce(sum(transfer_amount) filter(where contract_address = 0x5de2065f3c709b24f31c736ef28c1cbb27ceedfc), 0) / 0.18 as chipsfrom raw_tablegroup by from_addressorder by chips desc