PriceFeedsAdapterVenusMainnetXvsV2
Verified contract
Implementation
Active on
Ethereum with 0 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 "PriceFeedsAdapterVenusMainnetXvsV2"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PriceFeedsAdapterVenusMainnetXvsV2"
ABI
ABI objects
Getter at block 21298927 extractTimestampsAndAssertAllAreEqual() pure returns (uint256 extractedTimestamp) getDataServiceId() view returns (string)
getAllowedTimestampDiffsInSeconds() view returns (uint256 maxDataAheadSeconds, uint256 maxDataDelaySeconds)
(maxDataAheadSeconds=60, maxDataDelaySeconds=180)
getBlockTimestamp() view returns (uint256)
1732950791
getBlockTimestampFromLatestUpdate() view returns (uint256 blockTimestamp)
0
getDataFeedIds() pure returns (bytes32[] dataFeedIds)
[0x5856530000000000000000000000000000000000000000000000000000000000]
getDataTimestampFromLatestUpdate() view returns (uint256 lastDataTimestamp)
0
getMinIntervalBetweenUpdates() view returns (uint256)
3
getPackedTimestampsFromLatestUpdate() view returns (uint256 packedTimestamps)
0
getTimestampsFromLatestUpdate() view returns (uint128 dataTimestamp, uint128 blockTimestamp)
(dataTimestamp=0, blockTimestamp=0)
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)
getValueForDataFeed(bytes32 dataFeedId) view returns (uint256)
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)
Initialized(uint8 version)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
BlockTimestampIsTooBig(uint256 blockTimestamp)
CalldataMustHaveValidPayload()
CalldataOverOrUnderFlow()
CanNotPickMedianOfEmptyArray()
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()
SignerNotAuthorised(address receivedSigner)
TimestampFromTooLongFuture(uint256 receivedTimestampSeconds, uint256 blockTimestamp)
TimestampIsTooOld(uint256 receivedTimestampSeconds, uint256 blockTimestamp)
UpdaterNotAuthorised(address signer)