Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewhong5297 committed Feb 13, 2024
2 parents d662e8e + f7dc421 commit 1b6e23b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion queries/arbitrum_grants_summary___3405929.sql
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ LEFT JOIN prices.usd p ON p.blockchain = 'arbitrum'
and p.contract_address = gc.grant_token_address
and p.minute = DATE_PARSE(gc.grant_date, '%m/%d/%Y')
LEFT JOIN blockchain_summary blk ON blk.blockchain = gc.grant_blockchain --potential issues if protocol is deployed on multiple chains. How to handle?
WHERE gc.grant_blockchain = 'arbitrum'
GROUP BY 1,2,qu.q_users_30d
order by grant_amount_usd desc
order by grant_amount_usd desc
3 changes: 2 additions & 1 deletion queries/optimism_grants_summary___3410549.sql
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,6 @@ LEFT JOIN prices.usd p ON p.blockchain = 'optimism'
and p.contract_address = gc.grant_token_address
and p.minute = DATE_PARSE(gc.grant_date, '%m/%d/%Y')
LEFT JOIN blockchain_summary blk ON blk.blockchain = gc.grant_blockchain --potential issues if protocol is deployed on multiple chains. How to handle?
WHERE gc.grant_blockchain = 'optimism'
GROUP BY 1,2,qu.q_users_30d
order by grant_amount_usd desc
order by grant_amount_usd desc

0 comments on commit 1b6e23b

Please sign in to comment.