Cost of Fee Switch
activating the protocol fee comes at a cost
Alex @lajarre | π§ Butter
EBS 2023-11-07
π§
Agenda
- π¦ Uniswap model
- π§πΌ Attack
- π° Funding mechanism
- π€― Teachings
π§
π¦ Uniswap model
π§
Uniswap v2 fork competition game
Model:
- 2 competing AMMs
- A β B pools
- Swappers allocation:
cost β price impact - LPs allocation:
revenue β volume

π§
Swappers allocation
Price impact:

π§
See Angeris et al: "An analysis of Uniswap markets", 2019

Swappers allocation
Utility:
π§
π§ allocate more towards AMM with larger reserves
Swappers allocation
π§
π§ marginal allocation
towards AMM
with larger volume

LPs allocation
π§
Equilibrium under network effects


π§
π§πΌ Attack
fork + subsidy = liquidity flight
π§
Simple model:
- fee switched on forever
Fee switch

π§
Intuition:
- If fee switched on, then no-fee competitor captures more than its fair share.
- Use this extra volume to fund a subsidy.
- With enough subsidy, network effects move equilibrium towards competitor.
Allocation game
π§
π§ at equilibrium, subsidy makes LP allocation indifferent
π§ equilibrium +Ξ΅ counteracts network effects: liquidity flight

Subsidy
π§
β οΈ reallocation will be lower because of switching costs
(brand, smart contract risk, legalβ¦)
V = 10^8 USD
R = 10^7 USD
R_1(0) = 100%
Total cost

π§
π° Funding mechanism
π§
Intuition:
- AMM 2 has no fee switch in its governance surface
- raise debt rather than equity to fund the subsidy
- funding via governance mechanism or crowdfunding
Funding mechanism
π§

Subsidy funding
π§
π§ avoid equity-like funding: capture via wealth condensation
π§ if governance surface:
Debt(GovernanceFutureRevenue)
β‘οΈ parameter auctions
β‘οΈ proposal auctions
β‘οΈ auctions & futarchy
π§ crowdfunding: LPs and swappers will fund if more efficient (coasean argument)

Source of funds
see https://ethresear.ch/t/governance-mixing-auctions-and-futarchy/10772
π§
π§
what does this prove about governance?
π€― Teachings
π§
π§ XV is the present value extracted by UNI tokenholders out of the protocol
π§ XV is limited by the attack:
- either Ο > 0 is fixed: volume will be reduced ultimately to 0
- either Ο is modulated to limit liquidity flight

Upper limit on eXtractible Value
π§
π§ forking & smart contracts influence governance
π§ grim trigger on UNI tokenholders
Internalize externalities
π§
π π§
twitter.com/butterymoney
twitter.com/lajarre

π§
Cost of Fee Switch
By lajarre
Cost of Fee Switch
- 200