PriceFeedsAdapterSwellWithRoundsV5
Verified contract
Implementation
Active on
Ethereum with 1 txns
Storage
Map
Table
Raw
Constants and immutables
31
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 "PriceFeedsAdapterSwellWithRoundsV5"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20468923 | 4 months ago | | | 0 | 0.00049148119 |
ABI
ABI objects
Getter at block 21293202
getAllowedTimestampDiffsInSeconds() view returns (uint256 maxDataAheadSeconds, uint256 maxDataDelaySeconds)
(maxDataAheadSeconds=60, maxDataDelaySeconds=180)
getBlockTimestamp() view returns (uint256)
1732881491
getBlockTimestampFromLatestUpdate() view returns (uint256 blockTimestamp)
1722940007
getDataFeedIds() pure returns (bytes32[] dataFeedIds)
[0x53574554482f4554480000000000000000000000000000000000000000000000]
getDataTimestampFromLatestUpdate() view returns (uint256 lastDataTimestamp)
1722939960000
getLatestRoundId() view returns (uint256 latestRoundId)
1
getLatestRoundParams() view returns (uint256 latestRoundId, uint128 latestRoundDataTimestamp, uint128 latestRoundBlockTimestamp)
(latestRoundId=1, latestRoundDataTimestamp=1722939960000, latestRoundBlockTimestamp=1722940007)
getMinIntervalBetweenUpdates() view returns (uint256)
3
getPackedTimestampsFromLatestUpdate() view returns (uint256 packedTimestamps)
586286087651467039402048107593506424975273904700007
getTimestampsFromLatestUpdate() view returns (uint128 dataTimestamp, uint128 blockTimestamp)
(dataTimestamp=1722939960000, blockTimestamp=1722940007)
getUniqueSignersThreshold() view returns (uint8)
2
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 roundTimestamp)
getRoundData(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)
getValuesForDataFeedUnsafe(bytes32[] requestedDataFeedIds) view returns (uint256[] values)
getValuesForDataFeeds(bytes32[] requestedDataFeedIds) view returns (uint256[])
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)
Initialized(uint8 version)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
CalldataMustHaveValidPayload()
CalldataOverOrUnderFlow()
CanNotPickMedianOfEmptyArray()
DataFeedIdNotFound(bytes32 dataFeedId)
DataFeedValueCannotBeZero(bytes32 dataFeedId)
DataPackageTimestampMismatch(uint256 expectedDataTimestamp, uint256 dataPackageTimestamp)
DataTimestampShouldBeNewerThanBefore(uint256 receivedDataTimestampMilliseconds, uint256 lastDataTimestampMilliseconds)
EachSignerMustProvideTheSameValue()
EmptyCalldataPointersArr()
IncorrectUnsignedMetadataSize()
InsufficientNumberOfUniqueSigners(uint256 receivedSignersCount, uint256 requiredSignersCount)
InvalidCalldataPointer()
MinIntervalBetweenUpdatesHasNotPassedYet(uint256 currentBlockTimestamp, uint256 lastUpdateTimestamp, uint256 minIntervalBetweenUpdates)
RoundNotFound(uint256 roundId)
SignerNotAuthorised(address receivedSigner)
TimestampFromTooLongFuture(uint256 receivedTimestampSeconds, uint256 blockTimestamp)
TimestampIsTooOld(uint256 receivedTimestampSeconds, uint256 blockTimestamp)
UpdaterNotAuthorised(address signer)