
Tumbuh
Maximize IDRX returns with smart vault allocation
Demo
About
The problem it solves Most IDRX holders face limited DeFi opportunities due to the scarcity of high-yield protocols supporting IDRX directly. Additionally, the weakening value of IDR against the USD reduces the long-term earning potential for users who stay in IDRX-denominated assets. This project solves that by allowing users to deposit IDRX into an ERC-4626 vault that automatically converts and allocates 70% of the funds into high-APY stable coin protocols (USDC, USDT, or DAI). This approach increases earning potential, diversifies risk, and gives users exposure to more lucrative DeFi opportunities, all while preserving share-based accounting and simplifying the user experience through smart, auto-rebalancing logic.
How it's made
Challenges we ran into One major challenge was handling the conversion from IDRX, a low-decimal local currency token, into stablecoins like USDC, USDT, and DAI, which have different decimal standards. Ensuring accurate and lossless conversions required careful precision handling in Solidity to prevent rounding errors. Another challenge was designing an auto-rebalancing mechanism that could evaluate APY across multiple protocols in real-time while maintaining gas efficiency and security. To overcome this, we implemented a modular architecture where each protocol is abstracted, allowing the vault to query, compare, and allocate funds dynamically. Rigorous testing was also essential to simulate edge cases and ensure stability during allocation switches.