mboveiriMerge Behavior 3
    Updated 2022-09-25
    with swap as (
    select block_timestamp::date as date,
    tx_hash,
    '1.Swaping Tokens' as type,
    case when date >= '2022-09-15' then 'After Merge' else 'Before Merge' end as status
    from ethereum.core.ez_dex_swaps
    where date >= '2022-08-24'
    ),
    nft as (
    select block_timestamp::date as date,
    tx_hash,
    '3.NFT Sales' as type,
    case when date >= '2022-09-15' then 'After Merge' else 'Before Merge' end as status
    from ethereum.core.ez_nft_sales
    where date >= '2022-08-24'

    ),
    nft_mint as (
    select block_timestamp::date as date,
    tx_hash,
    '2.Minting NFT' as type,
    case when date >= '2022-09-15' then 'After Merge' else 'Before Merge' end as status
    from ethereum.core.ez_nft_mints
    where date >= '2022-08-24'

    ),
    lend as (
    select block_timestamp::date as date,
    tx_hash,
    '4.Lending' as type,
    case when date >= '2022-09-15' then 'After Merge' else 'Before Merge' end as status
    from ethereum.aave.ez_deposits
    where date >= '2022-08-24'

    ),
    borrows as (
    Run a query to Download Data