Skip to content
This repository was archived by the owner on Jan 18, 2023. It is now read-only.

Conversation

richardliang
Copy link
Contributor

No description provided.

{
// Get struct and read value in uint256
Monetary.Price memory price = dYdXOracleInstance.getPrice(erc20TokenAddress);
return price.value;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is the price denominated? Is it a scaled value (e.g. $1 = 10**18)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@richardliang richardliang merged commit f7ec860 into master Dec 18, 2019
@richardliang richardliang deleted the richard/dai-oracle branch December 18, 2019 22:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants