Skip to main content

What It Does

Let users deposit funds into DeFi lending protocols and yield vaults and track positions. Build products that aggregate yield across multiple protocols, automatically rebalance for optimal returns, or manage treasury operations for businesses.

Supported Venues

  • Aave V3
  • Morpho
  • Euler V3
  • Wildcat
  • Yearn Finance
  • Sommelier
  • Mellow Protocol
  • ERC-4626 Vaults; supporting 20,000+ yield vaults!

Vault Data & Analytics

Compass provides data for each supported venue, enabling analysis of venues and underlying markets as well as positions. Here are some examples:

Performance Metrics

  • Current APY
  • Historical APY (daily, weekly, monthly)
  • Lifetime return since vault inception
  • 3-month CAGR for recent performance

Risk Metrics

  • 3-month volatility
  • 3-month Sharpe ratio
  • Peak NAV vs Current NAV

Vault Fundamentals**

  • Protocol name and vault address
  • Denomination token (USDC, ETH, etc.)
  • Management fees and performance fees
  • Current TVL (Total Value Locked)
  • Stablecoin classification

Example: Get Top Vault by 30-Day Net Annualized Return

Fetch the top vault sorted by 30-day net annualized return (after fees) to help users find the best performing opportunities:

Manage Earn Positions

Deposit into yield vaults and manage positions with just a few lines of code.

Deposit into a Vault

Deposit into the Steakhouse USDC vault on Morpho. This walk-through sends 0.5 USDC from the owner’s Earn Account into the vault, without embedding a fee and without gas sponsorship. If you want to monetize flows or cover gas for users, set the fee and gasSponsorship fields accordingly—the SDK call stays the same. Sign and broadcast the transaction:

Check Your Positions

Use Cases

Consumer: Build a yield savings product that deposits across Aave, Morpho simultaneously. Show users one aggregated APY while spreading risk across protocols. Automated Rebalancing: Monitor rates across protocols and automatically rebalance user funds to maximize yield. When Morpho offers 6.2% but Aave drops to 4.8%, rebalance atomically. Treasury Management: Let businesses earn on idle capital. Deposit settlement balances into yield vaults, track performance for CFO dashboards, and maintain liquidity for operations.