flipside
Products
For Protocols
For Analysts
For Explorers
About
Log in
Become a Partner
flipside
Who is getting Aave Rewards 3
jackguy
Who is getting Aave Rewards 3
Updated 2021-10-02
Copy Reference
Fork
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
›
⌄
with
tab1
as
(
SELECT
reserve_name
,
block_hour
,
aave_version
,
avg
(
total_liquidity_usd
*
supply_rate
)
/
8760
as
fee
FROM
aave
.
market_stats
GROUP
BY
1
,
2
,
3
)
SELECT
reserve_name
,
sum
(
fee
)
FROM
tab1
GROUP
BY
1
--,2
Results
Run a query to Download Data