I am looking to get an architecture diagram created that shows how a DeFi dapp that is currently running on the ETH blockchain is structured and how it interacts with other ETH based tokens, dapps and services like oracles and aggregators.
The architecture diagram would be something like a MVC framework or UML diagram that is a visual overview how the dapp is structured but blockchain specific and using the most appropriate and up to date framework style for DeFi dapp development.
Task 1 - It is a DeFi lending platform so I am looking for a diagram that shows how the core dapp is structured, the layout of the various cold and hot wallets controlled by the platform and the user and what occurs when the user deposits and withdraws collateral, how the dapp interacts with the oracle to get the current price feed, how the stable coin is minted and burned by the dapp, how the dapp interacts with the lending service and how liquidations are handled.
In addition to this there is interaction with external AMM like Curve and Sushi so would need to include this.
Task 2 - The second part of this task is to show where in the supplied smart contracts each function detailed in the framework above is utilised. (see supplied jpg for example)