kiacryptoActivities done by users just after bridging - native bridge
    Updated 2022-10-25
    with base_native_bridge as (
    select
    tx_hash,
    origin_from_address as user_addr,
    block_timestamp,
    'ETH' as symbol,
    amount_usd as volume
    from ethereum.core.ez_eth_transfers
    where
    block_timestamp::date >= '{{start_date}}' and block_timestamp::date <= '{{end_date}}' and
    origin_to_address = '0x99c9fc46f92e8a1c0dec1b1747d010903e884be1'
    union all
    select
    tx_hash,
    origin_from_address as user_addr,
    block_timestamp,
    symbol,
    amount_usd as volume
    from ethereum.core.ez_token_transfers
    where
    block_timestamp::date >= '{{start_date}}' and block_timestamp::date <= '{{end_date}}' and
    origin_to_address = '0x99c9fc46f92e8a1c0dec1b1747d010903e884be1'
    ),
    -- base_hop_bridge as (
    -- select
    -- t.tx_hash,
    -- t.origin_from_address as user_addr,
    -- t.block_timestamp,
    -- 'ETH' as symbol,
    -- amount_usd as volume
    -- from ethereum.core.ez_eth_transfers t join ethereum.core.fact_event_logs e on t.tx_hash = e.tx_hash
    -- where
    -- t.block_timestamp::date >= '{{start_date}}' and t.block_timestamp::date <= '{{end_date}}' and
    -- event_inputs:chainId = '10' and
    -- e.contract_address in ('0xb8901acb165ed027e32754e0ffe830802919727f','0x3666f603cc164936c1b87e207f36beba4ac5f18a','0x3e4a3a4796d16c0cd582c382691998f7c06420b6',
    -- '0x3d4cc8a61c7528fd86c55cfe061a78dcba48edd1','0x22b1cbb8d98a01a3b71d034bb899775a76eb1cc2') and
    Run a query to Download Data