ExchangeRates

Verified contract

Active on Ethereum with 284 txns
Deployed by via 0x30f0a3e7 at 11513101
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "ExchangeRates"

0x0627d1c05d66c8238a07d175a34c5e9bafc25780ae0a03c1f348c36ef0cfa84a
0x52d95008501458aa9550fd0d41d5c0ed1e07988e9be30c63a3c595ea94422a35
0xe0245d34fa3bd9ed60c5d130d9188bc07daf78d3dadec723a255ca9e5170ed4b
0x1023e58719f3f6bc50086362bdb5d2db75b8d1e266fc345aecc4fbe1846db6c1
0x6302c5484da2deaee117ed365f6451e5a4942f06e0ce89be304ae486c5349bab
0x6dec83cd7629c5da6a4ea703bf6f6aeb7c7021f8cdb871b764f609ed12632b86
0x041911b73da62d8d5aee45e9a81a3dc1fc781eedc3e729f1da32afa0504ed478
0xcb0b66bb1c8c80280929f55ff06f5356329de227afe6145ae50d5178d7bb8819
0x3b40603068dbbdbf7914232066883c524bf66ed22cfe3e98d2296800f22f067f
0x552348ceb906f1adce1742d7a97c9c7e74a1c4186a510ea42da21ef1e9e52229

Functions
Getter at block 21210592
aggregatorWarningFlags(view returns (address)
0x4a5b9b4ad08616d11f3a402ff7cbeacb732a76c6
isResolverCached(view returns (bool)
false
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
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)
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
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.