Afonso_Diaz2023-06-11 10:01 PM
Updated 2023-06-11
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 t as (
select
block_timestamp,
'Near' as chain,
tx_hash as vote_id,
signer_id as voter
from near.core.fact_actions_events_function_call
where method_name = 'act_proposal'
union all
select
block_timestamp,
'Cosmos' as chain,
tx_id as vote_id,
voter
from cosmos.core.fact_governance_votes
where tx_succeeded = 1
union all
select
block_timestamp,
'Osmosis' as chain,
tx_id as vote_id,
voter
from osmosis.core.fact_governance_votes
where tx_succeeded = 1
),
t2 as (
select
chain,
voter,
min(block_timestamp)::date as min_date
from t
Run a query to Download Data