ExchangeRates

Verified contract

Active on Ethereum with 226 txns
Deployed by via 0x9312aa4b at 11239619
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 23 additional slots

No balances found for "ExchangeRates"

0x7a2b92fac337193b5821a31dadb1b22b904d6e0b524c08f56b9eccf0061f60be
0x4b3c07492268e8d94244f02262511a3b8e58f15b7eba38b517d5aedb6666b045
0xa7fdff69dfed274cd99b7230b730063b2e74e33d1f903a5011ad1c0a8b2ca81c
0x95454ed972ef3c50153a9200de489dbb6c79c22b17d1580b06b2da49a7e9aca7
0x269910240675ab13e4b19d46a4f2aee0956ce44e31eb7a76dc6fed4f0840831c
0x9d450e15ac84b1f250e7bd3bbcdbae165c7de60f339de2cbff9425b1869e36d8
0x288f37f2b63d64126f5cd2ac99e3e347be9129e03b34a4e7066472e7067547ce
0xcd1cf1314484d2ab62724de6c39b389ed69f17e5c9758cca64debd4eb54a6d15
0x3b3a942601870d14a602c3082d9bed948955ccba2647c105be0724201584eae3
0x9a7a00458f2fb08b81775500d9930b53ed0495f4d61d686588d09deada15b81f

Functions
Getter at block 21322885
MAX_ADDRESSES_FROM_RESOLVER(view returns (uint256)
24
aggregatorWarningFlags(view returns (address)
0x4a5b9b4ad08616d11f3a402ff7cbeacb732a76c6
getResolverAddressesRequired(view returns (bytes32[24] addressesRequired)
[0x45786368616e6765720000000000000000000000000000000000000000000000, 0x466c657869626c6553746f726167650000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000, 0x0000000000000000000000000000000000000000000000000000000000000000]
nominatedOwner(view returns (address)
0x0000000000000000000000000000000000000000
oracle(view returns (address)
0xac1ed4fabbd5204e02950d68b6fc8c446ac95362
owner(view returns (address)
0xeb3107117fead7de89cd14d463d340a2e6917769
rateStalePeriod(view returns (uint256)
90000
resolver(view returns (address)
0x4e3b31eb0e5cb73641ee1e65e7dcefe520ba3ef2
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)
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)
isResolverCached(address _resolverview returns (bool)
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[])
resolverAddressesRequired(uint256view returns (bytes32)
roundFrozen(bytes32view returns (uint256)
State-modifying
acceptOwnership(
addAggregator(bytes32 currencyKeyaddress aggregatorAddress
deleteRate(bytes32 currencyKey
freezeRate(bytes32 currencyKey
nominateNewOwner(address _owner
removeAggregator(bytes32 currencyKey
removeInversePricing(bytes32 currencyKey
setInversePricing(bytes32 currencyKeyuint256 entryPointuint256 upperLimituint256 lowerLimitbool freezeAtUpperLimitbool freezeAtLowerLimit
setOracle(address _oracle
setResolverAndSyncCache(address _resolver
updateRates(bytes32[] currencyKeysuint256[] newRatesuint256 timeSentreturns (bool)
Events
AggregatorAdded(bytes32 currencyKeyaddress aggregator
AggregatorRemoved(bytes32 currencyKeyaddress aggregator
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.