Skip to content

Commit

Permalink
feat: clarify 18 decimals for readDataFeed() (#685)
Browse files Browse the repository at this point in the history
  • Loading branch information
dcroote authored Dec 17, 2023
1 parent 1c77be2 commit 1e357c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/dapis/read-a-dapi/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ purposes without proper security audits and testing.

* The `readDataFeed()` function is a public function that reads from a dAPI
through the IProxy interface. The function returns two values representing the
latest `value` (type int224) and `timestamp` (type uint256) of the dAPI that
the proxy is reading from.
latest `value` with 18 decimals (type int224) and `timestamp` (type uint256)
of the dAPI that the proxy is reading from.

## Summary

Expand Down

0 comments on commit 1e357c0

Please sign in to comment.