MergedAdapterWithRoundsWeethV1
Verified contract
Implementation
Active on
Ethereum with 2 txns
Storage
Map
Table
Raw
Constants and immutables
34
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "MergedAdapterWithRoundsWeethV1"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 19712153 | 7 months ago | | | 0 | 0.00092010311 | |
| 18733749 | a year ago | | | 0 | 0.0050370820 |
ABI
ABI objects
Getter at block 21205251 extractTimestampsAndAssertAllAreEqual() pure returns (uint256 extractedTimestamp) getDataServiceId() view returns (string)
aggregator() view returns (address)
0x0c2c7ded01ccdfab16f04aff82af766b23d6be0a
decimals() pure returns (uint8)
8
description() view returns (string)
Redstone Price Feed
getAllowedTimestampDiffsInSeconds() view returns (uint256 maxDataAheadSeconds, uint256 maxDataDelaySeconds)
(maxDataAheadSeconds=60, maxDataDelaySeconds=180)
getBlockTimestamp() view returns (uint256)
1731820259
getBlockTimestampFromLatestUpdate() view returns (uint256 blockTimestamp)
1701944051
getDataFeedId() pure returns (bytes32)
0x7765455448000000000000000000000000000000000000000000000000000000
getDataFeedIds() view returns (bytes32[] dataFeedIds)
[0x7765455448000000000000000000000000000000000000000000000000000000]
getDataTimestampFromLatestUpdate() view returns (uint256 lastDataTimestamp)
1701943950000
getLatestRoundId() view returns (uint256 latestRoundId)
1
getLatestRoundParams() view returns (uint256 latestRoundId, uint128 latestRoundDataTimestamp, uint128 latestRoundBlockTimestamp)
(latestRoundId=1, latestRoundDataTimestamp=1701943950000, latestRoundBlockTimestamp=1701944051)
getMinIntervalBetweenUpdates() view returns (uint256)
3
getPackedTimestampsFromLatestUpdate() view returns (uint256 packedTimestamps)
579141515672771346213786459702122945289861593144051
getPriceFeedAdapter() view returns (address)
0x0c2c7ded01ccdfab16f04aff82af766b23d6be0a
getPriceFeedAdapterWithRounds() view returns (address)
0x0c2c7ded01ccdfab16f04aff82af766b23d6be0a
getTimestampsFromLatestUpdate() view returns (uint128 dataTimestamp, uint128 blockTimestamp)
(dataTimestamp=1701943950000, blockTimestamp=1701944051)
getUniqueSignersThreshold() view returns (uint8)
2
latestAnswer() view returns (int256)
229280513768
latestRound() view returns (uint80)
1
latestRoundData() view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)
(roundId=1, answer=229280513768, startedAt=1701944051, updatedAt=1701944051, answeredInRound=1)
version() pure returns (uint256)
1
Read-only
aggregateValues(uint256[] values) view returns (uint256)
getAuthorisedSignerIndex(address signerAddress) view returns (uint8)
getDataFeedIndex(bytes32 dataFeedId) view returns (uint256)
getPackedTimestampsForRound(uint256 roundId) view returns (uint256 roundTimestamps)
getRoundData(uint80 requestedRoundId) view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)
getRoundDataFromAdapter(bytes32 dataFeedId, uint256 roundId) view returns (uint256 dataFeedValue, uint128 roundDataTimestamp, uint128 roundBlockTimestamp)
getValueForDataFeed(bytes32 dataFeedId) view returns (uint256)
getValueForDataFeedAndRound(bytes32 dataFeedId, uint256 roundId) view returns (uint256 dataFeedValue)
getValueForDataFeedUnsafe(bytes32 dataFeedId) view returns (uint256 dataFeedValue)
getValuesForDataFeeds(bytes32[] dataFeedIds) view returns (uint256[])
getValuesForDataFeedsUnsafe(bytes32[] requestedDataFeedIds) view returns (uint256[] values)
requireAuthorisedUpdater(address updater) view
validateDataFeedValue(bytes32 dataFeedId, uint256 valueForDataFeed) pure
validateDataPackagesTimestampOnce(uint256 dataPackagesTimestamp) view
validateProposedDataPackagesTimestamp(uint256 dataPackagesTimestamp) view
validateTimestamp(uint256 receivedTimestampMilliseconds) view
State-modifying
Events initialize()
updateDataFeedsValues(uint256 dataPackagesTimestamp)
AnswerUpdated(int256 indexed current, uint256 indexed roundId, uint256 updatedAt)
Initialized(uint8 version)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
BlockTimestampIsTooBig(uint256 blockTimestamp)
CalldataMustHaveValidPayload()
CalldataOverOrUnderFlow()
CanNotPickMedianOfEmptyArray()
CannotUpdateMoreThanOneDataFeed()
DataFeedIdNotFound(bytes32 dataFeedId)
DataFeedValueCannotBeZero(bytes32 dataFeedId)
DataPackageTimestampMismatch(uint256 expectedDataTimestamp, uint256 dataPackageTimestamp)
DataPackageTimestampMustNotBeZero()
DataPackageTimestampsMustBeEqual()
DataTimestampIsTooBig(uint256 dataTimestamp)
DataTimestampShouldBeNewerThanBefore(uint256 receivedDataTimestampMilliseconds, uint256 lastDataTimestampMilliseconds)
EachSignerMustProvideTheSameValue()
EmptyCalldataPointersArr()
GetDataServiceIdNotImplemented()
IncorrectUnsignedMetadataSize()
InsufficientNumberOfUniqueSigners(uint256 receivedSignersCount, uint256 requiredSignersCount)
InvalidCalldataPointer()
MinIntervalBetweenUpdatesHasNotPassedYet(uint256 currentBlockTimestamp, uint256 lastUpdateTimestamp, uint256 minIntervalBetweenUpdates)
RedstonePayloadMustHaveAtLeastOneDataPackage()
RoundNotFound(uint256 roundId)
SignerNotAuthorised(address receivedSigner)
TimestampFromTooLongFuture(uint256 receivedTimestampSeconds, uint256 blockTimestamp)
TimestampIsTooOld(uint256 receivedTimestampSeconds, uint256 blockTimestamp)
UnsafeUint256ToUint80Conversion(uint256 value)
UnsafeUintToIntConversion(uint256 value)
UpdaterNotAuthorised(address signer)