Query editor
-- Monthly number of distinct borrowing addresses per protocol, all chainsSELECT date_trunc('month', block_time) AS month,project,count(DISTINCT borrower) AS borrowersFROM lending.borrowWHERE transaction_type = 'borrow'AND project IN ('aave', 'morpho', 'spark', 'compound', 'euler', 'fluid')AND block_time >= date_trunc('month', now()) - interval '24' monthGROUP BY 1, 2ORDER BY 1, 2