intensodefi3.comparison
Updated 2023-10-17
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
›
⌄
select
date_trunc('month',date) as monthly,
protocol,
sum(FEES) as collected_fees,
sum(collected_fees) over (order by monthly) as cumulative_collected_fees,
sum(REVENUE) as daily_revenue,
sum(daily_revenue) over (order by monthly) as cumulative_revenue
from
external.defillama.fact_protocol_fees_revenue
where protocol in ('SushiSwap','Velodrome')
and date> '2022-06-01' and date <='2023-06-12'
group by 1,2
order by 1 asc
Run a query to Download Data