Motivation
This guideline is meant to bring clarity to how projects building on Balancer should consider paying protocol fees to the Balancer DAO. The policy’s cornerstone is that Balancer DAO is always 100% aligned with the integrator in that Balancer only gets fees if the integrator is also making fees. More often than not, protocols don’t want to start charging fees from day 1 to avoid stifling traction and growth. In this case Balancer DAO should also not get any fees.
There are two concrete changes this policy proposes relative to how other protocols have been paying fees to Balancer so far. If approved by governance it would allow integrators to:
- have the option to discuss and agree with Balancer DAO on the percentage of protocol fees they pay to Balancer protocol: this should be done considering the specifics of the protocol and how it integrates with Balancer.
- add a Balancer protocol fee “kill-switch” on their side, protecting them from being rug-pulled by Balancer governance (e.g. setting a high-fee unilaterally). Even though Balancer governance is trusted, this is definitely a concern integrators have when deciding whether to build on Balancer.
These two changes should make Balancer a lot more attractive as a destination for AMM innovation as well as protocols creating other non-AMM programmable liquidity solutions.
Proposal
Benefits of building on Balancer
Balancer is fully open source and can be used by other teams without any payment of fees. However, Balancer DAO believes Balancer Protocol has very strong potential to improve and grow. This cannot be done without a sustainable model where the DAO generates revenues to pay for service providers to work for the protocol.
These revenues come today mostly from pools that are created by Balancer Labs (stable and weighted pools). However, if Balancer protocol is to scale, in the future most of the revenue should come from a variety of protocols using Balancer. But if they can build on Balancer without paying any fees why should they pay any fees after all? What’s in it for them? These are the main advantages of paying fees to Balancer protocol, which should be more than enough to justify the voluntary fee payment by integrators (once they start charging fees themselves):
- Active support by the various service providers in the Balancer ecosystem in areas like Software development, Marketing, biz-dev etc.
- Inclusion in the Balancer SDK, SOR (smart order router) and subgraph, making the integrator’s liquidity visible for all existing consumers of the SDK/SOR/subgraph.
- Streamlined integration with leading liquidity aggregators like 1Inch, CowSwap, 0x and ParaSwap.
ProtocolFeePercentagesProvider
These advantages already resulted in numerous integrations in different categories:
- Fixed rate token markets: Element, Tempus, Sense
- TWAMMs: CRON, XS Finance
- Stablecoins: Gyroscope
- Indices: Index Coop, Beethoven
Additionally, new pool types and products are being created by Balancer SPs. This results in a growing number of ways Balancer charges protocol fees.
Because of this increasing variety, Balancer Labs recently deployed the ProtocolFeePercentagesProvider. This registry should be used as the ground truth on what the protocol fee percentages to be paid by integrators will be.
Implementation
The fee provider should contain a different entry for each new integrator, whose percentage should be discussed and agreed upon by the Balancer DAO and the integrator, ideally ratified by both communities through governance votes. That new entry can only be added by Balancer governance, and the integrator will hook their Balancer Fee paying logic to that, so they can read that value.
The kill-switch can be implemented by integrators in such a way that avoids two SLOADS: only read the kill-switch if the ProtocolFeePercentagesProvider indicates a non-zero fee. The control over setting the kill-switch lies completely with the integrator so there is zero risk of them being rug-pulled.
Future work & open questions
Fairness across different integrators
The choice of how much each integration pays in fees is complex and can be very subjective. Ideally there will be guidelines for different types of integrations so that some teams don’t feel disadvantaged relative to others. This is going to be an ongoing process.
Integrators that have already deployed code and are already paying fees
To be fair to protocols that were first movers and built on Balancer like Element Finance, the proposal is to reimburse them with any fees that they pay to Balancer DAO but would not be paying under this new policy. This refund would be active from the moment this proposal passes, given the protocol fees paid in the past have already been distributed/allocated. At the first possible occasion/upgrade they should be encouraged to switch to this new model.
Specification
This proposal has no explicit specification to be run onchain. It’s meant to be a clarification signed off on by Balancer DAO on how the DAO views the process for integrators to pay fees for Balancer protocol.