andurilAddresses that are receive Airdrops
Updated 2021-10-04Copy Reference Fork
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
›
⌄
⌄
/*
Split ANC MIR and Pylon - add airdrop timeline
what did they do with the tokens- % that held
wallet value
*/
with terra_airdrops as
(
select
distinct date_trunc('week', m.block_timestamp) as date,
m.tx_id,
m.msg_value : contract :: string AS contract,
m.msg_value : sender :: string AS sender,
m.msg_value : execute_msg : claim : amount / POW(10, 6) AS token_amount,
m.msg_value : execute_msg : claim : stage AS stage
from
terra.msgs m
where
m.msg_value : execute_msg : claim is not null
and m.tx_status = 'SUCCEEDED'
and stage = 1
-- and m.msg_value : contract :: string = 'terra1kalp2knjm4cs3f59ukr4hdhuuncp648eqrgshw'
)
select contract,address,token_amount
from terra_airdrops
Run a query to Download Data