Panorama
DeFi Smart Contract Dependency Visualizer
The problem Panorama solves
-
This tool helps both retail and institutional users better understand a DeFi protocol before allocating capital. By simply pasting a vault or pool address, users receive an interactive dependency graph that maps all underlying smart contracts powering the protocol. This provides a better visibility into how funds move across the system, enabling users to make more informed risk management decisions.
-
The solution aggregates all protocol dependencies into a single unified interface and visually demonstrates how contracts are interconnected. Instead of manually searching through explorers and documentation, users get a complete structural overview of the protocol in one place, significantly simplifying due diligence and security analysis.
Challenges we ran into
-
Dependency Graph Ordering
Getting the correct visual hierarchy in the dependency tree was tricky. Initially, governance contracts (curator, guardian, owner) appeared at the bottom of the tree after all markets and tokens, which didn't reflect their importance. The issue was in the manifest execution order - the system processed dependencies in the order they were defined in the protocol manifest. We solved this by reordering the directCalls array to prioritize governance contracts, ensuring they appear first in the visualization. -
Finding the correct approach how to explore the protocol dependencies. Initially we were using a separate TypeScript files which all logic related to the protocol. But we understood that this approach will become heavy very fast and we come up with an idea to describe protocol in manifest files.
-
Collect risk related data from open source for each node. There is a lot of data in the web about smart contracts and a lot of resources. All this data should be somehow structured and after that managed to create a risk scoring engine. For this prototype we decided to move with the risk flags for the beginning. These flags can be quickly identified in the abi (e.g. "upgradeTo", "blacklist") of the smart contract and displayed in the node information.
Tracks Applied (4)
Ethereum Core
Network Economy
Future Society
Sourcify Bounty
Sourcify
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
