balancer / dune-spellbook

SQL views for Dune Analytics
Other
7 stars 11 forks source link

create protocol fee/revenue Dune dashboard #45

Closed mendesfabio closed 8 months ago

mendesfabio commented 11 months ago

Context

Protocol Revenue is still a pretty much neglected area on our Dune spells, queries and dashboards, while it still a fundamental metric for the Balancer DAO.

@mendesfabio has built a few queries to measure Protocol Fee collection - which is not exactly the DAO's revenue because of the protocol fee split proposed via BIPs.

@viniabussafi opened a PR to create the protocol fees spell, from which we will derive the queries to work on protocol revenue

Requirements

Out of Scope

Distinction between swap and yield fees

Resources

viniabussafi commented 11 months ago

I'm working on the dashboard. Initial queries have been created and a bit of context on the protocol fee split has been added. On hold for BPT prices spell to be fixedl

viniabussafi commented 8 months ago

dashboard created and validated