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

Fix fetch usd #752

Merged
merged 1 commit into from
Jun 27, 2024
Merged

Fix fetch usd #752

merged 1 commit into from
Jun 27, 2024

Conversation

peterjah
Copy link
Contributor

@peterjah peterjah commented Jun 27, 2024

This is a workaround to fetch price of big amounts, even if there is not enough liquidity on Dusa.
Instead of query the price for user amount, we get the price for 1 token, and then multiply by the amount requested

@peterjah peterjah changed the base branch from main to integration June 27, 2024 09:40
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-752.d1u92gh798a6e1.amplifyapp.com

@peterjah peterjah merged commit 26b7dd8 into integration Jun 27, 2024
3 checks passed
@peterjah peterjah deleted the fix_fetch_usd branch June 27, 2024 09:45
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