Flipside TeamHolograph bsc contracts deployed
Updated 2024-11-21
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
›
⌄
-- forked from Holograph ethereum contracts deployed @ https://flipsidecrypto.xyz/edit/queries/381fda6e-5d57-4e31-8f04-69625b991a58
WITH bsc_holograph_protocol_contract_deployments AS (
select
date_trunc('day', block_timestamp) as date,
concat('0x', substr(topics [1], 27, 64)) as contract
from
bsc.core.fact_event_logs
where
1 = 1
and date >= '2023-01-01'
-- and date < '2024-01-01'
-- and date >='2024-01-01'
and contract_address in
(
lower('0x4f92ae4960a6ac49fa88bcf9d6d4b8c53f626a55')
,
lower('0xf3ddf3dc6ebb5c5dc878c7a0c8b2c5e051c37594')
)
and origin_function_signature = '0xdf6516bd'
group by
date,
contract
),
bsc_holograph_protocol_contract_deployments_counter AS (
SELECT
COUNT(contract) AS contract_count,
date
FROM
bsc_holograph_protocol_contract_deployments
GROUP BY
contract,
date
)
SELECT
dd.date_day as date,
Auto-refreshes every 1 hour
QueryRunArchived: QueryRun has been archived