Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Display LP positions #1786

Closed
wants to merge 3 commits into from
Closed

Display LP positions #1786

wants to merge 3 commits into from

Conversation

grod220
Copy link
Contributor

@grod220 grod220 commented Sep 16, 2024

Note: It is not yet enabled, so no user impact.

This PR adds a section on the swap page that displays the LP positions (aka limit orders) that a user currently has open or closed. Gives them the ability to close/withdraw the position.

Screenshot 2024-09-16 at 7 46 58 PM

Copy link

changeset-bot bot commented Sep 16, 2024

⚠️ No Changeset found

Latest commit: 5099ca2

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Comment on lines -6 to -7
// TODO: Ids are not sufficient in taking action on these
// Required to move forward with this: https://github.com/penumbra-zone/penumbra/pull/4837
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer relevant

@grod220 grod220 requested a review from a team September 16, 2024 18:01
@grod220 grod220 self-assigned this Sep 17, 2024
@grod220
Copy link
Contributor Author

grod220 commented Sep 17, 2024

Given the emphasis on minifront minimalism and interest in building limit orders in other frontends, going to close this. Will open an issue in the core repo about updates to LiquidityPositionsResponse to make it easier to create LP-related UI's.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant