This material is copyrighted by RareSkills. External distribution is prohibited.
Section 0: Summary
A Dao usually controls DeFi protocol parameters.
Section 1: Study
Liquidity Tokens
Vampire Attacks
Governance Tokens
ERC 3156 Flash Loans
Section 2: Practice
DeFi Ecosystem
- Build a flash-loan pool (ERC-3156 compliant) where people can lend ether to get liquidity tokens back (ERC-4626)
- A governance contract sets the flash loan fee for the pool
- Be very careful that your governance contract is not vulnerable to vote manipulations with flash loans!