Trading fees: A small percentage of the trade paid by traders to pool LPs, set by the pool creator or dynamically optimized by Gauntlet. Additionally, Balancer governance can vote to introduce a Protocol Trading Fee, which is a percentage of the Trading Fee. For instance, if a pool had a 1% fee, and governance introduced a 1% protocol fee - the total swap fee would be 1.01%. 1% would accrue to the pool's LPs, and 0.01% would accrue to the protocol fee collector contract, with withdrawal and disbursement under the control of governance.
Flash Loan fees: A small percentage of assets that are used for flash loans from Balancer’s vault. This is the protocol fee - it accrues to the protocol, for allocation by governance.
All protocol fees were set to zero at launch, and can only be changed through governance.
Balancer Pools are extremely customizable, and each pool can have a different fee. It is up to the pool creator to decide how high the fees should be, ranging from 0.0001% to 10%. When using the Smart Order Router, the fees will always be taken into account when finding the best price.
Some pools have Dynamic Trade Fees that are algorithmically set by Gauntlet. The pool detail page on the UI shows you which type of pool it is, and how the fees are managed.
Protocol trading fees are set by governance, and will be turned on whenever they are voted to be active. The fees can be set from 0 to 50% of the existing pool swap fee.
All protocol fees will be kept in the Protocol Fees Collector contract. It is up to Balancer’s governance to decide whether and how these fees are used.
Today, it’s nearly impossible to choose a correct swap fee at pool creation time. Inherently, the optimal trading fee for a pair continuously changes throughout both tokens’ lifecycles and the overall market cycle.
For example, a static fee can have diminishing returns after circumstances change, like liquidity moving to another pool. Another example is that during times of wild volatility, liquidity providers risk sustaining greater impermanent losses.
Just like ride-sharing apps have surge pricing during high-traffic times, thanks to a partnership with Gauntlet, Balancer pools can optimize fees for current market conditions.