Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add wstETH price aggregator #125

Merged
merged 3 commits into from
Mar 12, 2024
Merged

add wstETH price aggregator #125

merged 3 commits into from
Mar 12, 2024

Conversation

thorseldon
Copy link
Contributor

@thorseldon thorseldon commented Jan 30, 2024

  • Custom price aggregator for wstETH/ETH;
  • Calculate the wstETH price from Chainlink's stETH/ETH;
  • wstETH Price = stETH Price / tokenPerStETH;

Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: Patch coverage is 75.60976% with 10 lines in your changes are missing coverage. Please review.

Project coverage is 90.97%. Comparing base (3bb61af) to head (e28fb09).
Report is 1 commits behind head on main.

❗ Current head e28fb09 differs from pull request most recent head 7f742ee. Consider uploading reports for the commit 7f742ee to get more accurate results

Files Patch % Lines
contracts/misc/WstETHPriceAggregator.sol 75.60% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #125      +/-   ##
==========================================
- Coverage   91.20%   90.97%   -0.23%     
==========================================
  Files          36       37       +1     
  Lines        2819     2860      +41     
  Branches      447      449       +2     
==========================================
+ Hits         2571     2602      +31     
- Misses        248      258      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# Conflicts:
#	deployments/deployed-contracts-main.json
@thorseldon thorseldon merged commit 9ce2699 into main Mar 12, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant