balancer / dune-spellbook

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

Create Labels for Gauges #33

Closed mendesfabio closed 10 months ago

mendesfabio commented 1 year ago

We've been using this query to populate the labels for gauges. This was needed because it's only possible to create the map between a gauge and its symbol with cross-chain queries -- thus not possible in Dune V1.

What we want is a query that maps every RootGauge with its respective label which is a string composed by <network>:<pool_label> -- first what we can do is simply map the gauge address to its pool address:

If you want to learn more about veBAL and Gauges, take a look at this documentation.

mendesfabio commented 1 year ago

@hedgehog-jacek I just added more information to this issue -- is it clear to you now? We can meet later, but I thought it would be good to have better instructions here anyway so we don't forget any details.