Quantillon Protocol

IViewOracle

Git Source

Functions

getEurUsdPrice

Returns EUR/USD oracle price and validity flag

Minimal read-only oracle view interface used by optimization helpers.

Notes:

  • security: Read-only oracle accessor

  • validation: Implementer should guarantee returned values follow protocol expectations

  • state-changes: None

  • events: None

  • errors: Implementation-defined

  • reentrancy: Not applicable - view function

  • access: External view interface method

  • oracle: Primary oracle read dependency

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

Returns

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