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

Update fee price calculation and add getTokenUsdPrice #3964

Merged

Conversation

piotrwitek
Copy link
Contributor

This pull request updates the fee price calculation in the RefinanceSwapSection and RefinanceWhatsChangingStep components. It replaces the previous calculation with a new function getTokenUsdPrice that retrieves the USD price of a token. This ensures more robust fee price calculation.

@piotrwitek piotrwitek merged commit 8d7ed9f into dev Jun 24, 2024
13 checks passed
@piotrwitek piotrwitek deleted the pw/sc-15942/bug-short-position-sdai-eth-refinance-involving branch June 24, 2024 13:15
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