vrtxcBlast token amounts
    Updated 2024-07-10

    -- and FROM_ADDRESS = '0x00f076fe36f2341a1054b16ae05fce0c65180ded'

    --INFLOWS
    with usdb_inflows as (select
    SUM(AMOUNT) as total_amount
    from (
    select
    AMOUNT
    from
    blast.core.ez_token_transfers
    where
    TO_ADDRESS = '0xc748532c202828969b2ee68e0f8487e69cc1d800'
    and CONTRACT_ADDRESS = '0x4300000000000000000000000000000000000003'
    and block_timestamp < to_timestamp(1720454400)
    ) as subquery) ,
    usdb_outflows as (select
    SUM(AMOUNT) as total_amount
    from (
    select
    AMOUNT
    from
    blast.core.ez_token_transfers
    where
    FROM_ADDRESS = '0xc748532c202828969b2ee68e0f8487e69cc1d800'
    and CONTRACT_ADDRESS = '0x4300000000000000000000000000000000000003'
    and block_timestamp < to_timestamp(1720454400)
    ) as subquery),
    weth_inflows as (select
    SUM(AMOUNT) as total_amount
    from (
    select
    AMOUNT
    from
    blast.core.ez_token_transfers
    where
    QueryRunArchived: QueryRun has been archived