UC Berkeley Decentralized Finance Spring 2021

For information about future offering of the DeFi course, please join the berkeley-blockchain@googlegroups.com mailing list.

Instructors

Christine Parlour Dawn Song
Christine Parlour Dawn Song
Lecturer, Haas Business School Professor, EECS

Volunteer Teaching Assistant

Tianchen Liu

Class Time

6-8pm PT Thu, starting April 1, Spring B.

Enrollment and Participation

To get more information about the course or get instructor approval for taking the course, please fill in this form.

Course Description

The purpose of this class is to bring together students and experts in Computer Science and Finance to discuss the emerging area of Decentralized Finance (or DeFi). By utilizing blockchain and smart contract technologies, DeFi aims to provide a new platform for programmable, automated finance services that remove the reliance on central trust and intermediaries. With its rapid growth, the total value locked in decentralized finance — a measure of the total value of assets committed to the DeFi ecosystem —has reached over $40 billion.

Our goal is to provide a framework to understand this new area of financial services. For each finance function, we will consider

Is either one of these optimal? We will evaluate both through the lens of CS and finance. Is the application computable (efficiency, decidable), programmable (automatic)? Is the application welfare-enhancing and stable (not a source of systemic risk). How do the new and old systems interact?

We will cover a broad spectrum of topics including:

  1. An introduction: The role of the financial system and the CS basics behind decentralized systems

  2. Decentralization of reputation and information including oracles, identities, proofs of properties

  3. Economics and challenges behind different types of decentralized financial services and instruments, including stable coins, decentralized exchanges (e.g, automated market makers), synthetics and derivatives, lending, insurance, portfolio management, prediction markets

  4. Requirements and technologies for decentralized regulation including auditable privacy, measurement and tracking of systemic risk and its computability

  5. Technologies and challenges for a more responsible data economy including data ownership, data monetization and valuation, controlled use and misuse of data

  6. Security issues and countermeasures in DeFi

Participants

This course is primarily designed for PhD students and PhD students may take it for credit or audit. Master’s and undergraduate students with permission may take it for credit or audit.

Grading

Students who wish to audit must attend ALL sessions. Students who take it for credit will be required to also produce a short writeup on an aspect of the course that focuses on an open research question in this area. The writeup is due on May 14.

Course schedule (subject to change)

Date Topic
04/01 (Recording) Introduction to traditional financial systems (Dawn’s Slides) (Christine’s Slides)
04/08 Part I: Introduction to blockchain and smart contracts supporting DeFi applications
Dawn: short intro on blockchain & smart contracts (Slides)
Lewis Gudgeon: DeFi SoK
Part II: Stable coins
Rene Reinsberg: Introduction on Stable Coins (Slides)
Ariah Klages-Mundt: In search of stability (Slides)
Ye Li: Managing Stablecoins: Optimal Strategies, Regulation, and Transaction Data as Productive Capital (Slides)
Christine: Stablecoins vs. traditional payments (Slides) (Paper)
04/15 - Dan Robinson (Paradigm): Overview of DEX
A short history of uniswap
The rise of AMMs
- Guillermo A Angeris (Stanford): Overview & analysis of AMM (Slides)
An analysis of Uniswap markets
Improved price oracles: constant function market makers
- Jun Aoyagi (UC Berkeley): Liquidity implications of constant product market makers (Slides)
Angeris et al (2019)
Glostem and Milgrom (1985)
- Alfred Lehar (Univ. of Calgary): Empirical analysis of Uniswap (Slides)
04/22 (Recording) New ways to organize existing financial products
Part I: Regulation in DeFi
- William Magnuson: Regulation in FinTech (Slides)
General Overview
On Systemic Risk
Part II: Lending
- Daniel Perez: The ins and outs of Protocol for Loanable Funds (Slides)
DeFi Protocols for Loanable Funds: Interest Rates, Liquidity and Market Efficiency
Liquidations: DeFi on a Knife-edge
04/29 Do Kwon (Terra): Overview of synthetics and derivatives (Slides)
Christine: portfolio management in traditional finance
Campbell Harvey (Duke Univ.): DeFi - Opportunities and Risks (Slides)
05/06 (Recording) Benedikt Bunz (Stanford): auditable privacy; ZKP etc. applications in DeFi (Slides)
Fabian Vogelsteller (Lukso): decentralized identity standards, future of decentralized identity (Slides) ERC 725 LSPs
Deepak Maram (Cornell): decentralized identity system & CanDID (Slides)
05/13 Information markets: oracles, prediction markets, data market, data valuation, data tokenization
- Fan Zhang [Duke University]: Overview of Oracles (Slides)
DECO Paper
DECO Blog
- Shota Ichihashi [Bank of Canada]: The Economics of Data (Slides)
The Economics Of Social Data: An Introduction
Blog about paper above
Dawn: Data Valuation using Shapley Value (Slides)
05/20 Bonus (Recording) Security issues and countermeasures in DeFi
- Sam Sun (Paradigm): overview of different types of security issues and real-world exploits in DeFi (Slides)
Intro to Solidity
Solidity Documentation
- Arthur Gervais (Imperial College London): flashloan analysis, BEV empirical study, security countermeasures. (Slides)
High-Frequency Trading on Decentralized On-Chain Exchanges
Attacking the DeFi Ecosystem with Flash Loans for Fun and Profit