StockGuard Radar

Every Morpho market on Robinhood Chain that lends against tokenized stocks, checked live from your browser: is the price right, fresh, and from the right source?

connecting to Robinhood Chain…

Monday Crash simulator

Stock markets close on Friday. The price feed then holds Friday's price all weekend, and Morpho's standard Chainlink oracle (no staleness check) keeps lending on it. Pick a real pool that uses it and a Monday opening drop, and see what happens to the lenders.

With the pool's current oracle
—
lenders' money lost
With StockGuard
$0
in new bad loans: the feed is stale, so the weekend loan is never made; borrowing resumes at Monday's real price

MarketUSDG suppliedBorrowedLLTV Oracle priceChainlink priceChecks
Loading live market data…

The fix: one oracle address

StockGuardMorphoOracle is a drop-in oracle for Morpho markets on stock tokens. On a normal day it returns the same price as the standard Chainlink oracle. When a price can't be trusted (the market is closed, a split or dividend is mid-flight, the feed is for a different ticker, the token is a copycat) it declines to price, so new borrows and liquidations wait for a real price. Lenders can always withdraw, and borrowers can always repay.

// Robinhood Chain, TSLA / USDG
StockGuardOracle guard = new StockGuardOracle(owner, address(0), 1 days);
guard.list(TSLA, TSLA_USD_FEED, 12 hours);   // rejects copycats + wrong feeds
IOracle oracle = new StockGuardMorphoOracle(
    guard, TSLA, USDG, USDG_USD_FEED, 1 days);
morpho.createMarket(MarketParams(USDG, TSLA, address(oracle), irm, 0.625e18));

What the checks mean

  • Wrong feed the oracle reads a price feed for a different ticker
  • Mispriced oracle price is more than 2% away from the ticker's Chainlink feed
  • Pool price priced from an on-chain trading pool, which can be pushed around
  • Custom oracle not a standard Chainlink oracle; review before lending
  • Weekend price the stock feed hasn't updated for 12h+; standard oracles still lend on it
  • Split/dividend soon the token's multiplier changes within 7 days
  • OK Chainlink feed for the right ticker, price agrees, fresh