Skip to content

ICircuitBreaker

Description

Source: contracts/interfaces/ICircuitBreaker.sol

Views

circuitBroken

Source

Details

Signature

circuitBroken(address oracleAddress) view returns (bool)

Visibility

external

State Mutability

view

isDeviationAboveThreshold

Source

Details

Signature

isDeviationAboveThreshold(uint256 base, uint256 comparison) view returns (bool)

Visibility

external

State Mutability

view

isInvalid

Source

Details

Signature

isInvalid(address oracleAddress, uint256 value) view returns (bool)

Visibility

external

State Mutability

view

lastValue

Source

Details

Signature

lastValue(address oracleAddress) view returns (uint256)

Visibility

external

State Mutability

view

priceDeviationThresholdFactor

Source

Details

Signature

priceDeviationThresholdFactor() view returns (uint256)

Visibility

external

State Mutability

view

External Functions

probeCircuitBreaker

Source

Details

Signature

probeCircuitBreaker(address oracleAddress, uint256 value) returns (bool circuitBroken)

Visibility

external

State Mutability

``

resetLastValue

Source

Details

Signature

resetLastValue(address[] oracleAddresses, uint256[] values)

Visibility

external

State Mutability

``