Quantillon Protocol

IViewOracle

Git Source

Functions

getEurUsdPrice

Returns EUR/USD oracle price and validity flag

Minimal oracle interface used by optimization helpers.

Notes:

  • security: Validated oracle accessor

  • validation: Implementer should guarantee returned values follow protocol expectations

  • state-changes: Implementation-defined; production oracles may refresh their accepted baseline

  • events: Implementation-defined

  • errors: Implementation-defined

  • reentrancy: External oracle call

  • access: External interface method

  • oracle: Primary oracle read dependency

function getEurUsdPrice() external returns (uint256 price, bool isValid);

Returns

NameTypeDescription
priceuint256EUR/USD price in 18 decimals
isValidboolWhether the reported price is valid