OriginProtocol / OriginProtocol/origin-dollar
Narya issue L1 - Unused mapping `isUpgraded`
Open
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
- 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 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