Skip to content

Commit

Permalink
docs: Adds additional docs to internal _read function
Browse files Browse the repository at this point in the history
  • Loading branch information
pmerkleplant committed Apr 16, 2024
1 parent b0219d3 commit 8a2f583
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Aggor.sol
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,10 @@ contract Aggor is IAggor, IToll, Auth {
///
/// @dev Note that the value's age is always block.timestamp except if the
/// value itself is invalid.
///
/// @return uint128 Aggor's current value.
/// @return uint The value's age.
/// @return Status The status information.
function _read() internal view returns (uint128, uint, Status memory) {
// Read Chronicle and Chainlink oracles.
(bool okChr, uint128 valChr) = _readChronicle();
Expand Down

0 comments on commit 8a2f583

Please sign in to comment.