Founder Office Hours with Gene Deyev: live on Zoom, Mondays 1 PM ET and Thursdays 2 PM ET. Ask him anything.Ask the founder, live.

Save a seat
Score your asset Talk to us

Uniswap Turned the Fee Switch On: the Whole Machine, Part by Part

UNIfication gave the largest DEX a revenue line and gave UNI a supply sink. We take the mechanism apart layer by layer, then show where STBU and its Uniswap v4 hook sit inside the same design space.

Uniswap Turned the Fee Switch On: the Whole Machine, Part by Part
$28.2M
Protocol revenue Uniswap kept between January and July 2026.
9.5%
The share of trading fees that reached the protocol in that period.
100M UNI
The one-time treasury burn approved with UNIfication, separate from the recurring mechanism.

For five years the standard criticism of UNI was easy to state and hard to answer: the protocol produced billions of dollars in trading fees, and none of them reached the token. Holders had a vote and a narrative. In December 2025 Uniswap governance approved UNIfication by more than 125 million votes to 742, and that gap closed. Protocol fees were switched on, a vault contract called TokenJar began collecting them, and a second contract called Firepit made those assets redeemable only in exchange for UNI that is destroyed on the spot.

Seven months of data now exist, and they are worth reading slowly, because the lesson underneath them is the one Stobox Intelligence is built on: a number is worth something only when you can see where it came from. Between January and July 2026 Uniswap processed roughly $357.6B in volume, generated about $297.9M in trading fees, and kept about $28.2M of that at the protocol level. That is 9.5% of fees, or 0.79 basis points of volume. Against a fully diluted valuation near $3.5B it is not a large number. It is, however, a number, and that is the point. The argument about UNI moved from what the token might one day capture to what it measurably captured last month.

This article takes the machine apart in the order it works: who decides, who signs, who executes, where the money is taken, how it reaches the token, and what the first seven months prove. Then we take it one step further. The fee logic Uniswap needed a governance vote and two new contracts to express is, in Uniswap v4, something any pool can express in code. STBU trades in a live v4 pool on Base with a hook that does exactly that, and we show ours with addresses and current values, including the parts that are less flattering.

What UNIfication actually changed

Before December 2025, Uniswap had two facts that did not connect to each other. The first: cumulative trading volume of roughly $3.7T and cumulative trading fees of about $5.1B as of 8 August 2026. The second: UNI, a governance token with no mechanical relationship to either figure. Every one of those fee dollars went to liquidity providers.

UNIfication changed two things at once, and it helps to keep them apart, because they answer different questions. The organizational change answers who is responsible for what. The economic change answers how protocol activity reaches the token. They shipped together and are often discussed as one thing. They are not.

Layer one: who decides, who signs, who executes

The old structure had a hole in it. UNI governance could approve proposals, change protocol parameters and direct treasury assets. What it could not do was sign a contract, hire a vendor, file a tax return or hold a liability. On-chain governance is not a legal person, and most real-world execution requires one.

DUNI filled that hole. In September 2025, ahead of UNIfication, UNI governance adopted a Wyoming Decentralized Unincorporated Nonprofit Association as its legal wrapper. Decisions still happen through the on-chain process. DUNI gives those decisions a recognized vehicle for contracting, engaging service providers, managing funds and obligations, and meeting regulatory and tax requirements. It also carries liability protection intended to stop participants being personally liable for the association's obligations simply by participating.

Uniswap Labs became the operator. Functions the Uniswap Foundation historically ran – ecosystem support and funding, governance support, developer relations – moved to Labs along with most of the Foundation's staff. Labs now combines protocol and product development with a broader ecosystem growth mandate, under a service agreement with DUNI funded at 20M UNI per year, released quarterly from existing treasury tokens, approved for two years. The first tranche of 5M UNI went out in January 2026.

The Foundation kept a smaller team for grants and incentives, and one specific role: Ministerial Agent of DUNI, with authority limited to defined administrative and executive functions.

Governance, legal capacity, execution

DecidesUNI governanceProtocol parameters, treasury direction, the protocol fee itself.
SignsDUNIWyoming decentralized unincorporated nonprofit association, adopted September 2025.
ExecutesUniswap LabsProtocol, product and ecosystem growth, under a service agreement with DUNI.
  • 20M UNI a yearReleased quarterly from existing treasury tokens, approved for two years.
  • Uniswap Foundation keepsGrants and incentives, and the role of Ministerial Agent of DUNI.
Operational execution moved to Labs. Governance authority did not.

This matters beyond Uniswap. Any protocol that wants to pay people, sign agreements or hold assets eventually meets the same wall, and the answers available are a foundation, a company, or a purpose-built association like a Wyoming DUNA. It is the least glamorous part of UNIfication and probably the most copied.

Layer two: where the money is actually taken

The protocol fee mechanism was written into Uniswap's contracts from the beginning and never activated. UNIfication activated it, and the activation is not a single rate applied to everything.

Uniswap v2. The swap fee stays at 0.30%. The split changes: 0.25% to liquidity providers, 0.05% to the protocol. Enabled first for all v2 pools on Ethereum mainnet.

Uniswap v3. Governance sets the protocol fee per pool. In the initial configuration the protocol takes one quarter of the LP fee in 0.01% and 0.05% pools, and one sixth of the LP fee in 0.30% and 1.00% pools. Rollout started with pools covering most Ethereum mainnet activity, then extended to other chains, all v3 pools on those chains, and selected groups of v4 pools.

Uniswap v4. This is the structurally interesting one. The protocol fee is charged on the trader's side: it is subtracted from the swap input first, and the LP fee then applies to what remains. The rate is set per pool and can follow rules established by governance.

One mechanism, three shapes

v2fixed, every pool
0.25% to liquidity providers0.05%

The 0.30% swap fee, split: 0.25% to liquidity providers, 0.05% to the protocol.

v3per pool, by fee tier
0.01% and 0.05% pools1/4 of the fee
0.30% and 1.00% pools1/6

The initial configuration: one quarter of the LP fee in 0.01% and 0.05% pools, one sixth in 0.30% and 1.00% pools. Governance can change the rate and extend coverage pool by pool, chain by chain.

v4 · taken from the input first

Swap input100 units in
Step 1Protocol feeset per pool by governance
Step 2LP feeapplied to the remainder
ThenThe swapexecutes on what is left
Protocol revenue is not a fixed share of volume or of fees. It depends on which pools the volume runs through, what fee tier they use, whether the protocol fee is enabled there, and what governance set it to.

The consequence is easy to state and easy to get wrong. Trading mix can move protocol revenue with volume flat. Expanding coverage can move it with user activity flat. Anyone extrapolating early 2026 revenue across the full year was understating it, because protocol fees at that point applied to only part of Uniswap's volume.

Layer three: TokenJar and Firepit

Two contracts connect protocol revenue to UNI. TokenJar is an immutable vault: protocol fees arrive in dozens of different tokens and accumulate there, one vault per chain. Firepit is the exit: a market participant deposits UNI and receives the assets accumulated in TokenJar, and the deposited UNI is permanently destroyed.

Read that once more, because the design choice is doing real work. The protocol never sells its fee assets and never buys UNI on the market. It does not have to. It makes the accumulated assets available to whoever is willing to burn UNI for them, and lets arbitrage do the pricing. No treasury desk, no execution risk, no discretionary trade.

A burn, not a distribution

01Trading feesMost goes to liquidity providers, as before.
02Protocol shareThe cut the protocol keeps, in many tokens.
03 · vaultTokenJarImmutable, one per chain. Assets accumulate.
04 · exitFirepitDeposit UNI, take the assets. The UNI is burned.
  • Holders receive nothing directlyNo cash, no fee assets, no claim. What they get is a supply sink tied to revenue.
  • Revenue and burn are not simultaneousAssets sit in TokenJar until extraction pays, so month-to-month comparisons mislead.
Separate from all of the above: a one-time burn of 100M UNI from the governance treasury, described in the proposal as an approximation of what would have been burned had protocol fees operated since UNI launched. A single event, never part of the recurring mechanism.

The first consequence is legal before it is economic. A pro-rata distribution of protocol income to token holders looks materially different to a regulator than a supply reduction available to any market participant who chooses to take part. The second is analytical: comparing revenue recognized in a month against UNI burned in that same month will be wrong whenever a meaningful balance is still sitting in the vault. Over longer horizons the two should converge.

The first seven months, in numbers

The figures below are Token Terminal's, as cited in Uniswap governance materials, covering January through July 2026 with cumulative figures to 8 August 2026.

January to July 2026

MetricJan–Jul 2026
Trading volume$357.6B
Trading fees$297.9M
Protocol revenue$28.2M
Average trading fee rate8.3 bps of volume
Protocol revenue against volume0.79 bps
Cumulative protocol revenue to 8 August$29.8M

Of every dollar of trading fees

90.5% to liquidity providers9.5%

The only proportion on this page that is drawn to scale. Volume, fees and revenue are different units and are not comparable as bars.

January: $69.5B of volume and $47.6M in fees. July: $42.3B of volume and $54.7M in fees. July was the highest fee month of the seven, on far less volume, because fee revenue depends on which pools the volume runs through and not only on how much of it there is.

The monthly path is not a straight line, and the shape is instructive. Volume fell from about $69.5B in January to $37.0B in May, then recovered to $40.8B in June and $42.3B in July. Trading fees did something different: $47.6M in January, $48.8M in February, down through March and April, then up from about $35.0M in May to $54.7M in July. Protocol revenue moved on its own third path: about $2.8M in January, $4.8M in March, $3.7M in May, $5.3M in June, $4.1M in July. Those swings mix genuine activity changes with the progressive expansion of protocol fee coverage across pools, versions and chains.

Three series, three shapes, one protocol. If you take one analytical habit from this article, take that one.

What the numbers prove, and what they do not

On 8 August 2026, UNI's fully diluted valuation was about $3.5B. Against annualized protocol revenue at that date, that is roughly 67x fully diluted valuation to protocol revenue, or about 1.5% annual protocol revenue relative to that valuation.

The multiple is useful and it is not a price-to-sales ratio. UNI is not equity in Uniswap Labs. Protocol revenue is not corporate revenue and is not distributed to holders. The multiple does one specific job: it puts market valuation and captured protocol value on the same page in a standardized way.

The denominator is also young. Protocol revenue has existed for under a year, coverage changes by governance decision, and annualizing a recent month can overstate or understate badly. Read the multiple alongside revenue growth, the share of fees the protocol captures, trading activity, and the actual revenue-to-burn relationship. Not on its own.

What genuinely changed is the analyst's job. Before UNIfication, valuing UNI meant assessing governance rights, adoption, market share and the possibility of future monetization. Now there is an observable revenue stream, a measurable capture ratio, and a supply reduction whose output can be verified on chain. UNIfication does not determine what UNI is worth. It creates a structure within which the question can be argued with data.

Five things this teaches anyone whose token has a pool

Stobox has $305M+ in assets structured and supported since 2018, and most token designs we review get at least three of these wrong. Token economics is one of the eight phases of our tokenization framework for exactly this reason.

A token needs a claim on something you can count. Not a promise of future utility. A measurable flow, and a contract that connects the flow to the token. Uniswap had the flow for five years and no connection. The gap was not technical.

Fee capture is a parameter, not a property. Uniswap's protocol take is set per pool, per version, per chain, and changes by vote. Any statement of the form "the protocol captures X% of fees" is a snapshot of current configuration, not a description of the system.

A burn is not a distribution, and the difference is legal before it is economic. If your design routes revenue to holders pro rata, you are in a different regulatory conversation than if it reduces supply and gives holders nothing directly. Decide which conversation you want before you write the contract.

The legal wrapper is the hard part. The fee switch existed in code for years. What took time was the structure that could sign a service agreement, hold obligations and meet tax requirements. Teams consistently underestimate this and consistently discover it late.

Timing gaps are real and will be used against you. TokenJar makes revenue and burn asynchronous by design. If you do not explain that yourself, somebody will publish a chart of month-one revenue against month-one burns and call the difference a discrepancy.

Where STBU sits: a live v4 pool and a hook

We do not write about token mechanics from the sidelines. STBU trades today in a Uniswap v4 pool on Base, opened on 16 September 2026, and that pool uses a hook we wrote. Everything below was read from Base at block 51,678,024 on 23 September 2026, 06:36 UTC.

STBU / USDC · Uniswap v4 on Base · one swap, two fee decisions

  1. The trader sends the inputthrough the pool's router
  2. The PoolManager calls the hook firstthe beforeSwap callback
  3. The hook answers with the LP feeclamped between two constants compiled into the contract
  4. The Uniswap protocol fee applieson this pool it currently reads 0
  5. The swap executesthen the afterSwap callback runs

The fee corridor is compiled into the hook

MIN_FEE · 0.10%MAX_FEE · 1.00% · what every swap pays today

No fee policy contract is set, so the hook returns the ceiling. Neither an upgrade nor an owner can produce 0% or 5%.

Permissions are encoded in the hook's own address

0x0507140088aA5b266D6b44eEF02aD55cF1Fb40c0

  • ✓beforeSwap and afterSwap callbacks are granted
  • ×both return-delta permissions are off
  • ✓pair, router and PoolManager are immutable
  • ×no path to trader funds or to pool liquidity
  • ✓verified on BaseScan, runtime matched on Sourcify
  • ×no pause, and beforeSwap cannot revert a swap
A hook's permissions are bits in its deployed address, checked by the PoolManager on every call. A hook cannot be granted a power its address was not mined for.

The numbers around that pool are small and we are not going to dress them up. At the time of the reading the pool price was about $0.002044, liquidity about $47,400, and the last twenty-four hours carried about $4,200 across nineteen trades. On the token side, 182,927,663 STBU of the 216,563,456 determined issuance had been minted on Base, which is 84.5% of the migration. A pool of that size is an early venue, not a market. What is worth your attention is the mechanism, not the size.

What a hook is. In Uniswap v3 a pool was a fixed object: a pair, a fee tier, a tick spacing. In v4 a pool can point at a contract that the PoolManager calls at defined moments in a swap's life, and that contract is a hook. Ours sets the swap fee. The pool is initialized with the dynamic-fee flag, so the fee is not fixed at creation, and the hook can point at a separate policy contract that returns a fee for a given swap. That answer is clamped between MIN_FEE and MAX_FEE, two constants compiled into the hook at 0.10% and 1.00%. Today the policy pointer is the zero address, which means there is no tiered pricing, no discount for anyone, and every swap pays the ceiling. We would rather state that plainly than describe a tier system that does not exist on chain. The contracts are administered by a Safe multisig.

And the direct connection to everything above. The Uniswap protocol fee on our pool currently reads 0. Governance has not enabled the v4 protocol fee here. If it ever does, the mechanism described earlier applies exactly as written: a cut taken from the swap input before our hook's LP fee is applied, flowing to TokenJar, eventually unlocked by someone burning UNI. Our fee logic and Uniswap's sit in the same swap, in a defined order, both configurable, both readable on chain by anyone.

That is the real lesson of UNIfication for builders. Uniswap needed a governance cycle, a legal association and two new contracts to express one fee rule for one token. In v4, fee logic is a deployment. The design space UNIfication opened for UNI is open to every pool, and the constraint is no longer the protocol. It is whether the team has thought carefully about what their fee should do and who should be able to change it.

On STBU itself the position is short and we keep to it. STBU can be used to pay for Stobox services at a 10% discount, available for each Stobox service whose published terms allow payment in STBU, and it trades in the pool described above. There is no yield, no dividend, no staking, no governance right and no buyback. We do not forecast price. The migration from the legacy contracts closes on 31 December 2026 at 23:59 UTC, and that date does not move.

What we are watching

Coverage expansion. How much of Uniswap's total volume sits under an active protocol fee. This moves protocol revenue independently of trading activity and is the largest source of noise in any annualized figure today.

Revenue-to-burn convergence. Over a long enough window, cumulative protocol revenue and the value of cumulative UNI burned should approach each other. Watching that gap close, or fail to, tests whether the Firepit arbitrage works as designed at the scale the mechanism operates.

Whether the DUNA structure gets copied. A Wyoming decentralized unincorporated nonprofit association is now a proven vehicle for on-chain governance that needs off-chain legal capacity. We expect imitation, and we expect at least one badly executed version.

What people build into v4 hooks. Fee logic is the obvious first use. Compliance gates, dynamic pricing tied to real-world data, and per-jurisdiction routing are the ones that matter for tokenized real-world assets, and they are why we build on v4 rather than around it.

If you are designing this for your own asset

The questions in this article are the ones we work through with issuers every week: what your token is a claim on, who can change that, and what the legal wrapper has to be able to do. The free readiness score takes a few minutes and tells you where your asset actually stands. If you would rather talk it through, book a call and bring the hard version of the question.

Sources: UNIfication, Uniswap blog · Uniswap protocol fee documentation · Uniswap figures are Token Terminal data as cited in Uniswap governance materials. STBU figures were read from Base at block 51,678,024 on 23 September 2026, and from GeckoTerminal. This article is research and general information. It is not investment advice, not a solicitation, and not a legal opinion.

Two ways in

A post is an argument. A score is an answer.

Twenty-five questions across seven dimensions tell you where your own asset stands.

Prefer email? info@stobox.io.

Score your asset

Free, about eight minutes, and nobody calls you unless you ask.

Score your asset

Or read the rest

353 more posts, newest first.

All posts

Or bring the asset itself – thirty minutes, and we will say if the answer is no.

Stobox Technologies Inc. These are the author’s posts, not legal, tax or investment advice, and not an offer to sell or a solicitation to buy any security. See the privacy summary.

Spatial render: pages of a record travelling along one blue line into a stack of issues
The RWA Week

Get next week's issue by email

One email on Thursday: what moved in tokenization, and what it means if you are issuing or investing. Written by the team that builds the infrastructure.

We send a welcome email straight away. Unsubscribe in one click, any time.