Hessishzink - hld 100
    Updated 9 days ago
    with all_actions as (SELECT BLOCK_TIMESTAMP,
    '0x'||SUBSTRING(TOPICS[2], 27) as receiver,
    ethereum.public.udf_hex_to_int(topics[3]) as token_id ,TX_HASH
    from ink.core.fact_event_logs
    WHERE
    CONTRACT_ADDRESS = lower('0xFb2Cd41a8aeC89EFBb19575C6c48d872cE97A0A5') and
    TOPICS[0] = '0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef'
    and TX_SUCCEEDED = 'TRUE'
    ),

    owenrs as (select token_id, receiver
    from (
    select distinct token_id, receiver,
    row_number() over (partition by token_id order by BLOCK_TIMESTAMP desc) as rn
    from all_actions
    ) as ranked_actions
    where rn = 1)


    select distinct receiver as user ,count(distinct token_id) as "ZNS balance"
    from owenrs
    group by 1
    order by 2 desc
    limit 100









    Last run: 9 days ago
    USER
    ZNS balance
    1
    0x88a0d576608258fc44ad2b6d755f08a67335efd7118
    2
    0x4b1a0c23014e322251eeb50a796ace410bb0051532
    3
    0x5c5d65063d7a19e3b3e5e6480924d3e9b804cc6125
    4
    0x800a89b16396306157093180e8a307172f798a4923
    5
    0xdaa6c40762712a106c02f9656d898138379cd30e23
    6
    0x9d2e90b284f6200c0e2841d62c35e28b60763dd520
    7
    0x087994c587a6a3a95ddd0c750cc9f96c18d0c61715
    8
    0xbd871a0119e63c410506bed673d3ee68054b869a13
    9
    0xa53deb219c657bb1e10d3c7ceeee3a4111b511179
    10
    0x47919b83b6855b1c722f23974daef320bd0c33849
    11
    0x000c53d649dce42e69c27167b72d5e0c65b5d9c18
    12
    0xffece259a039f51ba3edf408fbd9ee7c169ed89a7
    13
    0x8d9871a0ccc331353a8d919a441d96a73281c7c56
    14
    0xeb0e6ecd0e78b0a84ecd9663a041f453c454a99d6
    15
    0x4430f1337fa89f5c5dd49312a03766691d6270846
    16
    0xcfedd5b3aae8a2c0eb6cd94d547d971092c950296
    17
    0xfd1efac4c7e875e6c293b479188ccac4885003f45
    18
    0x094f4eb0c78eb2bec0f041f4c608979aec3919895
    19
    0x8f5457f7776191bc2381e6ce63c10c9a87c61abf5
    20
    0x65995a351356a2d1fe0d0bc21e1f8ad90ec3e67e5
    100
    5KB
    36s