OracleUtils

implements common utility methods for Fluid Oracles

HUNDRED_PERCENT_DELTA_SCALER

uint256 HUNDRED_PERCENT_DELTA_SCALER

The scaler for max delta point math (100%)

RATE_OUTPUT_DECIMALS

uint256 RATE_OUTPUT_DECIMALS

output precision of rates

isRateOutsideDelta

function isRateOutsideDelta(uint256 mainSourceRate_, uint256 checkSourceRate_, uint256 maxDeltaPercent_) internal pure returns (bool)

_checks if mainSourceRate_is within amaxDeltaPercent*ofcheckSourceRate*. Returns true if so._