We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0595d4 commit 2ff87d9Copy full SHA for 2ff87d9
contracts/InverseApi3ReaderProxyV1.sol
@@ -24,7 +24,9 @@ contract InverseApi3ReaderProxyV1 is IInverseApi3ReaderProxyV1 {
24
}
25
26
/// @notice Returns the inverted value of the underlying IApi3ReaderProxy
27
- /// @dev The operation will revert if `baseValue` is zero (division by zero).
+ /// @dev Calculates `int224(1e36) / baseValue`. The operation will revert if
28
+ /// `baseValue` is zero. If `baseValue` is non-zero but its absolute value is
29
+ /// greater than `1e36`, the result of the integer division will be `0`.
30
/// @return value Inverted value of the underlying proxy
31
/// @return timestamp Timestamp of the underlying proxy
32
function read()
0 commit comments