DeBOR
A decentralized benchmark interest rate oracle that brings standardized reference rates to DeFi
What it is
DeBOR (Decentralized Benchmark Oracle Rate) is the missing reference rate for DeFi. Traditional finance prices every mortgage, bond, and derivative off benchmark rates like SOFR. DeFi has $50B+ in lending TVL but no aggregated standard. Each protocol publishes isolated rates with no composite benchmark, no term structure, and no volatility metric. Institutions cannot assess DeFi yields against a standard, and the $500T+ interest rate swap market has no DeFi equivalent.
DeBOR fixes this. It reads live lending rates from 9 protocols (Aave V3, Compound V3, Spark, Morpho Blue, Moonwell, Benqi) across 6 mainnet chains, weights them by TVL from DeFiLlama, and publishes benchmark rates on-chain every 30 minutes via Chainlink CRE. It covers 5 assets (USDC, ETH, BTC, DAI, USDT) from 43 individual rate sources.
On top of the oracle, DeBOR includes: an interest rate swap protocol (the first DeFi IRS, with ERC-721 tokenized positions and autonomous CRE settlement), cross-chain relay via CCIP to 3 L2s, AI risk assessment with DON consensus that can autonomously block swaps when risk is critical, an adaptive lending consumer that adjusts rates and collateral in real time, a risk engine with VaR/CVaR/HHI/Basel stress tests, and credit-gated premium API access.
How it Works
Three components:
- Smart Contracts (Foundry, Solidity 0.8.24): 13 contracts including DeBOROracle (stores benchmarks), DeBORSwap (ERC-721 IRS positions), DeBORCCIPSender/Receiver (cross-chain relay), DeBORAIInsight (on-chain risk metadata), DeBORPaymentGate (credit-gated access), and DeBORConsumer (adaptive lending). Uses OpenZeppelin and Chainlink CCIP libraries. 146 tests.
- CRE Workflow (TypeScript, @chainlink/cre-sdk): 10 handlers orchestrating the full pipeline. Reads 43 rate sources from 6 mainnet chains via EVM reads, fetches TVL weights, computes benchmarks, writes to 5 oracles on Sepolia, settles swaps, runs risk analysis, calls Groq LLM for AI consensus, validates via HTTP cross-checks, and compares against SOFR/EFFR from the NY Fed API.
- Frontend (TanStack Start, React 19, wagmi, RainbowKit): 10 pages covering dashboard, asset detail, swap, cross-chain, compare, risk, AI, payment, pipeline, and methodology. 17 custom hooks for on-chain data. Deployed on Netlify.
Links
Created by
- Capinho