AVG_VOTES_PER_PROPOSAL | AVG_WEIGHTED_POWER_USD | |
---|---|---|
1 | 605.684 | 462840.174824585 |
glxyresearchAave Snapshot Analysis
Updated 2025-03-05
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
›
⌄
with base as (
select
date(proposal_end_time) as time,
proposal_title as proposal,
voting_power as pwr,
id as vote
from external.snapshot.ez_snapshot
where proposal_end_time > cast('2023-12-31 23:59:59' as timestamp)
and proposal_end_time < cast('2025-01-01 00:00:0' as timestamp)
and space_id = 'aave.eth'
),
price as (
select
date(INSERTED_TIMESTAMP) as time,
approx_percentile(price, .5) as px
from ethereum.price.ez_prices_hourly
where token_address = lower('0x7Fc66500c84A76Ad7e9c93437bFc5Ac33E2DDaE9')
group by 1
),
votes_per_proposal as (
select
count(vote) / count(distinct proposal) as avg_votes_per_proposal
from base
)
select
v.avg_votes_per_proposal,
avg(b.pwr * p.px) as avg_weighted_power_usd
from base b
join price p on b.time = p.time
cross join votes_per_proposal v
group by v.avg_votes_per_proposal
Last run: 13 days ago
1
28B
6s