Some users on various forums are wondering how to build your own defi smart contract, and especially for the same people I found an article that was interesting for me in this area, here I advise you to read it to know how to work with such technologies.
https://defisecurityaudit.com/how-to-build-your-own-defi-smart-contract/