The Gavel Protocol
Oracle-Free DeFi Lending | Auction-Based Rate Discovery | Trustless Bitcoin Credit
Executive Summary
The Gavel is a decentralized lending protocol that eliminates oracle dependencies through competitive auction-based rate discovery. Borrowers post collateral and request loans; lenders compete by bidding down interest rates. The best bid wins — the market sets the rate, not an algorithm or external price feed.
This mechanism solves two critical problems in DeFi lending:
Beyond lending, the aggregated auction data generates the first real-time yield curve for crypto-collateralized credit — a benchmark that could become as important to crypto finance as LIBOR was to traditional markets.
The Problem
Traditional DeFi Lending is Broken
Protocols like Aave, Compound, and MakerDAO rely on price oracles to value collateral and trigger liquidations. This creates systemic vulnerabilities:
| Issue | Impact |
|---|---|
| Oracle Manipulation | Attackers manipulate price feeds to trigger unfair liquidations. Mango Markets lost $114M in a single attack. |
| Flash Crash Liquidations | Momentary price wicks liquidate healthy positions due to technical glitches. |
| Centralization Risk | Most oracles depend on a small number of data providers — a single point of failure. |
| Latency Exploitation | Sophisticated actors front-run oracle updates, extracting value from regular users. |
Centralized Lending Collapsed
The 2022 crypto credit crisis revealed the dangers of centralized lending:
The Solution: Auction-Based Rate Discovery
The Gavel replaces oracles with competitive bidding. Instead of an algorithm setting rates or an oracle determining liquidations, the market itself discovers fair terms through open competition.
┌─────────────────────────────────────────────────────────────────────┐ │ │ │ BORROWER LENDERS │ │ ──────── ─────── │ │ │ │ "I want to borrow $50,000 "I'll lend at 12% APR" │ │ against 1 WBTC. ↓ │ │ Maximum rate I'll accept: 15%" "I'll do 10% APR" │ │ │ ↓ │ │ │ "9% APR" 🔨 WINNING BID │ │ │ │ │ │ └─────────────────────────────────┘ │ │ │ │ LOAN CREATED │ │ Borrower receives $50,000 USDC │ │ Repays $54,500 in 12 months (9% APR) │ │ 1 WBTC held as collateral until repayment │ │ │ └─────────────────────────────────────────────────────────────────────┘
Why This Works
Key Features
The Yield Curve: Data as a Product
Every auction generates valuable data: what rate did a borrower with X collateral receive for Y duration? Aggregate this across thousands of loans, and you get something that doesn't exist in crypto today:
Interest
Rate (%)
│
12%├────● BTC Collateral (Higher Risk)
│ ╲
10%├──────●────●
│ ╲
8%├─────────────●────● ETH Collateral (Medium Risk)
│ ╲
6%├────────────────────●────● Stablecoin Collateral (Lower Risk)
│ ╲
4%├───────────────────────────●────
│
└────┬────┬────┬────┬────┬────┬──── Duration
7d 30d 90d 180d 365dWhy This Matters
| Use Case | Value |
|---|---|
| Institutional Pricing | Funds and trading desks need benchmark rates to price crypto credit products. |
| Risk Assessment | Insurance protocols need data to price coverage for lending positions. |
| Market Intelligence | The yield curve reveals market sentiment — rising rates signal risk-off, falling rates signal confidence. |
| DeFi Composability | Other protocols can build on a reliable rate benchmark. |
Why Trustless Matters
The Gavel vs. Failed CeFi Platforms
| Attribute | Celsius/BlockFi | The Gavel |
|---|---|---|
| Custody | Platform holds your assets | Non-custodial — assets in smart contracts |
| Transparency | Opaque — users didn't know funds were rehypothecated | Fully on-chain — every loan visible |
| Counterparty Risk | Platform insolvency = total loss | No counterparty — code executes automatically |
| Withdrawal | Can be frozen (and was) | Permissionless — no one can stop you |
| Audit | Trust quarterly reports | Verify on-chain in real-time |
The Gavel vs. Oracle-Based DeFi
| Attribute | Aave/Compound | The Gavel |
|---|---|---|
| Rate Setting | Utilization curves (algorithmic) | Market auctions (competitive) |
| Liquidation Trigger | Oracle price feeds | No liquidation — fixed term loans |
| Manipulation Vector | Oracle attacks | None — no external dependencies |
| MEV Exposure | Liquidation bots extract value | No liquidations to front-run |
Supported Collateral
Trustless Bitcoin custody via FROST threshold signatures secured by an EigenLayer AVS:
Architecture
┌─────────────────────────────────────────────────────────────────────┐ │ USER INTERFACES │ │ │ │ ┌─────────────────────┐ ┌─────────────────────┐ │ │ │ ListingService │ │ Direct Protocol │ │ │ │ (Recommended) │ │ (Advanced Users) │ │ │ │ │ │ │ │ │ │ ✓ Curated tokens │ │ ⚠ Any ERC-20 │ │ │ │ ✓ 0.1% fee │ │ ⚠ No curation │ │ │ │ ✓ Support │ │ ⚠ User risk │ │ │ └──────────┬──────────┘ └──────────┬──────────┘ │ │ │ │ │ │ └───────────────┬───────────────┘ │ │ ▼ │ │ ┌────────────────────────────────┐ │ │ │ LoanProtocol │ │ │ │ (Permissionless Core) │ │ │ └───────────────┬────────────────┘ │ │ │ │ │ ▼ │ │ ┌────────────────────────────────┐ │ │ │ PositionNFT │ │ │ │ (Borrower & Lender Tokens) │ │ │ └────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────────────┘
Technical Specifications
| Language | Solidity 0.8.20 |
| Framework | Foundry |
| Network | Arbitrum One (mainnet), Arbitrum Sepolia (testnet) |
| Dependencies | OpenZeppelin v5.0 |
| Upgradeable | No (immutable contracts) |
| Lines of Code | ~3,500 |
Roadmap
Business Model
Two-Layer Architecture
- • LoanProtocol contracts
- • PositionNFT contracts
- • Secondary marketplace
- • MIT Licensed
- • Curated token whitelist
- • Premium UI/UX
- • Yield curve API
- • 0.1% listing fee
Security
Testing Summary
Security Features
Target Users
Borrowers
Lenders
Market Opportunity
Holders want yield but don't trust centralized platforms (post-Celsius) and can't use oracle-based DeFi (liquidation risk). The Gavel offers a third option: trustless, oracle-free lending with fixed terms.
| Segment | Size |
|---|---|
| Idle Bitcoin seeking yield | $1.4T+ |
| Wrapped BTC in DeFi | $10B+ |
| Crypto-collateralized lending annually | $50B+ |
Contact
The Gavel: Where the market sets the rate.
No oracles. No custodians. No trust required.