Skip to content

Commit

Permalink
feat: add lockup unique user count
Browse files Browse the repository at this point in the history
  • Loading branch information
maxdesalle committed Jan 21, 2025
1 parent b09ed04 commit 9a375e7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions queries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ query_ids:
- 4600780
- 4600798
- 4600977
- 4601033
18 changes: 18 additions & 0 deletions queries/lockup:_unique_user_count___4601033.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
-- part of a query repo
-- query name: Lockup: Unique User Count
-- query link: https://dune.com/queries/4601033


SELECT
COUNT(DISTINCT user)
FROM
(
SELECT funder AS user
FROM query_4580489 -- Unified: Lockup Stream Creation Data
UNION ALL
SELECT sender AS user
FROM query_4580489
UNION ALL
SELECT recipient AS user
FROM query_4580489
)

0 comments on commit 9a375e7

Please sign in to comment.