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

pcli: tx lp withdraw <position> #5069

Open
Tracked by #5010
erwanor opened this issue Feb 6, 2025 · 0 comments
Open
Tracked by #5010

pcli: tx lp withdraw <position> #5069

erwanor opened this issue Feb 6, 2025 · 0 comments
Assignees

Comments

@erwanor
Copy link
Member

erwanor commented Feb 6, 2025

We can withdraw a position multiple times using pcli.

Each time, the sequence number of the position increases.

We query the remote RPC to fetch the latest for the position so that we always compute an accurate balance commitment. This is important to do because the funding component will deposit rewards into that position, and our state might be stale.

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

No branches or pull requests

2 participants