banterlyticskoku holders before coco airdrop
    Updated 2025-02-16
    -- forked from banana-holder-count @ https://flipsidecrypto.xyz/studio/queries/919c74fb-32bc-425d-a4b7-b5b935f16009


    with all_tx as (
    select
    date_trunc('day', block_timestamp::date) as dt,
    tx_hash,
    TO_ADDRESS as event_to,
    FROM_ADDRESS as event_from,
    AMOUNT_PRECISE as amounts
    from ronin.core.ez_token_transfers
    where block_timestamp > '2025-01-15'
    and block_number <42278821
    and contract_address = lower('0x361d8623dc1d91e04ebc148687719aace282249a')),
    transfers as
    ((SELECT
    event_to as wallet,
    dt,
    'mint' as action,
    amounts as value
    FROM all_tx
    where event_from = '0x0000000000000000000000000000000000000000')
    union all
    (SELECT
    event_to as wallet,
    dt,
    'gain' as action,
    amounts as value
    FROM all_tx
    where event_from != '0x0000000000000000000000000000000000000000')
    union all
    (SELECT
    Last run: 29 days ago
    WALLET
    BALANCE
    1
    0x6a0f683e2c6bb04ad859298daaafe08ea41c7aba77823306.3921146
    2
    0xf2a06584035e838a3884ac194a0d8a5b1e8795b671761115.0142972
    3
    0xfeae9fe11170fc19b6f40796fd1debfa360daacc50000000
    4
    0x56693d4d113426ad16dc560d5ae90641ddb101d240000000
    5
    0x3254471fe619a6279e89bd5895cde474fdf8afb040000000
    6
    0x51c60d84330c447cbb66cb67bc44a93c522315f836737583.2880039
    7
    0x3eed171861bafafa9e62d6e69836a42c067be4c530537172.9213594
    8
    0x2caa0a493605fa1d81ca3087c9f57bf2e441f1ea28620826.492682
    9
    0x22408f52d9861bd1dd443570bce99bb9fd7c564428252078.8203781
    10
    0x87df085e1dbfc6232f6ab29542bbc3874e91de5526635313.8636518
    11
    0x92d3739608c990b4d2ff067419d192c55e414e9b20021323.9135409
    12
    0x8075a23870bfd660f2e7532027ca37e532dff9b216001791.6363065
    13
    0x58ba66247cbffd6f6e5a228a244f5148c9ac721915589558.1548466
    14
    0x6b78eb8d595ccbd36b97e6da4bb84d9366532bf414999999.9981341
    15
    0x885835be7a9c56276024606a066ec997054da55f14238000
    16
    0x1d17ae164168266665f88dd2a1751f65468608ba13215055.2402088
    17
    0x347edf0293019fa95edcf935a75279993950511b13113672.8039384
    18
    0x10472fea972d9dde0c7ef98bd81209a4e4d1327712497000
    19
    0xc099f2efd68b2d0998eb40d675eb8d5f07cb20c611989085.7753454
    20
    0x6452cfc95203ed69e77973f5948a1f524b45d56811523516.8922347
    ...
    3259
    180KB
    2s