OriginProtocol / origin-dollar

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

[OETHb] Direct Staking #2293

Open shahthepro opened 1 month ago

shahthepro commented 1 month ago

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
- [ ] Contract constructors have correct arguments
- [ ] 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 1 month ago
Warnings
:warning: :eyes: This PR needs at least 2 reviewers

Generated by :no_entry_sign: dangerJS against 15ea15dd39883744998035647a2577fa271207cc

codecov[bot] commented 3 weeks ago

Codecov Report

Attention: Patch coverage is 30.76923% with 90 lines in your changes missing coverage. Please review.

Project coverage is 51.65%. Comparing base (20a21d0) to head (15ea15d).

Files with missing lines Patch % Lines
...tracts/crosschain/AbstractDirectStakingHandler.sol 5.55% 34 Missing :warning:
...ts/contracts/crosschain/DirectStakingL2Handler.sol 13.15% 33 Missing :warning:
...ntracts/crosschain/DirectStakingMainnetHandler.sol 33.33% 18 Missing :warning:
...acts/contracts/strategies/BridgedWOETHStrategy.sol 82.75% 5 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2293 +/- ## ========================================== - Coverage 52.19% 51.65% -0.54% ========================================== Files 79 82 +3 Lines 4098 4220 +122 Branches 824 1119 +295 ========================================== + Hits 2139 2180 +41 - Misses 1956 2037 +81 Partials 3 3 ```

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