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

Ln/update quote currency endpoint for deso #694

Merged

Conversation

lazynina
Copy link
Member

No description provided.

@lazynina lazynina changed the base branch from main to ln/use-dex-pricing October 30, 2024 18:56
@lazynina lazynina marked this pull request as ready for review October 31, 2024 00:59
@lazynina lazynina requested a review from a team as a code owner October 31, 2024 00:59
Copy link
Member

@diamondhands0 diamondhands0 left a comment

Choose a reason for hiding this comment

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

Love this change. Makes everything consistent.

@lazynina lazynina merged commit f51a0da into ln/use-dex-pricing Nov 4, 2024
1 of 2 checks passed
@lazynina lazynina deleted the ln/update-quote-currency-endpoint-for-deso branch November 4, 2024 17:56
lazynina added a commit that referenced this pull request Nov 4, 2024
* use pricing from dex

* multiply mid price usd by 100 to get cents

* Ln/update quote currency endpoint for deso (#694)

* update quote currency price in usd endpoint to use dex for price of deso

* deprecate fields and fill deprecated fields with deso dex price

* if most recent dex price is 0, return gate price

* add const for dusdc profile username
lazynina added a commit that referenced this pull request Nov 4, 2024
* add gate for deso price

* use pricing from dex (#693)

* use pricing from dex

* multiply mid price usd by 100 to get cents

* Ln/update quote currency endpoint for deso (#694)

* update quote currency price in usd endpoint to use dex for price of deso

* deprecate fields and fill deprecated fields with deso dex price

* if most recent dex price is 0, return gate price

* add const for dusdc profile username
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