defirisk.co
rubric v1.7.0

Oracle staleness check present

Maple Finance's assessment for RD-F-059 — scored green on the v1.7.0 rubric. The evidence below is the curator's reasoning for this score.

Evidence summary #

Staleness check present in MapleGlobals.getLatestPrice(): require(updatedAt_ >= block.timestamp - priceOracleOf[asset_].maxDelay). Per-asset configurable maxDelay. Heartbeats range from 3600s (ETH, BTC, volatile) to 86400s (stablecoins). Reverts with MG:GLP:STALE_PRICE on violation.

Detail #

MapleGlobals getLatestPrice(): require(updatedAt_ != 0, MG:GLP:ROUND_NOT_COMPLETE); require(updatedAt_ >= (block.timestamp - priceOracleOf[asset_].maxDelay), MG:GLP:STALE_PRICE). maxDelay is configurable per asset via setPriceOracle(). Data-cache shows 3600s for ETH/USD, BTC/USD, LINK/USD, UNI/USD, COMP/USD; 82800s for USDC/USD; 86400s for USDT/USD, AVAX/USD.

Sources #

Methodology #

Determine whether the protocol rejects oracle reads older than a declared maximum age (i.e., checks `updatedAt > block.timestamp - maxStaleness`).

See the full factor methodology and distribution across all protocols →

rubric_version v1.7.0 protocol maple-finance factor RD-F-059 score green collected_at 2026-04-27 05:38:08