Decentralized finance (DeFi) offers one of the most widely applicable use-cases for distributed ledger technology and it is now one of the main avenues for the wider adoption of blockchain technology.