shreexHope works Daily
    Updated 2022-10-25
    with hope_txs as (
    select
    tx_hash,
    contract_name,
    block_timestamp,
    origin_from_address
    from ethereum.core.fact_event_logs where event_inputs:chainId = '10' and block_timestamp >= '2022-01-01'
    and contract_address in (
    '0x3d4cc8a61c7528fd86c55cfe061a78dcba48edd1','0x3666f603cc164936c1b87e207f36beba4ac5f18a',
    '0x3e4a3a4796d16c0cd582c382691998f7c06420b6','0xb8901acb165ed027e32754e0ffe830802919727f','0xb98454270065a31d71bf635f6f7ee6a518dfb849'
    )),
    columns as (
    select
    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
    HAVING usd_bridged <= 1000000000
    ORDER BY date
    ),


    bridges as (
    ( select
    date_trunc('day',txs.block_timestamp) as date,
    count(distinct transfers.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 hope_txs txs inner join ethereum.core.ez_token_transfers transfers on transfers.tx_hash=txs.tx_hash
    Run a query to Download Data