interface IOracle {
    // ----------- Events -----------

    event Update(uint256 _peg);

    // ----------- State changing API -----------

    function update() external returns (bool);

    // ----------- Getters -----------

    function read() external view returns (Decimal.D256 memory, bool);

    function isOutdated() external view returns (bool);

}
/// @title generic oracle interface for Fei Protocol
/// @author Fei Protocol
function update() external returns (bool);
// ----------- State changing API -----------