tkvresearchW_staker_distribution
Updated 2024-10-02
999
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
›
⌄
with list_address_ethereum as
(select block_timestamp,
tx_hash,
get(DECODED_LOG,'delegate') as delegator,
(get(DECODED_LOG,'previousVotes'))/power(10,18) as total_vote,
(get(DECODED_LOG,'newVotes'))/power(10,18) as total_new_vote
from ethereum.core.ez_decoded_event_logs
where TOPICS[0] = '0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724'
and
contract_address = '0xb0ffa8000886e57f86dd5264b9582b2ad87b2b91'
and
TX_STATUS = 'SUCCESS'
union
select block_timestamp,
tx_hash,
get(DECODED_LOG,'delegate') as delegator,
(get(DECODED_LOG,'previousVotes'))/power(10,18) as total_vote,
(get(DECODED_LOG,'newVotes'))/power(10,18) as total_new_vote
from ethereum.core.ez_decoded_event_logs
where TOPICS[1] = '0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724'
and
contract_address = '0xb0ffa8000886e57f86dd5264b9582b2ad87b2b91'
and
TX_STATUS = 'SUCCESS'
union
select block_timestamp,
tx_hash,
get(DECODED_LOG,'delegate') as delegator,
(get(DECODED_LOG,'previousVotes'))/power(10,18) as total_vote,
(get(DECODED_LOG,'newVotes'))/power(10,18) as total_new_vote
from ethereum.core.ez_decoded_event_logs
where TOPICS[2] = '0xdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a724'
and
contract_address = '0xb0ffa8000886e57f86dd5264b9582b2ad87b2b91'
and
TX_STATUS = 'SUCCESS'
QueryRunArchived: QueryRun has been archived