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

11644 live only amms #11648

Merged
merged 3 commits into from
Sep 5, 2024
Merged

11644 live only amms #11648

merged 3 commits into from
Sep 5, 2024

Conversation

wwestgarth
Copy link
Contributor

closes #11644

Adds a liveOnly flag to the AMM API that mirrors the liveOnly flag in the orders API. When set only AMM's with state STATUS_ACTIVE or STATUS_REDUCE_ONLY will be returned.

I've also removed a lot of the rejection events, because they are essentially duplicated of the transaction-result event and there is no point them existing and clogging up the AMM table.

@wwestgarth wwestgarth requested review from candida-d and a team as code owners September 4, 2024 08:57
@wwestgarth wwestgarth force-pushed the 11644-live-only-amms branch 3 times, most recently from dfe1ac7 to bab864e Compare September 4, 2024 12:11
jeremyletang
jeremyletang previously approved these changes Sep 4, 2024
@candida-d
Copy link
Member

Shouldn’t this also have a GQL component?

@jeremyletang jeremyletang merged commit f9038a9 into develop Sep 5, 2024
14 checks passed
@jeremyletang jeremyletang deleted the 11644-live-only-amms branch September 5, 2024 09:31
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.

[Feature]: Add liveOnly flag to AMM API
3 participants