OriginProtocol / OriginProtocol/origin-dollar
More precision in the OETH swap/wrap forms
Nobody has claimed this yet.
- Dominant language
- Solidity
- Stars
- 152
- Forks
- 115
- Avg merge
- 3d 20h
- Merged PRs (30d)
- 17
Description
One or two of the stablecoins for OUSD only supported six digits. Now that all of the ETH derivatives support 18, we should allow for greater precision in the dapp. At a minimum, the output field should have the same level of precision as the input field.
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
Start by locating the OETH swap and wrap forms in the dapp and tracing how precision is chosen for their input and output fields. Update the form behavior so output precision matches the input and the ETH derivatives support 18 digits; verify the displayed amounts in both forms.
Written by the indexing model from the issue text.
Assessment
- Domain
- blockchain, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100