Skip to content

IExchangeCircuitBreaker

Description

Source: contracts/interfaces/IExchangeCircuitBreaker.sol

Views

exchangeRates

Source

Details

Signature

exchangeRates() view returns (address)

Visibility

external

State Mutability

view

isDeviationAboveThreshold

Source

Details

Signature

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

Visibility

external

State Mutability

view

lastExchangeRate

Source

Details

Signature

lastExchangeRate(bytes32 currencyKey) view returns (uint256)

Visibility

external

State Mutability

view

priceDeviationThresholdFactor

Source

Details

Signature

priceDeviationThresholdFactor() view returns (uint256)

Visibility

external

State Mutability

view

rateWithInvalid

Source

Details

Signature

rateWithInvalid(bytes32 currencyKey) view returns (uint256, bool)

Visibility

external

State Mutability

view

External Functions

rateWithBreakCircuit

Source

Details

Signature

rateWithBreakCircuit(bytes32 currencyKey) returns (uint256 lastValidRate, bool circuitBroken)

Visibility

external

State Mutability

``

resetLastExchangeRate

Source

Details

Signature

resetLastExchangeRate(bytes32[] currencyKeys)

Visibility

external

State Mutability

``