-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[IDEA / REQUEST] Track Active Liquidity Manager (ALM) volumes like Arrakis Finance #5626
Comments
gm @0xrusowsky -- welcome to spellbook and thank you for using GH issues to talk through the new spell idea, love it! i think this is a great idea & you should be able to follow the journey that here is initial PR which kicked off new design for the dex readme should also give good info: i'd advise you to look closely at these two resources, then open a PR and kick it off! |
feel free to ask question here or open the PR and ask for review when ready |
Similar to
dex.trades
it would be great to see the subset of trades that were served by liquidity managed by ALMs.To be more precise I intend to build a spell that tracks the volume served by Arrakis Finance. Nevertheless, i think the broader dune community would benefit if all ALMs (Gamma, etc) were "natively" tracked, so this can serve as the first building block for
alm.trades
or maybe for creating a subset within thedex.trades
table.Regarding the actual implementation, as this will be my first contribution to the spellbook, I would also appreciate some guidance.
My idea is to base my PR on the structure followed in
dex.trades
. So I would create:arrakis_trades.sql
+arrakis_schema.yml
arrakis_chain_trades.sql
+arrakis_chain_schema.yml
arrakis_v2_chain_trades.sql
(implemented initially)arrakis_v1_chain_trades.sql
(implemented later on)I think this is a good starting point, and then it could be expanded to a broader spell (as suggested above) if you guys think that it makes sense.
The text was updated successfully, but these errors were encountered: