OriginProtocol / OriginProtocol/origin-dollar

More precision in the OETH swap/wrap forms

Open
#1,375 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

dapp enhancement OETH P3
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.