PapasotAlgorand Governance bounty
Updated 2022-01-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 exi as(SELECT
distinct address as users
from algorand.account
where account_closed='FALSE'),
gov as (select
distinct sender as users
from algorand.payment_transaction
where receiver in ('GULDQIEZ2CUPBSHKXRWUW7X3LCYL44AI5GGSHHOQDGKJAZ2OANZJ43S72U',
'57QZ4S7YHTWPRAM3DQ2MLNSVLAQB7DTK4D7SUNRIEFMRGOU7DMYFGF55BY')),
gov1 as (select distinct sender as users
from algorand.payment_transaction
where receiver in ('GULDQIEZ2CUPBSHKXRWUW7X3LCYL44AI5GGSHHOQDGKJAZ2OANZJ43S72U')),
gov2 as (select distinct sender as users
from algorand.payment_transaction
where receiver in ('57QZ4S7YHTWPRAM3DQ2MLNSVLAQB7DTK4D7SUNRIEFMRGOU7DMYFGF55BY'))
select
'gov' as type,
count(distinct exi.users) as total
from exi
join gov
on exi.users=gov.users
union
select
'gov1' as type,
count(distinct exi.users) as total
from exi join gov1 on exi.users=gov1.users
union
select
Run a query to Download Data