Eight lines. Five guards. Zero exploits.

Trust the oracle.Verify the integrator.

Five mathematically-verified guardrails between your protocol and the next oracle manipulation attack.

src/lib.rs
use safe_oracle::{lastprice, SafeOracleConfig};
 
let price = lastprice(
    &env, &asset,
    &reflector, &registry,
    &SafeOracleConfig::default(),
)?;
// 5 guards validated before this line.
$0.0M
Drained
YieldBlox
0
Tests
Passing
0
Critical
Findings
0
Guards
Active
DEVIATION·
STALENESS·
CROSS-SOURCE·
LIQUIDITY·
THIN SAMPLING·
CIRCUIT BREAKER·
ED25519·
SOROBAN·
STELLAR SDEX·
AUDITED·
OPEN SOURCE·
310 TESTS PASSING·
DEVIATION·
STALENESS·
CROSS-SOURCE·
LIQUIDITY·
THIN SAMPLING·
CIRCUIT BREAKER·
ED25519·
SOROBAN·
STELLAR SDEX·
AUDITED·
OPEN SOURCE·
310 TESTS PASSING·