AegisRwa
Autonomous RWA yield protection engine powered by Chainlink CRE
What it is
Aegis RWA is a decentralized risk management protocol for Real World Asset tokens. Traditional RWA platforms tokenize assets like treasury bonds, real estate, and corporate credit have no automated mechanism to respond when those assets become risky. Yield keeps flowing even when underlying collateral is deteriorating, exposing holders to losses they can't see coming. Aegis solves this by deploying a Chainlink CRE workflow that runs on a 30-second cron cycle. The workflow fetches realworld asset health data and live financial news headlines from external APIs, computes a risk score based on APY deviation and reserve health, then writes the results directly to four smart contracts onchain; RiskRegistry, NewsRegistry, YieldAdjustmentToken, and AssetRegistry. News headlines are fetched per asset with individual DON consensus, sentiment scored, and stored onchain in NewsRegistry; giving users a verifiable, tamper resistant news feed tied directly to each RWA token's risk state. When an asset crosses the HIGH risk threshold, CRE autonomously pauses yield distribution with no human intervention. When risk normalizes, it resumes and restores the APY.
How it Works
- Chainlink CRE: TypeScript workflow with cron trigger, DON consensus on external data fetches, and writeReport() calls to three receiver contracts.
- Solidity: four contracts: AssetRegistry, RiskRegistry, NewsRegistry, YieldAdjustmentToken, all implementing IReceiver + ERC165 for forwarder compatibility.
- Mock API: Express.js server simulating real-world asset data with scenario controls (normal/stress/crisis) to demonstrate CRE's automated response.
- Frontend: Next.js 15 with wagmi + viem for wallet connection, direct contract reads via public Infura RPC.
- Network: Sepolia testnet with Chainlink MockForwarder for simulation.
Links
Created by
- Divine
- Sema