PriceFeedsAdapterVenusMainnetXvsV2

Verified contract

Implementation

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

No balances found for "PriceFeedsAdapterVenusMainnetXvsV2"

No transactions found for "PriceFeedsAdapterVenusMainnetXvsV2"


Functions
Getter at block 21298927
 
extractTimestampsAndAssertAllAreEqual(pure returns (uint256 extractedTimestamp)
getAllowedTimestampDiffsInSeconds(view returns (uint256 maxDataAheadSecondsuint256 maxDataDelaySeconds)
(maxDataAheadSeconds=60, maxDataDelaySeconds=180)
getBlockTimestamp(view returns (uint256)
1732950791
getBlockTimestampFromLatestUpdate(view returns (uint256 blockTimestamp)
0
getDataFeedIds(pure returns (bytes32[] dataFeedIds)
[0x5856530000000000000000000000000000000000000000000000000000000000]
 
getDataServiceId(view returns (string)
getDataTimestampFromLatestUpdate(view returns (uint256 lastDataTimestamp)
0
getMinIntervalBetweenUpdates(view returns (uint256)
3
getPackedTimestampsFromLatestUpdate(view returns (uint256 packedTimestamps)
0
getTimestampsFromLatestUpdate(view returns (uint128 dataTimestampuint128 blockTimestamp)
(dataTimestamp=0, blockTimestamp=0)
getUniqueSignersThreshold(view returns (uint8)
2
Read-only
aggregateValues(uint256[] valuesview returns (uint256)
getAuthorisedSignerIndex(address signerAddressview returns (uint8)
getDataFeedIndex(bytes32 dataFeedIdview returns (uint256)
getValueForDataFeed(bytes32 dataFeedIdview returns (uint256)
getValueForDataFeedUnsafe(bytes32 dataFeedIdview returns (uint256 dataFeedValue)
getValuesForDataFeeds(bytes32[] dataFeedIdsview returns (uint256[])
getValuesForDataFeedsUnsafe(bytes32[] requestedDataFeedIdsview returns (uint256[] values)
requireAuthorisedUpdater(address updaterview 
validateDataFeedValue(bytes32 dataFeedIduint256 valueForDataFeedpure 
validateDataPackagesTimestampOnce(uint256 dataPackagesTimestampview 
validateProposedDataPackagesTimestamp(uint256 dataPackagesTimestampview 
validateTimestamp(uint256 receivedTimestampMillisecondsview 
State-modifying
initialize(
updateDataFeedsValues(uint256 dataPackagesTimestamp
Events
Initialized(uint8 version
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors
BlockTimestampIsTooBig(uint256 blockTimestamp
CalldataMustHaveValidPayload(
CalldataOverOrUnderFlow(
CanNotPickMedianOfEmptyArray(
DataFeedIdNotFound(bytes32 dataFeedId
DataFeedValueCannotBeZero(bytes32 dataFeedId
DataPackageTimestampMismatch(uint256 expectedDataTimestampuint256 dataPackageTimestamp
DataPackageTimestampMustNotBeZero(
DataPackageTimestampsMustBeEqual(
DataTimestampIsTooBig(uint256 dataTimestamp
DataTimestampShouldBeNewerThanBefore(uint256 receivedDataTimestampMillisecondsuint256 lastDataTimestampMilliseconds
EachSignerMustProvideTheSameValue(
EmptyCalldataPointersArr(
GetDataServiceIdNotImplemented(
IncorrectUnsignedMetadataSize(
InsufficientNumberOfUniqueSigners(uint256 receivedSignersCountuint256 requiredSignersCount
InvalidCalldataPointer(
MinIntervalBetweenUpdatesHasNotPassedYet(uint256 currentBlockTimestampuint256 lastUpdateTimestampuint256 minIntervalBetweenUpdates
RedstonePayloadMustHaveAtLeastOneDataPackage(
SignerNotAuthorised(address receivedSigner
TimestampFromTooLongFuture(uint256 receivedTimestampSecondsuint256 blockTimestamp
TimestampIsTooOld(uint256 receivedTimestampSecondsuint256 blockTimestamp
UpdaterNotAuthorised(address signer