-
Notifications
You must be signed in to change notification settings - Fork 24
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 parsing of input and return empty solution #25
Fix parsing of input and return empty solution #25
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
I have read the CLA Document and I hereby sign the CLA |
"prices": {}, | ||
"approvals": [], | ||
"interaction_data": [], | ||
"score": "0", |
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.
Fine for the workshop. Later on it might be useful to have an example solution which follows the correct format
@@ -278,6 +278,7 @@ class AmmKindEnum(str, Enum): | |||
CONSTANT_PRODUCT = "ConstantProduct" | |||
WEIGHTED_PRODUCT = "WeightedProduct" | |||
STABLE = "Stable" | |||
CONCENTRATED = "Concentrated" |
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.
Is it already parsed into something? If not, this should be added at some point, see #19
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.
Univ3 is not supported here, and I think it's a bit out of scope, at least for now.
This PR enables the parsing of instances and it also returns the empty solution.
Follow-up PR will add some very simple single-order solving.