mcfemi6WORKING WITH AAVE
    Updated 2022-10-21
    SELECT COUNT(*) AS total_transactions,
    CASE WHEN AAVE_VERSION = 'Aave V2' then 'V2',

    else 'V1' end as aave_versions
    FROM ethereum.aave.ez_flashloans
    GROUP BY 2
    ORDER BY 1;




    Run a query to Download Data