shreexHope 1
    with columns as (
    select
    symbol,
    date_trunc('day',block_timestamp) as date,
    count(distinct tx_hash) as bridges,
    sum(amount_usd) as usd_bridged,
    row_number() over (partition by date order by usd_bridged DESC) as row_number
    from ethereum.core.ez_token_transfers where block_timestamp >= '2022-01-01' and amount_usd is not null and origin_to_address = '0x99c9fc46f92e8a1c0dec1b1747d010903e884be1'
    GROUP BY date,symbol
    HAVING usd_bridged <= 1000000000
    ORDER BY date
    ),
    hope_txs as (
    select
    tx_hash,
    contract_name,
    block_timestamp,
    origin_from_address
    from ethereum.core.ez_eth_transfers where event_inputs:chainId = '10' and block_timestamp >= '2022-01-01'
    and contract_address in (
    '0x3d4cc8a61c7528fd86c55cfe061a78dcba48edd1','0x3666f603cc164936c1b87e207f36beba4ac5f18a',
    '0x3e4a3a4796d16c0cd582c382691998f7c06420b6','0xb8901acb165ed027e32754e0ffe830802919727f','0xb98454270065a31d71bf635f6f7ee6a518dfb849',''
    )
    )
    (
    select
    symbol,
    date,
    bridges,
    usd_bridged
    from columns where row_number <= 5
    order by date
    )
    UNION
    Run a query to Download Data