select date_trunc('day', block_timestamp) as day, 'polygon' as blockchain,
symbol,
sum(amount_usd) as amount_lending
from flipside_prod_db.crosschain.ez_lending
where platform ilike 'sushi' and blockchain ilike 'polygon' and amount is not null and action ilike 'deposit'
and symbol in ('USDC', 'DAI', 'USDN', 'USDT', 'TUSD')
group by 1, 3