-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
dex.trades
: add HOT-AMM support
#6726
dex.trades
: add HOT-AMM support
#6726
Conversation
Workflow run id 10899696880 approved. |
Workflow run id 10899697283 approved. |
Workflow run id 10900135371 approved. |
Workflow run id 10900135587 approved. |
Workflow run id 10900148226 approved. |
Workflow run id 10900148669 approved. |
Workflow run id 10900493929 approved. |
Workflow run id 10900494094 approved. |
hey guys! @Hosuke @jeff-dude could you please have a look whenever u have time? thanks a lot! |
dbt_subprojects/dex/macros/models/_project/valantis_compatible_trades.sql
Outdated
Show resolved
Hide resolved
Workflow run id 10923004720 approved. |
Workflow run id 10923005212 approved. |
Workflow run id 10924078967 approved. |
Workflow run id 10924079296 approved. |
@jeff-dude @Hosuke the query results LGTM, i'd say it is ready for review 🙂 thanks! |
also, something which may be worth mentioning is that this dex is already live, so idk if data will be backfilled automatically or if it is possible to do it manually (it is not a big deal, but flagging that just in case) |
a bit confused on the |
@jeff-dude i'm flexible on the naming, and we can change it to accommodate what u think its best. let me try to explain how it works (high-level as i don't fully know all the technical details):
sovereign pools are like the building block for a modular dex, and on top of them, you can add your liquidity module (here is where HOT-AMM comes into play) >> Arrakis and Valantis co-design the idea of a Hybrid-Order-Type (HOT) AMM which is accepts both RFQ quotes and permisionless swaps (like uniV3). for further details, here you have their docs: my logic when naming stuff was that down the line, more pool types may be built on top of valantis (idk how feasible that is, but it's possible), so i named if you feel like everything should be named |
how about then future additions can be |
sounds good to me! will do the changes |
Workflow run id 10925846492 approved. |
Workflow run id 10925846465 approved. |
Thank you for contributing to Spellbook 🪄
Update!
Please build spells in the proper subproject directory. For more information, please see the main readme, which also links to a GH discussion with the option to ask questions.
Contribution type
Please check the type of contribution this pull request is for:
Note: You can safely discard any section below which doesn't apply based on selection above
For adding to existing spell lineage
If you are adding to an existing spell lineage, please provide the following information:
dex.trades
support for HOT-AMM, a new AMM developed by Valantis and Arrakis.dex_info