mattkstewEarly Redemptions 5
    Updated 2022-07-29
    with m as (
    select
    tx_hash
    from ethereum.core.fact_event_logs
    where EVENT_INPUTS:to like '0x0000000000000000000000000000000000000000'
    and contract_address like lower('0x6C4e530A6F5cEC117Bbd1ed2937584a71c75cA22')
    )

    select
    sum(amount) * .0025 -- this is the percent of eth taken after maturity date.
    from ethereum.core.ez_token_transfers
    where tx_hash in (select * from m)
    and symbol like 'WETH'

    Run a query to Download Data