dannerVelodrome Votes
Updated 2022-08-02
99
1
2
3
4
5
6
7
8
9
10
›
⌄
select
date_trunc('day',block_timestamp) as "Day",
coalesce(POOL_NAME,pool_address) as "Pool",
coalesce(sum(case when vote_action = 'unvote' then vote_amount end),0) as "Voted",
-1*coalesce(sum(case when vote_action = 'vote' then vote_amount end),0) as "Unvoted"
from
optimism.velodrome.ez_votes
where origin_from_address = lower('{{Address}}')
group by 1,2
order by 1 desc, 2
Run a query to Download Data