Andreas Park PRO
Professor of Finance at UofT
Blockchain and Decentralized Finance:
A 2024 Primer for ESADE
Presenter: Andreas Park
Some Technological Innovations throughout History
technological innovation removes barriers:
many innovations move power to do things from selected few to the masses
tech disrupts a group of people who built a living around a technological restriction and they disrupt government power exerted via these groups
Financial Infrastructure
= a commodity
payments network
Stock Exchange
Clearing House
custodian
custodian
beneficiary ownership record
seller
buyer
Broker
Broker
payments
stocks, bonds, and options
swaps, CDS, MBS, CDOs
insurance contracts
payments
stocks, bonds, and options
swaps, CDS, MBS, CDOs
insurance contracts
What is a Blockchain?
What is a Cryptocurrency?
Why blockchain and what is DeFi?
A blockchain is a
A blockchain is a
Smart contract accounts
Externally owned accounts
controlled by private keys
private
key
public
key
seed phrase
public
address
wallet = software to keep and use private keys
Decentralized Trading
AMM pricing is mechanical:
No effect on the marginal price
Liquidity providers: positional losses
Buy and hold
Provided liquidity
in the pool
Constant Liquidity (Product) AMM
The Pricing Function
limit order book | periodic auctions | AMM | |
---|---|---|---|
continuous trading |
|||
price discovery with orders | |||
risk sharing |
|||
passive liquidity provision | |||
price continuity |
|||
continuous liquidity | |||
sniping prevented |
Source of savings:
Possible transaction cost savings when applied to equity trading: \(\approx\) 30%
Source: "Learning from DeFi: Would Automated Market Makers Improve Equity Trading?" working paper, Malinova & Park 2023
Converting Assets to Cash: MakerDAO
\(\vdots\)
formally: this smart contract is a collateralized debt position (CDP)
The User's Perspective for a DAI Loan
fractional collateral \(\to\) collateralization factor \(=\) 150%
total collateral = $1,500
maximum loan = $1000
overcollateralization = $500
actual loan (example) = $500
buffer = $500
The User's Perspective for a DAI Loan
ETH \(\nearrow\) $500
value of ETH collateral = $2,000
maximum loan = $2,000/150%=$1,333
total collateral = $2,000
maximum loan = $1,333
overcollateralization = $667
actual loan (example) = $500
buffer = $500
overcollateralization = $667
new loan capacity= $333
User Perspective: what if the price of ETH rises?
ETH \(\searrow\) $187.5
value of ETH collateral = $750
maximum loan = $750/150%=$500
total collateral = $750
maximum loan = $500
overcollateralization = $250
actual loan (example) = $500
buffer = $0
for reference: former value of collateral
User Perspective: what if the price of ETH falls?
ETH \(\searrow\) $150
value of ETH collateral = $600
maximum loan = $600/150%=$400
total collateral = $600
maximum loan = $400
required overcollateralization = $200
actual loan (example) = $500
buffer = -$100
for reference: former value of collateral
\(\Rightarrow\) triggering of liquidation auction by "keeper"
sell 3.33 ETH=$500=500 DAI
repay $500=500 DAI loan
retain incentive
return remainding ETH to vault owner
Pool-based lending principles
borrow
provide collateral
Application: Pool-based borrowing and lending
Application: Decentralized Borrowing & Lending
Interest rates
threshold/target utilization
Collateral Condition
Flash Loans
5. repay DAI
for loan
with health factor <1
liquidation
opportunity
1. flash-borrow DAI
2. repay loan
with DAI
3. claim
collateral ETH
4. convert ETH to DAI
Liquidity Mining: Priming the Pump
liquidity \(\nearrow\)
volume \(\nearrow\)
protocol fees \(\nearrow\)
token value \(\nearrow\)
Platform economics is tricky:
Without intermediaries:
platform economics!
incentives for both?
A Taxonomy of Tokens
What's a crypto-token and what's special about it?
Tokens by use
payments:
utility
stablecoins
governance
asset
derivatives
Disclaimer: this list in non-exhaustive, new ideas and concepts come up every day!
Stablecoins
pulled from Nick Carter's talk on "Will stablecoins serve or subvert U.S. interests?"
JPM coin
USDC
USDT
TUSD
DAI, FEI
What makes a Stablecoin stable?
Case 1: price(1 SC) \(>\) 1 FU \(\to\) SC expensive
collateralized stablecoin
arbitrageur
issuer
market
Case 2: price(1 SC) \(<\) 1 FU \(\to\) SC cheap
collateralized stablecoin
arbitrageur
issuer
market
Algorithmic Stablecoin: UST on Terra
Case 2: price(1 SC) \(<\) 1 FU \(\to\) SC cheap
under-collateralized stablecoin
arbitrageur
issuer
market
Case 1: price(1 SC) \(>\) 1 FU \(\to\) SC cheap
arbitrageur
issuer
The Case of Luna-Terra
exchange LUNA for newly minted UST tokens at the prevailing $ market rate
market
LUNA market
Case 2: price(1 SC) \(<\) 1 FU \(\to\) SC cheap
arbitrageur
issuer
The Case of Luna-Terra
exchange SC for newly minted LUNA tokens at the prevailing $ market rate
market
LUNA market
Case 2: price(1 SC) \(<\) 1 FU \(\to\) SC cheap
DISCUSSION
POTENTIAL PROBLEMS
Stablecoin use cases
What do central bankers think about stablecoins?
BIS Survey of Central Banks:
What do central bankers think about stablecoins?
Stablecoin use cases
Source: On-chain Foreign Exchange and Cross-border Payments by Austin Adams, Mary-Catherine Lader, Gordon Liao, David Puth, Xin Wan (2023) [team from UniSwap Labs]
DeFi fees:
Central Bank-Issued Digital Currencies
Evolution
Source: CBDCtracker.org
Source: BIS Quarterly Review, March 2020
Technological Limitations
Challenge 1: Environment
problem solved
transactions per second | T per 12 hours (business day) | |
---|---|---|
Bitcoin | 7 | 302,400 |
Ethereum | 30 | 1,296,000 |
Algorand | 2000 | 86,400,000 |
Avalanche | 5000 | 216,000,000 |
US retail payments | 7639 | 330,000,000 |
Challenge 2: Throughput
Solution 2: Rollups
Challenge 3: State Size
Source: Ycharts
Settlement Layer
a
b
c
d
e
f
g
The Role of the Settlement Layer
Stinky Business: Hacks & Exploits
hot wallet hack (Sept 2023)
Hacker minted WETH out of thin air on Solana's contract since signatures were not verified! Bridge attack
Hacker remotely stole validator private keys
Bridge attack
Remedies?
Why are Blockchains challenging for current regulation?
The Investment Process
issuers
investors
services
needed & provided
A general purpose value management infrastructure:
intermediaries
separate institutions
The blockchain reality:
new institutions
emerged that do all three
tokens are often not intended to be investments!
UniSwap Lab supports development
a website app accesses the code
token holders control contact features
don't own the code
operation = decentral
control = decentral
anyone can use the baseline code
core code runs on the blockchain
tokens used as rewards
Final Thoughts
Some Final Thoughts
@financeUTM
andreas.park@rotman.utoronto.ca
slides.com/ap248
sites.google.com/site/parkandreas/
youtube.com/user/andreaspark2812/
By Andreas Park