OriginProtocol / origin-dollar

OUSD and OETH are stablecoins that passively accrue yield while you are holding it
https://originprotocol.com
MIT License
112 stars 73 forks source link

WOETH: Withdraw OETH in surplus. #2119

Open clement-ux opened 5 days ago

clement-ux commented 5 days ago

Allow the governor to withdraw the OETH that has been sent in surplus to the wrapper.

Code Change Checklist

To be completed before internal review begins:

Internal review:

Deploy checklist

Two reviewers complete the following checklist:

- [ ] All deployed contracts are listed in the deploy PR's description
- [ ] Deployed contract's verified code (and all dependencies) match the code in master
- [ ] The transactions that interacted with the newly deployed contract match the deploy script.
- [ ] Governance proposal matches the deploy script
- [ ] Smoke tests pass after fork test execution of the governance proposal
github-actions[bot] commented 5 days ago
Warnings
:warning: :eyes: This PR needs at least 2 reviewers

Generated by :no_entry_sign: dangerJS against 4a12161fc17ec2526251b09eec9dc4c43d147f23

codecov[bot] commented 5 days ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.78%. Comparing base (56d0b7d) to head (4a12161).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## sparrowDom/woeth_hack_proof #2119 +/- ## =============================================================== + Coverage 62.76% 62.78% +0.02% =============================================================== Files 66 66 Lines 3373 3375 +2 Branches 657 873 +216 =============================================================== + Hits 2117 2119 +2 Misses 1253 1253 Partials 3 3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

openzeppelin-code[bot] commented 5 days ago

WOETH: Withdraw OETH in surplus.

Generated at commit: 4a12161fc17ec2526251b09eec9dc4c43d147f23

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
3
3
0
18
42
66
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector