OriginProtocol / OriginProtocol/origin-dollar
Decimal precision on dApp
Nobody has claimed this yet.
- Dominant language
- Solidity
- Stars
- 152
- Forks
- 115
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 17
Description
Currently, on the OETH dApp, numbers are represented as a normal javascript Number. However, this Number doesn't quite have enough space to provide the user the level of precision provided by LSDs (18 decimals). The numbers should be represented by BigNumber or some other type than can provide us with more precision
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the OETH dApp code that represents or displays numeric values and identify uses of JavaScript Number. Check how a BigNumber or another precise type could preserve LSD values with 18 decimals. Done means the dApp displays and handles those values without losing the required precision.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- blockchain, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100