Specterlp depositor
    Updated 2025-04-08
    -- Identify users who started with gaming before providing LP
    WITH gaming_users AS (
    SELECT
    ft.from_address AS user,
    MIN(ft.block_timestamp) AS first_gaming_tx
    FROM $query('6bbdf5a1-9212-4cc9-9983-bce1f246fbeb') ct
    JOIN ronin.core.fact_transactions ft
    ON ct.contract_address = ft.to_address
    GROUP BY ft.from_address
    ),

    lp_users AS (
    SELECT
    origin_from_address AS user,
    MIN(block_timestamp) AS first_lp_tx
    FROM (
    SELECT
    block_timestamp,
    origin_from_address
    FROM ronin.core.ez_native_transfers
    WHERE origin_from_address = from_address
    AND origin_to_address IN (
    '0xc05afc8c9353c1dd5f872eccfacd60fd5a2a9ac7',
    '0x7cf0fb64d72b733695d77d197c664e90d07cf45a'
    )

    UNION ALL

    SELECT
    block_timestamp,
    origin_from_address
    FROM ronin.core.ez_token_transfers
    WHERE origin_from_address = from_address
    AND origin_to_address IN (
    '0xc05afc8c9353c1dd5f872eccfacd60fd5a2a9ac7',
    '0x7cf0fb64d72b733695d77d197c664e90d07cf45a'
    Last run: 17 days ago
    USER
    TX_HASH
    VOLUME_USD
    1
    0xf69966ba33f6bf957364fd5e63aacee807396ec5203775779074.09174552
    2
    0xac1f7627082cf1c20b81f47837dcd32194e9ee4134329608.32
    3
    0x39d0738011d56cd644f0b4afc672d057f6f8d4431313750739.61910565
    4
    0x46c866caf5a718ab3ef9096ca437df8843ee3d8e24992789.176854343
    5
    0xfc5feac1d266ae8c30eadb8ae5a4d09397639ee1281989685.570233955
    6
    0xaffb1d6bcf536e1a7a00c3aae2df865b8355bc3236955977.1
    7
    0xe8acc99c1e2163e2fe6fc52dd3fd53c403a48c0f55934106.160337237
    8
    0x1e2bc3d1a854248f7fd1c574404cedb58e03987a6919071.42
    9
    0xe09c8424acfad528253caef6a2c6606965f2b38871910229.598317699
    10
    0xd53000053e91597add02e491536628c40c9072d866745777.77
    11
    0x018cc4af7a9442aae70f64bd6f44941c7718b4f767577368.108533833
    12
    0x8d5ab09062fa6553f655a4eca782bb106e1de79910543002.38
    13
    0xabd6930d0ae90270cc292451f15362e70953890246522189.92
    14
    0x9b5be65a95e34d236726d781a4b25792ae3939a39503244.86
    15
    0x0c7191500228f7d48892867a0362322e9884ec2a213493118.274602982
    16
    0x160daadad5df346e336c1eeeda050ddf3a265a685487996.14
    17
    0x866b377b47d2892680adc3b536de9476928b832943480476.29940829
    18
    0x7b779d1bf9f57d241d273f1cb156f1b679f6d03710437400.3
    19
    0xfeae9fe11170fc19b6f40796fd1debfa360daacc7344013.52
    20
    0xcbd2f69246323788773effa32a5abcec5ad334b641337864.62
    50
    3KB
    7s