DATE | NEW_CONTRACTS | CHAIN | |
---|---|---|---|
1 | 2025-05-18 00:00:00.000 | 311 | Arbitrum |
2 | 2025-05-18 00:00:00.000 | 5929 | Base |
3 | 2025-05-18 00:00:00.000 | 50 | Flow |
4 | 2025-05-18 00:00:00.000 | 12 | Mantle |
5 | 2025-05-18 00:00:00.000 | 5234 | Optimism |
6 | 2025-05-17 00:00:00.000 | 881 | Arbitrum |
7 | 2025-05-17 00:00:00.000 | 10405 | Base |
8 | 2025-05-17 00:00:00.000 | 48 | Flow |
9 | 2025-05-17 00:00:00.000 | 52 | Mantle |
10 | 2025-05-17 00:00:00.000 | 5226 | Optimism |
11 | 2025-05-16 00:00:00.000 | 1441 | Arbitrum |
12 | 2025-05-16 00:00:00.000 | 11686 | Base |
13 | 2025-05-16 00:00:00.000 | 331 | Flow |
14 | 2025-05-16 00:00:00.000 | 9 | Mantle |
15 | 2025-05-16 00:00:00.000 | 6568 | Optimism |
16 | 2025-05-15 00:00:00.000 | 492 | Arbitrum |
17 | 2025-05-15 00:00:00.000 | 9916 | Base |
18 | 2025-05-15 00:00:00.000 | 717 | Flow |
19 | 2025-05-15 00:00:00.000 | 8 | Mantle |
20 | 2025-05-15 00:00:00.000 | 4275 | Optimism |
adriaparcerisasflow new contracts vs l2
Updated 3 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
35
36
›
⌄
WITH flow_contracts AS (
-- Your existing Flow query
WITH core_news AS (
SELECT DISTINCT event_contract AS new_contract,
MIN(trunc(block_timestamp, 'day')) AS debut
FROM flow.core.fact_events
GROUP BY 1
),
evm_news AS (
SELECT DISTINCT contract AS new_contract,
MIN(trunc(block_timestamp, 'day')) AS debut
FROM (
select x.block_timestamp, x.from_address as creator,y.contract_address as contract
from flow.core_evm.fact_transactions x
join flow.core_evm.fact_event_logs y on x.tx_hash=y.tx_hash
where y.topics[0] ilike '%0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0%'
UNION
select x.block_timestamp, x.from_address as creator, x.tx_hash as contract
from flow.core_evm.fact_transactions x
where (x.origin_function_signature='0x60c06040' or x.origin_function_signature='0x60806040')
and tx_hash not in (
select x.tx_hash
from flow.core_evm.fact_transactions x
join flow.core_evm.fact_event_logs y on x.tx_hash=y.tx_hash
where y.topics[0] ilike '%0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0%'
)
)
GROUP BY 1
),
combined_news AS (
SELECT new_contract, debut FROM core_news
UNION ALL
SELECT new_contract, debut FROM evm_news
)
SELECT
debut AS date,
Last run: 3 days ago
...
690
28KB
76s