Replies: 2 comments
-
Patrick did the multiplication so that we are consistent with the use of |
Beta Was this translation helpful? Give feedback.
0 replies
-
@BigAlQ you got a good point here, you can also find some info from auditors about it, but I think that formula has been changed in the final repo to be return ((usdAmountInWei * PRECISION) / (uint256(price) * ADDITIONAL_FEED_PRECISION)); Said that I'm not sure where you get your PRECISION to be 1e8? In the video PRECISION is 1e18. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is for the Stable Coin project
Beta Was this translation helpful? Give feedback.
All reactions