Decentralized finance (DeFi) is a financial technology in the blockchain sector. DeFi is built on decentralized technology such as the…