Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find out why I'm dividing by 1,000,000... (Oh, probably because USDT?) #174

Open
github-actions bot opened this issue Aug 19, 2022 · 0 comments
Open
Assignees

Comments

@github-actions
Copy link

false


// TODO: Find out why I'm dividing by 1,000,000... (Oh, probably because USDT?)
const ethPrice = ethUsdtReserves.value1
.toBigDecimal()
.times(BIG_DECIMAL_1E18)
.div(ethUsdtReserves.value0.toBigDecimal())
.div(BigDecimal.fromString('1000000'))


This issue was generated by todo-issue based on a TODO comment in 28385c6. It's been assigned to @alecananian because they committed the code.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant