Skip to content

IExchangeRates

Description

Source: contracts/interfaces/IExchangeRates.sol

Views

aggregators

Source

Details

Signature

aggregators(bytes32 currencyKey) returns (address)

Visibility

external

State Mutability

view

anyRateIsStale

Source

Details

Signature

anyRateIsStale(bytes32[] currencyKeys) returns (bool)

Visibility

external

State Mutability

view

currentRoundForRate

Source

Details

Signature

currentRoundForRate(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

effectiveValue

Source

Details

Signature

effectiveValue(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey) returns (uint256)

Visibility

external

State Mutability

view

effectiveValueAndRates

Source

Details

Signature

effectiveValueAndRates(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey) returns (uint256, uint256, uint256)

Visibility

external

State Mutability

view

effectiveValueAtRound

Source

Details

Signature

effectiveValueAtRound(bytes32 sourceCurrencyKey, uint256 sourceAmount, bytes32 destinationCurrencyKey, uint256 roundIdForSrc, uint256 roundIdForDest) returns (uint256)

Visibility

external

State Mutability

view

getCurrentRoundId

Source

Details

Signature

getCurrentRoundId(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

getLastRoundIdBeforeElapsedSecs

Source

Details

Signature

getLastRoundIdBeforeElapsedSecs(bytes32 currencyKey, uint256 startingRoundId, uint256 startingTimestamp, uint256 timediff) returns (uint256)

Visibility

external

State Mutability

view

inversePricing

Source

Details

Signature

inversePricing(bytes32 currencyKey) returns (uint256, uint256, uint256, bool)

Visibility

external

State Mutability

view

lastRateUpdateTimes

Source

Details

Signature

lastRateUpdateTimes(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

oracle

Source

Details

Signature

oracle() returns (address)

Visibility

external

State Mutability

view

rateAndTimestampAtRound

Source

Details

Signature

rateAndTimestampAtRound(bytes32 currencyKey, uint256 roundId) returns (uint256, uint256)

Visibility

external

State Mutability

view

rateAndUpdatedTime

Source

Details

Signature

rateAndUpdatedTime(bytes32 currencyKey) returns (uint256, uint256)

Visibility

external

State Mutability

view

rateForCurrency

Source

Details

Signature

rateForCurrency(bytes32 currencyKey) returns (uint256)

Visibility

external

State Mutability

view

rateIsFrozen

Source

Details

Signature

rateIsFrozen(bytes32 currencyKey) returns (bool)

Visibility

external

State Mutability

view

rateIsStale

Source

Details

Signature

rateIsStale(bytes32 currencyKey) returns (bool)

Visibility

external

State Mutability

view

rateStalePeriod

Source

Details

Signature

rateStalePeriod() returns (uint256)

Visibility

external

State Mutability

view

ratesAndStaleForCurrencies

Source

Details

Signature

ratesAndStaleForCurrencies(bytes32[] currencyKeys) returns (uint256[], bool)

Visibility

external

State Mutability

view

ratesAndUpdatedTimeForCurrencyLastNRounds

Source

Details

Signature

ratesAndUpdatedTimeForCurrencyLastNRounds(bytes32 currencyKey, uint256 numRounds) returns (uint256[], uint256[])

Visibility

external

State Mutability

view

ratesForCurrencies

Source

Details

Signature

ratesForCurrencies(bytes32[] currencyKeys) returns (uint256[])

Visibility

external

State Mutability

view