vendettaCompound Daily ETH Borrow
    Updated 2023-02-12
    -- forked from cd0f9bf8-b6fe-4b3b-bd65-6f7899d1c131

    select
    block_timestamp::date as date,
    sum(loan_amount) as sum_borrowed_tokens,
    count (DISTINCT BORROWER) as num_borrower
    from ethereum.compound.ez_borrows where block_timestamp >= CURRENT_DATE - 60 and BORROWS_CONTRACT_SYMBOL like '%ETH%'
    group by 1
    order by 1 asc


    Run a query to Download Data