IExchangeCircuitBreaker¶
Description¶
Source: contracts/interfaces/IExchangeCircuitBreaker.sol
Views¶
exchangeRates
¶
Details
Signature
exchangeRates() view returns (address)
Visibility
external
State Mutability
view
isDeviationAboveThreshold
¶
Details
Signature
isDeviationAboveThreshold(uint256 base, uint256 comparison) view returns (bool)
Visibility
external
State Mutability
view
lastExchangeRate
¶
Details
Signature
lastExchangeRate(bytes32 currencyKey) view returns (uint256)
Visibility
external
State Mutability
view
priceDeviationThresholdFactor
¶
Details
Signature
priceDeviationThresholdFactor() view returns (uint256)
Visibility
external
State Mutability
view
rateWithInvalid
¶
Details
Signature
rateWithInvalid(bytes32 currencyKey) view returns (uint256, bool)
Visibility
external
State Mutability
view
External Functions¶
rateWithBreakCircuit
¶
Details
Signature
rateWithBreakCircuit(bytes32 currencyKey) returns (uint256 lastValidRate, bool circuitBroken)
Visibility
external
State Mutability
``
resetLastExchangeRate
¶
Details
Signature
resetLastExchangeRate(bytes32[] currencyKeys)
Visibility
external
State Mutability
``