-
Notifications
You must be signed in to change notification settings - Fork 41
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
AMM-CDA-7 Add event information for indexer for Hybrid Orderbook AMM #1288
Conversation
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.
I think we should clarify what the fee info in the events means. The tests need to reflect the changes made here.
@@ -122,13 +125,27 @@ mod pallet { | |||
{ | |||
/// A trade was executed. | |||
HybridRouterExecuted { | |||
/// The type of transaction (Buy or Sell). |
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.
Are the fee amounts contained in the amount_*
values? This should be clarified in the documentation.
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.
This pull request is now in conflicts. Could you fix it @Chralt98? 🙏 |
Dropped in favor of this PR #1293 This was done, because the commit history here led to merged changes would have been needed to be reviewed again. |
What does it do?
It adds necessary event information for the indexer and front end.
It contains aggregated amounts for the asset out, the related AMM trades and order book trades plus an optional order amount information, if an order was placed at the end.
What important points should reviewers know?
Is there something left for follow-up PRs?
What alternative implementations were considered?
Are there relevant PRs or issues?
References