Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
Free 30-min Web3 Consultation
Book Consultation
Smart Contract Security Audits
View Audit Services
Custom DeFi Protocol Development
Explore DeFi
Full-Stack Web3 dApp Development
View App Services
LABS
Glossary

Fee Switch

A fee switch is a governance-controlled parameter in an Automated Market Maker (AMM) that allows a protocol to activate or redirect a portion of trading fees from liquidity pools to its treasury or token holders.
Chainscore © 2026
definition
BLOCKCHAIN GOVERNANCE

What is Fee Switch?

A fee switch is a governance mechanism that allows a decentralized protocol to activate the collection of a portion of transaction fees, redirecting them from network validators to a designated treasury or token holders.

In a fee switch model, a protocol's smart contracts are pre-programmed with the ability to divert a percentage of the fees generated by its core operations—such as trades on a decentralized exchange (DEX) or loans on a lending platform—away from the network's block producers (e.g., miners or validators). This switch is typically controlled by a decentralized autonomous organization (DAO) through an on-chain governance vote, allowing the community to decide if and when to activate the revenue stream. The collected fees are then distributed according to the protocol's rules, often to a treasury for development or directly to governance token holders via buybacks, burns, or dividends.

The primary purpose of a fee switch is to create a sustainable protocol-owned revenue model and align economic incentives. Before activation, 100% of fees may go to external validators as an incentive for securing the underlying blockchain. By switching on protocol fees, the project captures value for its own ecosystem, funding development, insurance reserves, grants, and other public goods. This transforms the governance token from a purely speculative or voting asset into a potential cash-flow generating instrument, a concept often referred to as "protocol-owned value" or "real yield."

A canonical example is Uniswap, whose v3 protocol code includes a function for a governance-controlled fee switch set between 10% and 25% of pool fees. While not activated as of this writing, its mere existence is a powerful governance tool. Other protocols like SushiSwap and Balancer have implemented active fee switches. The mechanism involves significant trade-offs: while it provides revenue, it can reduce liquidity provider (LP) rewards and must be carefully calibrated to avoid driving users to competitors. Thus, its activation is a major economic policy decision for any DAO.

how-it-works
MECHANISM

How a Fee Switch Works

A fee switch is a governance-controlled mechanism that allows a decentralized protocol to activate the collection of a portion of its transaction fees, redirecting them from liquidity providers to the protocol's treasury or token holders.

A fee switch is a smart contract function, typically governed by a decentralized autonomous organization (DAO), that toggles the collection and distribution of protocol-generated fees. In its default 'off' state, 100% of trading fees (e.g., 0.30% on a swap) are distributed to liquidity providers (LPs) as an incentive. When activated or 'switched on,' a predefined percentage of these fees—for example, 10%—is diverted to a designated protocol treasury, while the remaining 90% continues to reward LPs. This creates a sustainable revenue model for the protocol itself.

The activation process is a core governance action. Token holders submit and vote on a proposal to enact the switch, specifying critical parameters: the fee take rate (the percentage diverted), the recipient address (often a multi-sig wallet or treasury contract), and the assets to collect (e.g., ETH, stablecoins, or the protocol's native token). This ensures the community aligns incentives, balancing LP rewards with protocol funding for development, security, and growth initiatives. Prominent examples include Uniswap's governance-controlled fee mechanism for its V3 pools.

Implementing a fee switch involves significant economic and technical considerations. Economically, it introduces a trade-off: while it funds the protocol, it slightly reduces the annual percentage yield (APY) for LPs, which could impact liquidity if not carefully calibrated. Technically, the switch must be implemented via a secure, upgradeable smart contract module that can permissionlessly collect fees from thousands of liquidity pools. The accrued fees are then subject to further governance decisions on their use, such as funding grants, buying back and burning tokens, or being distributed via staking rewards.

key-features
MECHANISM

Key Features of a Fee Switch

A fee switch is a governance-controlled mechanism that redirects a portion of protocol-generated fees from liquidity providers or validators to a designated treasury or token holders.

01

Governance Activation

The activation and parameterization of a fee switch is exclusively controlled by on-chain governance. This typically involves a formal proposal and a token-holder vote to decide on:

  • Activation: Whether to turn the switch on or off.
  • Fee Rate: The percentage of total fees to redirect (e.g., 10%, 50%).
  • Recipient: The destination address, often a treasury or staking contract. This ensures the change reflects the collective will of the protocol's stakeholders.
02

Revenue Diversion

The core function is to divert a share of protocol revenue from its default recipients. In decentralized exchanges (DEXs), fees are typically paid entirely to liquidity providers (LPs). A fee switch siphons a defined percentage (e.g., 0.05% of a 0.30% swap fee) away from LPs. In proof-of-stake networks, it can redirect a portion of transaction fees or block rewards from validators. This creates a new, sustainable revenue stream for the protocol itself.

03

Treasury Funding

The most common use for redirected fees is to fund a protocol treasury. This treasury acts as a war chest for:

  • Development Grants: Funding core developers and new initiatives.
  • Security Audits: Paying for ongoing smart contract and protocol reviews.
  • Insurance Funds: Capitalizing pools to cover potential exploits or shortfall events.
  • Strategic Acquisitions. This moves the protocol toward sustainable decentralization by reducing reliance on venture capital or token inflation for funding.
04

Value Accrual to Token

A fee switch can be designed to directly accrue value to the protocol's governance token, transforming it into a cash-flow generating asset. Mechanisms include:

  • Buyback-and-Burn: Using treasury revenue to purchase and permanently remove tokens from circulation.
  • Staking Rewards: Distributing the fees as rewards to users who stake the governance token.
  • Direct Distribution: Sending fees to token holders via a rebate or dividend system. This aligns long-term token holder incentives with the protocol's financial success.
05

Economic Trade-offs

Activating a fee switch introduces critical economic trade-offs that governance must weigh:

  • LP Incentives: Reducing LP yields may lead to lower liquidity depth and wider spreads, negatively impacting user experience.
  • Tokenomics: Value accrual can increase token demand, but may also be seen as a tax on users.
  • Regulatory Scrutiny: Generating direct revenue may influence the legal classification of the token. The optimal fee rate balances treasury needs with ecosystem health.
06

Implementation Examples

Real-world implementations demonstrate the mechanism's flexibility:

  • Uniswap: Governance can vote to activate a fee switch on any pool, directing 1/6th to 1/4th of the 0.30% fee to a UNI token staking contract.
  • SushiSwap: The xSUSHI model automatically diverts 0.05% of all swap fees (from the 0.30% total) to SUSHI stakers.
  • Compound: The COMP token governance can vote to enable a reserve factor, diverting a portion of interest payments to a protocol reserve.
examples
FEE SWITCH IMPLEMENTATIONS

Protocol Examples

A fee switch is a governance-controlled mechanism that redirects a portion of a protocol's trading fees from liquidity providers to its treasury or token holders. The following are prominent examples of its implementation across DeFi.

economic-implications
ECONOMIC IMPLICATIONS & TRADE-OFFS

Fee Switch

A fee switch is a governance-controlled mechanism that redirects a portion of a blockchain protocol's transaction fees or block rewards from validators to a designated treasury, typically for ecosystem development or protocol maintenance.

The fee switch is a critical economic lever in decentralized networks, representing a governance decision to activate the collection of protocol fees. When enabled, it diverts a predetermined percentage of fees—such as those from decentralized exchange trades or network transactions—away from block producers (e.g., validators or liquidity providers) and into a community-controlled treasury. This creates a sustainable, on-chain revenue model for the protocol itself, separate from token inflation. The concept was popularized by decentralized exchanges like Uniswap, where governance token holders can vote to "flip the switch" and capture a share of trading fees.

Implementing a fee switch involves significant economic trade-offs. Redirecting fees reduces the immediate rewards for core network service providers, which can impact incentives for security (in proof-of-stake networks) or liquidity provision (in automated market makers). Careful calibration of the fee percentage is required to balance treasury funding with the continued economic security and attractiveness of the underlying protocol. Governance processes must also define the treasury's use of funds, which can include grants, development, insurance, or token buybacks and burns, each with different implications for tokenomics and value accrual.

The activation of a fee switch is a major milestone in a protocol's maturation, signaling a shift from inflationary token-based subsidies to sustainable fee-based revenue. It tests the governance system's ability to manage complex economic parameters and align long-term incentives. While it provides a direct value capture mechanism for the protocol and its token holders, it also introduces new centralization risks if governance is captured or if fee extraction discourages network participation. Successful implementations, as seen in protocols like SushiSwap or various Layer 2 networks, demonstrate its role in funding decentralized public goods and ensuring long-term protocol viability.

governance-process
FEE SWITCH

Typical Governance Process

The fee switch is a governance-controlled mechanism that redirects a protocol's revenue from liquidity providers to its treasury or token holders. This process is not automatic and requires a formal, multi-step governance proposal to activate.

01

1. Proposal Drafting & Temperature Check

A community member or core team drafts a formal Fee Switch Proposal (FSP). This document details the implementation parameters, such as the percentage of fees to redirect (e.g., 10-50%) and the destination (e.g., treasury, token buybacks). A non-binding temperature check or forum discussion is held to gauge community sentiment before proceeding to a formal vote.

02

2. Formal On-Chain Proposal

If initial sentiment is positive, the proposal is formalized into an on-chain governance proposal. This is a transaction that, if passed, will execute code to modify the protocol's fee distribution contract. Key elements include:

  • Target contract address to upgrade.
  • Calldata containing the new fee logic.
  • Voting period (e.g., 3-7 days).
  • Quorum requirement that must be met for the vote to be valid.
03

3. Delegated Token Voting

Token holders vote on the proposal, typically by delegating their voting power to themselves or a delegate. Voting is weighted by the number of governance tokens held. Major decentralized autonomous organizations (DAOs) like Uniswap, SushiSwap, and Curve have used this process. A supermajority (e.g., >50% or 66%) of votes cast is usually required for passage.

04

4. Timelock & Execution

Upon successful vote, the proposal enters a timelock period (e.g., 48 hours). This security delay allows users to review the executed code and exit positions if desired. After the timelock expires, the proposal is automatically executed, updating the protocol's fee routing logic. The fee switch is now active, diverting protocol revenue as specified.

05

5. Post-Activation Monitoring

After activation, the community monitors key metrics to assess impact:

  • Treasury revenue from the switch.
  • Changes in Total Value Locked (TVL) and liquidity provider (LP) activity.
  • Token price and staking dynamics. Negative impacts, like reduced liquidity, can lead to new proposals to adjust or deactivate the switch.
06

Key Governance Concepts

The process relies on several core decentralized governance constructs:

  • Governance Token: The asset conferring voting rights (e.g., UNI, SUSHI).
  • Delegate: A person/entity that votes on behalf of token holders.
  • Quorum: Minimum participation threshold for a valid vote.
  • Timelock: Mandatory delay between vote and execution for safety.
  • Multisig: A wallet requiring multiple signatures, often used for treasury management post-switch.
FEE SWITCH

Common Misconceptions

Clarifying widespread misunderstandings about the mechanisms, governance, and economic impact of protocol fee switches.

A fee switch is a governance-controlled mechanism that allows a decentralized protocol to activate the collection of a portion of the fees generated within its ecosystem, redirecting them to a designated treasury or token holders. It works by modifying the protocol's smart contract logic, often via a governance proposal, to divert a predefined percentage (e.g., 10-20%) of transaction fees, trading fees, or other protocol revenue that was previously fully distributed to liquidity providers or users. This diverted revenue is then sent to a treasury contract, which may use it for buybacks and burns, direct distributions to stakers, or funding protocol development. The switch is not a binary on/off but a configurable parameter, allowing the community to debate and vote on the optimal rate and distribution model.

security-considerations
FEE SWITCH

Security & Design Considerations

The fee switch is a governance-controlled mechanism that redirects a portion of a protocol's transaction fees from liquidity providers to its treasury or token holders. Its activation involves critical trade-offs.

01

Incentive Realignment Risk

Activating a fee switch directly alters the protocol's economic flywheel. The primary risk is disincentivizing liquidity providers (LPs), who may withdraw capital if their yield is reduced, leading to higher slippage and worse execution for users. This creates a delicate balance between protocol revenue and liquidity depth.

  • Example: A 10% fee switch could reduce LP APR, potentially triggering a liquidity migration to competing pools.
  • Mitigation: Protocols often propose fee switches gradually or alongside veToken models to align long-term holder and LP incentives.
02

Governance Attack Surface

The control mechanism for the fee switch—typically a decentralized autonomous organization (DAO)—becomes a high-value attack target. A malicious proposal or governance takeover could set the fee to 100%, draining all LP rewards.

Key security considerations include:

  • Proposal Thresholds: High barriers for submission and passage.
  • Timelocks: Mandatory delay between vote execution and implementation for community reaction.
  • Multisig or Guardian: Emergency pause capabilities, though this introduces centralization trade-offs.
03

Regulatory & Legal Implications

Diverting fees to token holders may change the regulatory classification of the token. Securities regulators could view the fee switch as creating an expectation of profit derived from the managerial efforts of the DAO, potentially qualifying the token as a security.

  • Howey Test Consideration: The switch creates a stronger case for an "investment contract."
  • Design Choice: Some protocols direct fees only to the treasury for development, not direct holder distributions, to mitigate this risk.
04

Parameterization & Game Theory

The fee switch is not binary; its parameterization is critical. Governance must decide:

  • Fee Percentage: What portion of swap fees is redirected (e.g., 10%, 50%)?
  • Recipient: Treasury, token stakers, or a specific grant program?
  • Activation Triggers: Based on TVL, volume, or a specific epoch?

Poor parameterization can lead to subgame imperfections, where rational actors (LPs, traders, holders) optimize for their loss, harming the overall protocol health. Simulations and economic modeling are essential pre-activation.

05

Market Perception & Signaling

A fee switch proposal is a major signaling event to the market. It can be interpreted positively as protocol maturity and a path to sustainability, or negatively as a cash grab that jeopardizes liquidity.

  • Bull Case: Signals protocol-led value capture and sustainable revenue, potentially boosting the token's valuation.
  • Bear Case: May be seen as the protocol "monetizing" at the expense of its core users (LPs), leading to sell pressure. Clear communication of the revenue's use (e.g., funding development, buyback-and-burn) is crucial for community buy-in.
06

Implementation Security

The smart contract code that executes the fee diversion must be rigorously audited. A bug could lead to incorrect fee accounting, permanent loss of user funds, or a complete drain.

Critical code patterns to verify:

  • Accurate Fee Splitting: Precise math for splitting fees between the treasury and LPs.
  • Access Control: Only the governance executor (e.g., Timelock) can update parameters.
  • Upgradability: If using a proxy, ensure no storage collisions and secure upgrade process.
  • Reentrancy Guards: Protect fee collection logic from malicious tokens.
FEE SWITCH MECHANICS

Comparison: AMM Fee Distribution Models

A breakdown of how different Automated Market Maker (AMM) protocols allocate trading fees between liquidity providers (LPs) and token holders when a fee switch is activated.

Distribution MechanismDirect to HoldersLP Buyback & BurnTreasury DiversionHybrid Model

Primary Fee Recipient

Token Holders (via staking)

Protocol Treasury

Protocol Treasury

Split between multiple parties

LP Compensation

None (base fee only)

Indirect via token buy pressure

None (base fee only)

Partial direct share or rebate

Tokenomics Impact

Direct yield for stakers

Deflationary via supply burn

Funds protocol development

Balanced yield and deflation

Typical Fee Allocation

100% to holders

100% to buyback/burn

100% to treasury

e.g., 50% holders, 25% LP, 25% treasury

Implementation Complexity

Low

Medium (requires market operations)

Low

High (requires multiple contracts)

Example Protocols

Uniswap (Governance proposal)

Trader Joe (veJOE model)

Many DAO-governed protocols

Balancer (Governance fee switch)

Governance Control

Fee switch toggle & rate

Buyback/burn parameters

Treasury allocation

Allocation ratios and triggers

LP Incentive Risk

High (LPs may exit)

Medium (offset by token appreciation)

High (LPs may exit)

Low (LPs partially compensated)

FEE SWITCH

Frequently Asked Questions (FAQ)

A fee switch is a governance-controlled mechanism that enables a decentralized protocol to activate the collection of fees from its core operations, directing them to a designated treasury or token holders.

A fee switch is a smart contract mechanism, typically controlled by decentralized governance, that allows a protocol to begin collecting a portion of the fees generated by its operations. It works by modifying the protocol's core logic to divert a pre-defined percentage of transaction fees—such as trading fees on a Decentralized Exchange (DEX) or lending fees on a money market—away from liquidity providers and into a treasury or for distribution to token holders. Activating the switch is usually a two-step process: first, a governance proposal is submitted and voted on by the protocol's token holders; if approved, the code is executed to update the smart contracts and enable fee collection.

ENQUIRY

Get In Touch
today.

Our experts will offer a free quote and a 30min call to discuss your project.

NDA Protected
24h Response
Directly to Engineering Team
10+
Protocols Shipped
$20M+
TVL Overall
NDA Protected Directly to Engineering Team
Fee Switch: Definition & How It Works in DeFi | ChainScore Glossary