Query editor
with new_contracts_start_date as (selectcontract_address, MIN(block_time) as min_block_timefrom arbitrum.logsgroup by1order by2 nulls FIRST), Week_arbitrum_contract as (selectDATE_TRUNC('week', min_block_time) as Week, COUNT(distinct contract_address) as new_contract_countfrom new_contracts_start_dategroup by1order by1 nulls FIRST)selectWeek, new_contract_count, (new_contract_count - LAG(new_contract_count, 1) over (order byWeek nulls FIRST)) / CAST((LAG(new_contract_count, 1) over (order byWeek nulls FIRST)) as DOUBLE) as growth_ratefrom Week_arbitrum_contractorder byWeek desc