Yousefi_1994Number of unique users have bridged to L2s using Hop per bridge
    Updated 2022-06-19
    with matic_bridge as (
    select
    'MATIC Bridge' as bridge,
    count(distinct origin_from_address)
    from ethereum.core.ez_token_transfers
    where origin_to_address = '0x22b1cbb8d98a01a3b71d034bb899775a76eb1cc2'
    and origin_function_signature = '0xdeace8f5'
    and has_price = true
    ),
    dai_bridge as (
    select
    'DAI Bridge' as bridge,
    count(distinct origin_from_address)
    from ethereum.core.ez_token_transfers
    where origin_to_address = '0x3d4cc8a61c7528fd86c55cfe061a78dcba48edd1'
    and origin_function_signature = '0xdeace8f5'
    and has_price = true
    ),
    usdc_bridge as (
    select
    'USDC Bridge' as bridge,
    count(distinct origin_from_address)
    from ethereum.core.ez_token_transfers
    where origin_to_address = '0x3666f603cc164936c1b87e207f36beba4ac5f18a'
    and origin_function_signature = '0xdeace8f5'
    and has_price = true
    ),
    usdt_bridge as (
    select
    'USDT Bridge' as bridge,
    count(distinct origin_from_address)
    from ethereum.core.ez_token_transfers
    where origin_to_address = '0x3e4a3a4796d16c0cd582c382691998f7c06420b6'
    and origin_function_signature = '0xdeace8f5'
    and has_price = true
    Run a query to Download Data