2844Lido Rocket Pool Comparison
    Updated 2022-04-25
    with LIDO as (
    select date_trunc('day',block_timestamp) as L_date,sum (amount) as LIDO_Deposit

    from ethereum_core.ez_token_transfers
    where contract_address='0xae7ab96520de3a18e5e111b5eaab095312d7fe84'
    and FROM_ADDRESS='0x0000000000000000000000000000000000000000'
    and block_timestamp > '2022-01-01'
    group by L_date
    order by L_date desc
    ),
    Rocket as (
    select date_trunc('day',block_timestamp) as R_date,sum (amount) as Rocket_Deposit

    from ethereum_core.ez_token_transfers
    where contract_address='0xae78736cd615f374d3085123a210448e74fc6393'
    and FROM_ADDRESS='0x0000000000000000000000000000000000000000'
    and block_timestamp > '2022-01-01'
    group by R_date
    order by R_date desc
    )
    select L_date as DATE, LIDO_Deposit,Rocket_Deposit
    from LIDO, Rocket
    where LIDO.L_date=Rocket.R_date
    group by LIDO.L_date,LIDO_Deposit,Rocket_Deposit
    order by L_date desc





    Run a query to Download Data