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

Allow users to deposit raw ETH instead of just WETH #848

Merged
merged 3 commits into from
Apr 15, 2024

Conversation

haydenshively
Copy link
Member

No description provided.

Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for aloe-prime canceled.

Name Link
🔨 Latest commit feb9fe4
🔍 Latest deploy log https://app.netlify.com/sites/aloe-prime/deploys/661af0d2db7b1d0008d63f89

Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for aloe-blend-staging canceled.

Name Link
🔨 Latest commit feb9fe4
🔍 Latest deploy log https://app.netlify.com/sites/aloe-blend-staging/deploys/661af0d20cae6000089a2261

Copy link

netlify bot commented Apr 12, 2024

Deploy Preview for aloe-earn ready!

Name Link
🔨 Latest commit feb9fe4
🔍 Latest deploy log https://app.netlify.com/sites/aloe-earn/deploys/661af0d23b44e60008dfd5cb
😎 Deploy Preview https://deploy-preview-848--aloe-earn.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@haydenshively haydenshively marked this pull request as ready for review April 13, 2024 01:09
Copy link
Collaborator

@IanWoodard IanWoodard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, please make sure to check prime works too

shared/src/data/constants/ChainSpecific.tsx Show resolved Hide resolved
earn/src/pages/PortfolioPage.tsx Show resolved Hide resolved
Comment on lines +310 to +311
if (tokenBalanceResult != null) {
setInputValue(userBalance.toString(GNFormat.DECIMAL));
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While I see why it was done this way, I wish we could avoid having seemingly unrelated variables used in the if statement (despite them being quite related in actuality).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm good point. This was actually just a result of refactoring; I didn't write the code, but now that you point it out it is kinda bad/confusing. Any suggestions to fix?

earn/src/data/LendingPair.ts Outdated Show resolved Hide resolved
@haydenshively haydenshively merged commit 3a43ed0 into master Apr 15, 2024
18 checks passed
@haydenshively haydenshively deleted the hs-supply-raw-eth branch April 15, 2024 22:03
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.

2 participants