Salehterra_stake_PRYZM_all_wallets
    Updated 2024-02-15
    with lst_delegate as (
    with lst_amount as (
    select
    ATTRIBUTE_INDEX
    ,msg_index
    ,tx_id
    ,msg_group
    ,split(ATTRIBUTE_VALUE ,'uluna')[0]/1e6 as amount
    from terra.core.fact_msg_attributes
    where MSG_TYPE= 'delegate'
    and ATTRIBUTE_KEY='amount'
    and TX_SUCCEEDED=true
    )
    ,validator_check as (
    select
    msg_group
    ,msg_index
    ,tx_id
    from terra.core.fact_msg_attributes
    where MSG_TYPE= 'delegate'
    and ATTRIBUTE_KEY='validator'
    and ATTRIBUTE_VALUE='terravaloper18vnm040mwk0d6plc60v5m9h2376gkcphknuwzs'
    and TX_SUCCEEDED=true

    )
    ,lst_wallet as (
    select
    tx_id
    ,TX_SENDER as wallet
    from terra.core.fact_transactions
    where TX_SUCCEEDED=true
    )
    select
    block_timestamp::date as date
    ,m.tx_id
    Last run: about 1 year ago
    ADDRESS
    STAKE
    1
    terra1qlza4svxszm7c2j6ll2z2nd6pa55dm2ud79jzu350077
    2
    terra17zgucln37ks7kmazzm9396txh0extrrj8feyc8276841
    3
    terra1hugk5nhcx9v7m74gt996zqtvx3m8t4lplj4luv274067
    4
    terra1r9d7fua9qvxuhjj9aznu2eeatd8f3uectprffr200001
    5
    terra1axhlzvp8zxz3ju2eyf5jxjfre3gaxsa4ep7z4l200000
    6
    terra1qnvy887s7wkccxmt0v767gpvkk85lrpjyhd55t165500
    7
    terra1scch6hj68ufv8ptv8cjx2mrz8xmvu740kqgrjd124110
    8
    terra1sjp2km67p97wjtz9lmt2ldzkut05hmxc8qvtcm110001
    9
    terra16as7w3r6792djckdstjn3r3yj4uz0raww2y20598993
    10
    terra1gszkalr4fmx67vqdqttt9ekgqdvpvpyu2e2hnx96370
    11
    terra1cr8gvqj86duhgfpvjs5x237v4wfsf0qykacsjx88898
    12
    terra1zgu5w9ddpdt5ft36qn8cags0h8rz2uswr95p9885510
    13
    terra1u4c8suhxecwklvxl59cjer2xssavf88trv0ldk85001
    14
    terra1gdn2k0wrp7ttgqvn4h2jhe7zgygxakmdfmah5n84595
    15
    terra1ratk9n5gtuqakqpfyuhm5uyyqhhkq0uvz5yvkv81102
    16
    terra1htnjr993c9y7079ng9ryjm59jynldmudw392aq80001
    17
    terra1ell7l3edc2wdamjmdk6s3l6jkck68s7ankvq9580000
    18
    terra1qk8064gsrgvlne65h29qhhs4eg9mc06r8yqt2p75742
    19
    terra1yufvxf2z04357g4fsm5r650rslskm3runp02y068001
    20
    terra1qxtlut2ka3arczqm3gvxtuxe4leqakvdj2936p62236
    ...
    8651
    440KB
    51s