TachiDocs
On this page

Freshness, sequence and safety

How the oracle rejects stale, replayed, future dated and outlier updates.

Concepts

How prices are signed, agreed and kept fresh.

1 min read 6 sections Testnet

Freshness limits

Pass your own maxAgeSeconds. Fresh reads revert when the data is older than that limit.

Forward only rounds

Each accepted report increases the round. An update for an older or equal round is rejected.

Replay protection

A signed update cannot be submitted twice. Old signatures cannot roll a price back.

Future dated updates

Updates stamped later than the current block time are rejected.

Circuit breaker

A jump against the stored price is bounded. Updates outside the bound are refused.

Guardian pause

Warning

The guardian can pause a feed. Reads from a paused feed should be treated as unavailable. Check isPaused(feedId).

Something wrong or missing on this page? Tell us.