OriginProtocol / OriginProtocol/origin-dollar

Narya issue L1 - Unused mapping `isUpgraded`

Open
#1,441 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

OETH
Dominant language
Solidity
Stars
152
Forks
115
Avg merge
3d 20h
Merged PRs (30d)
17

Description

Unused mapping isUpgraded

Mark the isUpgraded storage variable as depreciated.
https://github.com/OriginProtocol/origin-dollar/blob/DanielVF/oeth/contracts/contracts/token/OUSD.sol#L52

mapping(address => uint256) public isUpgraded;

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 at contracts/token/OUSD.sol around line 52 and inspect the public isUpgraded mapping. Mark that storage variable as deprecated, then confirm the declaration is the only intended change and that no behavior is altered.

Written by the indexing model from the issue text.

Assessment

Tech stack
solidity
Domain
blockchain
Issue type
Refactor
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.