Query editor
WITH pools(name, pool_address) AS (VALUES('CoW DAO', 0x5d4020b9261f01b6f8a45db929704b0ad6f5e9e6),('Gnosis DAO', 0x7489f267c3b43dc76e4cb190f7b55ab3297706af),('Rizzolver', 0x0deb0ae9c4399c51289adb1f3ed83557a56df657),('Fractal full', 0x7719c9c0d35d460b00487a1744394e9525e8a42c),('TSolver old', 0x8c77268262cd0de611e543dfd7e9b496793acb86),('TSolver new', 0x34d40554e94adb6336d5ce87856277e153de3bae),('Orbt', 0x8d2c1d5c0df456bb12d097facae4aefce2faa0cd),('Kipseli', 0x271ea2aa9ed4299c85c621bc7a46d90ed4d5032a),('Barter reduced', 0xb6113c260ad0a8a086f1e31c5c92455252a53fb8),('Fractal reduced', 0xddb0a7bebf71fb5d3d7fb9b9b0804beddf9c1c88),('BRRRolver reduced', 0x0a9bd5a29e49502cdc100aa364c5de3b436e52c9),('Sector reduced', 0x2341011c8f4e49c2622ad64ae6119ebbaf36d676))SELECT p.name, concat('0x', to_hex(p.pool_address)) AS pool_address,coalesce(b.token_symbol, concat('0x', to_hex(b.token_address))) AS token,round(b.balance, 6) AS balance,concat('0x', to_hex(b.token_address)) AS token_address,cast(b.balance_updated_at AS varchar) AS updated_atFROM pools pLEFT JOIN balances_ethereum.daily_updates b ON b.address = p.pool_addressAND b.address_prefix IN ('5d','74','0d','77','8c','34','8d','27','b6','dd','0a','23')AND b.valid_to = DATE '9999-12-31'AND b.balance > 0ORDER BY p.name, token