MasiDaily Deployed Contracts copy
Updated 2024-11-13
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
›
⌄
-- forked from Daily Deployed Contracts @ https://flipsidecrypto.xyz/studio/queries/625c5c0f-fd99-46cf-ac2b-d8c9d38a9f24
with tb1 as (select block_timestamp,
signer_id,
tx_hash
from near.core.fact_actions_events
where action_name = 'DeployContract'
and block_timestamp::date >= '2024-09-01'
and block_timestamp::Date < '2024-11-01'
)
select trunc(block_timestamp,'day') as daily,
case when block_timestamp::Date < '2024-10-01' then 'September' else 'October' end as type,
count(DISTINCT tx_hash) as "Deployed Contracts",
rank() over (partition by type order by daily asc) as day
from tb1
group by 1,2
QueryRunArchived: QueryRun has been archived