Decentralized finance is a new form of finance that is growing in popularity. It is a system that uses a…