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

Refactor the way we are displaying SD and ETH values #173

Merged
merged 8 commits into from
Jan 5, 2024

Conversation

bharath-123
Copy link
Contributor

Currently, we are only displaying the values in Eth by dividing the Wei from the contract by 10**18. When the value is small, we display 0.00000 Eth which is not useful for the user. We refactor it to display the appropriate unit based on the value.

@bharath-123 bharath-123 changed the base branch from main to SD_utilize January 4, 2024 15:00
@bharath-123 bharath-123 merged commit bf426ba into SD_utilize Jan 5, 2024
@bharath-123 bharath-123 deleted the display-refactor branch January 5, 2024 10:37
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 this pull request may close these issues.

2 participants