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

Usage of DOLLARS #109

Closed
jak-pan opened this issue Feb 18, 2021 · 2 comments · Fixed by #161
Closed

Usage of DOLLARS #109

jak-pan opened this issue Feb 18, 2021 · 2 comments · Fixed by #161
Assignees
Milestone

Comments

@jak-pan
Copy link
Contributor

jak-pan commented Feb 18, 2021

Make sure DOLLARS and HDX/UNIT s are used correctly. We use them interchangeably but in reality 1 dollar should be roughly 10HDX. We'll need to do changes to chainspec too to use HDX/UNIT instead of DOLLARS.

@jak-pan
Copy link
Contributor Author

jak-pan commented Mar 2, 2021

An idea. Since initial liquidity in the pool will be DAI=DOLLARS. And we're sure such pool will exist.
What if we could use it to update price of of "DOLLARS" dynamically (eg. after some period of time)
So that we don't need to keep this updated? I know that this won't be easy since RN it's const and would probably require larger changes, but it's well worth to start thinking about this.

@jak-pan
Copy link
Contributor Author

jak-pan commented Mar 2, 2021

For now we can just change it to roughly final LBP price which is 1 HDX ~= 0.1$ To keep the numbers nice.

@jak-pan jak-pan added this to the Hydra Rising milestone Mar 2, 2021
@jak-pan jak-pan modified the milestones: Hydra Rising, Staking Mar 11, 2021
@Roznovjak Roznovjak self-assigned this Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants