-
Notifications
You must be signed in to change notification settings - Fork 7
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
feat: add indicative price #398
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
auction-server/Cargo.toml
Outdated
@@ -1,6 +1,6 @@ | |||
[package] | |||
name = "auction-server" | |||
version = "0.18.1" | |||
version = "0.18.2" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use 0.19 as api is changed
@@ -401,18 +402,27 @@ impl Service<ChainTypeSvm> { | |||
bids.sort_by(|a, b| a.amount.cmp(&b.amount)); | |||
} | |||
} | |||
|
|||
let indicative_price_request = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
isn't it better to make the user_wallet_address
optional in the QuoteCreate entity?
I think it we do so, some checks will be removed in this function :-?
I think you should update the swap UI we created for test to fix the Vercel error |
This PR enables ER to provide indicative prices when the
user_wallet_address
is not specified. It does this in a somewhat hacky way, reusing theget_quote
api for ease.TODO: