Protocol fees lead to attacks
Article: Stackelberg Attacks on Protocol Fee Governance
Alex @lajarre | π§ Butter
Edge City
π§
1. π¦ AMM model
2. π§πΌ Attack
π§
π¦ AMM model
π§
AMM fork competition
Game:
- 2 competing AMMs
- Swappers allocation:
cost β price impact - LPs allocation:
revenue β volume
π§
Fee switch
π§
Dynamic competition
block i-1
block i
block ii+1
Traders allocate
LPs allocate
Traders allocate
LPs allocate
Traders allocate
LPs allocate
...
Traders allocation
Price impact:
π§
See Angeris et al: "An analysis of Uniswap markets", 2019
Traders allocation
Utility:
π§
Allocate more towards AMM with larger reserves:
Traders allocation
π§
LPs marginal allocation
π§
If no protocol fee: proportional allocation
If protocol fee Β Β Β Β Β Β Β Β Β :
π§πΌ Attack
π§
Game:
- Governance: set fee
Β
- LPs: commit to any smart contract strategy
Β
Β Β Β Β Β Β Β => includes forking!
Governance vs LPs with arbitrary commitments
Grim Forker contract
New equilibrium
- "Mere LPs" should participate in Grim Forker (interim rational)
Β
- Induces a threat => upper bound on protocol fee
π§ forking & smart contracts influence governance
π§ grim trigger on UNI tokenholders
Internalize externalities
π§
π§ 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 Governance Extractible Value
π§
π π§
twitter.com/butterymoney
twitter.com/lajarre
π§
buttery.money
Copy of Cost of Fee Switch
By lajarre
Copy of Cost of Fee Switch
- 100