-
Notifications
You must be signed in to change notification settings - Fork 212
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
Expose key AMM economic data via subscription #4648
Comments
AIUI, our theory is to publish states rather than events. My interpretation of that is that we'll have a separate stream of updates for each pool. It will publish the central and secondary balances in the pool and the amount of liquidity outstanding. These will be updated on every trade and liquidity event. A watcher can infer from this stream whether it's a response to a trade or liquidity change. We could also publish the fee balances, but since that isn't mentioned above, I'll leave it out for now. I'll add a symbol for the algorithm, which will always be XY=K for now, and may eventually include "STABLE". |
closes: #4648 add notifier and subscription to state
Should this stay open until the data are available via RPC? If not, which issue represents the work to make the AMM data available via RPC? |
I think we agreed to decouple reading and writing, trusting in the Subscriptions abstraction. So the tickets for pushing the data to a subscription on the public facet aren't concerned with how it gets read.
I don't know yet how the econ testers will get the data. However it is, yes it should be included as a release dependency. cc @Tartuffo |
Dan is working on a dashboard in a spreadsheet.
…On Tue, May 24, 2022 at 4:11 PM Turadg Aleahmad ***@***.***> wrote:
Should this stay open until the data are available via RPC?
I think we agreed to decouple reading and writing, trusting in the
Subscriptions abstraction. So the tickets for pushing the data to a
subscription on the public facet aren't concerned with how it gets read.
If not, which issue represents the work to make the AMM data available via
RPC?
Is it #5386 <#5386> ? or #4331
<#4331>? should those be on
the econ stress test release?
I don't know yet how the econ testers will get the data. However it is,
yes it should be included as a release dependency. cc @Tartuffo
<https://github.com/Tartuffo>
—
Reply to this email directly, view it on GitHub
<#4648 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAEHM2INGRQM6SURWIQ7N4TVLVO23ANCNFSM5PE4ULNQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Well, the title of this issue says "via RPC" in so many words. If that's no longer the scope, let's change it. |
This data can be used in Blockchain Explorers and via sites like The Graph for the community to get key information about the state of the RUN Protocol components.
From our meeting on Feb 22, here is the data we want to expose from the AMM:
The text was updated successfully, but these errors were encountered: