Ali3NVote-Changing Behavior of Voters (Cosmos Osmosis Terra)
Updated 2023-02-22
99
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 firstvotes1 as (
select voter,
block_timestamp,
tx_id,
vote_option,
proposal_id
from cosmos.core.fact_governance_votes),
secondvotes1 as (
select distinct t1.voter,
t1.block_timestamp,
t1.tx_id,
t1.vote_option,
t1.proposal_id
from cosmos.core.fact_governance_votes t1 join firstvotes1 t3 on t1.voter = t3.voter and t1.block_timestamp > t3.block_timestamp and t1.vote_option != t3.vote_option and t1.proposal_id = t3.proposal_id),
firstvotes2 as (
select voter,
block_timestamp,
tx_id,
vote_option,
proposal_id
from osmosis.core.fact_governance_votes),
secondvotes2 as (
select distinct t1.voter,
t1.block_timestamp,
t1.tx_id,
t1.vote_option,
t1.proposal_id
from osmosis.core.fact_governance_votes t1 join firstvotes2 t3 on t1.voter = t3.voter and t1.block_timestamp > t3.block_timestamp and t1.vote_option != t3.vote_option and t1.proposal_id = t3.proposal_id),
firstvotes3 as (
select voter,
block_timestamp,
tx_id,
Run a query to Download Data