Skip to content

Commit e0595d4

Browse files
committed
DFP-2: Aggregation of Stale Price Feed(s)
1 parent 94ae5e9 commit e0595d4

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

contracts/ProductApi3ReaderProxyV1.sol

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,9 @@ contract ProductApi3ReaderProxyV1 is IProductApi3ReaderProxyV1 {
3838
/// on `int256` overflow. The final `int256` result of the full expression
3939
/// is then cast to `int224`. This cast is unchecked for gas optimization
4040
/// and may silently truncate if the result exceeds `int224` limits.
41-
/// The returned timestamp is `block.timestamp`, marking when this newly
42-
/// derived product value was computed on-chain.
43-
/// Timestamps from underlying `IApi3ReaderProxy` feeds are not aggregated.
44-
/// Their diverse nature (see `IApi3ReaderProxy` interface for details like
45-
/// off-chain origins or varying update cadences) makes aggregation complex
46-
/// and potentially misleading for this product's timestamp.
41+
/// The returned timestamp is `block.timestamp`, reflecting the on-chain
42+
/// computation time of the product. Underlying feed timestamps are not
43+
/// aggregated due to complexity and potential for misinterpretation.
4744
/// @return value Value of the product of the two proxies
4845
/// @return timestamp Timestamp of the current block
4946
function read()

0 commit comments

Comments
 (0)