ExchangeRates

Verified contract

Active on Ethereum with 2,351 txns
Deployed by via 0xb34fa16d at 13002176
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x01116007a99d4e8faf8b1a2bd09002aa13dfbc1d9a99ec3f29a0bd4fb30512d5
0x62ddf57fbdd0037d5947faa37150f0af29ce4e032aa8afa3ca80a6705ba9a1aa
0x5a111b3f25e9d27d76a9a8903a63fba270d3c70b4c3cd82526450131031636f6
0x197670ad2c1b77b91dc2ebc43a8d519363c889d93d5e68c6270154249ccd3505
0x7a1044b06e259f412f439fc1078f65e07279edea7c608ca35aaa256860241c69
0x7bdf2dd72e9fb60f3079c55f5572bb762bc2cf9d236c8e1d68420ef48428a15d
0xd9495ab867f8a919fdf586ffb106404bde7cd302b75cf8c8f9b9adaf42c58d55
0x682f863cadc53bdc8801a293b2dbd3d5aedeff17db1ccb7046c9154aa18714a3
0xa7afbda3a0a61fbbb676bb90d7ca3f89ad03b13e71b2192eb5db34657ede80cb
0x9ecd24fe95f58ca7a58c1856ff51e87cdba6bed682247dd50c97c952887a72f0

Functions
Getter at block 20943206
aggregatorWarningFlags(view returns (address)
0x4a5b9b4ad08616d11f3a402ff7cbeacb732a76c6
externalRateAggregator(view returns (address)
0x40757d827022e37ef1fbb7e24dcb325104be1621
isResolverCached(view returns (bool)
true
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
oracle(view returns (address)
0x055ca0b950e129ff387de1dbf53cabcb434a64be
owner(view returns (address)
0x1c19d81a6f11958d58130ddbc505933426c80369
rateStalePeriod(view returns (uint256)
90000
resolver(view returns (address)
0x7015cd1e78ba1428d103b0c2513077b2826b64fc
resolverAddressesRequired(view returns (bytes32[] addresses)
[0x466c657869626c6553746f726167650000000000000000000000000000000000, 0x45786368616e6765720000000000000000000000000000000000000000000000]
Read-only
aggregatorKeys(uint256view returns (bytes32)
aggregators(bytes32view returns (address)
anyRateIsInvalid(bytes32[] currencyKeysview returns (bool)
canFreezeRate(bytes32 currencyKeyview returns (bool)
currenciesUsingAggregator(address aggregatorview returns (bytes32[] currencies)
currencyByExternal(bytes32view returns (bool)
currencyKeyDecimals(bytes32view returns (uint8)
currentRoundForRate(bytes32view returns (uint256)
effectiveValue(bytes32 sourceCurrencyKeyuint256 sourceAmountbytes32 destinationCurrencyKeyview returns (uint256 value)
effectiveValueAndRates(bytes32 sourceCurrencyKeyuint256 sourceAmountbytes32 destinationCurrencyKeyview returns (uint256 valueuint256 sourceRateuint256 destinationRate)
effectiveValueAtRound(bytes32 sourceCurrencyKeyuint256 sourceAmountbytes32 destinationCurrencyKeyuint256 roundIdForSrcuint256 roundIdForDestview returns (uint256 value)
getCurrentRoundId(bytes32 currencyKeyview returns (uint256)
getLastRoundIdBeforeElapsedSecs(bytes32 currencyKeyuint256 startingRoundIduint256 startingTimestampuint256 timediffview returns (uint256)
inversePricing(bytes32view returns (uint256 entryPointuint256 upperLimituint256 lowerLimitbool frozenAtUpperLimitbool frozenAtLowerLimit)
invertedKeys(uint256view returns (bytes32)
lastRateUpdateTimes(bytes32 currencyKeyview returns (uint256)
lastRateUpdateTimesForCurrencies(bytes32[] currencyKeysview returns (uint256[])
rateAndInvalid(bytes32 currencyKeyview returns (uint256 ratebool isInvalid)
rateAndTimestampAtRound(bytes32 currencyKeyuint256 roundIdview returns (uint256 rateuint256 time)
rateAndUpdatedTime(bytes32 currencyKeyview returns (uint256 rateuint256 time)
rateForCurrency(bytes32 currencyKeyview returns (uint256)
rateIsFlagged(bytes32 currencyKeyview returns (bool)
rateIsFrozen(bytes32 currencyKeyview returns (bool)
rateIsInvalid(bytes32 currencyKeyview returns (bool)
rateIsStale(bytes32 currencyKeyview returns (bool)
ratesAndInvalidForCurrencies(bytes32[] currencyKeysview returns (uint256[] ratesbool anyRateInvalid)
ratesAndUpdatedTimeForCurrencyLastNRounds(bytes32 currencyKeyuint256 numRoundsview returns (uint256[] ratesuint256[] times)
ratesForCurrencies(bytes32[] currencyKeysview returns (uint256[])
roundFrozen(bytes32view returns (uint256)
State-modifying
acceptOwnership(
addAggregator(bytes32 currencyKeyaddress aggregatorAddress
deleteRate(bytes32 currencyKey
freezeRate(bytes32 currencyKey
nominateNewOwner(address _owner
rebuildCache(
removeAggregator(bytes32 currencyKey
removeInversePricing(bytes32 currencyKey
setCurrencyToExternalAggregator(bytes32 _currencyKeybool _set
setExternalRateAggregator(address _aggregator
setInversePricing(bytes32 currencyKeyuint256 entryPointuint256 upperLimituint256 lowerLimitbool freezeAtUpperLimitbool freezeAtLowerLimit
setOracle(address _oracle
updateRates(bytes32[] currencyKeysuint256[] newRatesuint256 timeSentreturns (bool)
Events
AggregatorAdded(bytes32 currencyKeyaddress aggregator
AggregatorRemoved(bytes32 currencyKeyaddress aggregator
CacheUpdated(bytes32 nameaddress destination
InversePriceConfigured(bytes32 currencyKeyuint256 entryPointuint256 upperLimituint256 lowerLimit
InversePriceFrozen(bytes32 currencyKeyuint256 rateuint256 roundIdaddress initiator
OracleUpdated(address newOracle
OwnerChanged(address oldOwneraddress newOwner
OwnerNominated(address newOwner
RateDeleted(bytes32 currencyKey
RatesUpdated(bytes32[] currencyKeysuint256[] newRates
Constructor
constructor(address _owneraddress _oracleaddress _resolverbytes32[] _currencyKeysuint256[] _newRates
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.