Decentralized finance (DeFi) is a successful implementation of blockchain technology that serves as a promising alternative to traditional finance. As the name suggests, DeFi is a blanket term used for a variety of financial products and services that run on decentralized blockchains. DeFi applications (DApps) are built to eliminate the middleman in financial transactions, historically championed by the traditional financial institutions such as banks. The technology does this by implementing...