An intelligent treasury that automates DeFi strategies, powered by real-time oracle data.

Smart treasury management tool designed to bring clarity and automation to DAOs, investment clubs, and Web3 projects. It solves the core problems of treasury management in DeFi: operational inefficiency, lack of transparency, and passive asset management.
It consists of two key components:
The Smart Vault: A secure, on-chain smart contract where users can deposit PYUSD. The vault is programmed with an autonomous investment strategy. For this MVP, it follows a simple yet powerful rule: "If the real-time price of ETH falls below a preset threshold, automatically use a portion of the PYUSD reserves to buy the dip." This transforms the treasury from a passive holding into an active, market-responsive agent.
The Real-Time Dashboard: A clean, single-page web application that provides a live, transparent view of the treasury's health. It visualizes key metrics like total value, asset allocation (PYUSD vs. ETH), and a complete history of all transactions (deposits, withdrawals, and strategy executions). This makes complex on-chain data accessible and understandable to all stakeholders, not just technical experts.
Parmelia empowers decentralized organizations to manage their funds with the same level of sophistication as a traditional financial entity, but with the transparency and automation that only Web3 can provide. It's about making smart, data-driven treasury management simple, secure, and accessible.
For smart Contract: Built with Solidity and developed using Hardhat 3. It follows security best practices, inheriting from OpenZeppelin contracts.
Frontend: The dashboard is a Vite + React single-page application built with TypeScript and Wagmi/Viem for robust wallet connectivity.
Deployment Network: The project is deployed and demonstrated on the Ethereum Sepolia testnet, providing a stable and realistic environment for showcasing its capabilities.
The true power of Parmelia comes from the seamless integration of three key partner technologies, which are fundamental to the project's functionality:
PYUSD serves as the treasury's primary stablecoin asset. We chose PYUSD to demonstrate a real-world use case for a trusted, regulated stablecoin in a sophisticated DeFi application. It's not just a medium of exchange; it's the programmable base asset for our automated financial strategies.
Parmelia use Pyth's Pull Oracle to fetch high-fidelity, real-time ETH/USD price data directly within our smart contract. This data is the trigger for our automated strategy. The integration is critical: without Pyth's reliable and timely price feeds, the treasury cannot react to market conditions, and the core value proposition of "intelligent automation" would be impossible
I use Envio's HyperIndex to index every event emitted by our smart contract This indexed data is then served through a high-performance GraphQL API. Our frontend queries this API to populate the dashboard's charts and tables.

