Moetop users in USDC claim amount
Updated 2023-08-03
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
base as (
select
tx_hash,
case
when contract_address ilike '0x280b3b748ccc42d5062ce59111fad08594f51d9f' then 'Metrics App Beta Launch'
when contract_address ilike '0x3e4f7978447e354e832d38363e927231e518e33a' then 'MetricsDAO Marketplace'
when contract_address ilike '0xadfd6e51b1a8a4f6cd5bb2e1c33b08cbaf47b1e8' then 'SkillForge'
when contract_address ilike '0xacbf13fd19f35c2032d3030619318f5b595cc7d8' then 'Pine Analytics Marketplace'
when contract_address ilike '0x3eeac7cf0526e4c26f9cd400fbea852715381709' then 'Flash Challenges Marketplace'
end as marketplace
from
polygon.core.fact_event_logs
where
contract_address in (
'0xacbf13fd19f35c2032d3030619318f5b595cc7d8',
'0x3e4f7978447e354e832d38363e927231e518e33a',
'0x280b3b748ccc42d5062ce59111fad08594f51d9f',
'0x3eeac7cf0526e4c26f9cd400fbea852715381709',
'0xadfd6e51b1a8a4f6cd5bb2e1c33b08cbaf47b1e8'
)
and origin_function_signature = '0xddd5e1b2'
)
select
TO_ADDRESS as analysts,
sum(raw_amount / pow(10, decimals)) as usdc_claimed,
count(distinct tx_hash) as projects,
usdc_claimed / projects as reward_per_project
from
polygon.core.ez_token_transfers
inner join base using (tx_hash)
where
symbol like 'USDC'
group by
1 order by 2 desc limit 50
Run a query to Download Data