New Coin | |
---|---|
1 | 534 |
Movement Team14. Total Coin
Updated 4 days ago
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
›
⌄
with base as (select *,
SPLIT(payload_function, '::')[1] as part_1,
SPLIT(payload_function, '::')[2] as part_2,
concat(part_1,'::',part_2) as function
from movement.core.fact_events
union
select *,
SPLIT(EVENT_TYPE, '::')[1] as part_1,
SPLIT(EVENT_TYPE, '::')[2] as part_2,
concat(part_1,'::',part_2) as function
from movement.core.fact_events)
,
unverfied as ( select min(block_timestamp::Date) as date,
address
from movement.core.fact_changes
where CHANGE_MODULE = 'fungible_asset'
and tx_type = 'user_transaction'
and INNER_CHANGE_TYPE = '0x1::fungible_asset::Metadata'
group by 2)
,
base_2 as (select block_timestamp::date as date,
tx_hash as address
from base
where function in ('fa_coin::mint','oft_fa::initialize','a_token_factory::Initialized')
union
select date,
address
from unverfied
)
select
count(distinct address) as "New Coin"
from base_2
Last run: 4 days ago
1
7B
7s