ICircuitBreaker¶
Description¶
Source: contracts/interfaces/ICircuitBreaker.sol
Views¶
circuitBroken
¶
Details
Signature
circuitBroken(address oracleAddress) view returns (bool)
Visibility
external
State Mutability
view
isDeviationAboveThreshold
¶
Details
Signature
isDeviationAboveThreshold(uint256 base, uint256 comparison) view returns (bool)
Visibility
external
State Mutability
view
isInvalid
¶
Details
Signature
isInvalid(address oracleAddress, uint256 value) view returns (bool)
Visibility
external
State Mutability
view
lastValue
¶
Details
Signature
lastValue(address oracleAddress) view returns (uint256)
Visibility
external
State Mutability
view
priceDeviationThresholdFactor
¶
Details
Signature
priceDeviationThresholdFactor() view returns (uint256)
Visibility
external
State Mutability
view
External Functions¶
probeCircuitBreaker
¶
Details
Signature
probeCircuitBreaker(address oracleAddress, uint256 value) returns (bool circuitBroken)
Visibility
external
State Mutability
``
resetLastValue
¶
Details
Signature
resetLastValue(address[] oracleAddresses, uint256[] values)
Visibility
external
State Mutability
``