Skip to content
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

Provide a pcli interface to post xyk approximations #2319

Closed
Tracked by #1908
erwanor opened this issue Apr 7, 2023 · 1 comment · Fixed by #2427
Closed
Tracked by #1908

Provide a pcli interface to post xyk approximations #2319

erwanor opened this issue Apr 7, 2023 · 1 comment · Fixed by #2427
Assignees
Labels
A-zswap Area: Design and implementation of ZSwap

Comments

@erwanor
Copy link
Member

erwanor commented Apr 7, 2023

As part of #1908, we would like to have a pcli command that generates a collection of Positions approximating a specified payoff. This should be broken into two commands:

  • Approximating a CPMM without posting the Posititons:

pcli view dex approximate constant-product <PAIR> <QUANTITY>

  • Approximating and posting the orders:

pcli tx position approximate constant-product <PAIR> <QUANTITY>

In the future, it would be nice to be able to segment approximated positions from the rest of the open orders so that one can perform group actions on these positions e.g. "cancel all", "display" etc.

@erwanor erwanor self-assigned this Apr 7, 2023
@erwanor erwanor added the A-zswap Area: Design and implementation of ZSwap label Apr 7, 2023
@erwanor erwanor moved this to Next in Testnets Apr 7, 2023
@conorsch conorsch moved this from Next to Testnet 51: Elara in Testnets Apr 7, 2023
@conorsch conorsch moved this from Testnet 51: Elara to Next in Testnets Apr 20, 2023
@conorsch
Copy link
Contributor

Unlikely to ship for 51, given higher priority on IBC & DEX.

@erwanor erwanor moved this from Next to Testnet 52: Amalthe in Testnets Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-zswap Area: Design and implementation of ZSwap
Projects
No open projects
Status: Testnet 52: Amalthe
Development

Successfully merging a pull request may close this issue.

2 participants