CryptoIcicleWhat's Going On With Gnosis? - Transaction Metrics
Updated 2022-10-17
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
›
⌄
-- There’s been some unusual activity with Gnosis as pointed out by our community. Time to figure out exactly what’s going on.
-- Take a deep dive into recent activity on Gnosis, especially recent rapid rises in the number of active users, transactions, and more.
-- Make any hypothesis you can about what is driving this activity. Is there a new dapp that launched? Is there some incentive program going on? Or is the spike in users/txns due to some sybil attack?
-- Note any trends or outliers you see.
-- Pay by Quality Your score determines your final payout.
-- Grand Prize 112.5 USDC (A score of 11 or 12 earns you a Grand Prize title)
-- Payout 75 USDC
-- Score Multiplier0-7 : 0% 8 : 50% 9 : 75% 10 : 100% 11 : 125% 12 : 150%
-- Payout Network Ethereum
-- Level Intermediate
-- Difficulty Hard
with
txns as (
select
t.*,
((t.gas_price/1e9) * (t.gas_used)) as gas_used_usd
from gnosis.core.fact_transactions t
)
select
date_trunc('{{date_range}}',block_timestamp) as date,
status as type,
count(distinct from_address) as n_users,
count(distinct tx_hash) as tx_frequncy,
sum(gas_used_usd) as gas_usd,
sum(n_users) over (order by date asc rows between unbounded preceding and current row) as cum_n_users,
sum(gas_usd) over (order by date asc rows between unbounded preceding and current row) as cum_gas_usd,
sum(tx_frequncy) over (order by date asc rows between unbounded preceding and current row) as cum_tx_frequncy
from txns
where block_timestamp >= CURRENT_DATE - {{n_days}}
group by date, type
Run a query to Download Data