Skip to content

Commit

Permalink
update base queries to include risczero, worldchain, and succinct
Browse files Browse the repository at this point in the history
  • Loading branch information
agaperste committed Oct 20, 2024
1 parent 3e7f69b commit a79865c
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 3 deletions.
3 changes: 2 additions & 1 deletion queries/scroll_verification_base___3916549.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-- FORK
-- part of a query repo
-- query name: Scroll verification base
-- query link: https://dune.com/queries/3916549
Expand Down Expand Up @@ -34,7 +35,7 @@ where 1=1

-- and tx.block_date >= now() - interval '7' day
-- and tx.block_number = 20301391 and tx.hash = 0x59fd8268be53ba38b267696270e3a09d2768036295552f19ca5edc607a3faa41 -- https://etherscan.io/tx/0x59fd8268be53ba38b267696270e3a09d2768036295552f19ca5edc607a3faa41/advanced#internal --> 200,549
group by 1ch finalizer, per Scroll team this is the correct address
group by 1izer, per Scroll team this is the correct address
and tr.call_type = 'staticcall' -- assuming that verifier contract should be called as readonly staticcalls (next best to identifying all verifier contracts which is pretty impossible manually)

-- and tx.block_date >= now() - interval '7' day
Expand Down
9 changes: 8 additions & 1 deletion queries/zkp_all_time_all_project___3919405.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,14 @@ with base as (
select 'app' as type, 'Ethereum' as chain, 'Railgun' as protocol, * from dune.nebra.result_railgun_verification_base -- https://dune.com/queries/3902794
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'StarkEx projects (excl. Starknet & dYdX)' as protocol, * from dune.nebra.result_stark_ex_projects_excl_starknet_l_2_verification_base -- https://dune.com/queries/3973955

UNION ALL
select 'app' as type, 'Ethereum' as chain, 'Worldcoin' as protocol, * from dune.nebra.result_worldcoin_verification_base -- https://dune.com/queries/4149850
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'RISC Zero' as protocol, * from dune.nebra.result_risc_zero_verification_base -- https://dune.com/queries/4149868
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'Succinct' as protocol, * from dune.nebra.result_succinct_verification_base -- https://dune.com/queries/4149866


-- exclude because it's on OP/L2
-- select 'infra' as type, 'Ethereum' as chain, 'Worldcoin' as protocol, * from dune.nebra.result_worldcoin_op_verification_base -- https://dune.com/queries/3902422

Expand Down
7 changes: 6 additions & 1 deletion queries/zkp_l30d_gas_spent_($)___3964216.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ with base as (
select 'app' as type, 'Ethereum' as chain, 'Railgun' as protocol, * from dune.nebra.result_railgun_verification_base -- https://dune.com/queries/3902794
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'StarkEx projects (excl. Starknet & dYdX)' as protocol, * from dune.nebra.result_stark_ex_projects_excl_starknet_l_2_verification_base -- https://dune.com/queries/3973955

UNION ALL
select 'app' as type, 'Ethereum' as chain, 'Worldcoin' as protocol, * from dune.nebra.result_worldcoin_verification_base -- https://dune.com/queries/4149850
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'RISC Zero' as protocol, * from dune.nebra.result_risc_zero_verification_base -- https://dune.com/queries/4149868
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'Succinct' as protocol, * from dune.nebra.result_succinct_verification_base -- https://dune.com/queries/4149866

-- exclude because it's on OP/L2
-- select 'infra' as type, 'Ethereum' as chain, 'Worldcoin' as protocol, * from dune.nebra.result_worldcoin_op_verification_base -- https://dune.com/queries/3902422
Expand Down
6 changes: 6 additions & 0 deletions queries/zkp_verification_comparison_1___3891266.sql
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,12 @@ with base as (
select 'app' as type, 'Ethereum' as chain, 'Railgun' as protocol, * from dune.nebra.result_railgun_verification_base -- https://dune.com/queries/3902794
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'StarEX projects (excl. Starknet L2)' as protocol, * from dune.nebra.result_stark_ex_projects_excl_starknet_l_2_verification_base -- https://dune.com/queries/3973955
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'Worldcoin' as protocol, * from dune.nebra.result_worldcoin_verification_base -- https://dune.com/queries/4149850
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'RISCZero' as protocol, * from dune.nebra.result_risc_zero_verification_base -- https://dune.com/queries/4149868
UNION ALL
select 'app' as type, 'Ethereum' as chain, 'Succinct' as protocol, * from dune.nebra.result_succinct_verification_base -- https://dune.com/queries/4149866

-- exclude because it's on OP/L2
-- select 'infra' as type, 'Ethereum' as chain, 'Worldcoin' as protocol, * from dune.nebra.result_worldcoin_op_verification_base -- https://dune.com/queries/3902422
Expand Down

0 comments on commit a79865c

Please sign in to comment.