-
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
Store all swaps #106
Comments
@nud3l : This information is not available on the events ( Naturally, squid can query the chain, but we need to be very careful of the processing cost. If possible I'd like to avoid making squid processing slower due to additional lookups. |
Good point. Just for me to check: the vector of |
One more point to clarify: For multi-path swaps (e.g. KBTC -> KSM -> KINT), do we want to ignore the intermediate swaps and only track the first input / last output (KBTC in, KINT out, ignore KSM values)? |
I thought that multi-hop would fire multiple events, so if it's multi-hop we would see:
For now, we would not need any aggregation/special handling of this as right now we are just interested in the fees that we collect in the AMM. |
For For |
|
PR: #114 Sample query and result shown in this comment |
We want to track historical swap data including:
The text was updated successfully, but these errors were encountered: